Reference articles on history, science, culture and more
Encyclopedia

Logical NOR

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

Image credit is listed at the end of this article.

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.

01Definition

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:

ABA\downarrow B
FFT
FTF
TFF
TTF

Logical equivalences

The logical NOR \downarrow is the negation of the disjunction:

P\downarrow Q     \Leftrightarrow     \neg (P\lor Q)
    \Leftrightarrow     \neg

02Alternative 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 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, Donald L. 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.

APL uses a glyph ⍱ that combines a ∨ with a ~.

03Properties

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.

04Other 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
Watch videos about Logical NORExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Logical NOR, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.