Sheffer's Stroke
   HOME

TheInfoList



OR:

In
Boolean function In mathematics, a Boolean function is a function whose arguments and result assume values from a two-element set (usually , or ). Alternative names are switching function, used especially in older computer science literature, and truth functi ...
s and
propositional calculus The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
, the Sheffer stroke denotes a
logical operation In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, th ...
that is equivalent to the
negation In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
of the conjunction operation, expressed in ordinary language as "not both". It is also called non-conjunction, alternative denial (since it says in effect that at least one of its operands is false), or NAND ("not and"). In
digital electronics Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. It deals with the relationship between Binary number, binary inputs and outputs by passing electrical s ...
, it corresponds to the
NAND gate In digital electronics, a NAND (NOT AND) gate is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the ...
. It is named after
Henry Maurice Sheffer Henry Maurice Sheffer (1 September 1882 – 17 March 1964) was an American Mathematical logic, logician. Life and career Sheffer was a Polish Jews, Jew born in the western Ukraine, who immigrated to the USA in 1892 with his parents and six sibling ...
and written as \mid or as \uparrow or as \overline or as Dpq in
Polish notation Polish notation (PN), also known as normal Polish notation (NPN), Łukasiewicz notation, Warsaw notation, Polish prefix notation, Eastern Notation or simply prefix notation, is a mathematical notation in which Operation (mathematics), operator ...
by
Łukasiewicz Łukasiewicz is a Polish surname. It comes from the given name Łukasz (Lucas). It is found across Poland, particularly in central regions. It is related to the surnames Łukaszewicz and Lukashevich. People * Antoni Łukasiewicz (born 1983), ...
(but not as , , , often used to represent
disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
). Its
dual Dual or Duals may refer to: Paired/two things * Dual (mathematics), a notion of paired concepts that mirror one another ** Dual (category theory), a formalization of mathematical duality *** see more cases in :Duality theories * Dual number, a nu ...
is the NOR operator (also known as the
Peirce arrow 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' ...
,
Quine dagger 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' ...
or
Webb operator 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 disjunction, logical or. That is, a sentence of the form (''p'' NOR ''q'') is true precis ...
). Like its dual, NAND can be used by itself, without any other logical operator, to constitute a logical
formal system A formal system is an abstract structure and formalization of an axiomatic system used for deducing, using rules of inference, theorems from axioms. In 1921, David Hilbert proposed to use formal systems as the foundation of knowledge in ma ...
(making NAND
functionally complete In logic, a functionally complete set of logical connectives or Boolean operators is one that can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...
). This property makes the
NAND gate In digital electronics, a NAND (NOT AND) gate is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the ...
crucial to modern
digital electronics Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. It deals with the relationship between Binary number, binary inputs and outputs by passing electrical s ...
, including its use in
computer processor Cryptominer, In computing and computer science, a processor or processing unit is an electrical component (circuit (computer science), digital circuit) that performs operations on an external data source, usually Memory (computing), memory or som ...
design.


Definition

The non-conjunction is a
logical operation In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, th ...
on two
logical value In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in c ...
s. It produces a value of true, if — and only if — at least one of the
proposition A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
s is false.


Truth table

The
truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
of A \uparrow B is as follows.


Logical equivalences

The Sheffer stroke of P and Q is the negation of their conjunction By
De Morgan's laws In propositional calculus, propositional logic and Boolean algebra, De Morgan's laws, also known as De Morgan's theorem, are a pair of transformation rules that are both Validity (logic), valid rule of inference, rules of inference. They are nam ...
, this is also equivalent to the disjunction of the negations of P and Q


Alternative notations and names

Peirce was the first to show the functional completeness of non-conjunction (representing this as \overline) but didn't publish his result. Peirce's editor added \overline) for non-disjunction. In 1911, was the first to publish a proof of the completeness of non-conjunction, representing this with \sim (the Stamm hook) 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 had described non-conjunction using \mid, naming this symbol the Sheffer stroke. In 1928,
Hilbert David Hilbert (; ; 23 January 1862 – 14 February 1943) was a German mathematician and philosophy of mathematics, philosopher of mathematics and one of the most influential mathematicians of his time. Hilbert discovered and developed a broad ...
and Ackermann described non-conjunction with the operator /. In 1929,
Łukasiewicz Łukasiewicz is a Polish surname. It comes from the given name Łukasz (Lucas). It is found across Poland, particularly in central regions. It is related to the surnames Łukaszewicz and Lukashevich. People * Antoni Łukasiewicz (born 1983), ...
used D in Dpq for non-conjunction in his
Polish notation Polish notation (PN), also known as normal Polish notation (NPN), Łukasiewicz notation, Warsaw notation, Polish prefix notation, Eastern Notation or simply prefix notation, is a mathematical notation in which Operation (mathematics), operator ...
. 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.


History

The stroke is named after
Henry Maurice Sheffer Henry Maurice Sheffer (1 September 1882 – 17 March 1964) was an American Mathematical logic, logician. Life and career Sheffer was a Polish Jews, Jew born in the western Ukraine, who immigrated to the USA in 1892 with his parents and six sibling ...
, who in 1913 published a paper in the ''
Transactions of the American Mathematical Society The ''Transactions of the American Mathematical Society'' is a monthly peer-reviewed scientific journal of pure and applied mathematics published by the American Mathematical Society. It was established in 1900. As a requirement, all articles must ...
'' providing an axiomatization of
Boolean algebra In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
s using the stroke, and proved its equivalence to a standard formulation thereof by Huntington employing the familiar operators of
propositional logic The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
(
AND And or AND may refer to: Logic, grammar and computing * Conjunction, connecting two words, phrases, or clauses * Logical conjunction in mathematical logic, notated as "∧", "⋅", "&", or simple juxtaposition * Bitwise AND, a Boolean oper ...
, 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 Jean George Pierre Nicod (1 June 1893, in France – 16 February 1924, in Geneva, Switzerland) was a French philosopher and logician, best known for his work on propositional logic and induction. Biography Nicod's main contribution to formal lo ...
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 The ''Principia Mathematica'' (often abbreviated ''PM'') is a three-volume work on the foundations of mathematics written by the mathematician–philosophers Alfred North Whitehead and Bertrand Russell and published in 1910, 1912, and 1 ...
'' and suggested it as a replacement for the "OR" and "NOT" operations of the first edition.
Charles Sanders Peirce Charles Sanders Peirce ( ; September 10, 1839 – April 19, 1914) was an American scientist, mathematician, logician, and philosopher who is sometimes known as "the father of pragmatism". According to philosopher Paul Weiss (philosopher), Paul ...
(1880) had discovered the
functional completeness In Mathematical logic, logic, a functionally complete set of logical connectives or Boolean function, Boolean operators is one that can be used to express all possible truth tables by combining members of the Set (mathematics), set into a Boolean ...
of NAND or NOR more than 30 years earlier, using the term ''
ampheck 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 disjunction, logical or. That is, a sentence of the form (''p'' NOR ''q'') is true precis ...
'' (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 is commutative but not associative, which means that P \uparrow Q \leftrightarrow Q \uparrow P but (P \uparrow Q) \uparrow R \not\leftrightarrow P \uparrow (Q \uparrow R).


Functional completeness

The Sheffer stroke, taken by itself, is a
functionally complete In logic, a functionally complete set of logical connectives or Boolean operators is one that can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...
set of connectives. 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 In logic, a functionally complete set of logical connectives or Boolean operators is one that can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...
operators: truth-preservation, falsity-preservation,
linearity In mathematics, the term ''linear'' is used in two distinct senses for two different properties: * linearity of a '' function'' (or '' mapping''); * linearity of a '' polynomial''. An example of a linear function is the function defined by f(x) ...
,
monotonic In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of ord ...
ity,
self-duality In mathematics, a duality translates concepts, theorems or mathematical structures into other concepts, theorems or structures in a one-to-one fashion, often (but not always) by means of an involution operation: if the dual of is , then the du ...
. (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.) It can also be proved by first showing, with a
truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
, that \neg A is truth-functionally equivalent to A \uparrow A. Then, since A \uparrow B is truth-functionally equivalent to \neg (A \land B), and A \lor B is equivalent to \neg(\neg A \land \neg B), the Sheffer stroke suffices to define the set of connectives \, which is shown to be truth-functionally complete by the
Disjunctive Normal Form Theorem In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or in philosophical logic a ''cluster ...
.


Other Boolean operations in terms of the Sheffer stroke

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


See also

*
Boolean domain In mathematics and abstract algebra, a Boolean domain is a set consisting of exactly two elements whose interpretations include ''false'' and ''true''. In logic, mathematics and theoretical computer science, a Boolean domain is usually written ...
*
CMOS Complementary metal–oxide–semiconductor (CMOS, pronounced "sea-moss ", , ) is a type of MOSFET, metal–oxide–semiconductor field-effect transistor (MOSFET) semiconductor device fabrication, fabrication process that uses complementary an ...
*
Gate equivalent A gate equivalent (GE) stands for a unit of measure which allows specifying ''manufacturing-technology-independent complexity'' of digital electronic circuits. For today's CMOS technologies, the silicon area of a two-input drive-strength-one NAN ...
(GE) *
Logical graph An existential graph is a type of diagrammatic or visual notation for logical expressions, created by Charles Sanders Peirce, who wrote on graphical logic as early as 1882, and continued to develop the method until his death in 1914. They include ...
*
Minimal axioms for Boolean algebra In mathematical logic, minimal axioms for Boolean algebra are assumptions which are equivalent to the axioms of Boolean algebra (or propositional calculus), chosen to be as short as possible. For example, an axiom with six NAND operations and thre ...
* NAND
flash memory Flash memory is an Integrated circuit, electronic Non-volatile memory, non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for t ...
*
NAND logic The NAND Boolean function has the property of functional completeness. This means that any Boolean expression can be re-expressed by an equivalent expression utilizing only NAND operations. For example, the function NOT(x) may be equivalently exp ...
*
Peirce's law In logic, Peirce's law is named after the philosopher and logician Charles Sanders Peirce. It was taken as an Axiom#Mathematics, axiom in his first axiomatisation of propositional logic. It can be thought of as the law of excluded middle written ...
*
Peirce arrow 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 *
Sole sufficient operator In logic, a functionally complete set of logical connectives or Boolean operators is one that can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...


References


Further reading

* (NB. Edited and translated from the French and German editions:
Précis de logique mathématique Précis () or precis may refer to: *an abridgement or summary **Critical précis, a type of written text ** IRAC case brief, in law * ''Précis'' (album), a 2006 music album * ''Precis'' (butterfly), a genus of butterflies *Mitsubishi Precis, a ma ...
) *


External links


Sheffer stroke
article in the ''
Internet Encyclopedia of Philosophy The ''Internet Encyclopedia of Philosophy'' (''IEP'') is a scholarly online encyclopedia with around 900 articles about philosophy, philosophers, and related topics. The IEP publishes only peer review, peer-reviewed and blind-refereed original p ...
'' * http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/nand.html
Implementations of 2- and 4-input NAND gates

Proofs of some axioms by Stroke function by Yasuo Setô

Project Euclid
{{Common logical symbols
NAND gate In digital electronics, a NAND (NOT AND) gate is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the ...
Logical connectives Logic symbols