I want to write a series of equivalences that reduces
$(A \land \lnot B) \lor (A \land \lnot C) \lor (B \land \lnot A) \lor (B \land C)$
to
$A \lor B$ .
I usually don't struggle with boolean algebra, but this one has me stumped! Thanks in advance.
I want to write a series of equivalences that reduces
$(A \land \lnot B) \lor (A \land \lnot C) \lor (B \land \lnot A) \lor (B \land C)$
to
$A \lor B$ .
I usually don't struggle with boolean algebra, but this one has me stumped! Thanks in advance.
$ \begin{equation} \phantom{\equiv}(A\land\neg B)\lor(A\land\neg C)\lor(B\land\neg A)\lor(B\land C)\\ \equiv(A\land\neg B)\lor(A\land\neg C)\lor(B\land\neg A)\lor(A\land B\land C)\lor(\neg A\land B\land C)\\ \equiv(A\land (\neg B\lor\neg C\lor (B\land C)))\lor(B\land\neg A)\lor(\neg A\land B\land C)\\ \equiv A\lor(B\land\neg A)\lor(\neg A\land B\land C)\\ \equiv A\lor(B\land\neg A\land\neg C)\lor(\neg A\land B\land C)\\ \equiv A\lor(B\land\neg A)\\ \equiv A\lor B \end{equation} $
It's not pretty, but it's something:
$(A \wedge (B \vee C)) \vee (B \wedge (\neg A \vee C))$ (Distribution)
$(A \wedge B \wedge (\neg A \vee C)) \vee ((\neg B \vee C) \wedge B \wedge (\neg A \vee C))$ (Distribution)
$(A \wedge B \wedge C) \vee (C \wedge B \wedge (\neg A \vee C))$ (Disjunctive Syllogism)
$(A \wedge B \wedge C) \vee (A \wedge B \wedge C) \vee (A \wedge B \wedge C)$ (Distribution)
$A \wedge B \wedge C$ (Tautology)
$A \wedge B$ (Simplification)
$A $ (Simplification)
$A \vee B$ (Addition)
$(A \land\lnot B)\lor(A\land\lnot C)\lor(\lnot A\land B)\lor(B\land C)$
Expand
$(A \land\lnot B\land C)\lor(A \land\lnot B\land\lnot C)\lor(A\land B\land\lnot C)\lor\color{red}{(A\land\lnot B\land\lnot C)}\lor(\lnot A\land B\land C)\lor(\lnot A\land B\land\lnot C)\lor\color{blue}{(A\land B\land C)}\lor\color{red}{(\lnot A\land B\land C)}$
Move $\color{blue}{\mathrm{a~term}}$, remove $\color{red}{\mathrm{some~terms}}$
$(A \land\lnot B\land C)\lor(A \land\lnot B\land\lnot C)\lor\color{blue}{(A\land B\land C)}\lor(A\land B\land\lnot C)\lor(\lnot A\land B\land C)\lor(\lnot A\land B\land\lnot C)$
Simplify away the $C$'s
$(A \land\lnot B)\lor(A\land B)\lor(\lnot A\land B)$
Can you do the last step?