Details

Time bar (total: 4.3s)

sample37.0ms

Algorithm
intervals
Results
15.0ms67×body1280valid
5.0ms38×body640valid
4.0ms124×body80valid
1.0ms13×body320valid
1.0ms14×body160valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2315
3545
41195
53335
616465
750015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp (* -2.0 x)))
0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
3.2b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
68×add-sqr-sqrt
63×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
add-log-exp
flip3-+ flip-+
add-exp-log add-cbrt-cube div-inv
associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l*
difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp clear-num sum-log flip-- distribute-lft-out--
Counts
3 → 141
Calls
3 calls:
7.0ms
(+ 1.0 (exp (* -2.0 x)))
16.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
86.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series119.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ 1.0 (exp (* -2.0 x)))
33.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
72.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify52.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03981645
112871235
250011212

prune252.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
8.8b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
cube-mult pow-to-exp unpow3 pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 43
Calls
2 calls:
16.0ms
(* 0.33333333333333337 (pow x 3))
0.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series121.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(* 0.33333333333333337 (pow x 3))
88.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify188.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0142195
1582172
23698172
35002172

prune122.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp (* -2.0 x)))
0.0b
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
0.5b
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
3.2b
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

rewrite489.0ms

Algorithm
rewrite-expression-head
Rules
1732×times-frac
1496×*-un-lft-identity
1020×add-sqr-sqrt
997×sqrt-prod
996×add-cube-cbrt
585×prod-diff
249×distribute-lft-out
195×fma-neg
84×sqrt-div associate-/r/
43×flip3-+ flip-+
42×div-inv
30×associate-/l*
14×associate-/r*
11×add-exp-log add-cbrt-cube
add-log-exp
difference-of-squares
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-def
frac-2neg clear-num
+-commutative sub-neg flip3-- diff-log sum-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 1108
Calls
4 calls:
7.0ms
(+ 1.0 (exp (* -2.0 x)))
43.0ms
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
15.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
307.0ms
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

series184.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ 1.0 (exp (* -2.0 x)))
37.0ms
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
59.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
74.0ms
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

simplify216.0ms

Algorithm
egg-herbie
Counts
1120 → 1120
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
0160925904
1500117295

prune1.2s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes116.0ms

Accuracy

98.9% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 31.5b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03319
13319

end0.0ms

sample960.0ms

Algorithm
intervals
Results
370.0ms1709×body1280valid
179.0ms1260×body640valid
118.0ms4036×body80valid
63.0ms657×body320valid
21.0ms338×body160valid