Details

Time bar (total: 3.2s)

sample30.0ms

Algorithm
intervals
Results
8.0ms40×body1280valid
5.0ms39×body640valid
3.0ms135×body80valid
2.0ms28×body320valid
1.0ms14×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: 27.9b

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

rewrite107.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:
7.0ms
(+ 1.0 (exp (* -2.0 x)))
14.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
80.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series127.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ 1.0 (exp (* -2.0 x)))
38.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
74.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

prune259.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite373.0ms

Algorithm
rewrite-expression-head
Rules
125×*-un-lft-identity
96×log-pow
90×exp-prod
84×add-sqr-sqrt
82×add-cube-cbrt
72×times-frac
66×prod-diff
22×fma-neg
20×distribute-lft-out
12×associate-/r/
10×pow1
flip3-+ flip-+ add-log-exp
add-exp-log log-prod add-cbrt-cube div-inv
expm1-log1p-u associate-/r* log1p-expm1-u
fma-def associate--l+ associate-/l*
distribute-lft-out--
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp rem-log-exp clear-num sum-log flip-- difference-of-squares
Counts
4 → 192
Calls
4 calls:
10.0ms
(+ (exp (* -2.0 x)) 1.0)
16.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
33.0ms
(log (exp (/ 2.0 (+ (exp (* -2.0 x)) 1.0))))
303.0ms
(- (log (exp (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) 1.0)

series161.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (exp (* -2.0 x)) 1.0)
33.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
40.0ms
(log (exp (/ 2.0 (+ (exp (* -2.0 x)) 1.0))))
74.0ms
(- (log (exp (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) 1.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04662262
113761479
250011432

prune362.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 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.8b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

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

series171.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)))))
32.0ms
(* 0.33333333333333337 (pow x 3))
91.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify199.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0170298
1655262
24021262
35002262

prune147.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes105.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample894.0ms

Algorithm
intervals
Results
350.0ms1712×body1280valid
162.0ms1209×body640valid
107.0ms4133×body80valid
61.0ms659×body320valid
16.0ms287×body160valid