Details

Time bar (total: 3.8s)

sample34.0ms

Algorithm
intervals
Results
12.0ms62×body1280valid
6.0ms47×body640valid
4.0ms188×body80valid
2.0ms26×body320valid
1.0ms22×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series48.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(/ (- (exp x) 1.0) x)
13.0ms
(- (exp x) 1.0)

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282468
1919380
25001377

prune190.0ms

Pruning

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

series18.0ms

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

simplify24.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03659
110452
253552
3500252

prune42.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize11.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
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.0b
(+ (exp x) 1.0)
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite62.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:
28.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
18.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
9.0ms
(+ (exp x) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)) x)
56.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
7.0ms
(+ (exp x) 1.0)
40.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05312009
119171909
250011904

prune720.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (log (exp (fma (- 1.0) 1.0 (exp (+ x x))))) (+ (exp x) 1.0)) x)
0.0b
(+ (exp x) 1.0)
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(log (exp (fma (- 1.0) 1.0 (exp (+ x x)))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
214×times-frac
164×*-un-lft-identity
106×add-sqr-sqrt add-cube-cbrt
68×log-pow
51×exp-prod
34×associate-/l*
29×distribute-lft-out
21×pow1
add-exp-log add-cbrt-cube
associate-/r/
add-log-exp
flip3-+ flip-+ div-inv
expm1-log1p-u log-prod log1p-expm1-u
cbrt-undiv fma-def div-exp associate-/r*
fma-udef
+-commutative frac-2neg rem-log-exp exp-sum clear-num sum-log associate-/l/
Counts
4 → 201
Calls
4 calls:
40.0ms
(/ (/ (log (exp (fma (- 1.0) 1.0 (exp (+ x x))))) (+ (exp x) 1.0)) x)
9.0ms
(+ (exp x) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
3.0ms
(log (exp (fma (- 1.0) 1.0 (exp (+ x x)))))

series175.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (/ (log (exp (fma (- 1.0) 1.0 (exp (+ x x))))) (+ (exp x) 1.0)) x)
7.0ms
(+ (exp x) 1.0)
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
36.0ms
(log (exp (fma (- 1.0) 1.0 (exp (+ x x)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
07102903
123992725
250012724

prune879.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes26.0ms

Accuracy

99% (0.2b remaining)

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

bsearch54.0ms

Steps
ItersRangePoint
10
-569.2304264003914
-2.5612855498029964e-09
-8.498348281129445e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02619
12619

end0.0ms

sample980.0ms

Algorithm
intervals
Results
413.0ms2195×body1280valid
210.0ms1670×body640valid
126.0ms5454×body80valid
69.0ms861×body320valid
20.0ms384×body160valid