Details

Time bar (total: 2.6s)

sample42.0ms

Algorithm
intervals
Results
16.0ms115×body1280valid
7.0ms82×body640valid
6.0ms378×pre80true
2.0ms30×body320valid
1.0ms124×body80valid
1.0ms27×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
062
172
272

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.0b

localize3.0ms

Local error

Found 1 expressions with local error:

6.5b
(- (exp x) 1.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
11.0ms
(- (exp x) 1.0)

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(- (exp x) 1.0)

simplify59.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0140205
1403130
22063120
3500390

prune52.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.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

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/2 (pow x 2) (fma 1/6 (pow x 3) x))

series31.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04574
115265
294865
3500165

prune33.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube distribute-lft-out add-log-exp
associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log fma-udef div-inv
Counts
3 → 62
Calls
3 calls:
9.0ms
(+ (exp x) 1.0)
18.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series121.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (exp x) 1.0)
69.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify85.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0217568
1607522
22817511
35003511

prune144.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
0.0b
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
6.7b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.7b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
104×sqrt-prod
92×*-un-lft-identity
84×times-frac
64×add-sqr-sqrt add-cube-cbrt
14×associate-/r* distribute-lft-out
12×associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv sqrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
Counts
4 → 164
Calls
4 calls:
18.0ms
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
18.0ms
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
87.0ms
(/ (sqrt (fma (- 1.0) 1.0 (exp (+ x x)))) (sqrt (+ (exp x) 1.0)))
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
48.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify97.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
02392590
17072422
235892326
350032326

prune380.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes14.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094

end0.0ms

sample1.1s

Algorithm
intervals
Results
469.0ms3478×body1280valid
202.0ms2472×body640valid
92.0ms12049×pre80true
62.0ms1264×body320valid
45.0ms4223×body80valid
23.0ms612×body160valid