Aller au contenu principal

Logical NOR


Logical NOR


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 ¬ ( p q ) {\displaystyle \neg (p\lor q)} and ¬ p ¬ q {\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 X {\displaystyle X} (prefix) or NOR {\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.

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 B {\displaystyle A\downarrow B} is as follows:

Logical equivalences

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

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 ¯ {\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). Peirce called {\displaystyle \curlywedge } as 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 {\displaystyle \sim } , the Stamm hook), and non-disjunction (using {\displaystyle *} , the Stamm star), and showed their functional completeness. 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 n {\displaystyle n} -valued logic, and use {\displaystyle \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 {\displaystyle \downarrow } for the operator. 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.

In 1954, Bocheński used X {\displaystyle X} in X p q {\displaystyle Xpq} for non-disjunction in Polish notation.

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:

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 ¬ A {\displaystyle \neg A} is truth-functionally equivalent to A A {\displaystyle A\downarrow A} . Then, since A B {\displaystyle A\downarrow B} is truth-functionally equivalent to ¬ ( A B ) {\displaystyle \neg (A\lor B)} , and A B {\displaystyle A\lor B} is equivalent to ¬ ( ¬ A ¬ B ) {\displaystyle \neg (\neg A\land \neg B)} , the logical NOR suffices to define the set of connectives { , , ¬ } {\displaystyle \{\land ,\lor ,\neg \}} , which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.

See also

  • Bitwise NOR
  • Boolean algebra
  • Boolean domain
  • Boolean function
  • Functional completeness
  • NOR gate
  • Propositional logic
  • Sole sufficient operator
  • Sheffer stroke as symbol for the logical NAND

References

External links

  • Media related to Logical NOR at Wikimedia Commons

Text submitted to CC-BY-SA license. Source: Logical NOR by Wikipedia (Historical)



INVESTIGATION