# DeleteDuplicate from a list with {x == y, y == x} -> {x == y}; [duplicate]

How can I tell Mathematica that it should delete equal elements from a list, which aren't in the same order. For example

list={x == y, y == x} ;


should become {x == y.

• This answer is the answer: How to remove repeated permutations? – Kuba Jan 29 '16 at 15:55
• You can also use Reduce[list] but for more complex cases you can get reductions which are not expected. – Kuba Jan 29 '16 at 15:57
• Union[Simplify[list]] seems to work for lists of equalities – Bill Jan 29 '16 at 17:03
• Also duplicates: (44), (1302) – Mr.Wizard Jan 29 '16 at 23:17