Details

Time bar (total: 2.1s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1409
2789
31349
42009
52339
62399
72399

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

3.8b
(- (* x x) (* (* y 4.0) y))
30.4b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
associate-*l*
flip3-- fma-neg associate-/r/ flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub clear-num flip-+ div-inv
Counts
2 → 22
Calls
2 calls:
6.0ms
(- (* x x) (* (* y 4.0) y))
11.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series109.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- (* x x) (* (* y 4.0) y))
67.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify82.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0156208
1603197
22376194
35001151

prune53.0ms

Filtered
28 candidates to 15 candidates (53.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New24428
Fresh000
Picked101
Done000
Total25429

Merged error: 0.2b

Counts
29 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

1.5b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.2b
(/ x (/ (fma x x (* (* y 4.0) y)) x))
15.7b
(/ (fma x x (* (* y 4.0) y)) x)
20.5b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
div-inv
frac-2neg clear-num associate-/r/
times-frac associate-/r* *-commutative associate-/l*
Counts
4 → 24
Calls
4 calls:
5.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
3.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
2.0ms
(/ (fma x x (* (* y 4.0) y)) x)
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series273.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
63.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
74.0ms
(/ (fma x x (* (* y 4.0) y)) x)
80.0ms
(/ (fma x x (* (* y 4.0) y)) y)

simplify43.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
084124
1219122
21129120
35002120

prune86.0ms

Filtered
36 candidates to 26 candidates (72.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh033
Picked101
Done000
Total35540

Merged error: 0.2b

Counts
40 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

1.5b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.2b
(/ x (fma 4.0 (/ (pow y 2) x) x))
7.3b
(/ (pow y 2) x)
20.5b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
div-inv
frac-2neg clear-num
associate-/l*
associate-/r/
times-frac *-commutative
associate-/r* unpow2 sqr-pow
Counts
4 → 22
Calls
4 calls:
4.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0ms
(/ x (fma 4.0 (/ (pow y 2) x) x))
3.0ms
(/ (pow y 2) x)
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series203.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
59.0ms
(/ x (fma 4.0 (/ (pow y 2) x) x))
20.0ms
(/ (pow y 2) x)
68.0ms
(/ (fma x x (* (* y 4.0) y)) y)

simplify53.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
081103
1269101
21425100
35001100

prune98.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32234
Fresh134
Picked101
Done000
Total34539

Merged error: 0.2b

Counts
39 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ y (/ x y))
1.5b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.2b
(/ x (fma 4.0 (/ y (/ x y)) x))
20.5b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
div-inv
frac-2neg clear-num associate-/r/
times-frac associate-/r* *-commutative associate-/l*
Counts
4 → 24
Calls
4 calls:
3.0ms
(/ y (/ x y))
4.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0ms
(/ x (fma 4.0 (/ y (/ x y)) x))
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series204.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ y (/ x y))
61.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
54.0ms
(/ x (fma 4.0 (/ y (/ x y)) x))
69.0ms
(/ (fma x x (* (* y 4.0) y)) y)

simplify43.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
084105
1268104
21228102
35001102

prune85.0ms

Filtered
36 candidates to 25 candidates (69.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh224
Picked011
Done000
Total36541

Merged error: 0.2b

Counts
41 → 5

regimes96.0ms

Accuracy

77.9% (3.9b remaining)

Error of 4.2b against oracle of 0.3b and baseline of 18.0b

bsearch167.0ms

Steps
ItersRangePoint
8
2.4976452960893417e+159
7.531422592295794e+163
2.548742142754068e+159
8
8.128222863375302e-164
3.0713856502247404e-159
2.88385576877549e-163
7
-1.006330366555798e-157
-3.2687850399229995e-159
-3.3127558295828727e-159
9
-1.6805119166911586e+168
-7.203888031624706e+161
-7.296941358695603e+161

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03027
13027

end0.0ms

sample364.0ms

Algorithm
intervals
Results
236.0ms8000×body80valid