Natural deduction

Source: Wikipedia, the free encyclopedia.

In

inference rules closely related to the "natural" way of reasoning.[1] This contrasts with Hilbert-style systems, which instead use axioms as much as possible to express the logical laws of deductive reasoning
.

History

Natural deduction grew out of a context of dissatisfaction with the axiomatizations of deductive reasoning common to the systems of

Łukasiewicz that advocated a more natural treatment of logic, Jaśkowski made the earliest attempts at defining a more natural deduction, first in 1929 using a diagrammatic notation, and later updating his proposal in a sequence of papers in 1934 and 1935.[2]
His proposals led to different notations such as
Fitch-style calculus (or Fitch's diagrams) or Suppes' method for which Lemmon gave a variant now known as Suppes–Lemmon notation
.

Natural deduction in its modern form was independently proposed by the German mathematician Gerhard Gentzen in 1933, in a dissertation delivered to the faculty of mathematical sciences of the University of Göttingen.[3] The term natural deduction (or rather, its German equivalent natürliches Schließen) was coined in that paper:

Gentzen was motivated by a desire to establish the consistency of

cut elimination theorem—the Hauptsatz—directly for natural deduction. For this reason he introduced his alternative system, the sequent calculus, for which he proved the Hauptsatz both for classical and intuitionistic logic. In a series of seminars in 1961 and 1962 Prawitz gave a comprehensive summary of natural deduction calculi, and transported much of Gentzen's work with sequent calculi into the natural deduction framework. His 1965 monograph Natural deduction: a proof-theoretical study[5] was to become a reference work on natural deduction, and included applications for modal and second-order logic
.

In natural deduction, a proposition is deduced from a collection of premises by applying inference rules repeatedly. The system presented in this article is a minor variation of Gentzen's or Prawitz's formulation, but with a closer adherence to Martin-Löf's description of logical judgments and connectives.[6]

History of notation styles

Natural deduction has had a large variety of notation styles,[7] which can make it difficult to recognize a proof if you're not familiar with one of them. To help with this situation, this article has a § Notation section explaining how to read all the notation that it will actually use. This section just explains the historical evolution of notation styles, most of which cannot be shown because there are no illustrations available under a public copyright license – the reader is pointed to the SEP and IEP for pictures.

  • Gentzen invented natural deduction using tree-shaped proofs – see § Gentzen's tree notation for details.
  • Jaśkowski changed this to a notation that used various nested boxes.[7]
  • Fitch changed Jaśkowski method of drawing the boxes, creating Fitch notation.[7]
  • 1940: In a textbook, Quine[8] indicated antecedent dependencies by line numbers in square brackets, anticipating Suppes' 1957 line-number notation.
  • 1950: In a textbook, Quine (1982, pp. 241–255) demonstrated a method of using one or more asterisks to the left of each line of proof to indicate dependencies. This is equivalent to Kleene's vertical bars. (It is not totally clear if Quine's asterisk notation appeared in the original 1950 edition or was added in a later edition.)
  • 1957: An introduction to practical logic theorem proving in a textbook by Suppes (1999, pp. 25–150). This indicated dependencies (i.e. antecedent propositions) by line numbers at the left of each line.
  • 1963: Stoll (1979, pp. 183–190, 215–219) uses sets of line numbers to indicate antecedent dependencies of the lines of sequential logical arguments based on natural deduction inference rules.
  • 1965: The entire textbook by Lemmon (1965) is an introduction to logic proofs using a method based on that of Suppes, what is now known as Suppes–Lemmon notation.
  • 1967: In a textbook, Kleene (2002, pp. 50–58, 128–130) briefly demonstrated two kinds of practical logic proofs, one system using explicit quotations of antecedent propositions on the left of each line, the other system using vertical bar-lines on the left to indicate dependencies.[a]

Notation

Here is a table with the most common notational variants for logical connectives.

Notational variants of the connectives[9][10]
Connective Symbol
AND , , , ,
equivalent , ,
implies , ,
NAND , ,
nonequivalent , ,
NOR , ,
NOT , , ,
OR , , ,
XNOR XNOR
XOR ,

Gentzen's tree notation

Gentzen, who invented natural deduction, had his own notation style for arguments. This will be exemplified by a simple argument below. Let's say we have a simple example argument in propositional logic, such as, "if it's raining then it's cloudly; it is raining; therefore it's cloudy". (This is in modus ponens.) Representing this as a list of propositions, as is common, we would have:

In Gentzen's notation,[7] this would be written like this:

The premises are shown above a line, called the inference line,[11][12] separated by a comma, which indicates combination of premises.[13] The conclusion is written below the inference line.[11] The inference line represents syntactic consequence,[11] sometimes called deductive consequence,[14] which is also symbolized with ⊢.[15][14] So the above can also be written in one line as . (The turnstile, for syntactic consequence, is of lower precedence than the comma, which represents premise combination, which in turn is of lower precedence than the arrow, used for material implication; so no parentheses are needed to interpret this formula.)[13]

Syntactic consequence is contrasted with semantic consequence,

as primitives
.

Gentzen's style will be used in much of this article. Gentzen's discharging annotations used to internalise hypothetical judgments can be avoided by representing proofs as a tree of sequents Γ ⊢A instead of a tree of judgments that A (is true).

Suppes–Lemmon notation

Many textbooks use Suppes–Lemmon notation,[7] so this article will also give that – although as of now, this is only included for propositional logic, and the rest of the coverage is given only in Gentzen style. A proof, laid out in accordance with the Suppes–Lemmon notation style, is a sequence of lines containing sentences,[17] where each sentence is either an assumption, or the result of applying a rule of proof to earlier sentences in the sequence.[17] Each line of proof is made up of a sentence of proof, together with its annotation, its assumption set, and the current line number.[17] The assumption set lists the assumptions on which the given sentence of proof depends, which are referenced by the line numbers.[17] The annotation specifies which rule of proof was applied, and to which earlier lines, to yield the current sentence.[17] Here's an example proof:

Suppes–Lemmon style proof (first example)
Assumption set Line number Sentence of proof Annotation
1 1 A
2 2 A
3 3 A
1, 3 4 1, 3 →E
1, 2 5 2, 4 RAA

This proof will become clearer when the inference rules and their appropriate annotations are specified – see § Propositional inference rules (Suppes–Lemmon style).

Propositional language syntax