Details

Time bar (total: 6.7s)

sample78.0ms

Algorithm
intervals
Results
53.0ms190×body1280valid
6.0ms275×body80valid
5.0ms34×body640valid
2.0ms20×body320valid
1.0ms10×body160valid

simplify226.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
5.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series74.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- (exp x) 2.0)
56.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify34.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0282506
11008381
25001367

prune158.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(* 1/12 (pow x 4))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity
associate-*l* prod-exp add-cbrt-cube unswap-sqr
sqr-pow
pow1 expm1-log1p-u pow-to-exp pow-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 27
Calls
1 calls:
5.0ms
(* 1/12 (pow x 4))

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(* 1/12 (pow x 4))

simplify73.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0102103
140698
2184195
3500195

prune74.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))
0.0b
(pow (exp x) 3)
4.2b
(+ (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x)))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
236×add-sqr-sqrt
150×times-frac
142×*-un-lft-identity
112×difference-of-squares
87×unpow-prod-down cube-prod
82×fma-def
68×add-cube-cbrt
57×sqr-pow
35×distribute-lft-out--
25×associate-/l*
add-log-exp
difference-cubes add-cbrt-cube
add-exp-log
pow1
expm1-log1p-u pow-pow log1p-expm1-u
pow-unpow exp-prod associate-/r*
+-commutative flip3-+ div-sub frac-add sum-log flip-+ div-inv associate-/l/ distribute-lft-out
cbrt-undiv neg-sub0 exp-neg cube-mult pow-to-exp associate-+l- flip3-- frac-2neg exp-diff unpow3 div-exp pow-exp clear-num flip-- rem-cube-cbrt
Counts
4 → 261
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
25.0ms
(/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))
3.0ms
(pow (exp x) 3)
47.0ms
(+ (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x)))

series494.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 2.0)
89.0ms
(/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))
24.0ms
(pow (exp x) 3)
373.0ms
(+ (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x)))

simplify102.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06702808
129852741
250012675

prune673.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.0b
(pow (exp x) 3)
0.3b
(/ (- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x)))) (- (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x))))
4.2b
(- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x))))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
56×frac-sub
49×add-sqr-sqrt
43×exp-neg
42×frac-times
37×neg-sub0 exp-diff
34×*-un-lft-identity
30×associate-*r/ associate-*l/
29×times-frac associate-/l/
24×add-cube-cbrt
18×difference-of-squares
pow-pow add-cbrt-cube
pow1 add-exp-log unpow-prod-down pow-unpow exp-prod cube-prod associate-/r* un-div-inv add-log-exp
distribute-lft-out--
expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l*
flip3-- flip--
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num div-inv
Counts
4 → 182
Calls
4 calls:
3.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)
83.0ms
(/ (- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x)))) (- (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x))))
46.0ms
(- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x))))

series1.1s

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (exp x) 3)
24.0ms
(pow (exp x) 3)
657.0ms
(/ (- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x)))) (- (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (exp (- x))))
399.0ms
(- (* (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (/ (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))) (* (exp (- x)) (exp (- x))))

simplify132.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
08095733
135815271
250025195

prune658.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.7s5735×body1280valid
192.0ms1207×body640valid
192.0ms8045×body80valid
60.0ms587×body320valid
18.0ms303×body160valid