Details

Time bar (total: 2.8s)

sample41.0ms

Algorithm
intervals
Results
11.0ms82×body10240exit
11.0ms67×body1280valid
7.0ms60×body640valid
2.0ms32×body320valid
2.0ms79×body80valid
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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 44.5b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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)

series48.0ms

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

simplify177.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (171.0ms)

IterNodesCost
0236523
1784433
24452420
35001408

prune117.0ms

Filtered
74 candidates to 50 candidates (32.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New70474
Fresh000
Picked101
Done000
Total71475

Merged error: 0.0b

Counts
75 → 4

localize5.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))

series48.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233538
5500238

prune26.0ms

Filtered
13 candidates to 10 candidates (23.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh033
Picked011
Done000
Total13417

Merged error: 0.0b

Counts
17 → 4

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.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:
4.0ms
(/ 1.0 (exp x))
9.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
8.0ms
(- 1 (/ 1.0 (exp x)))

series105.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05501840
122881283
250011190

prune139.0ms

Filtered
155 candidates to 73 candidates (52.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh022
Picked011
Done011
Total1554159

Merged error: 0.0b

Counts
159 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.2b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.3b
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
5.9b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite30.0ms

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

series215.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (exp x) 1.0)
74.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
88.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify82.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05172252
122512142
250012139

prune363.0ms

Filtered
177 candidates to 133 candidates (24.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1761177
Fresh011
Picked101
Done022
Total1774181

Merged error: 0b

Counts
181 → 4

regimes56.0ms

Accuracy

97.3% (0.6b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02515
12515

end0.0ms

sample1.1s

Algorithm
intervals
Results
386.0ms2228×body1280valid
275.0ms2562×body10240exit
173.0ms1619×body640valid
64.0ms871×body320valid
58.0ms2854×body80valid
22.0ms428×body160valid