Details

Time bar (total: 2.2s)

sample32.0ms

Algorithm
intervals
Results
13.0ms75×body1280valid
5.0ms56×body640valid
3.0ms180×body80valid
1.0ms22×body320valid
1.0ms17×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.9b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.1b
(- (exp x) 1.0)

rewrite44.0ms

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

series54.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ (- (exp x) 1.0) x)
15.0ms
(- (exp x) 1.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0282468
1919380
25001377

prune136.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/6 (pow x 2) (fma 1/2 x 1))

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:
0.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))

series24.0ms

Counts
1 → 3
Calls
1 calls:
24.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))

simplify26.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03659
110452
253552
3500252

prune33.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/6 (pow x 3) x)
2.4b
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
8.8b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
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:
0.0ms
(fma 1/6 (pow x 3) x)
7.0ms
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
0.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series145.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(fma 1/6 (pow x 3) x)
44.0ms
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
27.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify86.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0140391
1510356
22915356
35002356

prune148.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
262×times-frac
213×add-sqr-sqrt
209×*-un-lft-identity
201×add-cube-cbrt
169×prod-diff
30×div-inv
13×fma-neg
add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
add-exp-log associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg flip3-- distribute-rgt-out-- frac-2neg diff-log div-exp clear-num frac-sub flip-- sub-div
Counts
2 → 236
Calls
2 calls:
7.0ms
(/ (exp x) x)
41.0ms
(- (/ (exp x) x) (/ 1.0 x))

series75.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ (exp x) x)
50.0ms
(- (/ (exp x) x) (/ 1.0 x))

simplify81.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07595012
120953629
250032659

prune181.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

98.4% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 21.4b

bsearch26.0ms

Steps
ItersRangePoint
9
-0.04331797882383785
-1.989428328455626e-07
-0.00010696052970747946

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01910

end0.0ms

sample897.0ms

Algorithm
intervals
Results
383.0ms2235×body1280valid
174.0ms1724×body640valid
92.0ms5401×body80valid
53.0ms810×body320valid
17.0ms411×body160valid