# Logical NOR

Logical NOR
NOR
Definition${\displaystyle {\overline {x+y}}}$
Truth table${\displaystyle (0001)}$
Logic gate
Normal forms
Disjunctive${\displaystyle {\overline {x}}\cdot {\overline {y}}}$
Conjunctive${\displaystyle {\overline {x}}\cdot {\overline {y}}}$
Zhegalkin polynomial${\displaystyle 1\oplus x\oplus y\oplus xy}$
Post's lattices
0-preservingno
1-preservingno
Monotoneno
Affineno
Self-dualno

In

Boolean logic, logical NOR,[1] non-disjunction, or joint denial[1] is a truth-functional operator which produces a result that is the negation of logical or
. That is, a sentence of the form (p NOR q) is true precisely when neither p nor q is true—i.e. when both p and q are false. It is logically equivalent to ${\displaystyle \neg (p\lor q)}$ and ${\displaystyle \neg p\land \neg q}$, where the symbol ${\displaystyle \neg }$ signifies logical negation, ${\displaystyle \lor }$ signifies OR, and ${\displaystyle \land }$ signifies AND.

Non-disjunction is usually denoted as ${\displaystyle \downarrow }$ or ${\displaystyle {\overline {\vee }}}$ or ${\displaystyle X}$ (prefix) or ${\displaystyle \operatorname {NOR} }$.

As with its

NAND operator (also known as the Sheffer stroke
—symbolized as either ${\displaystyle \uparrow }$, ${\displaystyle \mid }$ or ${\displaystyle /}$), NOR can be used by itself, without any other logical operator, to constitute a logical formal system (making NOR functionally complete).

The computer used in the spacecraft that first carried humans to the moon, the Apollo Guidance Computer, was constructed entirely using NOR gates with three inputs.[2]

## Definition

The NOR operation is a

logical values, typically the values of two propositions
, that produces a value of true if and only if both operands are false. In other words, it produces a value of false if and only if at least one operand is true.

### Truth table

The truth table of ${\displaystyle A\downarrow B}$ is as follows:

${\displaystyle A}$${\displaystyle B}$${\displaystyle A\downarrow B}$
FFT
FTF
TFF
TTF

### Logical equivalences

The logical NOR ${\displaystyle \downarrow }$ is the negation of the disjunction:

 ${\displaystyle P\downarrow Q}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle \neg (P\lor Q)}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle \neg }$

## Alternative notations and names

Peirce is the first to show the functional completeness of non-disjunction while he doesn't publish his result.[3][4] Peirce used ${\displaystyle {\overline {\curlywedge }}}$ for non-conjunction and ${\displaystyle \curlywedge }$ for non-disjunction (in fact, what Peirce himself used is ${\displaystyle \curlywedge }$ and he didn't introduce ${\displaystyle {\overline {\curlywedge }}}$ while Peirce's editors made such disambiguated use).[4] Peirce called ${\displaystyle \curlywedge }$ as ampheck (from Ancient Greek ἀμφήκης, amphēkēs, "cutting both ways").[4]

In 1911, Stamm [pl] was the first to publish a description of both non-conjunction (using ${\displaystyle \sim }$, the Stamm hook), and non-disjunction (using ${\displaystyle *}$, the Stamm star), and showed their functional completeness.[5][6] Note that most uses in logical notation of ${\displaystyle \sim }$ use this for negation.

In 1913,

Sheffer
described non-disjunction and showed its functional completeness. Sheffer used ${\displaystyle \mid }$ for non-conjunction, and ${\displaystyle \wedge }$ for non-disjunction.

In 1935, Webb described non-disjunction for ${\displaystyle n}$-valued logic, and use ${\displaystyle \mid }$ for the operator. So some people call it Webb operator,[7] Webb operation[8] or Webb function.[9]

In 1940, Quine also described non-disjunction and use ${\displaystyle \downarrow }$ for the operator.[10] So some people call the operator Peirce arrow or Quine dagger.

In 1944, Church also described non-disjunction and use ${\displaystyle {\overline {\vee }}}$ for the operator.[11]

In 1954, Bocheński used ${\displaystyle X}$ in ${\displaystyle Xpq}$ for non-disjunction in Polish notation.[12]

## Properties

Logical NOR does not possess any of the five qualities (truth-preserving, false-preserving,

functionally complete
operators. Thus, the set containing only NOR suffices as a complete set.

## Other Boolean operations in terms of the logical NOR

NOR has the interesting feature that all other logical operators can be expressed by interlaced NOR operations. The

logical NAND
operator also has this ability.

Expressed in terms of NOR ${\displaystyle \downarrow }$, the usual operators of propositional logic are:

 ${\displaystyle \neg P}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle P\downarrow P}$ ${\displaystyle \neg }$ ${\displaystyle \Leftrightarrow }$

 ${\displaystyle P\rightarrow Q}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle {\Big (}(P\downarrow P)\downarrow Q{\Big )}}$ ${\displaystyle \downarrow }$ ${\displaystyle {\Big (}(P\downarrow P)\downarrow Q{\Big )}}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle \downarrow }$

 ${\displaystyle P\land Q}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle (P\downarrow P)}$ ${\displaystyle \downarrow }$ ${\displaystyle (Q\downarrow Q)}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle \downarrow }$

 ${\displaystyle P\lor Q}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle (P\downarrow Q)}$ ${\displaystyle \downarrow }$ ${\displaystyle (P\downarrow Q)}$ ${\displaystyle \Leftrightarrow }$ ${\displaystyle \downarrow }$

## Functional completeness

The logical NOR, taken by itself, is a functionally complete set of connectives.[13] This can be proved by first showing, with a truth table, that ${\displaystyle \neg A}$ is truth-functionally equivalent to ${\displaystyle A\downarrow A}$.[14] Then, since ${\displaystyle A\downarrow B}$ is truth-functionally equivalent to ${\displaystyle \neg (A\lor B)}$,[14] and ${\displaystyle A\lor B}$ is equivalent to ${\displaystyle \neg (\neg A\land \neg B)}$,[14] the logical NOR suffices to define the set of connectives ${\displaystyle \{\land ,\lor ,\neg \}}$,

Disjunctive Normal Form Theorem.[14]

## References

1. ^ .
2. .
3. ^ Peirce, C. S. (1933) [1880]. "A Boolian Algebra with One Constant". In Hartshorne, C.; Weiss, P. (eds.). Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics. Massachusetts: Harvard University Press. pp. 13–18.
4. ^ a b c Peirce, C. S. (1933) [1902]. "The Simplest Mathematics". In Hartshorne, C.; Weiss, P. (eds.). Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics. Massachusetts: Harvard University Press. pp. 189–262.
5. S2CID 119816758
.
6. ^ Zach, R. (2023-02-18). "Sheffer stroke before Sheffer: Edward Stamm". Retrieved 2023-07-02.
7. PMC 1076579
.
8. . p. 20: Historical background […] Logical operator NOR named Peirce arrow and also known as Webb-operation. (xiii+1+123+7 pages) (NB. The back cover of this book erroneously states volume 4, whereas it actually is volume 101.)
9. ^ Freimann, Michael; Renfro, Dave L.; Webb, Norman (2018-05-24) [2017-02-10]. "Who is Donald L. Webb?". History of Science and Mathematics. Stack Exchange. Archived from the original on 2023-05-18. Retrieved 2023-05-18.
10. ^ Quine, W. V (1981) [1940]. Mathematical Logic (Revised ed.). Cambridge, London, New York, New Rochelle, Melbourne and Sydney: Harvard University Press. p. 45.
11. ^ Church, A. (1996) [1944]. Introduction to Mathematical Logic. New Jersey: Princeton University Press. p. 37.
12. ^ Bocheński, J. M. (1954). Précis de logique mathématique (in French). Netherlands: F. G. Kroonder, Bussum, Pays-Bas. p. 11.
13. .
14. ^ .