Details

Time bar (total: 3.7s)

sample33.0ms

Algorithm
intervals
Results
12.0ms57×body1280valid
5.0ms36×body640valid
3.0ms128×body80valid
2.0ms25×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: 29.8b

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series117.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03761556
111701155
250011121

prune211.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity
88×times-frac
70×add-sqr-sqrt
58×add-cube-cbrt
26×distribute-lft-out
24×swap-sqr
20×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
12×associate-/r/
11×pow1
associate-/r*
cbrt-undiv flip3-+ div-exp flip-+ div-inv associate-/l* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
frac-2neg clear-num
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 → 177
Calls
4 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
18.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
15.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series204.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
35.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
45.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
87.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05711982
127011720
250011646

prune415.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(/ 2.0 (cbrt (+ 1.0 (exp (* -2.0 x)))))
2.6b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
24×cbrt-prod
22×add-sqr-sqrt add-cube-cbrt
21×times-frac
associate-/r*
add-exp-log cbrt-div distribute-lft-out add-log-exp
add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
flip3-+ flip-+ associate-/l*
pow1/3 associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg fma-neg diff-log div-exp prod-diff clear-num flip-- div-inv difference-of-squares
Counts
4 → 96
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
7.0ms
(/ 2.0 (cbrt (+ 1.0 (exp (* -2.0 x)))))
15.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series500.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
133.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
145.0ms
(/ 2.0 (cbrt (+ 1.0 (exp (* -2.0 x)))))
86.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03721054
11303976
25001949

prune382.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
2.6b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow1/3
sub-neg flip3-- fma-neg diff-log prod-diff flip-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
12.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series88.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
88.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0173459
1540409
22057390
35001342

prune193.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes243.0ms

Accuracy

98.6% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 29.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05872
15872

end0.0ms

sample875.0ms

Algorithm
intervals
Results
360.0ms1711×body1280valid
179.0ms1249×body640valid
110.0ms4105×body80valid
59.0ms642×body320valid
18.0ms293×body160valid