Sheffer stroke

From testwiki
Revision as of 12:55, 9 February 2025 by 176.215.101.40 (talk) (in english wiki, truth tables in infoboxes for all other logical operations (AND, OR, NOR, IMPLY) are ordered from 11 to 00 (least significant bit denotes the 00 row), so either you change it for NAND only, or you change them for all other operations.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Use dmy dates Template:Use list-defined references Template:Infobox logical connective Template:Sidebar

In Boolean functions and propositional calculus, the Sheffer stroke denotes a logical operation that is equivalent to the negation of the conjunction operation, expressed in ordinary language as "not both". It is also called non-conjunction, or alternative denial[1] (since it says in effect that at least one of its operands is false), or NAND ("not and").[1] In digital electronics, it corresponds to the NAND gate. It is named after Henry Maurice Sheffer and written as or as or as or as Dpq in Polish notation by Łukasiewicz (but not as ||, often used to represent disjunction).

Its dual is the NOR operator (also known as the Peirce arrow, Quine dagger or Webb operator). Like its dual, NAND can be used by itself, without any other logical operator, to constitute a logical formal system (making NAND functionally complete). This property makes the NAND gate crucial to modern digital electronics, including its use in computer processor design.

Definition

The non-conjunction is a logical operation on two logical values. It produces a value of true, if — and only if — at least one of the propositions is false.

Truth table

The truth table of AB is as follows.

Template:2-ary truth table

Logical equivalences

The Sheffer stroke of P and Q is the negation of their conjunction

PQ      ¬(PQ)
     ¬

By De Morgan's laws, this is also equivalent to the disjunction of the negations of P and Q

PQ      ¬P ¬Q
    

Alternative notations and names

Peirce was the first to show the functional completeness of non-conjunction (representing this as ) but didn't publish his result.[2][3] Peirce's editor added ) for non-disjunctionTemplate:Citation needed.[3]

In 1911, Template:Ill was the first to publish a proof of the completeness of non-conjunction, representing this with (the Stamm hook)[4] and non-disjunction in print at the first time and showed their functional completeness.[5]

In 1913, Sheffer described non-disjunction using and showed its functional completeness. Sheffer also used for non-disjunction.Template:Citation needed Many people, beginning with Nicod in 1917, and followed by Whitehead, Russell and many others, mistakenly thought Sheffer has described non-conjunction using , naming this the Sheffer stroke.

In 1928, Hilbert and Ackermann described non-conjunction with the operator /.[6][7]

In 1929, Łukasiewicz used D in Dpq for non-conjunction in his Polish notation.[8]

An alternative notation for non-conjunction is . It is not clear who first introduced this notation, although the corresponding for non-disjunction was used by Quine in 1940.[9]

History

The stroke is named after Henry Maurice Sheffer, who in 1913 published a paper in the Transactions of the American Mathematical Society[10] providing an axiomatization of Boolean algebras using the stroke, and proved its equivalence to a standard formulation thereof by Huntington employing the familiar operators of propositional logic (AND, OR, NOT). Because of self-duality of Boolean algebras, Sheffer's axioms are equally valid for either of the NAND or NOR operations in place of the stroke. Sheffer interpreted the stroke as a sign for nondisjunction (NOR) in his paper, mentioning non-conjunction only in a footnote and without a special sign for it. It was Jean Nicod who first used the stroke as a sign for non-conjunction (NAND) in a paper of 1917 and which has since become current practice.[11][12] Russell and Whitehead used the Sheffer stroke in the 1927 second edition of Principia Mathematica and suggested it as a replacement for the "OR" and "NOT" operations of the first edition.

Charles Sanders Peirce (1880) had discovered the functional completeness of NAND or NOR more than 30 years earlier, using the term ampheck (for 'cutting both ways'), but he never published his finding. Two years before Sheffer, Template:Ill also described the NAND and NOR operators and showed that the other Boolean operations could be expressed by it.[5]

Properties

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

Functional completeness

The Sheffer stroke, taken by itself, is a functionally complete set of connectives.[14][15] This can be seen from the fact that NAND does not possess any of the following five properties, each of which is required to be absent from, and the absence of all of which is sufficient for, at least one member of a set of functionally complete operators: truth-preservation, falsity-preservation, linearity, monotonicity, self-duality. (An operator is truth-preserving if its value is truth whenever all of its arguments are truth, or falsity-preserving if its value is falsity whenever all of its arguments are falsity.)[16]

It can also be proved by first showing, with a truth table, that ¬A is truth-functionally equivalent to AA.[17] Then, since AB is truth-functionally equivalent to ¬(AB),[17] and AB is equivalent to ¬(¬A¬B),[17] the Sheffer stroke suffices to define the set of connectives {,,¬},[17] which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.[17]

Other Boolean operations in terms of the Sheffer stroke

Expressed in terms of NAND , the usual operators of propositional logic are:

¬P          P P
        
   
PQ          P (QQ)          P (PQ)
                 
   
PQ          (PQ) ((PP)(QQ))
        
 
PQ          (PQ) (PQ)
        
   
PQ          (PP) (QQ)
        

See also

Template:Div col

Template:Div col end

References

Template:Reflist

Further reading

Template:Navbox Template:Common logical symbols

  1. 1.0 1.1 Template:Cite book
  2. Template:Cite encyclopedia
  3. 3.0 3.1 Template:Cite encyclopedia
  4. Template:Cite web
  5. 5.0 5.1 Cite error: Invalid <ref> tag; no text was provided for refs named Stamm_1911
  6. Template:Cite book
  7. Template:Cite book
  8. Template:Cite book
  9. Template:Cite book
  10. Cite error: Invalid <ref> tag; no text was provided for refs named Sheffer_1913
  11. Cite error: Invalid <ref> tag; no text was provided for refs named Nicod_1917
  12. Cite error: Invalid <ref> tag; no text was provided for refs named Church_1956
  13. Template:Cite book
  14. Template:Cite web
  15. Template:Citation
  16. Template:Cite book
  17. 17.0 17.1 17.2 17.3 17.4 Template:Cite book