Details

Time bar (total: 10.5s)

sample76.0ms

Algorithm
intervals
Results
40.0ms657×body80valid

simplify84.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

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)))

rewrite28.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:
13.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)))

series915.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
564.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
68.0ms
(* b (- (* c z) (* i a)))
69.0ms
(* x (- (* y z) (* t a)))

simplify55.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0496769
11882737
25003733

prune279.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

localize29.0ms

Local error

Found 4 expressions with local error:

4.0b
(fma (- (* c t) (* i y)) j (+ (* (fma y z (- (* t a))) x) (- (* (fma (- t) a (* t a)) x) (* b (- (* c z) (* i a))))))
5.4b
(* b (- (* c z) (* i a)))
5.9b
(* (fma y z (- (* 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 y z (- (* t a))) x) (- (* (fma (- t) a (* t a)) x) (* b (- (* c z) (* i a))))))
5.0ms
(* b (- (* c z) (* i a)))
2.0ms
(* (fma y z (- (* t a))) x)
1.0ms
(fma (- t) a (* t a))

series3.5s

Counts
4 → 12
Calls
4 calls:
3.4s
(fma (- (* c t) (* i y)) j (+ (* (fma y z (- (* t a))) x) (- (* (fma (- t) a (* t a)) x) (* b (- (* c z) (* i a))))))
63.0ms
(* b (- (* c z) (* i a)))
68.0ms
(* (fma y z (- (* t a))) x)
26.0ms
(fma (- t) a (* t a))

simplify82.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 4 (79.0ms)

IterNodesCost
0151138
1381135
2995133
32513133
45001101

prune124.0ms

Filtered
30 candidates to 13 candidates (43.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New29130
Fresh1910
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))

rewrite5.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))

series824.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(fma z (* b c) (* a (* x t)))
135.0ms
(fma a (* i b) (- (fma z (* b c) (* a (* x t)))))
546.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* a (* x t))))))
29.0ms
(* a (* x t))

simplify120.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

prune103.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

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)))))
6.6b
(* (* a x) t)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-*l* *-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)))))
4.0ms
(* (* a x) t)

series966.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(fma z (* b c) (* (* a x) t))
129.0ms
(fma a (* i b) (- (fma z (* b c) (* (* a x) t))))
703.0ms
(fma (- (* c t) (* i y)) j (fma a (* i b) (- (fma z (* b c) (* (* a x) t)))))
26.0ms
(* (* a x) t)

simplify119.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06150
111150
222450
341150
453350
571250
6123550
7169250
8194150
9203050
10216550
11219650
12219650

prune43.0ms

Filtered
18 candidates to 9 candidates (50.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New18018
Fresh01010
Picked011
Done011
Total181230

Merged error: 4.7b

Counts
30 → 12

regimes750.0ms

Accuracy

12.7% (6.1b remaining)

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

bsearch236.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