Details

Time bar (total: 1.9s)

sample23.0ms

Algorithm
intervals
Results
12.0ms344×body80valid

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0275
1785
21795
32775
43755
54885
69775
725175
850015

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: 16.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* z z) (+ z 1.0))
15.8b
(/ (* x y) (* (* z z) (+ z 1.0)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
times-frac associate-*l*
associate-*r/ associate-/r*
+-commutative distribute-rgt-in distribute-lft-in flip3-+ associate-/r/ flip-+ associate-/l*
frac-2neg clear-num div-inv
Counts
2 → 28
Calls
2 calls:
5.0ms
(* (* z z) (+ z 1.0))
6.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series116.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(* (* z z) (+ z 1.0))
67.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0185151
1720146
22521144
35001141

prune75.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New26834
Fresh000
Picked011
Done000
Total26935

Merged error: 2.0b

Counts
35 → 9

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ z 1.0))
3.0b
(* (/ x z) (/ y (* z (+ z 1.0))))
6.0b
(/ y (* z (+ z 1.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-times
12×clear-num
11×frac-2neg associate-*r/
10×associate-/r*
*-commutative
associate-/r/
flip3-+ associate-*r* associate-*l/ flip-+ div-inv
+-commutative distribute-rgt-in distribute-lft-in
associate-*l* un-div-inv
Counts
3 → 43
Calls
3 calls:
3.0ms
(* z (+ z 1.0))
7.0ms
(* (/ x z) (/ y (* z (+ z 1.0))))
4.0ms
(/ y (* z (+ z 1.0)))

series136.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(* z (+ z 1.0))
54.0ms
(* (/ x z) (/ y (* z (+ z 1.0))))
38.0ms
(/ y (* z (+ z 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0302231
11449217
25001215

prune106.0ms

Filtered
52 candidates to 39 candidates (75.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh617
Picked101
Done101
Total55661

Merged error: 0.0b

Counts
61 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (* (/ x z) (/ y z)) (+ z 1.0))
2.2b
(* (/ x z) (/ y z))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×clear-num
18×frac-times
17×frac-2neg
16×associate-/l/
associate-*r/ associate-*l/
div-inv
associate-/l*
associate-*r* associate-*l* associate-/r/ un-div-inv *-commutative
flip3-+ flip-+
Counts
2 → 44
Calls
2 calls:
7.0ms
(/ (* (/ x z) (/ y z)) (+ z 1.0))
4.0ms
(* (/ x z) (/ y z))

series79.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ (* (/ x z) (/ y z)) (+ z 1.0))
30.0ms
(* (/ x z) (/ y z))

simplify34.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0237188
11090179
25001179

prune98.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh235
Picked011
Done000
Total50656

Merged error: 0.0b

Counts
56 → 6

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (/ (/ x z) (/ z y)) (+ z 1.0))
2.0b
(/ (/ x z) (/ z y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-/l/
11×div-inv
associate-/r/
frac-2neg clear-num associate-/l*
times-frac associate-/r*
flip3-+ flip-+
Counts
2 → 30
Calls
2 calls:
6.0ms
(/ (/ (/ x z) (/ z y)) (+ z 1.0))
4.0ms
(/ (/ x z) (/ z y))

series79.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (/ (/ x z) (/ z y)) (+ z 1.0))
27.0ms
(/ (/ x z) (/ z y))

simplify149.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (146.0ms)

IterNodesCost
0196156
1743144
24354141
35001139

prune50.0ms

Filtered
36 candidates to 21 candidates (58.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh134
Picked011
Done101
Total37542

Merged error: 0b

Counts
42 → 5

regimes81.0ms

Accuracy

37.1% (1.7b remaining)

Error of 1.7b against oracle of 0.0b and baseline of 2.7b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02717
12717

end0.0ms

sample547.0ms

Algorithm
intervals
Results
311.0ms10855×body80valid