Details

Time bar (total: 2.4s)

sample33.0ms

Algorithm
intervals
Results
12.0ms58×body1280valid
6.0ms49×body640valid
3.0ms111×body80valid
2.0ms84×body80overflowed
2.0ms21×body320valid
1.0ms17×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

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: 36.1b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
3.9b
(- (exp x) 1.0)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log fma-neg associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 67
Calls
2 calls:
7.0ms
(/ (exp x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series45.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (exp x) (- (exp x) 1.0))
14.0ms
(- (exp x) 1.0)

simplify190.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (182.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune128.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0.0b

Counts
74 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.1b
(fma 1/6 (pow x 3) x)
11.6b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-cbrt-cube
add-exp-log
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
4.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
1.0ms
(fma 1/6 (pow x 3) x)
1.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series144.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
75.0ms
(fma 1/6 (pow x 3) x)
26.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify93.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0178458
1614416
23125414
35002414

prune146.0ms

Filtered
58 candidates to 45 candidates (77.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh033
Picked011
Done000
Total57562

Merged error: 0b

Counts
62 → 5

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 1/12 x (/ 1 x))

series43.0ms

Counts
1 → 3
Calls
1 calls:
43.0ms
(fma 1/12 x (/ 1 x))

simplify64.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune24.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh033
Picked011
Done011
Total13518

Merged error: 0b

Counts
18 → 5

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(/ 1.0 (exp x))
3.9b
(- 1 (/ 1.0 (exp x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
79×*-un-lft-identity
70×times-frac
59×add-cube-cbrt
39×prod-diff
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
div-inv distribute-lft-out-- add-log-exp
pow1
expm1-log1p-u fma-neg div-exp log1p-expm1-u
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip--
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 145
Calls
3 calls:
9.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
4.0ms
(/ 1.0 (exp x))
8.0ms
(- 1 (/ 1.0 (exp x)))

series100.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
14.0ms
(/ 1.0 (exp x))
39.0ms
(- 1 (/ 1.0 (exp x)))

simplify67.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05521839
122981281
250011188

prune141.0ms

Filtered
154 candidates to 73 candidates (47.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1531154
Fresh112
Picked011
Done022
Total1545159

Merged error: 0b

Counts
159 → 5

regimes58.0ms

Accuracy

91% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 7.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02015
12015

end0.0ms

sample1.0s

Algorithm
intervals
Results
440.0ms2252×body1280valid
215.0ms1618×body640valid
72.0ms828×body320valid
70.0ms2864×body80valid
56.0ms2559×body80overflowed
25.0ms439×body160valid

Profiling

Loading profile data...