Rudolf Adamkovič Personal site


Truth table

Construct the truth table for the statement

\[\begin{align*}
  P \iff Q \>
  & \equiv \> (P \implies Q) \land (Q \implies P) \\
  & \equiv \> (\lnot P \lor Q) \land (\lnot Q \lor P).
\end{align*}
\]
<<scheme/org-truth-table>>
(org-truth-table (lambda (p q)
                   (and (or (not p) q)
                        (or (not q) p)))
                 '("P" "Q"
                   "P \\iff Q"))
\(P\)\(Q\)\(P \iff Q\)
falsefalsetrue
falsetruefalse
truefalsefalse
truetruetrue

© 2024 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and the secret alien technologies of yesteryear.