Details

Time bar (total: 2.9s)

sample54.0ms

Algorithm
intervals
Results
21.0ms108×body1280valid
11.0ms81×body640valid
5.0ms369×pre80true
3.0ms117×body80valid
3.0ms36×body320valid
2.0ms27×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
062
172
272

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.3b

localize3.0ms

Local error

Found 1 expressions with local error:

6.3b
(- (exp x) 1.0)

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

series15.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0140205
1403130
22063120
3500390

prune59.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/6 (pow x 3) x)
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
2 → 20
Calls
2 calls:
0.0ms
(fma 1/6 (pow x 3) x)
0.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series106.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
055118
1186104
21137104
35001104

prune74.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/6 (pow x 3) x)
0.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
0.0b
(pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3)
38.7b
(cbrt (pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
cube-mult unpow3 fma-udef sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 68
Calls
4 calls:
0.0ms
(fma 1/6 (pow x 3) x)
0.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
1.0ms
(pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3)
1.0ms
(cbrt (pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3))

series175.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(fma 1/6 (pow x 3) x)
32.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
38.0ms
(pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3)
32.0ms
(cbrt (pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3))

simplify41.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0192499
1732469
25002463

prune180.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize9.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.5b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite16.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:
7.0ms
(+ (exp x) 1.0)
7.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:
8.0ms
(+ (exp x) 1.0)
70.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify90.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0217568
1607522
22817511
35003511

prune168.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes54.0ms

Accuracy

0% (0.4b 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.6s

Algorithm
intervals
Results
686.0ms3424×body1280valid
330.0ms2535×body640valid
145.0ms12040×pre80true
119.0ms4229×body80valid
112.0ms1215×body320valid
40.0ms637×body160valid