Details

Time bar (total: 11.5s)

sample294.0ms

Algorithm
halfpoints

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.5b

localize34.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
58.3b
(- (exp x) (exp (- x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×*-un-lft-identity
19×associate-*l*
16×times-frac
12×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- add-log-exp difference-of-squares
associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv
Counts
2 → 52
Calls
2 calls:
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
9.0ms
(- (exp x) (exp (- x)))

series120.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify107.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0293506
1893449
23855448
35001448

prune173.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 1/60 (pow x 5))
0.1b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
0.1b
(* 1/3 (pow x 3))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
22×associate-*r*
19×associate-*l*
18×add-exp-log add-cube-cbrt *-un-lft-identity
12×add-cbrt-cube
10×times-frac
unswap-sqr
unpow-prod-down prod-exp
pow1
cube-prod cbrt-unprod sqr-pow
*-commutative add-log-exp
pow-to-exp pow-exp
cbrt-undiv cube-mult unpow3 div-exp pow-prod-down associate-*l/ div-inv
Counts
3 → 88
Calls
3 calls:
5.0ms
(* 1/60 (pow x 5))
37.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
7.0ms
(* 1/3 (pow x 3))

series185.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* 1/60 (pow x 5))
95.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
42.0ms
(* 1/3 (pow x 3))

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0399664
11676581
25002581

prune293.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.3b
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
69×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
54×add-exp-log
44×associate-*l*
43×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ inv-pow
Counts
4 → 182
Calls
4 calls:
44.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
51.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
29.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
3.0ms
(/ 1 (sqrt 2.0))

series661.0ms

Counts
4 → 10
Calls
4 calls:
162.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
367.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
131.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify98.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06842590
136672213
250022104

prune546.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.3b
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ (/ 1 2.0) (sqrt 2.0))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
311×times-frac
188×add-sqr-sqrt
180×add-cube-cbrt *-un-lft-identity
107×associate-*l*
103×sqrt-prod
82×cbrt-prod
29×add-exp-log
22×add-cbrt-cube
17×div-inv
16×associate-/l*
15×pow1
12×associate-/r*
div-exp
prod-exp cbrt-unprod
cbrt-undiv
associate-*r* pow-prod-down associate-*l/ add-log-exp pow-div
associate-/l/ unswap-sqr
cbrt-div pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num *-commutative inv-pow
frac-times rec-exp flip3-+ 1-exp associate-*r/ flip-+
Counts
4 → 306
Calls
4 calls:
41.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
76.0ms
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
31.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
7.0ms
(/ (/ 1 2.0) (sqrt 2.0))

series845.0ms

Counts
4 → 10
Calls
4 calls:
163.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
559.0ms
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
123.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 2.0) (sqrt 2.0))

simplify125.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011114314
148253957
250013957

prune1.1s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes88.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample6.2s

Algorithm
halfpoints