Details

Time bar (total: 1.8s)

sample25.0ms

Algorithm
intervals
Results
15.0ms458×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (17.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune6.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: 7.1b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
7.4b
(* x.re (- (* x.im x.im)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
*-commutative
distribute-lft-neg-in distribute-rgt-neg-in
neg-mul-1 distribute-rgt-neg-out fma-udef
Counts
2 → 8
Calls
2 calls:
1.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
3.0ms
(* x.re (- (* x.im x.im)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
31.0ms
(* x.re (- (* x.im x.im)))

simplify66.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
05137
114836
253433
3185033
4500133

prune28.0ms

Filtered
14 candidates to 8 candidates (57.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12214
Fresh011
Picked011
Done000
Total12416

Merged error: 0.1b

Counts
16 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
0.2b
(* (* x.re (- x.im)) x.im)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l*
*-commutative
distribute-lft-neg-out neg-mul-1 associate-*r* distribute-rgt-neg-out fma-udef
Counts
2 → 6
Calls
2 calls:
1.0ms
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
4.0ms
(* (* x.re (- x.im)) x.im)

series81.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
29.0ms
(* (* x.re (- x.im)) x.im)

simplify68.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 3 (16.0ms)

IterNodesCost
04834
114334
255233
3191730
4500130

prune28.0ms

Filtered
12 candidates to 8 candidates (66.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New10212
Fresh202
Picked101
Done011
Total13316

Merged error: 0.1b

Counts
16 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* -3 (* (* x.re x.im) x.im)) (pow x.re 3))
0.2b
(* (* x.re x.im) x.im)
0.2b
(* -3 (* (* x.re x.im) x.im))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r* *-commutative
fma-def associate-*l*
+-commutative flip3-+ flip-+
Counts
3 → 17
Calls
3 calls:
7.0ms
(+ (* -3 (* (* x.re x.im) x.im)) (pow x.re 3))
3.0ms
(* (* x.re x.im) x.im)
4.0ms
(* -3 (* (* x.re x.im) x.im))

series106.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(+ (* -3 (* (* x.re x.im) x.im)) (pow x.re 3))
25.0ms
(* (* x.re x.im) x.im)
29.0ms
(* -3 (* (* x.re x.im) x.im))

simplify90.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
08974
138472
2225470
3500267

prune48.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New23326
Fresh101
Picked011
Done011
Total24529

Merged error: 0.0b

Counts
29 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* -3 x.im) (* x.re x.im)) (pow x.re 3))
0.2b
(* (* -3 x.im) (* x.re x.im))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
fma-def
associate-*r*
associate-*l*
+-commutative distribute-rgt-out flip3-+ unpow3 flip-+
Counts
2 → 15
Calls
2 calls:
7.0ms
(+ (* (* -3 x.im) (* x.re x.im)) (pow x.re 3))
4.0ms
(* (* -3 x.im) (* x.re x.im))

series91.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(+ (* (* -3 x.im) (* x.re x.im)) (pow x.re 3))
20.0ms
(* (* -3 x.im) (* x.re x.im))

simplify89.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
09873
135871
2213268
3500265

prune44.0ms

Filtered
21 candidates to 16 candidates (76.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New19221
Fresh112
Picked011
Done022
Total20626

Merged error: 0b

Counts
26 → 6

regimes45.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample709.0ms

Algorithm
intervals
Results
493.0ms14417×body80valid