Details

Time bar (total: 5.9s)

sample79.0ms

Algorithm
intervals
Results
42.0ms652×body80valid

simplify88.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: 12.0b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* c z) (* t i))
3.0b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
5.9b
(* x (- (* y z) (* t a)))
6.6b
(* b (- (* c z) (* t i)))

rewrite18.0ms

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

series690.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* c z) (* t i))
519.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
67.0ms
(* x (- (* y z) (* t a)))
68.0ms
(* b (- (* c z) (* t i)))

simplify159.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0248293
1694286
21946286
34948250
45001250

prune137.0ms

Filtered
53 candidates to 24 candidates (45.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New47653
Fresh011
Picked101
Done000
Total48755

Merged error: 3.7b

Counts
55 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* c z) (* t i))
3.4b
(* j (- (* c a) (* y i)))
5.9b
(* x (- (* y z) (* t a)))
6.6b
(* b (- (* c z) (* t i)))

rewrite22.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 z) (* t i))
5.0ms
(* j (- (* c a) (* y i)))
5.0ms
(* x (- (* y z) (* t a)))
5.0ms
(* b (- (* c z) (* t i)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* c z) (* t i))
63.0ms
(* j (- (* c a) (* y i)))
65.0ms
(* x (- (* y z) (* t a)))
65.0ms
(* b (- (* c z) (* t i)))

simplify66.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0318383
1880373
22486373
35001313

prune166.0ms

Filtered
67 candidates to 28 candidates (41.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New63467
Fresh156
Picked101
Done000
Total65974

Merged error: 3.7b

Counts
74 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

3.4b
(* j (fma a c (* i y)))
5.9b
(* x (- (* y z) (* t a)))
6.6b
(* b (- (* c z) (* t i)))
19.4b
(/ (* (* j (fma a c (* i y))) (fma a c (- (* y i)))) (+ (* c a) (* y i)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×*-commutative
16×prod-diff
13×distribute-rgt-in distribute-lft-in
sub-neg associate-*r/ associate-/l*
flip3-- associate-*l* associate-/r/ flip-- fma-udef
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 42
Calls
4 calls:
2.0ms
(* j (fma a c (* i y)))
5.0ms
(* x (- (* y z) (* t a)))
5.0ms
(* b (- (* c z) (* t i)))
8.0ms
(/ (* (* j (fma a c (* i y))) (fma a c (- (* y i)))) (+ (* c a) (* y i)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* j (fma a c (* i y)))
65.0ms
(* x (- (* y z) (* t a)))
62.0ms
(* b (- (* c z) (* t i)))
134.0ms
(/ (* (* j (fma a c (* i y))) (fma a c (- (* y i)))) (+ (* c a) (* y i)))

simplify70.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0316325
1906314
22688286
35002285

prune213.0ms

Filtered
54 candidates to 28 candidates (51.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New51354
Fresh088
Picked011
Done000
Total511263

Merged error: 3.7b

Counts
63 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 1 (/ 1 (* j (- (* c a) (* i y)))))
3.4b
(* j (- (* c a) (* i y)))
5.9b
(* x (- (* y z) (* t a)))
6.6b
(* b (- (* c z) (* t i)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×*-commutative
24×prod-diff
18×distribute-rgt-in distribute-lft-in
associate-*r/
associate-/r/
sub-neg
associate-/r*
flip3-- flip--
clear-num
frac-2neg div-inv remove-double-div inv-pow
pow-flip
Counts
4 → 60
Calls
4 calls:
7.0ms
(/ 1 (/ 1 (* j (- (* c a) (* i y)))))
6.0ms
(* j (- (* c a) (* i y)))
5.0ms
(* x (- (* y z) (* t a)))
5.0ms
(* b (- (* c z) (* t i)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ 1 (/ 1 (* j (- (* c a) (* i y)))))
67.0ms
(* j (- (* c a) (* i y)))
68.0ms
(* x (- (* y z) (* t a)))
67.0ms
(* b (- (* c z) (* t i)))

simplify78.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0332370
11013358
23259358
35001358

prune293.0ms

Filtered
72 candidates to 31 candidates (43.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh1910
Picked101
Done011
Total721284

Merged error: 3.7b

Counts
84 → 12

regimes648.0ms

Accuracy

-4.8% (8.3b remaining)

Error of 12.4b against oracle of 4.1b and baseline of 12.0b

bsearch118.0ms

Steps
ItersRangePoint
4
5.567523194490419e-266
9.752916936877158e-266
5.642843056892081e-266
6
3.0279402369842325e-285
2.80327005206559e-284
1.6227582129164173e-284

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07043
17343
27343

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s19192×body80valid