Details

Time bar (total: 1.8s)

sample9.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
073
173

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

localize4.0ms

Local error

Found 1 expressions with local error:

17.1b
(/ x (+ (* x x) 1.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 31
Calls
1 calls:
9.0ms
(/ x (+ (* x x) 1.0))

series57.0ms

Counts
1 → 3
Calls
1 calls:
57.0ms
(/ x (+ (* x x) 1.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0171215
1589196
21979191
35002186

prune71.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1 (fma x x 1.0))
17.0b
(* x (/ 1 (fma x x 1.0)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×times-frac
19×*-un-lft-identity
18×add-cube-cbrt
15×add-exp-log
13×associate-*r*
add-cbrt-cube
pow1
div-exp prod-exp
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 71
Calls
2 calls:
3.0ms
(/ 1 (fma x x 1.0))
7.0ms
(* x (/ 1 (fma x x 1.0)))

series116.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ 1 (fma x x 1.0))
70.0ms
(* x (/ 1 (fma x x 1.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0278377
11193324
25001294

prune115.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (/ (fma x x 1.0) x))
17.1b
(/ (fma x x 1.0) x)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
52×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/r*
15×add-exp-log
add-cbrt-cube
div-exp
div-inv associate-/l*
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/r/ inv-pow
Counts
2 → 107
Calls
2 calls:
6.0ms
(/ 1 (/ (fma x x 1.0) x))
3.0ms
(/ (fma x x 1.0) x)

series154.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(/ 1 (/ (fma x x 1.0) x))
85.0ms
(/ (fma x x 1.0) x)

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360746
11496655
25002578

prune140.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1 x) (* 1.0 (/ 1 (pow x 3))))
0.1b
(/ 1 (pow x 3))
0.4b
(/ 1 (pow x 5))
16.9b
(fma 1.0 (/ 1 (pow x 5)) (- (/ 1 x) (* 1.0 (/ 1 (pow x 3)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
59×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
19×associate-/r*
13×fma-neg prod-diff
12×cube-prod div-exp
add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l* add-log-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u div-inv
cbrt-undiv pow-flip frac-2neg clear-num frac-sub inv-pow
sub-neg flip3-- diff-log associate-*r/ un-div-inv flip-- fma-udef
Counts
4 → 182
Calls
4 calls:
7.0ms
(- (/ 1 x) (* 1.0 (/ 1 (pow x 3))))
5.0ms
(/ 1 (pow x 3))
5.0ms
(/ 1 (pow x 5))
1.0ms
(fma 1.0 (/ 1 (pow x 5)) (- (/ 1 x) (* 1.0 (/ 1 (pow x 3)))))

series191.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (/ 1 x) (* 1.0 (/ 1 (pow x 3))))
37.0ms
(/ 1 (pow x 3))
42.0ms
(/ 1 (pow x 5))
48.0ms
(fma 1.0 (/ 1 (pow x 5)) (- (/ 1 x) (* 1.0 (/ 1 (pow x 3)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04691124
12427837
25001831

prune303.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes47.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 15.1b

bsearch51.0ms

Steps
ItersRangePoint
9
19555.519105776155
5849697155433.691
50461.05920151082
7
-4240874295.0135207
-33514344.933988083
-2777649326.315958

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample210.0ms

Algorithm
intervals
Results
131.0ms8000×body80valid