Details

Time bar (total: 3.5s)

analyze983.0ms (27.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
12.5%87.3%0.2%10
25%74.9%0.2%11
31.2%63.9%4.9%12
39%50.9%10.1%13
44.8%44.4%10.7%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.2s (33.4%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
957.0ms8256×body128valid
160.0ms1420×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify15.0ms (0.4%)

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

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

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

rewrite3.0ms (0.1%)

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:

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

simplify114.0ms (3.2%)

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

prune29.0ms (0.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New30232
Fresh000
Picked101
Done000
Total31233
Error
0b
Counts
33 → 2
Alt Table
StatusErrorProgram
28.5b
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
0.0b
(+.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)))
Compiler

Compiled 493 to 130 computations (73.6% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x.re y.re (neg.f64 (*.f64 y.im x.im)))
49.8b
(fma.f64 (neg.f64 y.im) x.im (*.f64 y.im x.im))

series19.0ms (0.5%)

Counts
2 → 72
Calls

2 calls:

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

rewrite1.0ms (0%)

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:

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

simplify99.0ms (2.8%)

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

prune25.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh011
Picked011
Done000
Total40242
Error
0b
Counts
42 → 2
Alt Table
StatusErrorProgram
28.5b
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
0.0b
(+.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)))
Compiler

Compiled 786 to 168 computations (78.6% saved)

localize97.0ms (2.7%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
0.3b
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
1.3b
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series181.0ms (5.1%)

Counts
2 → 56
Calls

2 calls:

110.0ms
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
70.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

rewrite20.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
14×sqrt-div_binary64
11×*-un-lft-identity_binary64
Counts
2 → 78
Calls

2 calls:

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

simplify108.0ms (3%)

Algorithm
egg-herbie
Rules
554×times-frac_binary64
530×fma-neg_binary64
341×*-commutative_binary64
335×associate-/r*_binary64
324×fma-def_binary64
Counts
134 → 121
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01372619
13332448
211842366
343742332
449812332
549562332

prune93.0ms (2.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2260226
Fresh000
Picked011
Done011
Total2262228
Error
0b
Counts
228 → 2
Alt Table
StatusErrorProgram
28.5b
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
0.0b
(+.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)))
Compiler

Compiled 5967 to 1041 computations (82.6% saved)

regimes458.0ms (13%)

Accuracy

Total 0.0b remaining (9.3%)

Threshold costs 0.0b (9.3%)

Counts
54 → 1
Compiler

Compiled 6660 to 4565 computations (31.5% saved)

simplify3.0ms (0.1%)

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
01122
12222
23022
33422
43522
53522

end75.0ms (2.1%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 154 to 79 computations (48.7% saved)

Profiling

Loading profile data...