Details

Time bar (total: 3.5s)

sample36.0ms

Algorithm
intervals
Results
17.0ms359×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0358
1937
22607
35657
47627
59847
610217
711867
815527
921127
1021127

prune9.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: 3.0b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* a 27.0) b)
0.3b
(- (* x 2.0) (* (* (* y 9.0) z) t))
0.4b
(* (* y 9.0) z)
4.8b
(* (* (* y 9.0) z) t)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×associate-*l*
20×*-commutative
12×prod-diff
fma-neg
sub-neg flip3-- flip--
Counts
4 → 29
Calls
4 calls:
3.0ms
(* (* a 27.0) b)
7.0ms
(- (* x 2.0) (* (* (* y 9.0) z) t))
3.0ms
(* (* y 9.0) z)
5.0ms
(* (* (* y 9.0) z) t)

series142.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* a 27.0) b)
73.0ms
(- (* x 2.0) (* (* (* y 9.0) z) t))
18.0ms
(* (* y 9.0) z)
30.0ms
(* (* (* y 9.0) z) t)

simplify186.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0203234
1715208
24335208
35001208

prune83.0ms

Filtered
41 candidates to 19 candidates (46.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh011
Picked101
Done000
Total38543

Merged error: 0.3b

Counts
43 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 9.0 (* t (* z y)))
0.2b
(* (* a 27.0) b)
0.3b
(- (* x 2.0) (* 9.0 (* t (* z y))))
4.9b
(* t (* z y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r* *-commutative
12×prod-diff
fma-neg associate-*l*
sub-neg flip3-- flip--
Counts
4 → 29
Calls
4 calls:
4.0ms
(* 9.0 (* t (* z y)))
3.0ms
(* (* a 27.0) b)
6.0ms
(- (* x 2.0) (* 9.0 (* t (* z y))))
3.0ms
(* t (* z y))

series154.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* 9.0 (* t (* z y)))
21.0ms
(* (* a 27.0) b)
77.0ms
(- (* x 2.0) (* 9.0 (* t (* z y))))
27.0ms
(* t (* z y))

simplify157.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0183232
1640206
23676206
35001206

prune91.0ms

Filtered
41 candidates to 20 candidates (48.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh044
Picked101
Done000
Total41546

Merged error: 0.3b

Counts
46 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (fma 2.0 x (- (* (* z y) (* 9.0 t)))) (* (* a 27.0) b))
0.2b
(* (* a 27.0) b)
0.2b
(fma 2.0 x (- (* (* z y) (* 9.0 t))))
5.0b
(* (* z y) (* 9.0 t))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*l*
associate-*r* fma-udef
+-commutative associate-+l+ flip3-+ flip-+
Counts
4 → 13
Calls
4 calls:
3.0ms
(+ (fma 2.0 x (- (* (* z y) (* 9.0 t)))) (* (* a 27.0) b))
3.0ms
(* (* a 27.0) b)
1.0ms
(fma 2.0 x (- (* (* z y) (* 9.0 t))))
5.0ms
(* (* z y) (* 9.0 t))

series286.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(+ (fma 2.0 x (- (* (* z y) (* 9.0 t)))) (* (* a 27.0) b))
21.0ms
(* (* a 27.0) b)
77.0ms
(fma 2.0 x (- (* (* z y) (* 9.0 t))))
32.0ms
(* (* z y) (* 9.0 t))

simplify88.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0117116
1454111
22269106
35003105

prune82.0ms

Filtered
25 candidates to 18 candidates (72.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23225
Fresh224
Picked011
Done000
Total25530

Merged error: 0.3b

Counts
30 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 9.0 (* t (* z y)))
0.2b
(fma x 2.0 (- (* 27.0 (* a b)) (* 9.0 (* t (* z y)))))
0.3b
(* 27.0 (* a b))
4.9b
(* t (* z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
*-commutative
fma-udef
Counts
4 → 12
Calls
4 calls:
4.0ms
(* 9.0 (* t (* z y)))
1.0ms
(fma x 2.0 (- (* 27.0 (* a b)) (* 9.0 (* t (* z y)))))
3.0ms
(* 27.0 (* a b))
3.0ms
(* t (* z y))

series239.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* 9.0 (* t (* z y)))
153.0ms
(fma x 2.0 (- (* 27.0 (* a b)) (* 9.0 (* t (* z y)))))
21.0ms
(* 27.0 (* a b))
30.0ms
(* t (* z y))

simplify110.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
05345
111043
222243
343043
450943
558143
673843
7100543
8124543
9133743
10166943
11216543
12216543

prune61.0ms

Filtered
24 candidates to 16 candidates (66.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23124
Fresh033
Picked101
Done011
Total24529

Merged error: 0.3b

Counts
29 → 5

regimes570.0ms

Accuracy

71.7% (1.1b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 3.8b

bsearch156.0ms

Steps
ItersRangePoint
9
2.3988479758507786e-148
2.4425940060568197e-141
2.173576152581956e-141
9
-3.8331764657718957e-41
-2.66730577831928e-46
-3.794731962546154e-41

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04214
14214

end0.0ms

sample856.0ms

Algorithm
intervals
Results
481.0ms11019×body80valid