Details

Time bar (total: 4.3s)

sample20.0ms

Algorithm
intervals
Results
6.0ms200×body80valid
3.0ms27×body640valid
1.0ms13×body320valid
1.0msbody1280valid
1.0ms10×body160valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (16.0ms)

IterNodesCost
0165
1355
2765
31375
42854
54594
67194
78484
810644
913974
1021014
1150024

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.2b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (+ y 1.0))
3.2b
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
Counts
2 → 45
Calls
2 calls:
11.0ms
(/ y (+ y 1.0))
0.0ms
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

series92.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ y (+ y 1.0))
53.0ms
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

simplify124.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0203263
1708238
23148232
35002228

prune201.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 8.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ y 1.0))
0.1b
(* y (/ 1 (+ y 1.0)))
5.4b
(fma (* y (/ 1 (+ y 1.0))) (- x 1.0) 1.0)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
28×add-sqr-sqrt
26×times-frac
21×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
div-exp prod-exp associate-/r* associate-/r/
expm1-log1p-u associate-*l* log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv rec-exp flip3-+ 1-exp cbrt-unprod flip-+ div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef inv-pow
Counts
3 → 92
Calls
3 calls:
12.0ms
(/ 1 (+ y 1.0))
34.0ms
(* y (/ 1 (+ y 1.0)))
0.0ms
(fma (* y (/ 1 (+ y 1.0))) (- x 1.0) 1.0)

series112.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(/ 1 (+ y 1.0))
39.0ms
(* y (/ 1 (+ y 1.0)))
52.0ms
(fma (* y (/ 1 (+ y 1.0))) (- x 1.0) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0324499
11447427
25002381

prune292.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 8.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ y 1.0))
0.3b
(cbrt (+ y 1.0))
0.3b
(* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))
9.7b
(fma (* y (* (/ 1 (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ 1 (cbrt (+ y 1.0))))) (- x 1.0) 1.0)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod *-un-lft-identity
22×add-sqr-sqrt
16×cbrt-div
14×add-cube-cbrt
11×pow1
swap-sqr
flip3-+ pow1/3 flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 97
Calls
4 calls:
4.0ms
(cbrt (+ y 1.0))
4.0ms
(cbrt (+ y 1.0))
41.0ms
(* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))
0.0ms
(fma (* y (* (/ 1 (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ 1 (cbrt (+ y 1.0))))) (- x 1.0) 1.0)

series340.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(cbrt (+ y 1.0))
93.0ms
(cbrt (+ y 1.0))
113.0ms
(* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))
51.0ms
(fma (* y (* (/ 1 (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ 1 (cbrt (+ y 1.0))))) (- x 1.0) 1.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0373892
11305824
25002762

prune624.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 8.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
9.2b
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
0.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

series656.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(cbrt y)
191.0ms
(cbrt y)
192.0ms
(cbrt y)
72.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0104277
1282243
21092232
35002228

prune299.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.2b

regimes499.0ms

Accuracy

97% (0.2b remaining)

Error of 7.3b against oracle of 7.0b and baseline of 14.6b

bsearch96.0ms

Steps
ItersRangePoint
9
3202614516610.6147
3.177175472717041e+17
26612025094197484.0
8
-2.0299508383700634e+24
-3.618275887393801e+21
-3.660457764379565e+21

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample512.0ms

Algorithm
intervals
Results
183.0ms6130×body80valid
77.0ms728×body640valid
48.0ms344×body1280valid
42.0ms499×body320valid
16.0ms299×body160valid