Details

Time bar (total: 5.0s)

analyze974.0ms (19.6%)

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.1s (21.5%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
874.0ms8256×body128valid
138.0ms1350×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify17.0ms (0.3%)

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

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

simplify112.0ms (2.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

prune24.0ms (0.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New29332
Fresh000
Picked101
Done000
Total30333
Error
0.0b
Counts
33 → 3
Alt Table
StatusErrorProgram
33.2b
(*.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.2b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.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 537 to 144 computations (73.2% 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)))

series13.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

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

simplify79.0ms (1.6%)

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

prune8.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh022
Picked011
Done000
Total21324
Error
0.0b
Counts
24 → 3
Alt Table
StatusErrorProgram
33.2b
(*.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.2b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.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 354 to 95 computations (73.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
0.3b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
0.5b
(*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
1.8b
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series236.0ms (4.8%)

Counts
3 → 144
Calls

3 calls:

118.0ms
(*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
88.0ms
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
30.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))

rewrite44.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
68×cbrt-div_binary64
34×flip--_binary64
34×flip3--_binary64
32×frac-times_binary64
29×pow1_binary64
Counts
3 → 129
Calls

3 calls:

15.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
8.0ms
(*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
2.0ms
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

simplify185.0ms (3.7%)

Algorithm
egg-herbie
Rules
787×associate-/r*_binary64
684×associate-/l*_binary64
280×fma-def_binary64
246×*-commutative_binary64
147×cancel-sign-sub-inv_binary64
Counts
273 → 349
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062712010
1208811381
2585911381

prune395.0ms (7.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New6501651
Fresh011
Picked011
Done011
Total6504654
Error
0b
Counts
654 → 4
Alt Table
StatusErrorProgram
33.2b
(*.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.2b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.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)))
1.7b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))))) (*.f64 (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
Compiler

Compiled 32838 to 11061 computations (66.3% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(*.f64 (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))))
0.6b
(cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))))
1.8b
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
1.8b
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))

series300.0ms (6%)

Counts
3 → 144
Calls

3 calls:

120.0ms
(*.f64 (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))))
91.0ms
(cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))))
89.0ms
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
66×cbrt-prod_binary64
36×add-sqr-sqrt_binary64
30×cbrt-div_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
Counts
3 → 97
Calls

3 calls:

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

simplify313.0ms (6.3%)

Algorithm
egg-herbie
Rules
424×fma-def_binary64
318×*-commutative_binary64
219×cancel-sign-sub-inv_binary64
206×fma-neg_binary64
199×sub-neg_binary64
Counts
241 → 344
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
082513649
1283912947
2492112945
3498312945

prune811.0ms (16.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New9230923
Fresh011
Picked011
Done022
Total9234927
Error
0b
Counts
927 → 4
Alt Table
StatusErrorProgram
33.2b
(*.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.2b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (cbrt.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)))
1.7b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im))))) (*.f64 (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))) (cbrt.f64 (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 y.im x.im)))))) (cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
Compiler

Compiled 72608 to 23411 computations (67.8% saved)

regimes242.0ms (4.9%)

Accuracy

Total 0.0b remaining (31.2%)

Threshold costs 0.0b (31.2%)

Counts
30 → 1
Compiler

Compiled 6491 to 3148 computations (51.5% saved)

simplify2.0ms (0%)

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

end72.0ms (1.4%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 179 to 84 computations (53.1% saved)

Profiling

Loading profile data...