Details

Time bar (total: 3.6s)

sample15.0ms

Algorithm
intervals
Results
5.0ms234×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody2560valid
0.0msbody160valid

simplify335.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109074
1112674
1239044
1350014

prune4.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: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* 2 (+ x y)) (+ x z))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ flip-+
+-commutative associate-+l+ associate-*r/ frac-add
distribute-rgt-in associate-+r+ distribute-lft-in
Counts
1 → 13
Calls
1 calls:
7.0ms
(+ (* 2 (+ x y)) (+ x z))

series22.0ms

Counts
1 → 3
Calls
1 calls:
22.0ms
(+ (* 2 (+ x y)) (+ x z))

simplify127.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0241148
1942146
24713141
35001141

prune45.0ms

Filtered
16 candidates to 14 candidates (87.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh000
Picked011
Done000
Total13417

Merged error: 0.1b

Counts
17 → 4

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* 3 x) (+ z (* 2 y)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative associate-+r+
flip3-+ flip-+
Counts
1 → 5
Calls
1 calls:
5.0ms
(+ (* 3 x) (+ z (* 2 y)))

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(+ (* 3 x) (+ z (* 2 y)))

simplify168.0ms

Algorithm
egg-herbie
Counts
8 → 8
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07246
125146
2103746
3401146
4500146

prune29.0ms

Filtered
8 candidates to 5 candidates (62.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New808
Fresh022
Picked011
Done011
Total8412

Merged error: 0.1b

Counts
12 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x z) (+ x z))
0.0b
(- (* 2 (+ x y)) (+ x z))
16.7b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
36.2b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
266×associate-*r/
206×flip3-+ flip-+
136×frac-sub
132×frac-times
66×associate-*l/ associate-/l/
16×distribute-rgt-in distribute-lft-in
13×+-commutative
12×associate--l+
10×associate--r+
*-commutative
difference-of-squares
associate-/r/
div-sub
flip3-- flip-- associate-/l*
sub-neg
pow2 frac-2neg clear-num div-inv
Counts
4 → 196
Calls
4 calls:
4.0ms
(* (+ x z) (+ x z))
6.0ms
(- (* 2 (+ x y)) (+ x z))
19.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
37.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x z) (+ x z))
19.0ms
(- (* 2 (+ x y)) (+ x z))
91.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
78.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014514160
150024156

prune726.0ms

Filtered
208 candidates to 145 candidates (69.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2071208
Fresh101
Picked101
Done022
Total2093212

Merged error: 0.1b

Counts
212 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x z) (+ x z))
0.3b
(/ 1 (/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))))
16.7b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
36.3b
(/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
394×associate-*r/
302×flip3-+ flip-+
200×frac-sub
196×frac-times
145×associate-/r/
98×associate-*l/
75×associate-/r*
13×*-commutative
12×distribute-rgt-in distribute-lft-in associate-/l/ difference-of-squares
+-commutative
associate--l+
associate--r+
flip3-- flip--
clear-num
frac-2neg div-sub div-inv
pow2 sub-neg remove-double-div inv-pow
Counts
4 → 265
Calls
4 calls:
4.0ms
(* (+ x z) (+ x z))
32.0ms
(/ 1 (/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))))
16.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
25.0ms
(/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))))

series313.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (+ x z) (+ x z))
74.0ms
(/ 1 (/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))))
91.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
133.0ms
(/ (- (* 2 (+ x y)) (+ x z)) (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))))

simplify94.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
017067401
150027393

prune786.0ms

Filtered
277 candidates to 157 candidates (56.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2761277
Fresh000
Picked011
Done112
Total2773280

Merged error: 0.0b

Counts
280 → 3

regimes46.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0134
1134

end0.0ms

sample364.0ms

Algorithm
intervals
Results
163.0ms7388×body80valid
17.0ms181×body1280valid
14.0ms190×body640valid
8.0ms135×body320valid
5.0ms41×body2560valid
3.0ms75×body160valid