Details

Time bar (total: 4.9s)

sample76.0ms

Algorithm
intervals
Results
53.0ms187×body1280valid
6.0ms273×body80valid
6.0ms38×body640valid
1.0ms13×body320valid
1.0ms11×body160valid

simplify215.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: 25.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.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)))

series70.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
57.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282506
11008381
25001367

prune157.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))

rewrite7.0ms

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

series157.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
38.0ms
(* 1/12 (pow x 4))

simplify86.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0123177
1469163
22175160
35002160

prune108.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
2.9b
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt add-cbrt-cube
add-exp-log add-cube-cbrt
pow1 add-log-exp
expm1-log1p-u associate-*l* associate-*l/ log1p-expm1-u
fma-def flip3-+ times-frac associate-*r* flip-+ associate-/l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
+-commutative frac-2neg pow-prod-down clear-num associate-/r* sum-log *-commutative fma-udef div-inv unswap-sqr
Counts
4 → 75
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
7.0ms
(* (+ (exp x) 2.0) (exp x))
8.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
1.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

series337.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 2.0)
22.0ms
(* (+ (exp x) 2.0) (exp x))
217.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
89.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0312834
11220713
25002710

prune253.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x)))) (+ (exp x) 2.0)) (exp x))
0.1b
(- 2.0 (* 3.0 (exp x)))
0.1b
(pow (exp x) 3)
4.1b
(+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
139×*-un-lft-identity
130×times-frac
73×add-sqr-sqrt add-cube-cbrt
33×distribute-lft-out
22×associate-/l*
12×fma-def
11×add-log-exp
10×add-cbrt-cube
associate-/r/
add-exp-log
unpow-prod-down cube-prod prod-diff
pow1 associate-+r+ flip3-+ flip-+ div-inv
expm1-log1p-u pow-pow log1p-expm1-u
cbrt-undiv pow-unpow exp-prod fma-neg div-exp associate-/r*
cube-mult associate-+r- sub-neg diff-log unpow3 div-sub sum-log sqr-pow
+-commutative pow-to-exp flip3-- frac-2neg pow-exp clear-num flip-- associate-/l/ rem-cube-cbrt
Counts
4 → 190
Calls
4 calls:
22.0ms
(/ (/ (+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x)))) (+ (exp x) 2.0)) (exp x))
3.0ms
(- 2.0 (* 3.0 (exp x)))
3.0ms
(pow (exp x) 3)
9.0ms
(+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x))))

series300.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(/ (/ (+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x)))) (+ (exp x) 2.0)) (exp x))
27.0ms
(- 2.0 (* 3.0 (exp x)))
23.0ms
(pow (exp x) 3)
74.0ms
(+ (pow (exp x) 3) (- 2.0 (* 3.0 (exp x))))

simplify134.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
07242554
138552454
250012451

prune445.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5615×body1280valid
200.0ms1291×body640valid
182.0ms8064×body80valid
57.0ms622×body320valid
18.0ms303×body160valid