Details

Time bar (total: 3.7s)

sample31.0ms

Algorithm
intervals
Results
12.0ms54×body1280valid
5.0ms33×body640valid
3.0ms135×body80valid
2.0ms24×body320valid
1.0ms10×body160valid

simplify61.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: 28.4b

localize11.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)

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ 1.0 (exp (* -2.0 x)))
37.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
83.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify51.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03981645
112871235
250011212

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
42×times-frac
40×add-sqr-sqrt
37×add-cube-cbrt
36×sqrt-prod
14×associate-/r*
10×add-exp-log
distribute-lft-out
add-cbrt-cube
pow1
sqrt-div associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
pow-flip flip3-+ div-exp flip-+
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
rem-sqrt-square rec-exp 1-exp fma-udef hypot-def inv-pow
Counts
4 → 129
Calls
4 calls:
4.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
6.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
7.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
1.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

series381.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(sqrt (+ 1.0 (exp (* -2.0 x))))
70.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
46.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
219.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03821270
113311133
250021081

prune291.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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))
9.4b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite12.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)))))
9.0ms
(* 0.33333333333333337 (pow x 3))
1.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series184.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))))
37.0ms
(* 0.33333333333333337 (pow x 3))
98.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify197.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0170298
1655262
24021262
35002262

prune157.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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)))
3.1b
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
3.2b
(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))

rewrite28.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)
14.0ms
(/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3)))
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))

series439.0ms

Counts
4 → 12
Calls
4 calls:
38.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))

simplify73.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
04541170
120721040
250011015

prune304.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes104.0ms

Accuracy

99.5% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 29.4b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04026
14026

end0.0ms

sample883.0ms

Algorithm
intervals
Results
376.0ms1762×body1280valid
171.0ms1230×body640valid
107.0ms4099×body80valid
57.0ms625×body320valid
20.0ms284×body160valid