Details

Time bar (total: 4.2s)

sample109.0ms

Algorithm
intervals
Results
72.0ms188×body1280valid
12.0ms292×body80valid
7.0ms30×body640valid
4.0ms27×body320valid
1.0msbody160valid

simplify223.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.3b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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)
25.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series7.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0282506
11008381
25001367

prune344.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series3.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0102103
140698
2184195
3500195

prune151.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0.0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample3.2s

Algorithm
intervals
Results
2.2s5689×body1280valid
350.0ms8367×body80valid
288.0ms1229×body640valid
90.0ms584×body320valid
33.0ms332×body160valid