Details

Time bar (total: 5.0s)

sample78.0ms

Algorithm
intervals
Results
41.0ms626×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.1b

Counts
2 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* c t) (* i y))
5.1b
(* b (- (* c z) (* i a)))
6.1b
(* j (- (* c t) (* i y)))
6.4b
(* x (- (* y z) (* t a)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
32×*-commutative
28×prod-diff
18×distribute-rgt-in distribute-lft-in
sub-neg
associate-*r/
flip3-- flip--
fma-neg
Counts
4 → 55
Calls
4 calls:
4.0ms
(- (* c t) (* i y))
6.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* j (- (* c t) (* i y)))
8.0ms
(* x (- (* y z) (* t a)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* c t) (* i y))
72.0ms
(* b (- (* c z) (* i a)))
72.0ms
(* j (- (* c t) (* i y)))
70.0ms
(* x (- (* y z) (* t a)))

simplify71.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0320383
1881373
22484373
35002313

prune188.0ms

Filtered
67 candidates to 28 candidates (41.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New58967
Fresh011
Picked101
Done000
Total591069

Merged error: 10.0b

Counts
69 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

5.1b
(* b (- (* c z) (* i a)))
6.1b
(* j (- (* c t) (* i y)))
6.4b
(* x (fma z y (- (* t a))))
47.6b
(fma (- t) a (* t a))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
19×*-commutative
16×prod-diff
13×distribute-rgt-in distribute-lft-in
sub-neg associate-*r/
fma-udef
flip3-- flip--
Counts
4 → 34
Calls
4 calls:
6.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* j (- (* c t) (* i y)))
2.0ms
(* x (fma z y (- (* t a))))
1.0ms
(fma (- t) a (* t a))

series251.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* b (- (* c z) (* i a)))
69.0ms
(* j (- (* c t) (* i y)))
86.0ms
(* x (fma z y (- (* t a))))
31.0ms
(fma (- t) a (* t a))

simplify129.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0238238
1598232
21585230
34220206
45001206

prune170.0ms

Filtered
46 candidates to 20 candidates (43.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh279
Picked101
Done000
Total451156

Merged error: 10.0b

Counts
56 → 11

localize36.0ms

Local error

Found 4 expressions with local error:

6.1b
(* j (fma t c (- (* i y))))
6.4b
(* x (fma z y (- (* t a))))
47.6b
(fma (- t) a (* t a))
52.1b
(fma (- i) y (* i y))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
distribute-rgt-in distribute-lft-in *-commutative
Counts
4 → 8
Calls
4 calls:
2.0ms
(* j (fma t c (- (* i y))))
2.0ms
(* x (fma z y (- (* t a))))
1.0ms
(fma (- t) a (* t a))
1.0ms
(fma (- i) y (* i y))

series216.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* j (fma t c (- (* i y))))
81.0ms
(* x (fma z y (- (* t a))))
28.0ms
(fma (- t) a (* t a))
28.0ms
(fma (- i) y (* i y))

simplify15.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
07844
114744
221940
324040
424040

prune129.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New18220
Fresh2810
Picked101
Done000
Total211031

Merged error: 10.0b

Counts
31 → 10

localize38.0ms

Local error

Found 4 expressions with local error:

6.1b
(* j (fma t c (- (* i y))))
6.1b
(* x (* z y))
47.6b
(fma (- t) a (* t a))
52.1b
(fma (- i) y (* i y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
*-commutative
associate-*r*
distribute-rgt-in distribute-lft-in
Counts
4 → 8
Calls
4 calls:
2.0ms
(* j (fma t c (- (* i y))))
3.0ms
(* x (* z y))
1.0ms
(fma (- t) a (* t a))
1.0ms
(fma (- i) y (* i y))

series164.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* j (fma t c (- (* i y))))
32.0ms
(* x (* z y))
28.0ms
(fma (- t) a (* t a))
28.0ms
(fma (- i) y (* i y))

simplify13.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
06030
110130
213828
314928
414928

prune86.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New18220
Fresh189
Picked101
Done000
Total201030

Merged error: 8.1b

Counts
30 → 10

regimes695.0ms

Accuracy

6.1% (4.8b remaining)

Error of 12.3b against oracle of 7.5b and baseline of 12.6b

bsearch210.0ms

Steps
ItersRangePoint
8
1.769180659596689e-296
1.127554199861058e-293
6.584199307173384e-294
9
-4.00136131274548e-192
-5.391557382615477e-199
-5.101805739841539e-198

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07750
18550
28650
38650

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s18697×body80valid