Details

Time bar (total: 2.7s)

sample38.0ms

Algorithm
intervals
Results
13.0ms76×body1280valid
9.0ms82×body10240exit
6.0ms55×body640valid
2.0ms92×body80valid
1.0ms15×body320valid
1.0ms18×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: 40.4b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
4.6b
(- (exp x) 1.0)

rewrite14.0ms

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

series47.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(/ (exp x) (- (exp x) 1.0))
16.0ms
(- (exp x) 1.0)

simplify176.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (170.0ms)

IterNodesCost
0236523
1784433
24452420
35001408

prune117.0ms

Filtered
74 candidates to 50 candidates (67.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New71374
Fresh000
Picked101
Done000
Total72375

Merged error: 0.0b

Counts
75 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.1b
(fma 1/12 x (/ 1 x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
3.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
1.0ms
(fma 1/12 x (/ 1 x))

series63.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
45.0ms
(fma 1/12 x (/ 1 x))

simplify38.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
089126
1305119
21283117
35001116

prune54.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh022
Picked011
Done000
Total33437

Merged error: 0.0b

Counts
37 → 4

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.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*
10×add-exp-log
add-cbrt-cube
associate-/l*
div-inv distribute-lft-out-- add-log-exp
pow1 div-exp
expm1-log1p-u fma-neg 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 → 146
Calls
3 calls:
10.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
4.0ms
(/ 1.0 (exp x))
10.0ms
(- 1 (/ 1.0 (exp x)))

series102.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
13.0ms
(/ 1.0 (exp x))
40.0ms
(- 1 (/ 1.0 (exp x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05501840
122881283
250011190

prune141.0ms

Filtered
155 candidates to 73 candidates (47.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1541155
Fresh022
Picked101
Done011
Total1554159

Merged error: 0.0b

Counts
159 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- 1 (/ 1.0 (exp x))))
4.6b
(- 1 (/ 1.0 (exp x)))
4.6b
(- 1 (/ 1.0 (exp x)))
4.6b
(- 1 (/ 1.0 (exp x)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt
126×*-un-lft-identity
117×prod-diff
110×add-cube-cbrt
89×times-frac
16×difference-of-squares
10×add-log-exp
fma-neg div-inv
cbrt-prod
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out--
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 203
Calls
4 calls:
7.0ms
(cbrt (- 1 (/ 1.0 (exp x))))
9.0ms
(- 1 (/ 1.0 (exp x)))
9.0ms
(- 1 (/ 1.0 (exp x)))
9.0ms
(- 1 (/ 1.0 (exp x)))

series271.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (- 1 (/ 1.0 (exp x))))
39.0ms
(- 1 (/ 1.0 (exp x)))
36.0ms
(- 1 (/ 1.0 (exp x)))
42.0ms
(- 1 (/ 1.0 (exp x)))

simplify69.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04723900
116772456
250022173

prune217.0ms

Filtered
215 candidates to 79 candidates (36.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done011
Total2154219

Merged error: 0.0b

Counts
219 → 4

regimes43.0ms

Accuracy

97.1% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 20.9b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02119
12119

end0.0ms

sample1.1s

Algorithm
intervals
Results
375.0ms2185×body1280valid
275.0ms2540×body10240exit
185.0ms1692×body640valid
63.0ms874×body320valid
53.0ms2795×body80valid
20.0ms455×body160valid