Details

Time bar (total: 2.1s)

sample27.0ms

Algorithm
intervals
Results
14.0ms436×body80valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

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.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
5.0b
(- (+ (* x x) (* y y)) (* z z))
28.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative flip3-- associate--l+ associate-/r* flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub clear-num *-commutative flip-+ div-inv
Counts
3 → 17
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
5.0ms
(- (+ (* x x) (* y y)) (* z z))
8.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series149.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
42.0ms
(- (+ (* x x) (* y y)) (* z z))
80.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0213184
1887174
22968166
35003166

prune69.0ms

Filtered
26 candidates to 19 candidates (73.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New22426
Fresh000
Picked101
Done000
Total23427

Merged error: 11.3b

Counts
27 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.0b
(+ y (/ (pow x 2) y))
7.4b
(/ (pow x 2) y)
9.7b
(/ (pow z 2) y)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×frac-sub
associate-/l*
flip3-+ flip-+
frac-2neg clear-num unpow2 sqr-pow
+-commutative associate--l+ div-inv
sub-neg flip3-- flip--
Counts
4 → 29
Calls
4 calls:
5.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
3.0ms
(+ y (/ (pow x 2) y))
3.0ms
(/ (pow x 2) y)
3.0ms
(/ (pow z 2) y)

series105.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
27.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ (pow x 2) y)
19.0ms
(/ (pow z 2) y)

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0232387
1916371
25002349

prune102.0ms

Filtered
41 candidates to 26 candidates (63.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh213
Picked101
Done000
Total40545

Merged error: 1.6b

Counts
45 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
0.0b
(+ y (/ (pow x 2) y))
0.2b
(/ z (/ y z))
7.4b
(/ (pow x 2) y)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
frac-sub
frac-2neg flip3-+ clear-num flip-+ div-inv
associate-/r* associate-/r/
+-commutative associate--l+ associate-/l*
sub-neg flip3-- flip-- unpow2 sqr-pow
Counts
4 → 29
Calls
4 calls:
5.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
3.0ms
(+ y (/ (pow x 2) y))
3.0ms
(/ z (/ y z))
3.0ms
(/ (pow x 2) y)

series105.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
30.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ z (/ y z))
18.0ms
(/ (pow x 2) y)

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0232346
11033330
25001312

prune98.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh224
Picked101
Done000
Total41546

Merged error: 0.0b

Counts
46 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
0.0b
(+ y (/ (pow x (/ 2 2)) (/ y x)))
0.2b
(/ z (/ y z))
0.2b
(/ (pow x (/ 2 2)) (/ y x))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
frac-sub
div-inv
frac-2neg clear-num associate-/r/
flip3-+ flip-+
associate-/r*
+-commutative associate--l+ sqr-pow
sub-neg flip3-- times-frac flip-- associate-/l*
Counts
4 → 33
Calls
4 calls:
6.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
4.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
3.0ms
(/ z (/ y z))
4.0ms
(/ (pow x (/ 2 2)) (/ y x))

series105.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
27.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
18.0ms
(/ z (/ y z))
19.0ms
(/ (pow x (/ 2 2)) (/ y x))

simplify40.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0257415
11166393
25001361

prune106.0ms

Filtered
45 candidates to 33 candidates (73.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New41445
Fresh224
Picked101
Done000
Total44650

Merged error: 0.0b

Counts
50 → 6

regimes126.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample742.0ms

Algorithm
intervals
Results
461.0ms13768×body80valid