Details

Time bar (total: 2.7s)

sample37.0ms

Algorithm
intervals
Results
13.0ms59×body1280valid
6.0ms42×body640valid
6.0ms124×body80valid
2.0ms22×body320valid
1.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

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

rewrite56.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)))
39.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series133.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03981645
112871235
250011212

prune253.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
8.2b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite11.0ms

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

series133.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* 0.33333333333333337 (pow x 3))
97.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify191.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0142195
1582172
23698172
35002172

prune125.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity
64×times-frac
54×add-sqr-sqrt
42×add-cube-cbrt
24×swap-sqr
20×distribute-lft-out
18×associate-*r* associate-*l*
16×add-exp-log add-cbrt-cube
11×pow1
10×add-log-exp
associate-/r/
fma-def flip3-+ flip-+
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv unswap-sqr
+-commutative sum-log
pow2 frac-times sub-neg flip3-- pow-plus fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-- difference-of-squares
Counts
4 → 141
Calls
4 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
31.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
11.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series161.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ 1.0 (exp (* -2.0 x)))
16.0ms
(+ 1.0 (exp (* -2.0 x)))
44.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
84.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify80.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05631618
125421374
250011302

prune337.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes141.0ms

Accuracy

99.3% (0.2b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03625
13625

end0.0ms

sample872.0ms

Algorithm
intervals
Results
362.0ms1697×body1280valid
167.0ms1207×body640valid
115.0ms4178×body80valid
60.0ms621×body320valid
21.0ms297×body160valid