Details

Time bar (total: 2.4s)

sample19.0ms

Algorithm
intervals
Results
9.0ms265×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1217
2217

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.4b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
26.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
fma-def flip3-+ flip-+
+-commutative associate-/r/ *-commutative associate-/l/
frac-2neg clear-num div-inv
Counts
3 → 17
Calls
3 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series139.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* y.re y.re) (* y.im y.im))
29.0ms
(+ (* x.re y.re) (* x.im y.im))
80.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify63.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0157113
1640106
22288102
35001100

prune78.0ms

Filtered
26 candidates to 19 candidates (73.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New20626
Fresh000
Picked011
Done000
Total20727

Merged error: 26.7b

Counts
27 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
0.6b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
26.4b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ flip-+
frac-times
clear-num
fma-def frac-2neg associate-/r/
associate-*r/ associate-*r* *-commutative
+-commutative associate-*l/ un-div-inv div-inv
inv-pow
Counts
4 → 33
Calls
4 calls:
7.0ms
(+ (* y.re y.re) (* y.im y.im))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
5.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
9.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

series172.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* y.re y.re) (* y.im y.im))
29.0ms
(+ (* x.re y.re) (* x.im y.im))
40.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
76.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

simplify33.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0200217
1960210
25001206

prune108.0ms

Filtered
45 candidates to 29 candidates (64.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New44145
Fresh145
Picked011
Done011
Total45752

Merged error: 26.7b

Counts
52 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
0.7b
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
26.3b
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ flip-+
fma-def clear-num associate-/l/
frac-2neg associate-/r* div-inv
+-commutative *-commutative
remove-double-div inv-pow
Counts
4 → 30
Calls
4 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
8.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

series250.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* y.re y.re) (* y.im y.im))
30.0ms
(+ (* x.re y.re) (* x.im y.im))
138.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
52.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify100.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0175182
1774167
23585155
35002153

prune129.0ms

Filtered
42 candidates to 31 candidates (73.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New40242
Fresh134
Picked011
Done112
Total42749

Merged error: 26.7b

Counts
49 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
0.6b
(/ 1 (fma y.re y.re (* y.im y.im)))
0.8b
(/ 1 (+ (* x.re y.re) (* x.im y.im)))
26.1b
(/ (/ 1 (fma y.re y.re (* y.im y.im))) (/ 1 (+ (* x.re y.re) (* x.im y.im))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/ div-inv
frac-2neg clear-num
flip3-+ flip-+
times-frac associate-/r* associate-/l/
fma-def inv-pow
+-commutative *-commutative associate-/l*
Counts
4 → 31
Calls
4 calls:
4.0ms
(+ (* x.re y.re) (* x.im y.im))
2.0ms
(/ 1 (fma y.re y.re (* y.im y.im)))
5.0ms
(/ 1 (+ (* x.re y.re) (* x.im y.im)))
7.0ms
(/ (/ 1 (fma y.re y.re (* y.im y.im))) (/ 1 (+ (* x.re y.re) (* x.im y.im))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x.re y.re) (* x.im y.im))
48.0ms
(/ 1 (fma y.re y.re (* y.im y.im)))
26.0ms
(/ 1 (+ (* x.re y.re) (* x.im y.im)))
148.0ms
(/ (/ 1 (fma y.re y.re (* y.im y.im))) (/ 1 (+ (* x.re y.re) (* x.im y.im))))

simplify66.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0137175
1557161
22162160
35001160

prune92.0ms

Filtered
43 candidates to 28 candidates (65.1%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New43043
Fresh044
Picked011
Done022
Total43750

Merged error: 26.7b

Counts
50 → 7

regimes152.0ms

Accuracy

0% (0.7b remaining)

Error of 26.1b against oracle of 25.4b and baseline of 26.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample578.0ms

Algorithm
intervals
Results
337.0ms8478×body80valid