Details

Time bar (total: 4.3s)

sample33.0ms

Algorithm
intervals
Results
12.0ms50×body1280valid
6.0ms47×body640valid
3.0ms130×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2315
3545
41195
53335
616465
750015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.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:
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
40.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series135.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
16.0ms
(+ 1.0 (exp (* -2.0 x)))
80.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify52.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03981645
112871235
250011212

prune270.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 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)

rewrite364.0ms

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

series229.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
36.0ms
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
68.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
81.0ms
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

simplify227.0ms

Algorithm
egg-herbie
Counts
1122 → 1122
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0161325952
1500117156

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
0.1b
(* 0.33333333333333337 (pow x 3))
8.9b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite9.0ms

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

series184.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
35.0ms
(* 0.33333333333333337 (pow x 3))
98.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify196.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0170301
1655265
24046264
35002264

prune169.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes130.0ms

Accuracy

98.6% (0.4b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03319
13319

end0.0ms

sample881.0ms

Algorithm
intervals
Results
369.0ms1758×body1280valid
172.0ms1190×body640valid
110.0ms4126×body80valid
57.0ms615×body320valid
19.0ms311×body160valid