# Logical NOR

Logical connectives :
| NOT | $\neg A,-A,{\overline {A}},\sim A$ |
| AND | $A\land B,A\cdot B,AB,A\ \&\ B,A\ \&\&\ B$ |
| NAND | $A{\overline {\land }}B,A\uparrow B,A\mid B,{\overline {A\cdot B}}$ |
| OR | $A\lor B,A+B,A\mid B,A\parallel B$ |
| NOR | $A{\overline {\lor }}B,A\downarrow B,{\overline {A+B}}$ |
| XNOR | $A\odot B,{\overline {A{\overline {\lor }}B}}$ |
| └ equivalent | $A\equiv B,A\Leftrightarrow B,A\leftrightharpoons B$ |
| XOR | $A{\underline {\lor }}B,A\oplus B$ |
| └nonequivalent | $A\not \equiv B,A\not \Leftrightarrow B,A\nleftrightarrow B$ |
| implies | $A\Rightarrow B,A\supset B,A\rightarrow B$ |
| nonimplication (NIMPLY) | $A\not \Rightarrow B,A\not \supset B,A\nrightarrow B$ |
| converse | $A\Leftarrow B,A\subset B,A\leftarrow B$ |
| converse nonimplication | $A\not \Leftarrow B,A\not \subset B,A\nleftarrow B$ |
Related concepts :
Propositional calculusPredicate logicBoolean algebraTruth tableTruth functionBoolean functionFunctional completenessScope (logic) :
Applications :
Digital logicProgramming languagesMathematical logicPhilosophy of logic :
Category :
vte :
In Boolean logic, logical NOR, non-disjunction, or joint denial 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 $\neg (p\lor q)$ and $\neg p\land \neg q$, where the symbol $\neg$ signifies logical negation, $\lor$ signifies OR, and $\land$ signifies AND.
Non-disjunction is usually denoted as $\downarrow$ or ${\overline {\vee }}$ or $X$ (prefix) or $\operatorname {NOR}$.
As with its dual, the NAND operator (also known as the Sheffer stroke—symbolized as either $\uparrow$, $\mid$ or $/$), 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.

## Definition

The NOR operation is a logical operation on two 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 $A\downarrow B$ is as follows:
| $A$ | $B$ | $A\downarrow B$ |
| F | F | T |
| F | T | F |
| T | F | F |
| T | T | F |

### Logical equivalences

The logical NOR $\downarrow$ is the negation of the disjunction:
| $P\downarrow Q$ | $\Leftrightarrow$ | $\neg (P\lor Q)$ |
| | $\Leftrightarrow$ | $\neg$ |

## Alternative notations and names

Peirce is the first to show the functional completeness of non-disjunction while he doesn't publish his result. Peirce used ${\overline {\curlywedge }}$ for non-conjunction and $\curlywedge$ for non-disjunction (in fact, what Peirce himself used is $\curlywedge$ and he didn't introduce ${\overline {\curlywedge }}$ while Peirce's editors made such disambiguated use). Peirce called $\curlywedge$ the ampheck (from Ancient Greek ἀμφήκης, amphēkēs, "cutting both ways").
In 1911, Stamm [pl] was the first to publish a description of both non-conjunction (using $\sim$, the Stamm hook), and non-disjunction (using $*$, the Stamm star), and showed their functional completeness. Note that most uses in logical notation of $\sim$ use this for negation.
In 1913, Sheffer described non-disjunction and showed its functional completeness. Sheffer used $\mid$ for non-conjunction, and $\wedge$ for non-disjunction.
In 1935, Webb described non-disjunction for $n$-valued logic, and use $\mid$ for the operator. So some people call it Webb operator, Webb operation or Webb function.
In 1940, Quine also described non-disjunction and use $\downarrow$ for the operator. So some people call the operator Peirce arrow or Quine dagger.
In 1944, Church also described non-disjunction and use ${\overline {\vee }}$ for the operator.
In 1954, Bocheński used $X$ in $Xpq$ for non-disjunction in Polish notation.

## Properties

NOR is commutative but not associative, which means that $P\downarrow Q\leftrightarrow Q\downarrow P$ but $(P\downarrow Q)\downarrow R\not \leftrightarrow P\downarrow (Q\downarrow R)$.

### Functional completeness

The logical NOR, taken by itself, is a functionally complete set of connectives. This can be proved by first showing, with a truth table, that $\neg A$ is truth-functionally equivalent to $A\downarrow A$. Then, since $A\downarrow B$ is truth-functionally equivalent to $\neg (A\lor B)$, and $A\lor B$ is equivalent to $\neg (\neg A\land \neg B)$, the logical NOR suffices to define the set of connectives $\{\land ,\lor ,\neg \}$, which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.
This may also be seen from the fact that Logical NOR does not possess any of the five qualities (truth-preserving, false-preserving, linear, monotonic, self-dual) required to be absent from at least one member of a set of functionally complete operators.

## 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 $\downarrow$, the usual operators of propositional logic are:
| $\neg P$ | $\Leftrightarrow$ | $P\downarrow P$ |
| $\neg$ | $\Leftrightarrow$ | |
| $P\rightarrow Q$ | $\Leftrightarrow$ | ${\Big(P\downarrow P)\downarrow Q{\Big )}$ | $\downarrow$ | ${\Big(P\downarrow P)\downarrow Q{\Big )}$ |
| | $\Leftrightarrow$ | | $\downarrow$ | |
| $P\land Q$ | $\Leftrightarrow$ | $(P\downarrow P)$ | $\downarrow$ | $(Q\downarrow Q)$ |
| | $\Leftrightarrow$ | | $\downarrow$ | |
| $P\lor Q$ | $\Leftrightarrow$ | $(P\downarrow Q)$ | $\downarrow$ | $(P\downarrow Q)$ |
| | $\Leftrightarrow$ | | $\downarrow$ | |