Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

How to use Read

This page follows Axiomatic Deduction in source order. Equations are native, unflattened MathML. Five derivations are presented as ordered proof objects, five exercises remain unsolved, and every source coordinate is available offline.

Rules and derivation

Definition of an axiomatic derivation from Gamma

If Γ\Gammasource 25 is a set of formulas of L\Lang Lsource 25 then a derivation from Γ\Gammasource 26 is a finite sequence A1!A_1source 26, …, An!A_nsource 27 of formulas where for each ini \le nsource 27 one of the following holds:

  1. AiΓ!A_i \in \Gammasource 30; or

  2. Ai!A_isource 31 is an axiom; or

  3. Ai!A_isource 32 follows from some Aj!A_jsource 32 (and Ak!A_ksource 32) with j<ij < isource 32 (and k<ik < isource 33) by a rule of inference.

source 24

What counts as a correct derivation depends on which inference rules we allow (and of course what we take to be axioms). And an inference rule is an if-then statement that tells us that, under certain conditions, a step AiA_isource 40 in a derivation is a correct inference step.

Definition of a rule of inference

A rule of inference gives a sufficient condition for what counts as a correct inference step in a derivation from Γ\Gammasource 45.

source 43

For instance, since any one-element sequence A!Asource 48 with AΓ!A \in \Gammasource 48 trivially counts as a derivation, the following might be a very simple rule of inference:

If AΓ!A \in \Gammasource 52, then A!Asource 52 is always a correct inference step in any derivation from Γ\Gammasource 53.

Similarly, if A!Asource 55 is one of the axioms, then A!Asource 55 by itself is a derivation, and so this is also a rule of inference:

If A!Asource 58 is an axiom, then A!Asource 58 is a correct inference step.

It gets more interesting if the rule of inference appeals to formulas that appear before the step considered. The following rule is called modus ponens:

If BA!B \lif !Asource 64 and B!Bsource 64 occur higher up in the derivation, then A!Asource 65 is a correct inference step.

If this is the only rule of inference, then our definition of derivation above amounts to this: A1!A_1source 68, …, An!A_nsource 68 is a derivation iff for each ini \le nsource 69 one of the following holds:

  1. AiΓ!A_i \in \Gammasource 71; or

  2. Ai!A_isource 72 is an axiom; or

  3. for some j<ij < isource 73, Aj!A_jsource 73 is BAi!B \lif !A_isource 73, and for some k<ik < isource 73, Ak!A_ksource 74 is B!Bsource 74.

The last clause says that Ai!A_isource 76 follows from Aj!A_jsource 76 (BAi!B \lif !A_isource 76) and Ak!A_ksource 76 (B!Bsource 77) by modus ponens. If we can go from 11source 77 to nnsource 77, and each time we find a formula Ai!A_isource 78 that is either in Γ\Gammasource 78, an axiom, or which a rule of inference tells us that it is a correct inference step, then the entire sequence counts as a correct derivation.

Definition of derivability in Rules and derivations

A formula A!Asource 84 is derivable from Γ\Gammasource 84, written ΓA\Gamma \Proves !Asource 85, if there is a derivation from Γ\Gammasource 85 ending in A!Asource 86.

source 83

Definition of theoremhood in Rules and derivations

A formula A!Asource 90 is a theorem if there is a derivation of A!Asource 91 from the empty set. We write A\Proves !Asource 91 if A!Asource 91 is a theorem and A\Proves/ !Asource 92 if it is not.

source 89

Axioms and Rules for the Propositional Connectives

Definition of the propositional axiom set

The set of Ax0\PAxsource 16 of axioms for the propositional connectives comprises all formulas of the following forms: The fourteen propositional axiom schemes (AB)A(AB)BA(B(AB))A(AB)A(BA)(AC)((BC)((AB)C))A(BA)(A(BC))((AB)(AC))(AB)((A¬B)¬A)¬A(AB)A(A)¬A¬¬AA& (!A \land !B) \lif !A \ollabel{ax:land1}\\ & (!A \land !B) \lif !B \ollabel{ax:land2}\\ & !A \lif (!B \lif (!A \land !B)) \ollabel{ax:land3}\\ & !A \lif (!A \lor !B) \ollabel{ax:lor1}\\ & !A \lif (!B \lor !A) \ollabel{ax:lor2}\\ & (!A \lif !C) \lif ((!B \lif !C) \lif ((!A \lor !B) \lif !C)) \ollabel{ax:lor3}\\ & !A \lif (!B \lif !A) \ollabel{ax:lif1}\\ & (!A \lif (!B \lif !C)) \lif ((!A \lif !B) \lif (!A \lif !C)) \ollabel{ax:lif2}\\ & (!A \lif !B) \lif ((!A \lif \lnot !B) \lif \lnot !A) \ollabel{ax:lnot1}\\ & \lnot !A \lif (!A \lif !B) \ollabel{ax:lnot2}\\ & \ltrue \ollabel{ax:ltrue}\\ & \lfalse \lif !A \ollabel{ax:lfalse1}\\ & (!A \lif \lfalse) \lif \lnot !A \ollabel{ax:lfalse2}\\ & \lnot\lnot !A \lif !A \ollabel{ax:dne}source 18

source 15

Definition of modus ponens

If B!Bsource 37 and BA!B \lif !Asource 37 already occur in a derivation, then A!Asource 37 is a correct inference step.

source 36

We'll abbreviate the rule modus ponens as “M P.”

Examples of derivation

Example deriving the conditional from not D or E to the conditional from D to E

Suppose we want to prove (¬DE)(DE)(\lnot !D \lor !E) \lif (!D \lif !E)source 17. Clearly, this is not an instance of any of our axioms, so we have to use the M P rule to derive it. Our only rule is MP, which given A!Asource 20 and AB!A \lif !Bsource 20 allows us to justify B!Bsource 20. One strategy would be to use Reference to the third disjunction axiom scheme with A!Asource 21 being ¬D\lnot !Dsource 21, B!Bsource 22 being E!Esource 22, and C!Csource 22 being DE!D \lif !Esource 22, i.e., the instance (¬D(DE))((E(DE))((¬DE)(DE))).(\lnot !D \lif (!D \lif !E)) \lif ((!E \lif (!D \lif !E)) \lif ((\lnot !D \lor !E) \lif (!D \lif !E))).source 23 Why? Two applications of MP yield the last part, which is what we want. And we easily see that ¬D(DE)\lnot !D \lif (!D \lif !E)source 28 is an instance of Reference to the second negation axiom scheme, and E(DE)!E \lif (!D \lif !E)source 29 is an instance of Reference to the first conditional axiom scheme. So our derivation is:

Five-line derivation from not D or E to D implies E

The derivation uses three named propositional axiom schemes and two applications of modus ponens. A long formula on line two is split across two printed rows and is preserved as two ordered source segments.

  1. Printed line 1. Justification: the second negation axiom scheme.

    1. ¬D(DE)\lnot !D \lif (!D \lif !E)source 32
  2. Printed line 2. Justification: the third disjunction axiom scheme.

    1. (¬D(DE))continued on the next display line(\lnot !D \lif (!D \lif !E)) \lif {}source 33
    2. ((E(DE))((¬DE)(DE)))((!E \lif (!D \lif !E)) \lif ((\lnot !D \lor !E) \lif (!D \lif !E)))source 34
  3. Printed line 3. Justification: modus ponens from lines one and two.

    1. (E(DE))((¬DE)(DE))(!E \lif (!D \lif !E)) \lif ((\lnot !D \lor !E) \lif (!D \lif !E))source 35
  4. Printed line 4. Justification: the first conditional axiom scheme.

    1. E(DE)!E \lif (!D \lif !E)source 36
  5. Printed line 5. Justification: modus ponens from lines three and four.

    1. (¬DE)(DE)(\lnot !D \lor !E) \lif (!D \lif !E)source 37
Resolved references
  1. Reference to the second negation axiom scheme
  2. Reference to the third disjunction axiom scheme
  3. Reference to the first conditional axiom scheme

source 31

source 16

Example deriving the identity conditional

Let's try to find a derivation of DD!D \lif !Dsource 42. It is not an instance of an axiom, so we have to use M P to derive it. Reference to the first conditional axiom scheme is an axiom of the form AB!A \lif !Bsource 44 to which we could apply M P. To be useful, of course, the B!Bsource 45 which M P would justify as a correct step in this case would have to be DD!D \lif !Dsource 46, since this is what we want to derive. That means A!Asource 47 would also have to be D!Dsource 48, i.e., we might look at this instance of Reference to the first conditional axiom scheme: D(DD)!D \lif (!D \lif !D)source 50 In order to apply M P, we would also need to justify the corresponding second premise, namely A!Asource 54. But in our case, that would be D!Dsource 54, and we won't be able to derive D!Dsource 55 by itself. So we need a different strategy.

The other axiom involving just \lifsource 58 is Reference to the second conditional axiom scheme, i.e., (A(BC))((AB)(AC))(!A \lif (!B \lif !C)) \lif ((!A \lif !B) \lif (!A \lif !C))source 59 We could get to the last nested conditional by applying M P twice. Again, that would mean that we want an instance of Reference to the second conditional axiom scheme where AC!A \lif !Csource 64 is DD!D \lif !Dsource 64, the formula we are aiming for. Then of course, A!Asource 65 and C!Csource 65 are both D!Dsource 65. How should we pick B!Bsource 66 so that both A(BC)!A \lif (!B \lif !C)source 66 and AB!A \lif !Bsource 66, i.e., in our case D(BD)!D \lif (!B \lif !D)source 67 and DB!D \lif !Bsource 67, are also derivable? Well, the first of these is already an instance of Reference to the first conditional axiom scheme, whatever we decide B!Bsource 69 to be. And DB!D \lif !Bsource 69 would be another instance of Reference to the first conditional axiom scheme if B!Bsource 70 were (DD)(!D \lif !D)source 70. So, our derivation is:

Five-line derivation of D implies D

The derivation uses three conditional-axiom instances and two applications of modus ponens. Its second line is preserved as two ordered printed formula segments.

  1. Printed line 1. Justification: the first conditional axiom scheme.

    1. D((DD)D)!D \lif ((!D \lif !D) \lif !D)source 73
  2. Printed line 2. Justification: the second conditional axiom scheme.

    1. (D((DD)D))continued on the next display line(!D \lif ((!D \lif !D) \lif !D)) \lif {}source 74
    2. ((D(DD))(DD))((!D \lif (!D \lif !D)) \lif (!D \lif !D))source 75
  3. Printed line 3. Justification: modus ponens from lines one and two.

    1. (D(DD))(DD)(!D \lif (!D \lif !D)) \lif (!D \lif !D)source 76
  4. Printed line 4. Justification: the first conditional axiom scheme.

    1. D(DD)!D \lif (!D \lif !D)source 77
  5. Printed line 5. Justification: modus ponens from lines three and four.

    1. DD!D \lif !Dsource 78
Resolved references
  1. Reference to the first conditional axiom scheme
  2. Reference to the second conditional axiom scheme
  3. Reference to the first conditional axiom scheme

source 72

source 41

Example chaining two conditionals

Sometimes we want to show that there is a derivation of some formula from some other formulas Γ\Gammasource 84. For instance, let's show that we can derive AC!A \lif !Csource 85 from Γ={AB,BC}\Gamma = \{!A \lif !B, !B \lif !C\}source 85.

Seven-line derivation chaining A implies B and B implies C

The seven-line derivation begins with two hypotheses, adds instances of the two conditional axiom schemes, and applies modus ponens three times. Its fifth line spans two printed formula segments.

  1. Printed line 1. Justification: hypothesis.

    1. AB!A \lif !Bsource 88
  2. Printed line 2. Justification: hypothesis.

    1. BC!B \lif !Csource 89
  3. Printed line 3. Justification: the first conditional axiom scheme.

    1. (BC)(A(BC))(!B \lif !C) \lif (!A \lif (!B \lif !C))source 90
  4. Printed line 4. Justification: modus ponens from lines two and three.

    1. A(BC)!A \lif (!B \lif !C)source 91
  5. Printed line 5. Justification: the second conditional axiom scheme.

    1. (A(BC))continued on the next display line(!A \lif (!B \lif !C)) \lif {}source 92
    2. ((AB)(AC))((!A \lif !B) \lif (!A \lif !C))source 93
  6. Printed line 6. Justification: modus ponens from lines four and five.

    1. ((AB)(AC))((!A \lif !B) \lif (!A \lif !C))source 94
  7. Printed line 7. Justification: modus ponens from lines one and six.

    1. AC!A \lif !Csource 95
Resolved references
  1. Reference to the first conditional axiom scheme
  2. Reference to the second conditional axiom scheme

source 87

The lines labelled “hypothesis” (for “hypothesis”) indicate that the formula on that line is a element of Γ\Gammasource 98.

source 82

Proposition: chaining derivable conditionals

If ΓAB\Gamma \Proves !A \lif !Bsource 102 and ΓBC\Gamma \Proves !B \lif !Csource 102, then ΓAC\Gamma \Proves !A \lif !Csource 103

source 101

Proof

Suppose ΓAB\Gamma \Proves !A \lif !Bsource 107 and ΓBC\Gamma \Proves !B \lif !Csource 107. Then there is a derivation of AB!A \lif !Bsource 108 from Γ\Gammasource 108; and a derivation of BC!B \lif !Csource 109 from Γ\Gammasource 109 as well. Combine these into a single derivation by concatenating them. Now add lines 3–7 of the derivation in the preceding example. This is a derivation of AC!A \lif !Csource 112—which is the last line of the new derivation—from Γ\Gammasource 113. Note that the justifications of lines 4 and 7 remain valid if the reference to line number 1 is replaced by reference to the last line of the derivation of AB!A \lif !Bsource 115, and reference to line number 2 by reference to the last line of the derivation of BC!B \lif !Csource 117.

End of proof.

Exercise: three derivations from the propositional axioms

Unsolved exercise. The source supplies the prompt only; no solution is added.

Show that the following hold by exhibiting derivations from the axioms:

  1. (AB)(BA)(!A \land !B) \lif (!B \land !A)source 124

  2. ((AB)C)(A(BC))((!A \land !B) \lif !C) \lif (!A \lif (!B \lif !C))source 125

  3. ¬(AB)¬A\lnot(!A \lor !B) \lif \lnot !Asource 126

source 120

Proof-Theoretic Notions

Definition of derivability in Proof-Theoretic Notions

A formula A!Asource 27 is derivable from Γ\Gammasource 27, written ΓA\Gamma \Proves !Asource 28, if there is a derivation from Γ\Gammasource 28 ending in A!Asource 29.

source 26

Definition of theoremhood in Proof-Theoretic Notions

A formula A!Asource 33 is a theorem if there is a derivation of A!Asource 34 from the empty set. We write A\Proves !Asource 34 if A!Asource 34 is a theorem and A\Proves/ !Asource 35 if it is not.

source 32

Definition of consistency

A set Γ\Gammasource 39 of formulas is consistent if and only if Γ\Gamma\Proves/ \lfalsesource 40; it is inconsistent otherwise.

source 38

Proposition: reflexivity of derivability

If AΓ!A \in \Gammasource 45, then ΓA\Gamma \Proves !Asource 45.

source 43

Proof

The formula A!Asource 49 by itself is a derivation of A!Asource 49 from Γ\Gammasource 49.

End of proof.

Proposition: monotonicity of derivability

If ΓΔ\Gamma \subseteq \Deltasource 54 and ΓA\Gamma \Proves !Asource 54, then ΔA\Delta \Proves !Asource 54.

source 52

Proof

Any derivation of A!Asource 59 from Γ\Gammasource 59 is also a derivation of A!Asource 60 from Δ\Deltasource 60.

End of proof.

Proposition: transitivity of derivability

If ΓA\Gamma \Proves !Asource 65 and {A}ΔB\{!A\} \cup \Delta \Proves !Bsource 65, then ΓΔB\Gamma \cup \Delta \Proves !Bsource 66.

source 63

Proof

Suppose {A}ΔB\{!A\} \cup \Delta \Proves !Bsource 70. Then there is a derivation B1!B_1source 71, …, Bl=B!B_l = !Bsource 71 from {A}Δ\{!A\} \cup \Deltasource 71. Some of the steps in that derivation will be correct because of a rule which refers to a prior line Bi=A!B_i = !Asource 73. By hypothesis, there is a derivation of A!Asource 74 from Γ\Gammasource 74, i.e., a derivation A1!A_1source 75, …, Ak=A!A_k = !Asource 75 where every Ai!A_isource 75 is an axiom, a element of Γ\Gammasource 76, or correct by a rule of inference. Now consider the sequence A1,,Ak=A,B1,,Bl=B.!A_1, \dots, !A_k = !A, !B_1, \dots, !B_l = !B.source 78 This is a correct derivation of B!Bsource 81 from ΓΔ\Gamma \cup \Deltasource 81 since every Bi=AB_i = !Asource 82 is now justified by the same rule which justifies Ak=A!A_k = !Asource 83.

End of proof.

Note that this means that in particular if ΓA\Gamma \Proves !Asource 86 and AB!A \Proves !Bsource 86, then ΓB\Gamma \Proves !Bsource 87. It follows also that if A1,,AnB!A_1, \dots, !A_n \Proves !Bsource 87 and ΓAi\Gamma \Proves !A_isource 88 for each iisource 88, then ΓB\Gamma \Proves !Bsource 89.

Proposition: inconsistency and derivability of every formula

Γ\Gammasource 93 is inconsistent iff ΓA\Gamma \Proves !Asource 93 for every A!Asource 93.

source 91

Proof

Exercise.

End of proof.

Exercise: prove the inconsistency characterization

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove Reference to the proposition characterizing inconsistency by derivability.

source 107

Proposition: compactness of axiomatic derivability

  1. If ΓA\Gamma \Proves !Asource 115 then there is a finite subset Γ0Γ\Gamma_0 \subseteq \Gammasource 115 such that Γ0A\Gamma_0 \Proves !Asource 116.

  2. If every finite subset of Γ\Gammasource 117 is consistent, then Γ\Gammasource 118 is consistent.

source 112

Proof

  1. If ΓA\Gamma \Proves !Asource 124, then there is a finite sequence of formulas A1!A_1source 125, …, An!A_nsource 125 so that AAn!A \ident !A_nsource 125 and each Ai!A_isource 126 is either a logical axiom, a element of Γ\Gammasource 126 or follows from previous formulas by modus ponens. Take Γ0\Gamma_0source 128 to be those Ai!A_isource 128 which are in Γ\Gammasource 128. Then the derivation is likewise a derivation from Γ0\Gamma_0source 129, and so Γ0A\Gamma_0 \Proves !Asource 130.

  2. This is the contrapositive of (1) for the special case A!A \ident \lfalsesource 131.

End of proof.

The Deduction Theorem

As we've seen, giving derivations in an axiomatic system is cumbersome, and derivations may be hard to find. Rather than actually write out long lists of formulas, it is generally easier to argue that such derivations exist, by making use of a few simple results. We've already established three such results: Reference to the reflexivity proposition for derivability says we can always assert that ΓA\Gamma \Proves !Asource 23 when we know that AΓ!A \in \Gammasource 24. Reference to the monotonicity proposition for derivability says that if ΓA\Gamma \Proves !Asource 25 then also Γ{B}A\Gamma \cup \{!B\} \Proves !Asource 26. And Reference to the transitivity proposition for derivability implies that if ΓA\Gamma \Proves !Asource 27 and AB!A \Proves !Bsource 28, then ΓB\Gamma \Proves !Bsource 28. Here's another simple result, a “meta”-version of modus ponens:

Proposition: meta-level modus ponens

If ΓA\Gamma \Proves !Asource 32 and ΓAB\Gamma \Proves !A \lif !Bsource 32, then ΓB\Gamma \Proves !Bsource 33.

source 31

Proof

We have that {A,AB}B\{!A, !A \lif !B\} \Proves !Bsource 37:

Three-line derivation by modus ponens

The derivation takes A and the conditional from A to B as hypotheses, then obtains B by modus ponens.

  1. Printed line 1. Justification: hypothesis.

    1. A!Asource 39
  2. Printed line 2. Justification: hypothesis.

    1. AB!A \lif !Bsource 40
  3. Printed line 3. Justification: modus ponens from lines one and two.

    1. B!Bsource 41

source 38

By Reference to the transitivity proposition for derivability, ΓB\Gamma \Proves !Bsource 43.

End of proof.

The most important result we'll use in this context is the deduction theorem:

The Deduction Theorem

Γ{A}B\Gamma \cup \{!A\} \Proves !Bsource 50 if and only if ΓAB\Gamma \Proves !A \lif !Bsource 51.

source 49

Proof

The “if” direction is immediate. If ΓAB\Gamma \Proves !A \lif !Bsource 55 then also Γ{A}AB\Gamma \cup \{!A\} \Proves !A \lif !Bsource 56 by Reference to the monotonicity proposition for derivability. Also, Γ{A}A\Gamma \cup \{!A\} \Proves !Asource 57 by Reference to the reflexivity proposition for derivability. So, by Reference to the meta-level modus ponens proposition, Γ{A}B\Gamma \cup \{!A\} \Proves !Bsource 58.

For the “only if” direction, we proceed by induction on the length of the derivation of B!Bsource 62 from Γ{A}\Gamma \cup \{!A\}source 62.

For the induction basis, we prove the claim for every derivation of length 11source 65. A derivation of B!Bsource 65 from Γ{A}\Gamma \cup \{!A\}source 65 of length 11source 66 consists of B!Bsource 66 by itself; and if it is correct B!Bsource 66 is either BΓ{A}\in \Gamma \cup \{!A\}source 67Reader correction: The frozen source omits B before the membership sign in this induction-basis sentence. The reader supplies B, matching the same sentence and the immediately following case split. or is an axiom. If BΓ!B \in \Gammasource 67 or is an axiom, then ΓB\Gamma \Proves !Bsource 68. We also have that ΓB(AB)\Gamma \Proves !B \lif (!A \lif !B)source 68 by Reference to the first conditional axiom scheme, and Reference to the meta-level modus ponens proposition gives ΓAB\Gamma \Proves !A \lif !Bsource 70. If B{A}!B \in \{ !A\}source 70 then ΓAB\Gamma \Proves !A \lif !Bsource 71 because the last sentence AB!A \lif !Bsource 71 is the same as AA!A \lif !Asource 72, and we have derived that in Reference to the example deriving the identity conditional.

For the inductive step, suppose a derivation of B!Bsource 75 from Γ{A}\Gamma \cup \{!A\}source 76 ends with a step B!Bsource 76 which is justified by modus ponens. (If it is not justified by modus ponens, BΓ!B \in \Gammasource 77, BA!B \ident !Asource 77, or B!Bsource 78 is an axiom, and the same reasoning as in the induction basis applies.) Then some previous steps in the derivation are CB!C \lif !Bsource 80 and C!Csource 80, for some formula C!Csource 80, i.e., Γ{A}CB\Gamma \cup \{!A\} \Proves !C \lif !Bsource 81 and Γ{A}C\Gamma \cup \{!A\} \Proves !Csource 81, and the respective derivations are shorter, so the inductive hypothesis applies to them. We thus have both: The two induction-hypothesis consequences ΓA(CB);ΓAC.& \Gamma \Proves !A \lif (!C \lif !B); \\ & \Gamma \Proves !A \lif !C.source 84 But also Γ(A(CB))((AC)(AB)),\Gamma \Proves (!A \lif (!C \lif !B)) \lif ((!A\lif !C) \lif (!A \lif !B)),source 89 by Reference to the second conditional axiom scheme, and two applications of Reference to the meta-level modus ponens proposition give ΓAB\Gamma \Proves !A \lif !Bsource 94, as required.

End of proof.

Notice how Reference to the first conditional axiom scheme and Reference to the second conditional axiom scheme were chosen precisely so that the Deduction Theorem would hold.

The following are some useful facts about derivability, which we leave as exercises.

Proposition: five useful derivability facts

  1. (AB)((BC)(AC))\Proves (!A \lif !B) \lif ((!B \lif !C) \lif (!A \lif !C)source 106Reader correction: The frozen source is missing the final closing parenthesis in this displayed conditional. The reader adds that delimiter while retaining source MathML for comparison.;

  2. If Γ{¬A}¬B\Gamma \cup \{ \lnot !A\} \Proves \lnot !Bsource 108 then Γ{B}A\Gamma \cup \{ !B\} \Proves !Asource 109 (Contraposition);

  3. {A,¬A}B\{ !A, \lnot!A\} \Proves !Bsource 111 (Ex Falso Quodlibet, Explosion);

  4. {¬¬A}A\{ \lnot\lnot!A\} \Proves !Asource 113 (Double Negation Elimination);

  5. If Γ¬¬A\Gamma \Proves \lnot\lnot!Asource 115 then ΓA\Gamma \Proves !Asource 115;

source 103

Exercise: prove the five derivability facts

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove Reference to the proposition listing five useful derivability facts

source 127

derivability and Consistency

We will now establish a number of properties of the derivability relation. They are independently interesting, but each will play a role in the proof of the completeness theorem.

Proposition: removing a provable assumption from an inconsistency

If ΓA\Gamma \Proves !Asource 20 and Γ{A}\Gamma \cup \{!A\}source 20 is inconsistent, then Γ\Gammasource 21 is inconsistent.

source 19

Proof

If Γ{A}\Gamma \cup \{!A\}source 25 is inconsistent, then Γ{A}\Gamma \cup \{!A\} \Proves \lfalsesource 25. By Reference to the reflexivity proposition for derivability, ΓB\Gamma \Proves !Bsource 26 for every BΓ!B \in \Gammasource 27. Since also ΓA\Gamma \Proves !Asource 27 by hypothesis, ΓB\Gamma \Proves !Bsource 28 for every BΓ{A}!B \in \Gamma \cup \{!A\}source 28. By Reference to the transitivity proposition for derivability, Γ\Gamma \Proves \lfalsesource 29, i.e., Γ\Gammasource 30 is inconsistent.

End of proof.

Proposition: derivability characterized by inconsistency with a negation

ΓA\Gamma \Proves !Asource 35 iff Γ{¬A}\Gamma \cup \{\lnot !A\}source 35 is inconsistent.

source 33

Proof

First suppose ΓA\Gamma \Proves !Asource 39. Then Γ{¬A}A\Gamma \cup \{\lnot !A\} \Proves !Asource 39 by Reference to the monotonicity proposition for derivability. Γ{¬A}¬A\Gamma \cup \{\lnot !A\} \Proves \lnot !Asource 40 by Reference to the reflexivity proposition for derivability. We also have ¬A(A)\Proves \lnot !A \lif (!A \lif \lfalse)source 42 by Reference to the second negation axiom scheme. So by two applications of Reference to the meta-level modus ponens proposition, we have Γ{¬A}\Gamma \cup \{\lnot !A\} \Proves \lfalsesource 43.

Now assume Γ{¬A}\Gamma \cup \{\lnot !A\}source 46 is inconsistent, i.e., Γ{¬A}\Gamma \cup \{\lnot !A\} \Proves \lfalsesource 46. By the deduction theorem, Γ¬A\Gamma \Proves \lnot !A \lif \lfalsesource 47. Γ(¬A)¬¬A\Gamma \Proves (\lnot !A \lif \lfalse) \lif \lnot\lnot !Asource 48 by Reference to the second falsity axiom scheme, so Γ¬¬A\Gamma \Proves \lnot\lnot !Asource 49 by Reference to the meta-level modus ponens proposition. Since Γ¬¬AA\Gamma \Proves \lnot\lnot !A \lif !Asource 50 (Reference to the double-negation-elimination axiom scheme), we have ΓA\Gamma \Proves !Asource 51 by Reference to the meta-level modus ponens proposition again.

End of proof.

Exercise: characterize derivability of a negation by inconsistency

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that Γ¬A\Gamma \Proves \lnot !Asource 56 iff Γ{A}\Gamma \cup \{!A\}source 56 is inconsistent.

source 55

Proposition: an explicit contradiction makes Gamma inconsistent

If ΓA\Gamma \Proves !Asource 61 and ¬AΓ\lnot !A \in \Gammasource 61, then Γ\Gammasource 61 is inconsistent.

source 60

Proof

Γ¬A(A)\Gamma \Proves \lnot !A \lif (!A \lif \lfalse)source 66 by Reference to the second negation axiom scheme. Γ\Gamma \Proves \lfalsesource 67 by two applications of Reference to the meta-level modus ponens proposition.

End of proof.

Proposition: two inconsistent opposite extensions make Gamma inconsistent

If Γ{A}\Gamma \cup \{!A\}source 72 and Γ{¬A}\Gamma \cup \{\lnot !A\}source 72 are both inconsistent, then Γ\Gammasource 73 is inconsistent.

source 71

Proof

Exercise.

End of proof.

Exercise: prove the opposite-extensions proposition

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove Reference to the proposition about two inconsistent opposite extensions

source 87

derivability and the Propositional Connectives

Proposition: derivability principles for conjunction

  1. Both ABA!A \land !B \Proves !Asource 25 and ABB!A \land !B \Proves !Bsource 26

  2. A,BAB!A, !B \Proves !A \land !Bsource 27.

source 23

Proof

  1. From Reference to the first conjunction axiom scheme and Reference to the second conjunction axiom schemeReader correction: The frozen proof cites the first conjunction-elimination axiom twice. The two conclusions require the first and second conjunction-elimination axioms, so the reader names axiom land two for the second citation. by modus ponens.

  2. From Reference to the third conjunction axiom scheme by two applications of modus ponens.

End of proof.

Proposition: derivability principles for disjunction

  1. AB,¬A,¬B!A \lor !B, \lnot !A, \lnot !Bsource 43 is inconsistent.

  2. Both AAB!A \Proves !A \lor !Bsource 44 and BAB!B \Proves !A \lor !Bsource 44.

source 41

Proof

  1. From Reference to the first negation axiom scheme we get ¬A(A)\Proves \lnot !A \lif (!A \lif \lfalse)source 50 and ¬B(B)\Proves \lnot !B \lif (!B \lif \lfalse)source 51. So by the deduction theorem, we have {¬A}A\{\lnot !A\} \Proves !A \lif \lfalsesource 52 and {¬B}B\{\lnot !B\} \Proves !B \lif \lfalsesource 53. From Reference to the third disjunction axiom scheme we get {¬A,¬B}(AB)\{\lnot !A, \lnot !B\} \Proves (!A \lor !B) \lif \lfalsesource 54. By the deduction theorem, {AB,¬A,¬B}\{!A \lor !B, \lnot !A, \lnot !B\} \Proves \lfalsesource 55.

  2. From Reference to the first disjunction axiom scheme and Reference to the second disjunction axiom scheme by modus ponens Reader correction TR013-SOURCE-PROSE-004: The reader corrects the frozen source spelling 'modus ponsens' to 'modus ponens.' .

End of proof.

Proposition: derivability principles for the conditional

  1. A,ABB!A, !A \lif !B \Proves !Bsource 64.

  2. Both ¬AAB\lnot !A \Proves !A \lif !Bsource 66 and BAB!B \Proves !A \lif !Bsource 66.

source 62

Proof

  1. We can derive:

    Three-line conditional-elimination derivation

    The derivation takes A and the conditional from A to B as hypotheses and obtains B by modus ponens.

    1. Printed line 1. Justification: hypothesis.

      1. A!Asource 74
    2. Printed line 2. Justification: hypothesis.

      1. AB!A \lif !Bsource 75
    3. Printed line 3. Justification: modus ponens from lines one and two.

      1. B!Bsource 76

    source 73

  2. By Reference to the second negation axiom scheme and Reference to the first conditional axiom scheme and the deduction theorem, respectively.

End of proof.

Soundness

Proposition: every propositional axiom is a tautology

If A!Asource 35 is an axiom, then vA\pSat{v}{!A}source 38 for each valuation v\pAssign{v}source 38.

source 34

Proof

Do truth tables for each axiom to verify that they are tautologies.

End of proof.

Theorem: soundness of axiomatic deduction

If ΓA\Gamma \Proves !Asource 56 then ΓA\Gamma \Entails !Asource 56.

source 54

Proof

By induction on the length of the derivation of A!Asource 60 from Γ\Gammasource 61. If there are no steps justified by inferences, then all formulas in the derivation are either instances of axioms or are in Γ\Gammasource 63. By the previous proposition, all the axioms are tautologies, and hence if A!Asource 64 is an axiom then ΓA\Gamma \Entails !Asource 65. If AΓ!A \in \Gammasource 65, then trivially ΓA\Gamma \Entails !Asource 65.

If the last step of the derivation of A!Asource 68 is justified by modus ponens, then there are formulas B!Bsource 69 and BA!B \lif !Asource 69 in the derivation, and the induction hypothesis applies to the part of the derivation ending in those formulas (since they contain at least one fewer step justified by an inference). So, by induction hypothesis, ΓB\Gamma \Entails !Bsource 73 and ΓBA\Gamma \Entails !B \lif !Asource 73. Then ΓA\Gamma \Entails !Asource 74 by Reference to the Semantic Deduction Theorem.

End of proof.

Corollary: every theorem is a tautology

If A\Proves !Asource 121, then A!Asource 121 is a tautology.

source 119

Corollary: every satisfiable premise set is consistent

If Γ\Gammasource 126 is satisfiable, then it is consistent.

source 124

Proof

We prove the contrapositive. Suppose that Γ\Gammasource 130 is not consistent. Then Γ\Gamma \Proves \lfalsesource 131, i.e., there is a derivation of \lfalsesource 132 from Γ\Gammasource 132. By Reference to the soundness theorem for axiomatic deduction, any valuation v\pAssign{v}source 133 that satisfies Γ\Gammasource 134 must satisfy \lfalsesource 134. Since v\pSat/{v}{\lfalse}source 136 for every valuation v\pAssign{v}source 137, no v\pAssign{v}source 138 can satisfy Γ\Gammasource 138, i.e., Γ\Gammasource 139 is not satisfiable.

End of proof.