# Logical NOR

Short description: Binary operation that is true if and only if both operands are false

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 }$
white;">Post's lattices
0-preservingno
1-preservingno
Monotoneno
Affineno

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 $\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 dual, the 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 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 $\displaystyle{ P \downarrow Q }$ is as follows:

 $\displaystyle{ P }$ $\displaystyle{ Q }$ $\displaystyle{ P \downarrow Q }$ True True False True False False False True False False False True

### 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]Zach, R. (18 February 2023). "Sheffer stroke before Sheffer: Edward Stamm". </ref> 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,[6] Webb operation[7] or Webb function.[8]

In 1940, Quine also described non-disjunction and use $\displaystyle{ \downarrow }$ for the operator.[9] 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.[10]

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

## Properties

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. 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 }$