Details

Time bar (total: 3.8s)

sample37.0ms

Algorithm
intervals
Results
12.0ms52×body1280valid
9.0ms34×body640valid
5.0ms146×body80valid
2.0ms13×body320valid
1.0ms11×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.7b

Counts
2 → 1

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

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

series132.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03981645
112871235
250011212

prune210.0ms

Filtered
150 candidates to 86 candidates (57.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh000
Picked101
Done000
Total1492151

Merged error: 0.0b

Counts
151 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp (* -2.0 x)))
0.4b
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
0.4b
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
26.3b
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

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

series336.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ 1.0 (exp (* -2.0 x)))
65.0ms
(/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x)))))
46.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
209.0ms
(fma (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (/ 2.0 (sqrt (+ 1.0 (exp (* -2.0 x))))) (- 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03781222
113351083
250011031

prune246.0ms

Filtered
139 candidates to 85 candidates (61.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1372139
Fresh011
Picked011
Done000
Total1374141

Merged error: 0.0b

Counts
141 → 4

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

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

series175.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)))))
34.0ms
(* 0.33333333333333337 (pow x 3))
94.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify194.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0170298
1655262
24021262
35002262

prune137.0ms

Filtered
62 candidates to 43 candidates (69.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New61162
Fresh022
Picked011
Done011
Total61566

Merged error: 0.0b

Counts
66 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

10.1b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))
14.9b
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
14.9b
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
14.9b
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))
1.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
1.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
1.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))

series545.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))
149.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
151.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))
152.0ms
(cbrt (fma 1.0 x (- (fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0198845
1603785
22393701
35001674

prune240.0ms

Filtered
61 candidates to 56 candidates (91.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New61061
Fresh022
Picked011
Done022
Total61566

Merged error: 0.0b

Counts
66 → 5

regimes239.0ms

Accuracy

98.5% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 30.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03647
13647

end0.0ms

sample1.0s

Algorithm
intervals
Results
424.0ms1735×body1280valid
201.0ms1237×body640valid
128.0ms4060×body80valid
72.0ms634×body320valid
27.0ms334×body160valid

Profiling

Loading profile data...