|
| 1 | +% Part: proof-theory |
| 2 | +% Chapter: natural-deduction |
| 3 | +% Section: introduction |
| 4 | + |
| 5 | +\documentclass[../../../include/open-logic-section]{subfiles} |
| 6 | + |
| 7 | +\begin{document} |
| 8 | + |
| 9 | +\olfileid{pt}{nat}{int} |
| 10 | + |
| 11 | +\olsection{Introduction} |
| 12 | + |
| 13 | +Natural deduction is a family of !!{proof} systems in which each |
| 14 | +logical connective or quantifier has a pair of inferences, one that |
| 15 | +``introduces'' the operator (!!a{introduction} rule) and one that |
| 16 | +``eliminates'' the operator (!!a{elimination} rule). For instance, |
| 17 | +\Intro{\lif} has !!{formula}s of the form~$!A \lif !B$ as conclusion, |
| 18 | +and \Elim{\lif} has !!{formula}s of the form~$!A \lif !B$ as premises. |
| 19 | + |
| 20 | +The first two versions of natural deduction were introduced in the |
| 21 | +1930s by Gerhard Gentzen and Stanisław Jaśkowski. Gentzen's is the |
| 22 | +system proof theorists discuss mostly, and Jaśkowski gave rise to the |
| 23 | +systems most widely used in teaching. In both systems, one can start |
| 24 | +with \emph{assumptions}---!!{formula}s that don't need to be |
| 25 | +!!{prove}d, but that can be used in !!{prove}ing other !!{formula}s. |
| 26 | +An entire !!{proof} may depend on such assumptions, and since those |
| 27 | +are unproven, the !!{proof} does not establish its conclusion (its |
| 28 | +\emph{end-!!{formula}}), but only that its conclusion follows from the |
| 29 | +assumptions. |
| 30 | + |
| 31 | +Some inference rules are such that their conclusions no longer depend |
| 32 | +on some assumptions: they ``discharge'' assumptions. For instance, the |
| 33 | +\Intro{\lif} rule takes !!a{proof} of the conclusion~$!B$ from an |
| 34 | +assumption~$!A$, and has $!A \lif !B$ as its conclusion. The !!{proof} |
| 35 | +ending in $!A \lif !B$ no longer depends on~$!A$; the assumption $!A$ |
| 36 | +is discharged. In Gentzen's systems, !!{proof}s are trees of |
| 37 | +!!{formula}s, the assumptions are the topmost !!{formula}s, and rules |
| 38 | +like~\Intro{\lif} carry labels that indicate which assumptions are |
| 39 | +discharged. In Jaśkowski's systems, parts of the !!{proof} that depend |
| 40 | +on an assumption are set off in some way, e.g, indented behind a |
| 41 | +vertical line or in a box, with the assumption~$!A$ discharged and the |
| 42 | +consequent $!B$ of the conditional the first and last line in the box, |
| 43 | +and the conclusion~$!A \lif !B$ of \Intro{\lif} outside the box. |
| 44 | + |
| 45 | +The systems are ``natural'' because the inference rules mirror how we |
| 46 | +(or mathematicians, at least) reason naturally. To establish a |
| 47 | +hypothetical result (a conditional), we assume the antecedent and use |
| 48 | +it to prove the consequent. That's~\Intro{\lif}. When we know a |
| 49 | +conditional $!A \lif !B$ and its antecedent~$!A$, we conclude~$!B$. |
| 50 | +That's~\Elim{\lif}. We use proof-by-cases to show that, assuming a |
| 51 | +disjunction~$!A \lor !B$, some conclusion holds. That's~\Elim{\lor}. |
| 52 | +To prove a general claim~$\lforall[x][!A(x)]$ we prove that $!A(c)$ |
| 53 | +holds, for an arbitrary~$c$. That's~\Intro{\lforall}. And so on. |
| 54 | + |
| 55 | +For instance here's a simple !!{proof} of~$!A \lif (!A \lor !B)$ in |
| 56 | +Gentzen-style natural deduction: |
| 57 | +\[ |
| 58 | +\AxiomC{$\Discharge{!A}{x}$} |
| 59 | +\RightLabel{\Intro{\lor}} |
| 60 | +\UnaryInfC{$!A \lor !B$} |
| 61 | +\DischargeRule{\Intro{\lif}}{x} |
| 62 | +\UnaryInfC{$!A \lif (!A \lor !B)$} |
| 63 | +\DisplayProof |
| 64 | +\] |
| 65 | +It starts with the assumption~$!A$, uses \Intro{\lor} to infer~$!A |
| 66 | +\lor !B$, and then \Intro{\lif} to infer~$!A \lif (!A \lor !B)$. The |
| 67 | +\Intro{\lif} inference discharges the assumption~$!A$; that's |
| 68 | +indicated by the label~$x$. |
| 69 | + |
| 70 | +Proof theorists prefer Gentzen's original systems working with trees |
| 71 | +of !!{formula}s, although one variant is also important in proof |
| 72 | +theory. !!^a{proof} of~$!A$ from assumptions~$\Gamma$ shows that $!A$ |
| 73 | +follows from~$\Gamma$, i.e., $\Gamma \Entails !A$. The inference rules |
| 74 | +of natural deduction can naturally be read as telling us something |
| 75 | +about such entailments, e.g., \Intro{\lif} says that if $\Gamma + !A |
| 76 | +\Entails !B$ then $\Gamma \Entails !B$. It is only natural to |
| 77 | +formulate the rules directly so that they operate on both the |
| 78 | +assumptions and the conclusion that follow from them in the premises |
| 79 | +and conclusion of the inference rule, i.e., they operate on sequents |
| 80 | +$\Gamma \Sequent !A$. The simple proof above would look like this in |
| 81 | +such a system: |
| 82 | +\[ |
| 83 | +\Axiom$x:!A \fCenter !A$ |
| 84 | +\RightLabel{\Intro{\lor}} |
| 85 | +\UnaryInf$x:!A \fCenter !A \lor !B$ |
| 86 | +\DischargeRule{\Intro{\lif}}{x} |
| 87 | +\UnaryInf$\fCenter !A \lif (!A \lor !B)$ |
| 88 | +\DisplayProof |
| 89 | +\] |
| 90 | +As you see, the rules are the same: they work on the !!{formula} to |
| 91 | +the right of~$\Sequent$, the !!{formula}s on the left just list the |
| 92 | +assumptions they depend on at each step. |
| 93 | + |
| 94 | +The complete set of !!{introduction}/!!{elimination} rule pairs is not |
| 95 | +complete for classical logic by itself. We need to add two additional |
| 96 | +rules that have to do with~$\lfalse$. The first is the |
| 97 | +``intuitionistic absurdity rule''~\FalseInt, or ``explosion,'' which |
| 98 | +says that from $\lfalse$ we can infer anything. The second is the |
| 99 | +classical principle of indirect proof~\FalseCl{} (or the ``classical |
| 100 | +absurdity rule'') which says that if we can !!{prove}~$\lfalse$ |
| 101 | +from~$\lnot !A$, we have !!{prove}d~$!A$. If we leave out~\FalseCl, we |
| 102 | +get a system appropriate for intuitionsitic logic. If we leave out |
| 103 | +both, we have what's known as ``minimal logic.'' |
| 104 | + |
| 105 | +We will discuss Gentzen-style natural deduction for classical and |
| 106 | +intuitionsitic logic. These are the systems \Log{N1c} and \Log{N1i}. |
| 107 | +The systems \Log{N2c} and \Log{N2i} are the corresponding systems |
| 108 | +working on sequents $\Gamma \Sequent !A$ rather than single |
| 109 | +!!{formula}s~$!A$. |
| 110 | + |
| 111 | +\end{document} |
0 commit comments