Details

Time bar (total: 2.6s)

sample51.0ms

Algorithm
intervals
Results
24.0ms79×body1280valid
10.0ms57×body640valid
4.0ms144×body80valid
3.0ms27×body320valid
1.0ms13×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: 42.1b

localize4.0ms

Local error

Found 2 expressions with local error:

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

series57.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282468
1919380
25001377

prune145.0ms

Pruning

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

series20.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03659
110452
253552
3500252

prune37.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
99×*-un-lft-identity
65×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
17×distribute-lft-out
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
flip3-+ flip-+ div-inv 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 associate-/l/
Counts
4 → 154
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
14.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
7.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series219.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 1.0)
100.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
66.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05312009
119171909
250011904

prune403.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1.0 (- 1.0 (exp x)) (exp (* 2 x)))
0.0b
(pow (exp x) 3)
3.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
3.6b
(- 1.0 (exp x))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
prod-diff
add-log-exp
pow1 add-cbrt-cube
add-exp-log expm1-log1p-u pow-pow log1p-expm1-u
unpow-prod-down pow-unpow exp-prod fma-neg cube-prod
fma-udef
cube-mult pow-to-exp sub-neg flip3-- diff-log unpow3 pow-exp flip-- distribute-lft-out-- rem-cube-cbrt difference-of-squares sqr-pow
Counts
4 → 76
Calls
4 calls:
0.0ms
(fma 1.0 (- 1.0 (exp x)) (exp (* 2 x)))
2.0ms
(pow (exp x) 3)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
4.0ms
(- 1.0 (exp x))

series115.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(fma 1.0 (- 1.0 (exp x)) (exp (* 2 x)))
24.0ms
(pow (exp x) 3)
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
13.0ms
(- 1.0 (exp x))

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0289428
11161366
25001362

prune284.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes23.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.2b

bsearch34.0ms

Steps
ItersRangePoint
8
-0.05879146692607421
-6.246474786567043e-06
-0.00014211215699186535

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03219
13219

end0.0ms

sample902.0ms

Algorithm
intervals
Results
404.0ms2280×body1280valid
172.0ms1575×body640valid
103.0ms5402×body80valid
69.0ms889×body320valid
20.0ms433×body160valid