Sheffer stroke explained

Sheffer stroke
Other Titles:NAND
Venn Diagram:Venn1110.svg
Definition:

\overline{xy}

Truth Table:

(1110)

Logic Gate:NAND_ANSI.svg
Dnf:

\overline{x}+\overline{y}

Cnf:

\overline{x}+\overline{y}

Zhegalkin:

1xy

0-Preserving:no
1-Preserving:no
Monotone:no
Affine:no
Self-Dual:no

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"). In digital electronics, it corresponds to the NAND gate. It is named after Henry Maurice Sheffer and written as

\mid

or as

\uparrow

or as

\overline{\wedge}

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

A\uparrowB

is as follows.

Logical equivalences

The Sheffer stroke of

P

and

Q

is the negation of their conjunction

P\uparrowQ

  

\Leftrightarrow

  

\neg(P\landQ)

  

\Leftrightarrow

  

\neg

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

P

and

Q

P\uparrowQ

  

\Leftrightarrow

  

\negP

\lor

\negQ

  

\Leftrightarrow

  

\lor

Alternative notations and names

Peirce was the first to show the functional completeness of non-conjunction (representing this as

\overline{\curlywedge}

) but didn't publish his result.[2] [3] Peirce's editor added

\overline{\curlywedge}

) for non-disjunction.[3]

In 1911, was the first to publish a proof of the completeness of non-conjunction, representing this with

\sim

(the Stamm hook)[4] and non-disjunction in print at the first time and showed their functional completeness.

In 1913, Sheffer described non-disjunction using

\mid

and showed its functional completeness. Sheffer also used

\wedge

for non-disjunction. Many people, beginning with Nicod in 1917, and followed by Whitehead, Russell and many others, mistakenly thought Sheffer has described non-conjunction using

\mid

, naming this the Sheffer Stroke.

In 1928, Hilbert and Ackermann described non-conjunction with the operator

/

.[5] [6]

In 1929, Łukasiewicz used

D

in

Dpq

for non-conjunction in his Polish notation.[7]

An alternative notation for non-conjunction is

\uparrow

. It is not clear who first introduced this notation, although the corresponding

\downarrow

for non-disjunction was used by Quine in 1940,.[8]

History

The stroke is named after Henry Maurice Sheffer, who in 1913 published a paper in the Transactions of the American Mathematical Society 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. 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, also described the NAND and NOR operators and showed that the other Boolean operations could be expressed by it.

Properties

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- (or falsity-)preserving if its value is truth (falsity) whenever all of its arguments are truth (falsity).) Therefore is a functionally complete set.

This can also be realized as follows: All three elements of the functionally complete set can be constructed using only NAND. Thus the set must be functionally complete as well.

Other Boolean operations in terms of the Sheffer stroke

Expressed in terms of NAND

\uparrow

, the usual operators of propositional logic are:

\negP

    

\Leftrightarrow

    

P

\uparrow

P

    

\Leftrightarrow

    

\uparrow

   

PQ

    

\Leftrightarrow

    

~P

\uparrow

(Q\uparrowQ)

    

\Leftrightarrow

    

~P

\uparrow

(P\uparrowQ)

    

\Leftrightarrow

    

\uparrow

    

\Leftrightarrow

    

\uparrow

   

P\leftrightarrowQ

    

\Leftrightarrow

    

(P\uparrowQ)

\uparrow

((P\uparrowP)\uparrow(Q\uparrowQ))

    

\Leftrightarrow

    

\uparrow

 

P\landQ

    

\Leftrightarrow

    

(P\uparrowQ)

\uparrow

(P\uparrowQ)

    

\Leftrightarrow

    

\uparrow

   

P\lorQ

    

\Leftrightarrow

    

(P\uparrowP)

\uparrow

(Q\uparrowQ)

    

\Leftrightarrow

    

\uparrow

Functional completeness

The Sheffer stroke, taken by itself, is a functionally complete set of connectives.[9] This can be proved by first showing, with a truth table, that

\negA

is truth-functionally equivalent to

A\uparrowA

.[10] Then, since

A\uparrowB

is truth-functionally equivalent to

\neg(A\landB)

, and

A\lorB

is equivalent to

\neg(\negA\land\negB)

, the Sheffer stroke suffices to define the set of connectives

\{\land,\lor,\neg\}

, which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.

See also

Further reading

External links

Notes and References

  1. Book: Howson, Colin . Logic with trees: an introduction to symbolic logic . 1997 . Routledge . 978-0-415-13342-5 . London; New York . 43.
  2. Encyclopedia: Peirce . C. S. . A Boolian Algebra with One Constant . Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics . Hartshorne . C. . Weiss . P. . 1880 . 1933 . 13–18 . Massachusetts . Harvard University Press.
  3. Encyclopedia: Peirce . C. S. . The Simplest Mathematics . Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics . Hartshorne . C. . Weiss . P. . 1902 . 1933 . 189–262 . Massachusetts . Harvard University Press.
  4. Web site: Zach . R. . Sheffer stroke before Sheffer: Edward Stamm . 18 February 2023. 2 July 2023.
  5. Book: Hilbert . D. . Ackermann . W. . Grundzügen der theoretischen Logik . 1 . 1928 . Verlag von Julius Springer . Berlin . 9 . German.
  6. Book: Hilbert . D. . Ackermann . W. . Luce . R. E. . Hammond . L. M. . Leckie . G. G. . Steinhardt . F. . Principles of Mathematical Logic . 1950 . Chelsea Publishing Company . New York . 11.
  7. Book: Łukasiewicz . J. . Elementy logiki matematycznej . 1929. 1958 . Warszawa . Państwowe Wydawnictwo Naukowe . 2 . Polish.
  8. Book: Quine . W. V . Mathematical Logic . 1981 . 1940 . Harvard University Press . Cambridge, London, New York, New Rochelle, Melbourne and Sydney . Revised . 45.
  9. Web site: Weisstein . Eric W. . Propositional Calculus . 2024-03-22 . mathworld.wolfram.com . en.
  10. Book: Howson, Colin . Logic with trees: an introduction to symbolic logic . 1997 . Routledge . 978-0-415-13342-5 . London; New York . 41–43.