get a canonical representation of an expression
Available Canonical Forms
Canonicalize(b, alpha, form)
(optional) set or list of names
(optional) expression of the form form=fname
The Canonicalize command converts the given boolean expression to a canonical form.
The canonical form used is determined by the form=fname option. The default value for this option is DNF.
The canonical form is given with respect to the names given in alpha. Note that alpha is necessary when the form chosen is CNF or DNF.
The following is a list of available canonical forms.
MOD2 - The Boolean expression is converted to its equivalent modulo 2 canonical form.
CNF - The conjunctive normal form is returned.
DNF - The disjunctive normal form is returned.
Canonicalize⁡a &and b,a,b,c
Canonicalize⁡a &xor b,form=MOD2
Canonicalize⁡a &xor b,a,b,form=CNF
Canonicalize⁡a &xor b,a,b,form=DNF
Download Help Document