Details

Time bar (total: 6.0s)

sample25.0ms

Algorithm
intervals
Results
11.0ms262×body80valid

simplify139.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
1050018

prune7.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: 22.7b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(* z (- b y))
0.2b
(+ (* x y) (* z (- t a)))
21.9b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in
associate-+r+ associate-*r/
flip3-+ *-commutative flip-+
flip3-- fma-def associate-/r/ flip-- associate-/l/
+-commutative frac-2neg clear-num div-inv
Counts
4 → 30
Calls
4 calls:
4.0ms
(* z (- t a))
4.0ms
(* z (- b y))
5.0ms
(+ (* x y) (* z (- t a)))
10.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series527.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* z (- t a))
41.0ms
(* z (- b y))
53.0ms
(+ (* x y) (* z (- t a)))
387.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify104.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0198165
1741158
23633158
35001157

prune131.0ms

Filtered
42 candidates to 24 candidates (57.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New321042
Fresh000
Picked101
Done000
Total331043

Merged error: 22.1b

Counts
43 → 10

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (- t a))
0.0b
(* z (- b y))
21.9b
(/ (fma x y (* z (- t a))) (+ y (* z (- b y))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- associate-/r/ *-commutative flip--
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
3 → 19
Calls
3 calls:
3.0ms
(* z (- t a))
3.0ms
(* z (- b y))
4.0ms
(/ (fma x y (* z (- t a))) (+ y (* z (- b y))))

series450.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* z (- t a))
37.0ms
(* z (- b y))
369.0ms
(/ (fma x y (* z (- t a))) (+ y (* z (- b y))))

simplify131.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 4 (128.0ms)

IterNodesCost
012391
135590
2135690
3493890
4500189

prune90.0ms

Filtered
28 candidates to 14 candidates (50.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New26228
Fresh279
Picked011
Done000
Total281038

Merged error: 22.1b

Counts
38 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.2b
(+ (* x y) (* z (- t a)))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
22.0b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ flip-+
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in clear-num associate-/l/
frac-2neg associate-/r* div-inv
fma-def associate-*r/ *-commutative
+-commutative flip3-- flip-- remove-double-div inv-pow
Counts
4 → 36
Calls
4 calls:
4.0ms
(* z (- b y))
5.0ms
(+ (* x y) (* z (- t a)))
8.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
9.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.4s

Counts
4 → 12
Calls
4 calls:
42.0ms
(* z (- b y))
45.0ms
(+ (* x y) (* z (- t a)))
888.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
468.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify116.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0202213
1752205
24041192
35001192

prune171.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New43548
Fresh358
Picked101
Done011
Total471158

Merged error: 22.1b

Counts
58 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a)))))
0.5b
(+ (fma x y (* t z)) (* z (- a)))
22.0b
(/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ flip-+
clear-num associate-/l/
frac-2neg associate-/r* div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ distribute-rgt-neg-out
+-commutative associate-+l+ flip3-- unsub-neg *-commutative flip-- fma-udef remove-double-div inv-pow
Counts
4 → 33
Calls
4 calls:
3.0ms
(* z (- b y))
7.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a)))))
3.0ms
(+ (fma x y (* t z)) (* z (- a)))
7.0ms
(/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
41.0ms
(* z (- b y))
832.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a)))))
48.0ms
(+ (fma x y (* t z)) (* z (- a)))
281.0ms
(/ (+ y (* z (- b y))) (+ (fma x y (* t z)) (* z (- a))))

simplify116.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0191235
1821213
24689193
35001193

prune136.0ms

Filtered
45 candidates to 33 candidates (73.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New42345
Fresh369
Picked011
Done011
Total451156

Merged error: 22.1b

Counts
56 → 11

regimes393.0ms

Accuracy

0% (0.6b remaining)

Error of 23.5b against oracle of 22.9b and baseline of 23.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample628.0ms

Algorithm
intervals
Results
348.0ms8409×body80valid