0
$\begingroup$

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.

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

Browse other questions tagged or ask your own question.