Details

Time bar (total: 3.5s)

sample78.0ms

Algorithm
intervals
Results
55.0ms191×body1280valid
6.0ms39×body640valid
5.0ms243×body80valid
1.0ms13×body320valid
1.0msbody160valid

simplify227.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: 27.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
4.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series73.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
60.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

prune163.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

series171.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0122183
1427166
21923165
35002164

prune102.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
18×add-sqr-sqrt prod-diff
16×add-cube-cbrt
11×associate-+r+
add-log-exp
frac-add
flip3-- fma-def fma-neg flip--
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 distribute-lft-out--
+-commutative associate-+r- flip3-+ flip-+ difference-of-squares
Counts
2 → 63
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
9.0ms
(+ (exp (- x)) (- (exp x) 2.0))

series72.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
59.0ms
(+ (exp (- x)) (- (exp x) 2.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0317530
11127401
25002381

prune128.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes14.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5702×body1280valid
179.0ms1176×body640valid
171.0ms7933×body80valid
57.0ms640×body320valid
19.0ms292×body160valid