Details

Time bar (total: 1.8s)

sample19.0ms

Algorithm
intervals
Results
9.0ms344×body80valid

simplify110.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: 14.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* z z) (+ z 1.0))
13.5b
(/ (* 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:
4.0ms
(* (* z z) (+ z 1.0))
6.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series114.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0185151
1720146
22521144
35001141

prune65.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New28634
Fresh000
Picked101
Done000
Total29635

Merged error: 0.8b

Counts
35 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

2.3b
(* (/ x z) (/ y (* z (+ z 1.0))))
5.8b
(/ y (* z (+ z 1.0)))

rewrite11.0ms

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

series89.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0300209
11458195
25001194

prune93.0ms

Filtered
42 candidates to 34 candidates (81.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New36642
Fresh415
Picked101
Done000
Total41748

Merged error: 0b

Counts
48 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (* (/ x z) (/ y z)) (+ z 1.0))
1.8b
(* (/ 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))

series89.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0237188
11090179
25001179

prune99.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New46450
Fresh426
Picked101
Done000
Total51657

Merged error: 0b

Counts
57 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ z 1.0))
0.3b
(* (* (/ x z) (/ y z)) (/ 1 (+ z 1.0)))
1.8b
(* (/ x z) (/ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
93×frac-times
64×clear-num
58×frac-2neg
31×associate-*l/
18×associate-*r/
un-div-inv
associate-*l* div-inv
associate-*r*
associate-/r/
*-commutative
flip3-+ flip-+
inv-pow
Counts
3 → 102
Calls
3 calls:
3.0ms
(/ 1 (+ z 1.0))
10.0ms
(* (* (/ x z) (/ y z)) (/ 1 (+ z 1.0)))
4.0ms
(* (/ x z) (/ y z))

series106.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ 1 (+ z 1.0))
49.0ms
(* (* (/ x z) (/ y z)) (/ 1 (+ z 1.0)))
31.0ms
(* (/ x z) (/ y z))

simplify66.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0610490
12373450
25001450

prune145.0ms

Filtered
111 candidates to 62 candidates (55.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh145
Picked011
Done000
Total1116117

Merged error: 0b

Counts
117 → 6

regimes81.0ms

Accuracy

0% (2.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0166
1166

end0.0ms

sample513.0ms

Algorithm
intervals
Results
292.0ms10819×body80valid