Details

Time bar (total: 2.6s)

sample51.0ms

Algorithm
intervals
Results
21.0ms70×body1280valid
10.0ms54×body640valid
7.0ms164×body80valid
3.0ms23×body320valid
2.0ms23×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.6b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series63.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0282468
1919380
25001377

prune142.0ms

Pruning

3 alts after pruning (3 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

prune36.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series82.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(/ (exp x) x)
53.0ms
(- (/ (exp x) x) (/ 1.0 x))

simplify84.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
07595012
120953629
250032659

prune191.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (/ 1 x) (- (exp x) 1.0))
5.6b
(- (exp x) 1.0)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
34×*-un-lft-identity
29×add-cube-cbrt
27×prod-diff
13×associate-*l*
11×add-exp-log distribute-rgt-in distribute-lft-in times-frac
add-cbrt-cube
associate-*r*
pow1 prod-exp add-log-exp
sub-neg flip3-- fma-neg flip-- unswap-sqr
expm1-log1p-u frac-times associate-*r/ div-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv rec-exp diff-log 1-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
2 → 93
Calls
2 calls:
21.0ms
(* (/ 1 x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series59.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0429823
11665537
25002485

prune138.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes17.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
10
-29.541817090935037
-6.322351620237733e-11
-0.0001012327742145682

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0197
1197

end0.0ms

sample1.4s

Algorithm
intervals
Results
581.0ms2264×body1280valid
297.0ms1647×body640valid
226.0ms5322×body80valid
108.0ms855×body320valid
38.0ms435×body160valid