Details

Time bar (total: 11.2s)

sample315.0ms

Algorithm
halfpoints

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 47.2b

localize55.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
58.9b
(- (exp x) (exp (- x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
16×times-frac
prod-diff
add-exp-log add-cbrt-cube
add-log-exp
pow1
distribute-lft-out-- difference-of-squares
expm1-log1p-u fma-def fma-neg associate-*r* log1p-expm1-u
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- flip3-+ diff-log div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-- flip-+ div-inv distribute-lft-out
Counts
3 → 85
Calls
3 calls:
6.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series145.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (- x)))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0408866
11321682
25002678

prune330.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize59.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×add-cube-cbrt
10×times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
fma-def associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv distribute-lft-out
Counts
2 → 51
Calls
2 calls:
6.0ms
(+ (exp x) (exp (- x)))
8.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series116.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (exp x) (exp (- x)))
89.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify34.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0302503
11072437
25001433

prune310.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize63.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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*
expm1-log1p-u rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ log1p-expm1-u div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative
frac-times sqrt-pow1 pow1/2 associate-*r/ inv-pow
Counts
4 → 188
Calls
4 calls:
12.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
29.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
3.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
3.0ms
(/ 1 (sqrt 2.0))

series493.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332260
132131931
250011821

prune958.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

localize68.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.2b
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
0.3b
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
38×*-un-lft-identity times-frac
36×add-cube-cbrt
35×add-exp-log
29×associate-*l*
22×sqrt-prod
20×add-cbrt-cube
17×prod-exp
cbrt-unprod
pow1 associate-*l/ associate-/r* add-log-exp
div-exp
expm1-log1p-u associate-*r* log1p-expm1-u
cbrt-undiv pow-to-exp unpow-prod-down fma-def pow-exp associate-/l* unswap-sqr
neg-sub0 frac-times pow-neg *-commutative div-inv pow-sub
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log flip-+ distribute-lft-out sqr-pow
Counts
4 → 137
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
12.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
19.0ms
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
6.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

series504.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
152.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
219.0ms
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
110.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06391818
128331620
250011614

prune756.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes156.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02917
12917

end0.0ms

sample6.4s

Algorithm
halfpoints