Details

Time bar (total: 3.9s)

sample35.0ms

Algorithm
intervals
Results
14.0ms62×body1280valid
5.0ms35×body640valid
3.0ms118×body80valid
3.0ms27×body320valid
1.0ms14×body160valid

simplify60.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: 32.2b

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

rewrite58.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)))
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
43.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series133.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03981645
112871235
250011212

prune252.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

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

series131.0ms

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

simplify190.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0142195
1582172
23698172
35002172

prune123.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 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)))))
32.9b
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
42×times-frac
37×add-sqr-sqrt add-cube-cbrt
32×sqrt-prod
14×associate-/r*
10×add-exp-log
distribute-lft-out
add-cbrt-cube
pow1 associate-/l* add-log-exp
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u
pow-flip fma-def flip3-+ div-exp flip-+
cbrt-undiv frac-2neg clear-num div-inv
+-commutative rec-exp sqrt-pow1 pow1/2 1-exp sum-log fma-udef inv-pow
Counts
4 → 127
Calls
4 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
7.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
8.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))

series346.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ 1.0 (exp (* -2.0 x)))
69.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
45.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
216.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03781222
113351083
250011031

prune292.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
81×cbrt-prod
64×*-un-lft-identity
63×times-frac
46×add-sqr-sqrt add-cube-cbrt
36×sqrt-prod
distribute-lft-out
sqrt-div associate-/r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div flip3-+ pow1/3 flip-+ div-inv
fma-udef
Counts
4 → 124
Calls
4 calls:
5.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
5.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
5.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
0.0ms
(fma (* (* (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))) (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))) (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

series597.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
121.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
128.0ms
(cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))
219.0ms
(fma (* (* (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))) (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))) (cbrt (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
02471909
16611799
228521698
350011568

prune287.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

regimes223.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 32.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04578
14578

end0.0ms

sample903.0ms

Algorithm
intervals
Results
372.0ms1681×body1280valid
173.0ms1195×body640valid
120.0ms4109×body80valid
65.0ms679×body320valid
21.0ms336×body160valid