Details

Time bar (total: 3.9s)

analyze789.0ms (20.2%)

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.0s (26.8%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
841.0ms8256×body128valid
142.0ms1430×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify16.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

prune2.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)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.2%)

Counts
1 → 48
Calls

1 calls:

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

rewrite4.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))

simplify113.0ms (2.9%)

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

prune22.0ms (0.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New29332
Fresh000
Picked101
Done000
Total30333
Error
0b
Counts
33 → 3
Alt Table
StatusErrorProgram
36.0b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
31.8b
(*.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
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 555 to 158 computations (71.5% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

10.0ms
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.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
1 → 10
Calls

1 calls:

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

simplify82.0ms (2.1%)

Algorithm
egg-herbie
Rules
967×unsub-neg_binary64
792×times-frac_binary64
422×fma-neg_binary64
384×neg-sub0_binary64
364×neg-mul-1_binary64
Counts
58 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
022568
136547
265547
3215547
4895547
51760547
63723547
74512547
85729547

prune10.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh022
Picked011
Done000
Total21324
Error
0b
Counts
24 → 3
Alt Table
StatusErrorProgram
36.0b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
31.8b
(*.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
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 372 to 109 computations (70.7% saved)

localize7.0ms (0.2%)

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))))
0.6b
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series114.0ms (2.9%)

Counts
2 → 56
Calls

2 calls:

74.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
40.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))))

rewrite19.0ms (0.5%)

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:

9.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)))

simplify169.0ms (4.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

prune144.0ms (3.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2260226
Fresh011
Picked011
Done011
Total2263229
Error
0b
Counts
229 → 3
Alt Table
StatusErrorProgram
36.0b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
31.8b
(*.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
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 6037 to 1072 computations (82.2% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.2b
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
1.4b
(+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
2.9b
(*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
34.8b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))

series434.0ms (11.1%)

Counts
4 → 192
Calls

4 calls:

201.0ms
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
176.0ms
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
39.0ms
(+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
18.0ms
(*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

rewrite63.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
64×prod-diff_binary64
56×add-sqr-sqrt_binary64
46×*-un-lft-identity_binary64
38×sqr-pow_binary64
36×add-cube-cbrt_binary64
Counts
4 → 196
Calls

4 calls:

22.0ms
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
8.0ms
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
6.0ms
(+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
5.0ms
(*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify247.0ms (6.3%)

Algorithm
egg-herbie
Rules
612×times-frac_binary64
531×fma-neg_binary64
394×associate-*l*_binary64
372×associate-*r*_binary64
255×exp-prod_binary64
Counts
388 → 266
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03109702
16148966
232088822
350608822

prune186.0ms (4.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2660266
Fresh000
Picked011
Done022
Total2663269
Error
0b
Counts
269 → 3
Alt Table
StatusErrorProgram
36.0b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
31.8b
(*.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
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 14613 to 3739 computations (74.4% saved)

regimes305.0ms (7.8%)

Accuracy

Total 0.0b remaining (20%)

Threshold costs 0.0b (20%)

Counts
30 → 1
Compiler

Compiled 6227 to 3331 computations (46.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

end83.0ms (2.1%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 185 to 93 computations (49.7% saved)

Profiling

Loading profile data...