Wikipedia

# Logical NOR

Logical NOR
NOR
Definition ${\displaystyle {\overline {x+y}}}$
Truth table ${\displaystyle (1000)}$
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-preserving no
1-preserving no
Monotone no
Affine no

In boolean logic, logical nor 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 of p and q are false. In grammar, nor is a coordinating conjunction.

The NOR operator is also known as Peirce's arrowCharles Sanders Peirce introduced the symbol ↓ for it,[1] and demonstrated that the logical NOR is completely expressible: by combining uses of the logical NOR it is possible to express any logical operation on two variables. Thus, as with its dual, the NAND operator (a.k.a. the Sheffer stroke—symbolized as either ↑, | or /), NOR can be used by itself, without any other logical operator, to constitute a logical formal system (making NOR functionally complete). It is also known as Quine's dagger (his symbol was †), the ampheck (from Ancient Greek ἀμφήκης, amphēkēs, "cutting both ways") by Peirce,[2] or neither-nor.

Other ways of notating ${\displaystyle P\downarrow Q}$ include, P NOR Q, and "Xpq" (in Bocheński notation). It is logically equivalent to ${\displaystyle \neg (P\lor Q)}$, where the symbol ${\displaystyle \lor }$ signifies OR and ${\displaystyle \neg }$ signifies the negation.

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.[3]

## 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}$ (also written as P NOR Q) is as follows:

 ${\displaystyle P}$ ${\displaystyle Q}$ ${\displaystyle P\downarrow Q}$ T T F T F F F T F F F T

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

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