Find symmetries for a simple Boolean expression.
We can see that the symmetry group is non-Abelian and is isomorphic to SmallGroup(8,3).
By invoking SymmetryGroup with the output option we can obtain the list L of subexpressions.
We can apply one of the generators of G to L to see an example of a symmetry in action. In this example, a is swapped with not e, b is swapped with d, and c is swapped with its negation.
Find symmetries and expressions for another simple Boolean expression.
Attempt to compute symmetries on an expression which is not in conjunctive normal form (CNF).
Convert to CNF using Normalize. Note this may be costly for large expressions.
Observe that the expression has no nontrivial symmetries.