Details

Time bar (total: 3.6s)

sample44.0ms

Algorithm
intervals
Results
17.0ms64×body1280valid
9.0ms50×body640valid
7.0ms183×body80valid
3.0ms24×body320valid
1.0ms13×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: 36.8b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series60.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(/ (- (exp x) 1.0) x)
19.0ms
(- (exp x) 1.0)

simplify78.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0282468
1919380
25001377

prune149.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

series21.0ms

Counts
1 → 3
Calls
1 calls:
21.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

prune38.0ms

Pruning

3 alts after pruning (2 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.8b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite37.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:
7.0ms
(+ (exp x) 1.0)
15.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)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 1.0)
104.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
69.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05312009
119171909
250011904

prune414.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
0.0b
(expm1 (log1p (/ (/ (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.8b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
96×*-un-lft-identity
64×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
16×distribute-lft-out
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
div-inv
flip3-+ flip-+
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
expm1-log1p fma-udef associate-/l/ expm1-udef
Counts
4 → 148
Calls
4 calls:
18.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
0.0ms
(expm1 (log1p (/ (/ (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)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
164.0ms
(expm1 (log1p (/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)))
68.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05992115
122792012
250012007

prune472.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes21.0ms

Accuracy

98.9% (0.2b remaining)

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

bsearch33.0ms

Steps
ItersRangePoint
8
-0.1569791987765625
-1.3488457936154646e-05
-9.041382737903848e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02513
12513

end0.0ms

sample1.4s

Algorithm
intervals
Results
624.0ms2330×body1280valid
298.0ms1664×body640valid
186.0ms5438×body80valid
103.0ms828×body320valid
32.0ms394×body160valid