Details

Time bar (total: 2.4s)

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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))

rewrite7.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:
6.0ms
(/ x (+ (* x x) 1.0))

series59.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0171215
1589196
21979191
35002186

prune75.0ms

Filtered
34 candidates to 29 candidates (85.3%)
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:
2.0ms
(/ 1 (fma x x 1.0))
8.0ms
(* x (/ 1 (fma x x 1.0)))

series115.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ 1 (fma x x 1.0))
69.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

prune119.0ms

Filtered
77 candidates to 48 candidates (62.3%)
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)

rewrite11.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:
5.0ms
(/ 1 (/ (fma x x 1.0) x))
2.0ms
(/ (fma x x 1.0) x)

series156.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0360746
11496655
25002578

prune149.0ms

Filtered
113 candidates to 64 candidates (56.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
1934×times-frac
1320×add-sqr-sqrt
1236×*-un-lft-identity
1171×add-cube-cbrt
1000×prod-diff
650×unpow-prod-down
251×cube-prod
238×sqr-pow
79×cube-mult unpow3
72×div-inv
63×difference-of-squares
25×fma-neg
22×add-exp-log
19×associate-/r*
12×div-exp
add-cbrt-cube
distribute-lft-out--
pow-to-exp rec-exp 1-exp pow-exp associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-flip frac-2neg clear-num inv-pow
sub-neg flip3-- diff-log frac-sub flip-- fma-udef
Counts
4 → 1250
Calls
4 calls:
0.0ms
(fma 1.0 (- (/ 1 (pow x 5)) (/ 1 (pow x 3))) (/ 1 x))
5.0ms
(/ 1 (pow x 3))
4.0ms
(/ 1 (pow x 5))
88.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(fma 1.0 (- (/ 1 (pow x 5)) (/ 1 (pow x 3))) (/ 1 x))
36.0ms
(/ 1 (pow x 3))
41.0ms
(/ 1 (pow x 5))
103.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

simplify270.0ms

Algorithm
egg-herbie
Counts
1262 → 1262
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0241132445
1500218251

prune483.0ms

Filtered
1262 candidates to 135 candidates (10.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes51.0ms

Accuracy

100% (0.0b remaining)

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

bsearch48.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02710
12710

end0.0ms

sample213.0ms

Algorithm
intervals
Results
132.0ms8000×body80valid