Details

Time bar (total: 2.8s)

analyze2.0ms (0.1%)

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.3s (47.1%)

Symmetry

(sort x.re y.re)

(sort x.im y.im)

Results
1.2s8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify15.0ms (0.5%)

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.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.3b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.3%)

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

simplify132.0ms (4.8%)

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

prune18.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New30232
Fresh000
Picked101
Done000
Total31233
Error
0b
Counts
33 → 2
Alt Table
StatusErrorProgram
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 495 to 126 computations (74.5% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.4%)

Counts
1 → 48
Calls

1 calls:

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

simplify85.0ms (3.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

prune9.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh011
Picked011
Done000
Total21223
Error
0b
Counts
23 → 2
Alt Table
StatusErrorProgram
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 312 to 77 computations (75.3% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.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))))
15.0b
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series262.0ms (9.5%)

Counts
3 → 144
Calls

3 calls:

127.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))))
100.0ms
(cbrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
34.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))))

rewrite46.0ms (1.7%)

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:

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

simplify190.0ms (6.9%)

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

prune418.0ms (15.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New6510651
Fresh000
Picked011
Done011
Total6512653
Error
0b
Counts
653 → 2
Alt Table
StatusErrorProgram
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 32694 to 11011 computations (66.3% saved)

regimes174.0ms (6.3%)

Accuracy

Total 0.0b remaining (0.3%)

Threshold costs 0.0b (0.3%)

Counts
19 → 1
Compiler

Compiled 2694 to 1667 computations (38.1% 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

end63.0ms (2.3%)

Remove

(sort x.im y.im)

(sort x.re y.re)

Compiler

Compiled 107 to 59 computations (44.9% saved)

Profiling

Loading profile data...