Details

Time bar (total: 3.6s)

sample33.0ms

Algorithm
intervals
Results
14.0ms64×body1280valid
6.0ms40×body640valid
3.0ms130×body80valid
1.0ms15×body320valid
0.0msbody160valid

simplify63.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.7b

Counts
2 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

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

series80.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
03241294
1894902
24072815
35001754

prune127.0ms

Filtered
92 candidates to 39 candidates (42.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New89392
Fresh000
Picked101
Done000
Total90393

Merged error: 0.0b

Counts
93 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
142×*-un-lft-identity
108×prod-diff
106×add-sqr-sqrt
96×add-cube-cbrt
86×times-frac
59×log-prod
56×exp-sum
21×distribute-lft-out
18×fma-neg
14×associate-/r/
flip3-+ log-pow flip-+ div-inv
exp-prod
add-log-exp difference-of-squares
pow1
add-exp-log expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u distribute-lft-out--
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
2 → 166
Calls
2 calls:
19.0ms
(log (exp (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
13.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series158.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(log (exp (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
81.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify166.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
04632588
111331796
244981385
350011385

prune219.0ms

Filtered
172 candidates to 66 candidates (38.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1720172
Fresh022
Picked011
Done000
Total1723175

Merged error: 0.0b

Counts
175 → 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.0b
(* 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:
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)))

series181.0ms

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

prune162.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: 0.0b

Counts
65 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (* -2.0 x)) 3)
0.0b
(/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3)))
2.4b
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
2.5b
(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))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
27×times-frac
21×add-sqr-sqrt add-cube-cbrt
20×distribute-lft-out
19×unpow-prod-down cube-prod
associate-/r*
add-cbrt-cube add-log-exp
add-exp-log
pow1
expm1-log1p-u sum-cubes log1p-expm1-u
pow-unpow pow-pow associate-/l*
associate-/r/
cbrt-undiv cube-mult pow-to-exp sub-neg exp-prod flip3-- exp-to-pow distribute-rgt-out-- frac-2neg flip3-+ fma-neg diff-log unpow3 div-exp prod-diff pow-exp clear-num flip-- flip-+ fma-udef div-inv rem-cube-cbrt sqr-pow
Counts
4 → 109
Calls
4 calls:
3.0ms
(pow (exp (* -2.0 x)) 3)
12.0ms
(/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3)))
8.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))

series437.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(pow (exp (* -2.0 x)) 3)
77.0ms
(/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3)))
76.0ms
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
248.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))

simplify81.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
04541170
120721040
250011015

prune316.0ms

Filtered
121 candidates to 76 candidates (62.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1201121
Fresh000
Picked101
Done022
Total1213124

Merged error: 0.0b

Counts
124 → 3

regimes234.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample868.0ms

Algorithm
intervals
Results
369.0ms1761×body1280valid
166.0ms1171×body640valid
109.0ms4134×body80valid
57.0ms603×body320valid
20.0ms331×body160valid