]]
|
|   |
"wikitable"
|
|
"''p'' implies ''q''" is equivalent to "(''p'' NAND ''q'') NAND ''p''" |
|
This leads to an alternative axiom system for
Boolean Algebra s, requiring but one operation.
]]
Digital systems employing certain logic circuits take advantage of this property. In complicated logical expressions, normally written in terms of other logic functions such as
AND ,
OR , and
NOT , writing these in terms of NAND saves on cost, because implementing such circuits using NAND gate yields a more compact result than the alternatives.
The dual of NAND, the operator NOR, also suffices to express all Boolean operations.
|   |
"wikitable"
|
|   |
A A, </math>
|
|   |
(A B) (A B), </math>
|
|   |
(A A) (B B), </math>
|
|   |
A (B B) = A (A B) </math>
|
|   |
"http://wwwinformationdelightinfo/encyclopedia/entry/Frege's_propositional_calculus" class="copylinks">THEN-1 :'' (U(U(V(UU))))
|
|   |
(YX)<br>
|
|   |
X<br>
|
|   |
(U(UX)) <br>
|
|   |
"http://wwwinformationdelightinfo/encyclopedia/entry/Frege's_propositional_calculus" class="copylinks">THEN-3 :'' (U(U(V(VX)))) = (V(V(U(UX))))
|
|   |
"http://wwwinformationdelightinfo/encyclopedia/entry/Modus_ponens" class="copylinks">Modus Ponens is the special case of MP-1 and MP-2 when V and X are identical
|