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 source 25 is a set of formulas of source 25 then a derivation from source 26 is a finite sequence source 26, …, source 27 of formulas where for each source 27 one of the following holds:
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 source 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 source 45.
For instance, since any one-element sequence source 48 with source 48 trivially counts as a derivation, the following might be a very simple rule of inference:
If source 52, then source 52 is always a correct inference step in any derivation from source 53.
Similarly, if source 55 is one of the axioms, then source 55 by itself is a derivation, and so this is also a rule of inference:
If source 58 is an axiom, then source 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 source 64 and source 64 occur higher up in the derivation, then source 65 is a correct inference step.
If this is the only rule of inference, then our definition of derivation above amounts to this: source 68, …, source 68 is a derivation iff for each source 69 one of the following holds:
source 71; or
source 72 is an axiom; or
for some source 73, source 73 is source 73, and for some source 73, source 74 is source 74.
The last clause says that source 76 follows from source 76 (source 76) and source 76 (source 77) by modus ponens. If we can go from source 77 to source 77, and each time we find a formula source 78 that is either in source 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 source 84 is derivable from source 84, written source 85, if there is a derivation from source 85 ending in source 86.
Definition of theoremhood in Rules and derivations
A formula source 90 is a theorem if there is a derivation of source 91 from the empty set. We write source 91 if source 91 is a theorem and source 92 if it is not.
Axioms and Rules for the Propositional Connectives
Definition of the propositional axiom set
The set of source 16 of axioms for the propositional connectives comprises all formulas of the following forms: The fourteen propositional axiom schemes source 18
Definition of modus ponens
If source 37 and source 37 already occur in a derivation, then source 37 is a correct inference step.
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 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 source 20 and source 20 allows us to justify source 20. One strategy would be to use Reference to the third disjunction axiom scheme with source 21 being source 21, source 22 being source 22, and source 22 being source 22, i.e., the instance source 23 Why? Two applications of MP yield the last part, which is what we want. And we easily see that source 28 is an instance of Reference to the second negation axiom scheme, and 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.
Printed line 1. Justification: the second negation axiom scheme.
Printed line 2. Justification: the third disjunction axiom scheme.
Printed line 3. Justification: modus ponens from lines one and two.
Printed line 4. Justification: the first conditional axiom scheme.
Printed line 5. Justification: modus ponens from lines three and four.
Resolved references
Example deriving the identity conditional
Let's try to find a derivation of source 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 source 44 to which we could apply M P. To be useful, of course, the source 45 which M P would justify as a correct step in this case would have to be source 46, since this is what we want to derive. That means source 47 would also have to be source 48, i.e., we might look at this instance of Reference to the first conditional axiom scheme: source 50 In order to apply M P, we would also need to justify the corresponding second premise, namely source 54. But in our case, that would be source 54, and we won't be able to derive source 55 by itself. So we need a different strategy.
The other axiom involving just source 58 is Reference to the second conditional axiom scheme, i.e., 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 source 64 is source 64, the formula we are aiming for. Then of course, source 65 and source 65 are both source 65. How should we pick source 66 so that both source 66 and source 66, i.e., in our case source 67 and source 67, are also derivable? Well, the first of these is already an instance of Reference to the first conditional axiom scheme, whatever we decide source 69 to be. And source 69 would be another instance of Reference to the first conditional axiom scheme if source 70 were 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.
Printed line 1. Justification: the first conditional axiom scheme.
Printed line 2. Justification: the second conditional axiom scheme.
Printed line 3. Justification: modus ponens from lines one and two.
Printed line 4. Justification: the first conditional axiom scheme.
Printed line 5. Justification: modus ponens from lines three and four.
Resolved references
Example chaining two conditionals
Sometimes we want to show that there is a derivation of some formula from some other formulas source 84. For instance, let's show that we can derive source 85 from 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.
Printed line 1. Justification: hypothesis.
Printed line 2. Justification: hypothesis.
Printed line 3. Justification: the first conditional axiom scheme.
Printed line 4. Justification: modus ponens from lines two and three.
Printed line 5. Justification: the second conditional axiom scheme.
Printed line 6. Justification: modus ponens from lines four and five.
Printed line 7. Justification: modus ponens from lines one and six.
Resolved references
The lines labelled “hypothesis” (for “hypothesis”) indicate that the formula on that line is a element of source 98.
Proposition: chaining derivable conditionals
If source 102 and source 102, then source 103
Proof
Suppose source 107 and source 107. Then there is a derivation of source 108 from source 108; and a derivation of source 109 from source 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 source 112—which is the last line of the new derivation—from source 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 source 115, and reference to line number 2 by reference to the last line of the derivation of source 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:
Proof-Theoretic Notions
Definition of derivability in Proof-Theoretic Notions
A formula source 27 is derivable from source 27, written source 28, if there is a derivation from source 28 ending in source 29.
Definition of theoremhood in Proof-Theoretic Notions
A formula source 33 is a theorem if there is a derivation of source 34 from the empty set. We write source 34 if source 34 is a theorem and source 35 if it is not.
Definition of consistency
A set source 39 of formulas is consistent if and only if source 40; it is inconsistent otherwise.
Proposition: reflexivity of derivability
Proof
The formula source 49 by itself is a derivation of source 49 from source 49.
End of proof.
Proposition: monotonicity of derivability
Proof
Any derivation of source 59 from source 59 is also a derivation of source 60 from source 60.
End of proof.
Proposition: transitivity of derivability
Proof
Suppose source 70. Then there is a derivation source 71, …, source 71 from source 71. Some of the steps in that derivation will be correct because of a rule which refers to a prior line source 73. By hypothesis, there is a derivation of source 74 from source 74, i.e., a derivation source 75, …, source 75 where every source 75 is an axiom, a element of source 76, or correct by a rule of inference. Now consider the sequence source 78 This is a correct derivation of source 81 from source 81 since every source 82 is now justified by the same rule which justifies source 83.
End of proof.
Note that this means that in particular if source 86 and source 86, then source 87. It follows also that if source 87 and source 88 for each source 88, then source 89.
Proposition: inconsistency and derivability of every formula
source 93 is inconsistent iff source 93 for every source 93.
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.
Proposition: compactness of axiomatic derivability
If source 115 then there is a finite subset source 115 such that source 116.
If every finite subset of source 117 is consistent, then source 118 is consistent.
Proof
If source 124, then there is a finite sequence of formulas source 125, …, source 125 so that source 125 and each source 126 is either a logical axiom, a element of source 126 or follows from previous formulas by modus ponens. Take source 128 to be those source 128 which are in source 128. Then the derivation is likewise a derivation from source 129, and so source 130.
This is the contrapositive of (1) for the special case source 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 source 23 when we know that source 24. Reference to the monotonicity proposition for derivability says that if source 25 then also source 26. And Reference to the transitivity proposition for derivability implies that if source 27 and source 28, then source 28. Here's another simple result, a “meta”-version of modus ponens:
Proposition: meta-level modus ponens
Proof
We have that source 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.
Printed line 1. Justification: hypothesis.
Printed line 2. Justification: hypothesis.
Printed line 3. Justification: modus ponens from lines one and two.
By Reference to the transitivity proposition for derivability, source 43.
End of proof.
The most important result we'll use in this context is the deduction theorem:
The Deduction Theorem
Proof
The “if” direction is immediate. If source 55 then also source 56 by Reference to the monotonicity proposition for derivability. Also, source 57 by Reference to the reflexivity proposition for derivability. So, by Reference to the meta-level modus ponens proposition, source 58.
For the “only if” direction, we proceed by induction on the length of the derivation of source 62 from source 62.
For the induction basis, we prove the claim for every derivation of length source 65. A derivation of source 65 from source 65 of length source 66 consists of source 66 by itself; and if it is correct source 66 is either 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 source 67 or is an axiom, then source 68. We also have that source 68 by Reference to the first conditional axiom scheme, and Reference to the meta-level modus ponens proposition gives source 70. If source 70 then source 71 because the last sentence source 71 is the same as source 72, and we have derived that in Reference to the example deriving the identity conditional.
For the inductive step, suppose a derivation of source 75 from source 76 ends with a step source 76 which is justified by modus ponens. (If it is not justified by modus ponens, source 77, source 77, or source 78 is an axiom, and the same reasoning as in the induction basis applies.) Then some previous steps in the derivation are source 80 and source 80, for some formula source 80, i.e., source 81 and source 81, and the respective derivations are shorter, so the inductive hypothesis applies to them. We thus have both: The two induction-hypothesis consequences source 84 But also source 89 by Reference to the second conditional axiom scheme, and two applications of Reference to the meta-level modus ponens proposition give source 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
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.;
If source 108 then source 109 (Contraposition);
source 111 (Ex Falso Quodlibet, Explosion);
source 113 (Double Negation Elimination);
If source 115 then source 115;
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
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 source 20 and source 20 is inconsistent, then source 21 is inconsistent.
Proof
If source 25 is inconsistent, then source 25. By Reference to the reflexivity proposition for derivability, source 26 for every source 27. Since also source 27 by hypothesis, source 28 for every source 28. By Reference to the transitivity proposition for derivability, source 29, i.e., source 30 is inconsistent.
End of proof.
Proposition: derivability characterized by inconsistency with a negation
Proof
First suppose source 39. Then source 39 by Reference to the monotonicity proposition for derivability. source 40 by Reference to the reflexivity proposition for derivability. We also have 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 source 43.
Now assume source 46 is inconsistent, i.e., source 46. By the deduction theorem, source 47. source 48 by Reference to the second falsity axiom scheme, so source 49 by Reference to the meta-level modus ponens proposition. Since source 50 (Reference to the double-negation-elimination axiom scheme), we have source 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.
Proposition: an explicit contradiction makes Gamma inconsistent
Proof
source 66 by Reference to the second negation axiom scheme. source 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 source 72 and source 72 are both inconsistent, then source 73 is inconsistent.
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
derivability and the Propositional Connectives
Proposition: derivability principles for conjunction
Proof
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.
From Reference to the third conjunction axiom scheme by two applications of modus ponens.
End of proof.
Proposition: derivability principles for disjunction
Proof
From Reference to the first negation axiom scheme we get source 50 and source 51. So by the deduction theorem, we have source 52 and source 53. From Reference to the third disjunction axiom scheme we get source 54. By the deduction theorem, source 55.
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
Proof
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.
Printed line 1. Justification: hypothesis.
Printed line 2. Justification: hypothesis.
Printed line 3. Justification: modus ponens from lines one and two.
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 source 35 is an axiom, then source 38 for each valuation source 38.
Proof
Do truth tables for each axiom to verify that they are tautologies.
End of proof.
Theorem: soundness of axiomatic deduction
Proof
By induction on the length of the derivation of source 60 from source 61. If there are no steps justified by inferences, then all formulas in the derivation are either instances of axioms or are in source 63. By the previous proposition, all the axioms are tautologies, and hence if source 64 is an axiom then source 65. If source 65, then trivially source 65.
If the last step of the derivation of source 68 is justified by modus ponens, then there are formulas source 69 and source 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, source 73 and source 73. Then source 74 by Reference to the Semantic Deduction Theorem.
End of proof.
Corollary: every theorem is a tautology
If source 121, then source 121 is a tautology.
Corollary: every satisfiable premise set is consistent
If source 126 is satisfiable, then it is consistent.
Proof
We prove the contrapositive. Suppose that source 130 is not consistent. Then source 131, i.e., there is a derivation of source 132 from source 132. By Reference to the soundness theorem for axiomatic deduction, any valuation source 133 that satisfies source 134 must satisfy source 134. Since source 136 for every valuation source 137, no source 138 can satisfy source 138, i.e., source 139 is not satisfiable.
End of proof.