Details

Time bar (total: 10.6s)

sample79.0ms

Algorithm
intervals
Results
43.0ms657×body80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune8.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: 11.1b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
4.0b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
5.4b
(* b (- (* c z) (* i a)))
5.9b
(* x (- (* y z) (* t a)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
39×*-commutative
36×prod-diff
24×distribute-rgt-in distribute-lft-in
12×associate-*r/ associate--l+ associate--r+
sub-neg
flip3-- flip--
frac-sub
fma-neg
fma-udef
Counts
4 → 69
Calls
4 calls:
12.0ms
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
1.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
5.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* x (- (* y z) (* t a)))

series883.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
544.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
64.0ms
(* b (- (* c z) (* i a)))
66.0ms
(* x (- (* y z) (* t a)))

simplify58.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0496769
11882737
25003733

prune300.0ms

Filtered
81 candidates to 43 candidates (53.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New701181
Fresh000
Picked101
Done000
Total711182

Merged error: 4.8b

Counts
82 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

4.0b
(fma (- (* c t) (* i y)) j (+ (* (fma z y (- (* t a))) x) (- (* (fma (- t) a (* t a)) x) (* b (- (* c z) (* i a))))))
5.4b
(* b (- (* c z) (* i a)))
5.9b
(* (fma z y (- (* t a))) x)
48.9b
(fma (- t) a (* t a))

rewrite10.0ms

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

series3.7s

Counts
4 → 12
Calls
4 calls:
3.5s
(fma (- (* c t) (* i y)) j (+ (* (fma z y (- (* t a))) x) (- (* (fma (- t) a (* t a)) x) (* b (- (* c z) (* i a))))))
102.0ms
(* b (- (* c z) (* i a)))
62.0ms
(* (fma z y (- (* t a))) x)
25.0ms
(fma (- t) a (* t a))

simplify91.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 4 (87.0ms)

IterNodesCost
0151138
1381135
2995133
32513133
45001101

prune130.0ms

Filtered
30 candidates to 13 candidates (43.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh01010
Picked011
Done000
Total301141

Merged error: 4.8b

Counts
41 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

2.4b
(fma z (* b c) (* a (* x t)))
3.0b
(fma a (* i b) (- (fma z (* b c) (* a (* x t)))))
4.0b
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* a (* x t))))))
5.8b
(* a (* x t))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-*r* *-commutative
Counts
4 → 6
Calls
4 calls:
1.0ms
(fma z (* b c) (* a (* x t)))
1.0ms
(fma a (* i b) (- (fma z (* b c) (* a (* x t)))))
1.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* a (* x t))))))
3.0ms
(* a (* x t))

series812.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(fma z (* b c) (* a (* x t)))
131.0ms
(fma a (* i b) (- (fma z (* b c) (* a (* x t)))))
542.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* a (* x t))))))
31.0ms
(* a (* x t))

simplify119.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06150
111250
222550
341250
453450
571350
6123650
7169350
8194250
9203150
10216650
11219750
12219750

prune102.0ms

Filtered
18 candidates to 10 candidates (55.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New15318
Fresh189
Picked101
Done011
Total171229

Merged error: 4.7b

Counts
29 → 12

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-*r* *-commutative
Counts
4 → 6
Calls
4 calls:
1.0ms
(fma z (* b c) (* t (* x a)))
1.0ms
(fma a (* i b) (- (fma z (* b c) (* t (* x a)))))
1.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* t (* x a))))))
3.0ms
(* t (* x a))

series792.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(fma z (* b c) (* t (* x a)))
125.0ms
(fma a (* i b) (- (fma z (* b c) (* t (* x a)))))
534.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* t (* x a))))))
30.0ms
(* t (* x a))

simplify121.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06150
111250
222550
341250
453450
571350
6123650
7169350
8194250
9203150
10216650
11219750
12219750

prune42.0ms

Filtered
18 candidates to 8 candidates (44.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New18018
Fresh01010
Picked011
Done011
Total181230

Merged error: 4.7b

Counts
30 → 12

regimes744.0ms

Accuracy

12.7% (6.1b remaining)

Error of 10.9b against oracle of 4.8b and baseline of 11.8b

bsearch241.0ms

Steps
ItersRangePoint
9
3.015824262888155e-177
3.636382238941645e-168
9.751634481264663e-175
10
-2.010206062777737e-51
-3.5169477567309204e-70
-1.4891416355699024e-67

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05929
16129
26129

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s19182×body80valid