Details

Time bar (total: 2.2s)

sample19.0ms

Algorithm
intervals
Results
5.0ms198×body80valid
3.0ms27×body640valid
2.0ms14×body1280valid
1.0msbody320valid
0.0msbody160valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.0ms)

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

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.9b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg flip3-+ clear-num flip-+ fma-udef div-inv
Counts
2 → 6
Calls
2 calls:
3.0ms
(/ y (+ y 1.0))
1.0ms
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

series95.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
010559
129852
2123946
3500242

prune39.0ms

Filtered
12 candidates to 10 candidates (83.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New7512
Fresh101
Picked101
Done000
Total9514

Merged error: 8.2b

Counts
14 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
clear-num associate-/l/
frac-2neg div-inv
flip3-+ flip-+
associate-/r* fma-udef remove-double-div inv-pow
Counts
3 → 17
Calls
3 calls:
3.0ms
(/ (+ y 1.0) y)
4.0ms
(/ 1 (/ (+ y 1.0) y))
1.0ms
(fma (/ 1 (/ (+ y 1.0) y)) (- x 1.0) 1.0)

series144.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(/ (+ y 1.0) y)
34.0ms
(/ 1 (/ (+ y 1.0) y))
58.0ms
(fma (/ 1 (/ (+ y 1.0) y)) (- x 1.0) 1.0)

simplify82.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
014088
145779
2225672
3500268

prune65.0ms

Filtered
26 candidates to 18 candidates (69.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh044
Picked011
Done000
Total24731

Merged error: 8.2b

Counts
31 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/r/
12×frac-times
clear-num
flip3-+ flip-+
frac-2neg
associate-*r/
associate-*l/ un-div-inv
associate-/r* div-inv
associate-*r* *-commutative
fma-udef inv-pow
Counts
3 → 36
Calls
3 calls:
6.0ms
(/ 1 (* (+ y 1.0) (/ 1 y)))
4.0ms
(* (+ y 1.0) (/ 1 y))
1.0ms
(fma (/ 1 (* (+ y 1.0) (/ 1 y))) (- x 1.0) 1.0)

series146.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ 1 (* (+ y 1.0) (/ 1 y)))
48.0ms
(* (+ y 1.0) (/ 1 y))
59.0ms
(fma (/ 1 (* (+ y 1.0) (/ 1 y))) (- x 1.0) 1.0)

simplify202.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0186174
1834158
24979149
35001149

prune96.0ms

Filtered
45 candidates to 27 candidates (60.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New44145
Fresh055
Picked011
Done011
Total44852

Merged error: 8.1b

Counts
52 → 8

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.4b
(fma (* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0)) (- x 1.0) 1.0)
13.9b
(/ y (- (* y y) (* 1.0 1.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
17×*-commutative
16×associate-/r* difference-of-squares
14×frac-times
10×flip3-- flip--
associate-*l/
frac-2neg clear-num associate-/r/
associate-*l*
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ div-inv
fma-udef
Counts
3 → 41
Calls
3 calls:
9.0ms
(* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0))
1.0ms
(fma (* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0)) (- x 1.0) 1.0)
5.0ms
(/ y (- (* y y) (* 1.0 1.0)))

series220.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0))
86.0ms
(fma (* (/ y (- (* y y) (* 1.0 1.0))) (- y 1.0)) (- x 1.0) 1.0)
75.0ms
(/ y (- (* y y) (* 1.0 1.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0324353
11645340
25001310

prune107.0ms

Filtered
50 candidates to 31 candidates (62.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New47350
Fresh235
Picked101
Done022
Total50858

Merged error: 8.1b

Counts
58 → 8

regimes79.0ms

Accuracy

97.7% (0.2b remaining)

Error of 7.6b against oracle of 7.4b and baseline of 14.3b

bsearch112.0ms

Steps
ItersRangePoint
9
1.1581638671359371e+19
2.3534274151300485e+26
1.1800200009954589e+19
10
-1.4003922086164443e+35
-1.8120839603419894e+22
-2.5635796455149015e+22

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03817
13817

end0.0ms

sample481.0ms

Algorithm
intervals
Results
174.0ms6110×body80valid
66.0ms698×body640valid
45.0ms377×body1280valid
37.0ms507×body320valid
15.0ms308×body160valid