Precedence of set union, intersect, and difference?

Solution 1:

There is no sensible way of preferring one of intersection and union more than the other, since complement switches them. I don't think you should assume an order at all and you should always use parentheses.

Solution 2:

Since there are contradicting opinions, I recommend assuming that whoever is reading your work assumes a different precedence order than you do, and using lots of parentheses.