Details

Time bar (total: 2.8s)

sample37.0ms

Algorithm
intervals
Results
15.0ms59×body1280valid
6.0ms38×body640valid
5.0ms133×body80valid
2.0ms17×body320valid
1.0msbody160valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2315
3545
41195
53335
616465
750015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.7b

Counts
2 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

2.8b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity
56×add-sqr-sqrt
54×prod-diff
51×add-cube-cbrt
49×times-frac
18×fma-neg
12×distribute-lft-out
associate-/r/
flip3-+ flip-+ div-inv
add-log-exp
difference-of-squares
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out--
Counts
1 → 89
Calls
1 calls:
13.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series79.0ms

Counts
1 → 3
Calls
1 calls:
79.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify135.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
03241294
1894902
24072815
35001754

prune109.0ms

Filtered
92 candidates to 39 candidates (42.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New90292
Fresh000
Picked101
Done000
Total91293

Merged error: 0b

Counts
93 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
0.5b
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
29.4b
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
42×times-frac
40×add-sqr-sqrt
37×add-cube-cbrt
36×sqrt-prod
14×associate-/r*
10×add-exp-log
distribute-lft-out
add-cbrt-cube
pow1
sqrt-div associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
pow-flip flip3-+ div-exp flip-+
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
rem-sqrt-square rec-exp 1-exp fma-udef hypot-def inv-pow
Counts
4 → 129
Calls
4 calls:
4.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
6.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
7.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
1.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

series366.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
64.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
47.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
212.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03821270
113311133
250021081

prune251.0ms

Filtered
141 candidates to 85 candidates (60.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1410141
Fresh011
Picked011
Done000
Total1412143

Merged error: 0b

Counts
143 → 2

localize11.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))
7.0b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite10.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:
1.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
7.0ms
(* 0.33333333333333337 (pow x 3))
1.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series175.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
37.0ms
(* 0.33333333333333337 (pow x 3))
93.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify204.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0170298
1655262
24021262
35002262

prune134.0ms

Filtered
62 candidates to 43 candidates (69.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh000
Picked011
Done011
Total62264

Merged error: 0b

Counts
64 → 2

regimes139.0ms

Accuracy

99.1% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 29.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03720
13720

end0.0ms

sample1.0s

Algorithm
intervals
Results
436.0ms1732×body1280valid
203.0ms1231×body640valid
132.0ms4145×body80valid
68.0ms607×body320valid
21.0ms285×body160valid