Details

Time bar (total: 1.8s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
99.8%0%0.2%1
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.0s (58.1%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
912.0ms8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify19.0ms (1.1%)

Algorithm
egg-herbie
Rules
171×fma-def_binary64
87×fma-neg_binary64
36×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11610
22710
34410
46610
510010
615210
721310
825710
927910
1029910
1130510
1227410

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series11.0ms (0.6%)

Counts
1 → 48
Calls

1 calls:

10.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

rewrite6.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
cancel-sign-sub-inv_binary64
flip--_binary64
sub-neg_binary64
*-un-lft-identity_binary64
Counts
1 → 16
Calls

1 calls:

5.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify172.0ms (9.7%)

Algorithm
egg-herbie
Rules
480×times-frac_binary64
463×fma-def_binary64
444×unsub-neg_binary64
265×sub-neg_binary64
232×distribute-rgt-neg-in_binary64
Counts
64 → 32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
042682
1112658
2347652
3974652
42183652
53451652
64489652
74961652
84995652
94859652

prune32.0ms (1.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New30232
Fresh000
Picked011
Done000
Total30333
Error
0b
Counts
33 → 3
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
7.8b
(+.f64 (fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im))) (fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im)))
33.7b
(*.f64 x.re y.re)
Compiler

Compiled 476 to 129 computations (72.9% saved)

localize19.0ms (1.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im)))
53.8b
(fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im))

series41.0ms (2.3%)

Counts
2 → 72
Calls

2 calls:

24.0ms
(fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im)))
17.0ms
(fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im))

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

1.0ms
(fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im))
1.0ms
(fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im)))

simplify149.0ms (8.4%)

Algorithm
egg-herbie
Rules
933×unsub-neg_binary64
447×fma-neg_binary64
374×neg-sub0_binary64
344×neg-mul-1_binary64
300×distribute-rgt-out_binary64
Counts
92 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
034709
147661
2107605
3350605
41034605
52015605
63815605
74665605
84890605

prune37.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh011
Picked011
Done011
Total40343
Error
0b
Counts
43 → 3
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
7.8b
(+.f64 (fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im))) (fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im)))
33.7b
(*.f64 x.re y.re)
Compiler

Compiled 769 to 167 computations (78.3% saved)

localize4.0ms (0.2%)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
7.8b
(+.f64 (fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im))) (fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im)))
33.7b
(*.f64 x.re y.re)
Compiler

Compiled 37 to 22 computations (40.5% saved)

regimes103.0ms (5.8%)

Accuracy

Total 0.3b remaining (54.2%)

Threshold costs 0.3b (54.2%)

Counts
5 → 1
Compiler

Compiled 468 to 311 computations (33.5% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11510
22510
33110
43510
53610
63610

end131.0ms (7.4%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 103 to 64 computations (37.9% saved)

Profiling

Loading profile data...