Details

Time bar (total: 4.8s)

sample35.0ms

Algorithm
intervals
Results
11.0ms46×body1280valid
7.0ms40×body640valid
4.0ms132×body80valid
2.0ms21×body320valid
1.0ms17×body160valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 29.0b

Counts
2 → 1

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))))
4.6b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite28.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:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
12.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series140.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03981645
112871235
250011212

prune226.0ms

Filtered
150 candidates to 86 candidates (57.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1473150
Fresh000
Picked101
Done000
Total1483151

Merged error: 0b

Counts
151 → 3

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)))))
4.6b
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

rewrite231.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:
4.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
21.0ms
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
6.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
89.0ms
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

series246.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
44.0ms
(/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x)))))
73.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
87.0ms
(- (/ (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (sqrt (+ 1.0 (exp (* -2.0 x))))) 1.0)

simplify235.0ms

Algorithm
egg-herbie
Counts
1122 → 1122
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0161325952
1500117156

prune1.0s

Filtered
1122 candidates to 310 candidates (27.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New112201122
Fresh022
Picked011
Done000
Total112231125

Merged error: 0b

Counts
1125 → 3

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))
8.4b
(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:
1.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
6.0ms
(* 0.33333333333333337 (pow x 3))
1.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series194.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
37.0ms
(* 0.33333333333333337 (pow x 3))
103.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

prune143.0ms

Filtered
62 candidates to 43 candidates (69.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365

Merged error: 0b

Counts
65 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (* -2.0 x)) 3)
0.0b
(* (exp (* -2.0 x)) (exp (* -2.0 x)))
4.6b
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
4.9b
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (- 1.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
13×add-sqr-sqrt exp-prod exp-to-pow
12×pow1
11×add-cube-cbrt *-un-lft-identity
add-cbrt-cube
pow-prod-down pow-sqr pow-prod-up
add-exp-log expm1-log1p-u log1p-expm1-u
unpow-prod-down pow-unpow pow-pow cube-prod swap-sqr associate-*r* associate-*l*
pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- pow-plus fma-neg diff-log unpow3 prod-diff pow-exp prod-exp *-commutative flip-- cbrt-unprod fma-udef rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 93
Calls
4 calls:
3.0ms
(pow (exp (* -2.0 x)) 3)
6.0ms
(* (exp (* -2.0 x)) (exp (* -2.0 x)))
6.0ms
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
1.0ms
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (- 1.0))

series408.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (exp (* -2.0 x)) 3)
30.0ms
(* (exp (* -2.0 x)) (exp (* -2.0 x)))
75.0ms
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
266.0ms
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0370778
11878666
25002648

prune234.0ms

Filtered
105 candidates to 63 candidates (60.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done022
Total1053108

Merged error: 0b

Counts
108 → 3

regimes223.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04438
14438

end0.0ms

sample999.0ms

Algorithm
intervals
Results
423.0ms1750×body1280valid
198.0ms1186×body640valid
129.0ms4110×body80valid
70.0ms621×body320valid
24.0ms333×body160valid