Details

Time bar (total: 2.1s)

sample30.0ms

Algorithm
intervals
Results
10.0ms61×body1280valid
5.0ms52×body640valid
3.0ms172×body80valid
3.0ms40×body320valid
1.0ms16×body160valid

simplify7.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.6b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite43.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:
29.0ms
(/ (- (exp x) 1.0) x)
12.0ms
(- (exp x) 1.0)

series48.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282468
1919380
25001377

prune134.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

series22.0ms

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

simplify25.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03659
110452
253552
3500252

prune31.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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:
20.0ms
(/ (- 1.0 (exp x)) x)
11.0ms
(- 1.0 (exp x))

series43.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0290506
1953401
25001399

prune123.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- 1.0 (exp x)))
5.8b
(- 1.0 (exp x))
5.8b
(- 1.0 (exp x))
5.8b
(- 1.0 (exp x))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt *-un-lft-identity
27×prod-diff
26×add-cube-cbrt
10×add-log-exp
fma-neg
cbrt-prod
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 101
Calls
4 calls:
5.0ms
(cbrt (- 1.0 (exp x)))
8.0ms
(- 1.0 (exp x))
8.0ms
(- 1.0 (exp x))
8.0ms
(- 1.0 (exp x))

series134.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (- 1.0 (exp x)))
12.0ms
(- 1.0 (exp x))
12.0ms
(- 1.0 (exp x))
16.0ms
(- 1.0 (exp x))

simplify86.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0203856
1577564
22739525
35001478

prune229.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes40.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 21.0b

bsearch20.0ms

Steps
ItersRangePoint
7
-0.00024241826916865248
-9.93567350853914e-07
-0.00015529374486214826

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0217
1237
2237

end0.0ms

sample900.0ms

Algorithm
intervals
Results
384.0ms2317×body1280valid
166.0ms1615×body640valid
98.0ms5464×body80valid
59.0ms887×body320valid
17.0ms395×body160valid