Details

Time bar (total: 2.9s)

sample37.0ms

Algorithm
intervals
Results
13.0ms59×body1280valid
7.0ms34×body640valid
3.0ms130×body80valid
2.0ms23×body320valid
1.0ms10×body160valid

simplify62.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: 30.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
66×add-sqr-sqrt
61×add-cube-cbrt times-frac
54×prod-diff
18×fma-neg
16×distribute-lft-out
10×associate-/r/
flip3-+ flip-+ div-inv
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
2 → 124
Calls
2 calls:
13.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
81.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series113.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
75.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03761556
111701155
250011121

prune202.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×times-frac
35×add-sqr-sqrt add-cube-cbrt
32×sqrt-prod
14×associate-/r*
add-exp-log
distribute-lft-out
add-cbrt-cube
associate-/l*
pow1
sqrt-div associate-/r/
expm1-log1p-u pow-flip div-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ clear-num flip-+ div-inv
rec-exp sqrt-pow1 pow1/2 1-exp fma-udef inv-pow
Counts
3 → 110
Calls
3 calls:
17.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
16.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
0.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

series322.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
48.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
211.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
03281133
111471003
24595952
35001952

prune236.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

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

series181.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
38.0ms
(* 0.33333333333333337 (pow x 3))
96.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify196.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0170298
1655262
24021262
35002262

prune146.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes130.0ms

Accuracy

98.8% (0.4b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03720
13720

end0.0ms

sample903.0ms

Algorithm
intervals
Results
359.0ms1741×body1280valid
171.0ms1269×body640valid
102.0ms4078×body80valid
61.0ms621×body320valid
17.0ms291×body160valid