Details

Time bar (total: 2.8s)

sample34.0ms

Algorithm
intervals
Results
11.0ms67×body1280valid
6.0ms56×body640valid
4.0ms90×body80overflowed
2.0ms28×body320valid
2.0ms84×body80valid
1.0ms21×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: 42.5b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
6.2b
(- (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
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)

series40.0ms

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

simplify191.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (184.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune127.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 0.0b

Counts
74 → 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))

series62.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune57.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh022
Picked011
Done000
Total34337

Merged error: 0.0b

Counts
37 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.0b
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
0.0b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
6.1b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
99×*-un-lft-identity
65×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
17×distribute-lft-out
11×associate-/r/ add-cbrt-cube
add-exp-log
flip3-+ flip-+ div-inv associate-/l* add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-def
frac-2neg clear-num
+-commutative sum-log fma-udef
Counts
4 → 154
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
10.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series196.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 1.0)
81.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
67.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
40.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify74.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05082170
121992059
250012056

prune375.0ms

Filtered
166 candidates to 127 candidates (76.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1651166
Fresh011
Picked101
Done011
Total1663169

Merged error: 0.0b

Counts
169 → 3

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (log (exp (- (exp x) 1.0))))
0.0b
(exp (- (exp x) 1.0))
6.1b
(log (exp (- (exp x) 1.0)))
6.2b
(- (exp x) 1.0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
44×add-cube-cbrt
30×exp-prod log-pow
27×times-frac prod-diff
22×exp-sum
14×log-prod
pow1 associate-/r* add-log-exp
distribute-lft-out-- difference-of-squares
add-cbrt-cube
add-exp-log
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-/l*
exp-diff diff-log rem-exp-log
cbrt-undiv log-div flip3-- frac-2neg div-exp rem-log-exp clear-num flip-- div-inv
Counts
4 → 140
Calls
4 calls:
8.0ms
(/ (exp x) (log (exp (- (exp x) 1.0))))
6.0ms
(exp (- (exp x) 1.0))
10.0ms
(log (exp (- (exp x) 1.0)))
5.0ms
(- (exp x) 1.0)

series96.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (exp x) (log (exp (- (exp x) 1.0))))
40.0ms
(exp (- (exp x) 1.0))
14.0ms
(log (exp (- (exp x) 1.0)))
15.0ms
(- (exp x) 1.0)

simplify205.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03301170
1950900
24926781
35001781

prune216.0ms

Filtered
152 candidates to 94 candidates (61.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1520152
Fresh011
Picked011
Done011
Total1523155

Merged error: 0.0b

Counts
155 → 3

regimes38.0ms

Accuracy

97.8% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 22.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01910
11910

end0.0ms

sample940.0ms

Algorithm
intervals
Results
416.0ms2194×body1280valid
186.0ms1582×body640valid
63.0ms2995×body80valid
62.0ms796×body320valid
52.0ms2585×body80overflowed
24.0ms436×body160valid