Details

Time bar (total: 3.7s)

analyze1.2s (31.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%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
908.0ms8256×body128valid
150.0ms1388×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

prune4.0ms (0.1%)

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

series9.0ms (0.2%)

Counts
1 → 48
Calls

1 calls:

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

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

prune79.0ms (2.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 513 to 140 computations (72.7% 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)))

series9.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

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

simplify83.0ms (2.3%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh011
Picked011
Done000
Total21223
Error
0.0b
Counts
23 → 2
Alt Table
StatusErrorProgram
39.7b
(/.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)))))
0.0b
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 330 to 91 computations (72.4% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.5b
(+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
2.7b
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
3.9b
(*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
38.6b
(/.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)))))

series298.0ms (8.1%)

Counts
4 → 192
Calls

4 calls:

174.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)))))
72.0ms
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
33.0ms
(+.f64 (*.f64 (*.f64 x.im y.im) (*.f64 x.im y.im)) (*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
19.0ms
(*.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

rewrite63.0ms (1.7%)

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

simplify196.0ms (5.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

prune171.0ms (4.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2660266
Fresh000
Picked011
Done011
Total2662268
Error
0.0b
Counts
268 → 2
Alt Table
StatusErrorProgram
39.7b
(/.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)))))
0.0b
(fma.f64 x.re y.re (neg.f64 (*.f64 x.im y.im)))
Compiler

Compiled 14592 to 3730 computations (74.4% saved)

regimes139.0ms (3.8%)

Accuracy

Total 0.0b remaining (24.1%)

Threshold costs 0.0b (24.1%)

Counts
14 → 1
Compiler

Compiled 2061 to 1186 computations (42.5% saved)

simplify2.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
0810
11710
22510
33010
43210
53210

end70.0ms (1.9%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 116 to 66 computations (43.1% saved)

Profiling

Loading profile data...