Details

Time bar (total: 3.9s)

sample65.0ms

Algorithm
intervals
Results
29.0ms101×body1280valid
14.0ms82×body640valid
7.0ms281×body80valid
4.0ms40×body320valid
2.0ms24×body160valid

simplify226.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1235
2315
3365
4415
5655
61085
72675
813425
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.9b

localize10.0ms

Local error

Found 1 expressions with local error:

5.7b
(- (exp x) (exp (- x)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
7.0ms
(- (exp x) (exp (- x)))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(- (exp x) (exp (- x)))

simplify115.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0158354
1416228
22421226
35002203

prune66.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/60 (pow x 5) (* 2 x))
0.0b
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma 1/60 (pow x 5) (* 2 x))
0.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

series175.0ms

Counts
2 → 6
Calls
2 calls:
122.0ms
(fma 1/60 (pow x 5) (* 2 x))
53.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
060148
1184130
21006130
35001130

prune74.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
0.0b
(pow (exp x) -2)
5.6b
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
17×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 distribute-lft-out
expm1-log1p-u pow-pow associate-/r* log1p-expm1-u
unpow-prod-down pow-unpow exp-prod fma-def associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-exp clear-num sum-log fma-udef div-inv sqr-pow
Counts
4 → 84
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
14.0ms
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
2.0ms
(pow (exp x) -2)
0.0ms
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
111.0ms
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
24.0ms
(pow (exp x) -2)
67.0ms
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0328934
11277846
25002813

prune277.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) -2)
0.0b
(pow (pow (exp x) -2) 3)
0.3b
(cbrt (pow (pow (exp x) -2) 3))
5.6b
(fma (- 1) (cbrt (pow (pow (exp x) -2) 3)) (exp (+ x x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
29×unpow-prod-down
20×cbrt-prod
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
14×cube-prod
sqr-pow
pow-unpow
pow1 add-exp-log pow-pow pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp exp-prod
cube-mult unpow3
pow1/3 rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 98
Calls
4 calls:
2.0ms
(pow (exp x) -2)
3.0ms
(pow (pow (exp x) -2) 3)
4.0ms
(cbrt (pow (pow (exp x) -2) 3))
0.0ms
(fma (- 1) (cbrt (pow (pow (exp x) -2) 3)) (exp (+ x x)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (exp x) -2)
44.0ms
(pow (pow (exp x) -2) 3)
20.0ms
(cbrt (pow (pow (exp x) -2) 3))
75.0ms
(fma (- 1) (cbrt (pow (pow (exp x) -2) 3)) (exp (+ x x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0284522
11159482
25002465

prune259.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes25.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample2.0s

Algorithm
intervals
Results
960.0ms3338×body1280valid
438.0ms2564×body640valid
201.0ms8152×body80valid
130.0ms1203×body320valid
42.0ms626×body160valid