NAND with Equal Arguments/Proof by Truth Table

From ProofWiki
Jump to navigation Jump to search

Theorem

$p \uparrow p \dashv \vdash \neg p$

That is, the NAND of a proposition with itself corresponds to the negation operation.


Proof

We apply the Method of Truth Tables:

$\begin{array}{|ccc||cc|} \hline

p & \uparrow & p & \neg & p \\ \hline \F & \T & \F & \T & \F \\ \T & \F & \T & \F & \T \\ \hline \end{array}$


As can be seen by inspection, the truth values under the main connectives match for all boolean interpretations.

$\blacksquare$


Sources