Logic
BooleanSimplify
simplify Boolean expression
Calling Sequence
Parameters
Description
Examples
BooleanSimplify(b)
b
-
Boolean expression
The BooleanSimplify command returns a minimal sum of products expansion of the given Boolean expression.
The expression returned is a minimal (irreducible) sum of prime implicants.
Note: BooleanSimplify does not guarantee that the returned expansion is a minimum sum of prime implicants.
with(Logic):
BooleanSimplify(a &or (a &and b));
BooleanSimplify((a &and b) &or (a &and (¬ b)));
BooleanSimplify(a &iff (a &or b));
BooleanSimplify(&or(a &and b, (¬ a) &and c, b &and c));
See Also
Logic/Normalize
simplify
Download Help Document