Details

Time bar (total: 10.8s)

sample256.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.3b

localize37.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
58.6b
(- (exp x) (exp (- x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
27×*-un-lft-identity
19×add-cube-cbrt associate-*l*
16×times-frac
prod-diff
add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- add-log-exp difference-of-squares
fma-neg associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv
Counts
2 → 68
Calls
2 calls:
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
8.0ms
(- (exp x) (exp (- x)))

series120.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0351756
11061585
25001583

prune191.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.0ms

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

series93.0ms

Counts
1 → 3
Calls
1 calls:
92.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify69.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0202393
1699340
22890337
35001337

prune158.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize29.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))

rewrite56.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:
15.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
26.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))

series507.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332260
132131931
250011821

prune589.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize36.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
(* (cbrt (/ (/ 1 2.0) (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 2.0) (sqrt 2.0))

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

series857.0ms

Counts
4 → 10
Calls
4 calls:
170.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
561.0ms
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
125.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 2.0) (sqrt 2.0))

simplify105.0ms

Algorithm
egg-herbie
Counts
322 → 322
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
010593904
143973585
250013483

prune1.1s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes76.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
0188
1188

end0.0ms

sample6.2s

Algorithm
halfpoints