Logical NOR

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About Template:Redirect-distinguish Template:Redirect-distinguish-text Template:Use dmy dates Template:Use list-defined references Template:Infobox logical connective Template:Sidebar Template:C. S. Peirce articles In Boolean logic, logical NOR,[1] non-disjunction, or joint denial[1] 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 ¬(pq) and ¬p¬q, where the symbol ¬ signifies logical negation, signifies OR, and signifies AND.

Non-disjunction is usually denoted as or or X (prefix) or NOR.

As with its dual, the NAND operator (also known as 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).

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 AB is as follows:

Template:2-ary truth table

Logical equivalences

The logical NOR is the negation of the disjunction:

PQ          ¬(PQ)
File:Venn1000.svg          ¬ File:Venn0111.svg

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 for non-conjunction and for non-disjunction (in fact, what Peirce himself used is and he didn't introduce while Peirce's editors made such disambiguated use).[4] Peirce called the Template:Visible anchor (from Ancient Greek Template:Lang, Template:Transliteration, "cutting both ways").[4]

In 1911, Template:Ill was the first to publish a description of both non-conjunction (using , the Stamm hook), and non-disjunction (using *, the Stamm star), and showed their functional completeness.[5][6] Note that most uses in logical notation of use this for negation.

In 1913, Sheffer described non-disjunction and showed its functional completeness. Sheffer used for non-conjunction, and for non-disjunction.

In 1935, Webb described non-disjunction for n-valued logic, and use for the operator. So some people call it Webb operator,[7] Webb operation[8] or Webb function.[9]

In 1940, Quine also described non-disjunction and use for the operator.[10] So some people call the operator Peirce arrow or Quine dagger.

In 1944, Church also described non-disjunction and use for the operator.[11]

In 1954, Bocheński used X in Xpq for non-disjunction in Polish notation.[12]

Properties

NOR is commutative but not associative, which means that PQQP but (PQ)R↮P(QR).[13]

Functional completeness

The logical NOR, taken by itself, is a functionally complete set of connectives.[14] This can be proved by first showing, with a truth table, that ¬A is truth-functionally equivalent to AA.[15] Then, since AB is truth-functionally equivalent to ¬(AB),[15] and AB is equivalent to ¬(¬A¬B),[15] the logical NOR suffices to define the set of connectives {,,¬},[15] which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.[15]

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 , the usual operators of propositional logic are:

¬P          PP
¬          Error creating thumbnail:
   
PQ          ((PP)Q) ((PP)Q)
File:Venn1011.svg          File:Venn0100.svg File:Venn0100.svg
 
PQ          (PP) (QQ)
Error creating thumbnail:          File:Venn1010.svg Error creating thumbnail:
   
PQ          (PQ) (PQ)
File:Venn0111.svg          File:Venn1000.svg File:Venn1000.svg

See also

References

Template:Reflist

Template:Navbox

de:Peirce-Funktion it:Algebra di Boole#NOR

  1. 1.0 1.1 Template:Cite book
  2. Cite error: Invalid <ref> tag; no text was provided for refs named Hall_1996
  3. Template:Cite encyclopedia
  4. 4.0 4.1 4.2 Template:Cite encyclopedia
  5. Cite error: Invalid <ref> tag; no text was provided for refs named Stamm_1911
  6. Template:Cite web
  7. Cite error: Invalid <ref> tag; no text was provided for refs named Webb_1935
  8. Cite error: Invalid <ref> tag; no text was provided for refs named Vasyukevich_2011
  9. Cite error: Invalid <ref> tag; no text was provided for refs named Freimann-Renfro-Webb_2017
  10. Template:Cite book
  11. Template:Cite book
  12. Template:Cite book
  13. Template:Cite book
  14. Template:Cite book
  15. 15.0 15.1 15.2 15.3 15.4 Template:Cite book