Details

Time bar (total: 2.5s)

sample34.0ms

Algorithm
intervals
Results
21.0ms436×body80valid

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 30.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff difference-of-squares
associate-/l/
frac-2neg fma-neg clear-num div-inv
sub-neg flip3-- flip-- fma-udef associate-/l*
Counts
3 → 22
Calls
3 calls:
1.0ms
(fma x x (- (* y y) (* z z)))
5.0ms
(- (* y y) (* z z))
3.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series190.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma x x (- (* y y) (* z z)))
34.0ms
(- (* y y) (* z z))
100.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify49.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0141136
1475126
21509123
35002110

prune61.0ms

Filtered
31 candidates to 13 candidates (41.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New27431
Fresh000
Picked101
Done000
Total28432

Merged error: 11.3b

Counts
32 → 4

localize13.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)

rewrite17.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:
7.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)

series123.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
30.0ms
(+ y (/ (pow x 2) y))
25.0ms
(/ (pow x 2) y)
21.0ms
(/ (pow z 2) y)

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0248387
1935361
25002335

prune119.0ms

Filtered
41 candidates to 26 candidates (63.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh123
Picked101
Done000
Total41445

Merged error: 1.6b

Counts
45 → 4

localize12.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)

rewrite16.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:
6.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)

series355.0ms

Counts
4 → 12
Calls
4 calls:
280.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
30.0ms
(+ y (/ (pow x 2) y))
20.0ms
(/ z (/ y z))
25.0ms
(/ (pow x 2) y)

simplify41.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0246346
11049319
25001297

prune119.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh213
Picked101
Done000
Total41445

Merged error: 0.0b

Counts
45 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

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

series122.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (+ y (/ x (/ y x))) (/ z (/ y z)))
35.0ms
(+ y (/ x (/ y x)))
20.0ms
(/ z (/ y z))
21.0ms
(/ x (/ y x))

simplify41.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0253349
11100315
25002283

prune105.0ms

Filtered
43 candidates to 30 candidates (69.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh213
Picked101
Done000
Total43447

Merged error: 0.0b

Counts
47 → 4

regimes92.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
0178
1178

end0.0ms

sample862.0ms

Algorithm
intervals
Results
569.0ms13768×body80valid