Case-elimination Hilbert calculus 2026-10-31
One presentation of classical propositional logic uses the schemes , , and , together with modus ponens rule and the case rule from and to . Its deduction theorem for propositional logic follows by induction on logical derivations: conditional modus ponens handles a modus ponens rule line, and the second scheme handles a case-rule line.
A logical matrix specifies truth values, designated values, and operations interpreting the primitive connectives. To prove nonderivability from an axiom set, it suffices that every axiom instance is designated and every inference rule preserves designation, while the proposed conclusion is not designated under some valuation. The primitive connective symbols need not receive their intended classical meanings: preservation by the displayed rules is what makes the syntactic obstruction valid. Rules with discharged assumptions, such as a deduction theorem for propositional logic, must also preserve consequence for arbitrary assumption sets.
Write and fix a refutable first-order sentence , so and . First prove the internal equivalenceBecause is provable, the derivability conditions give . The fixed-point equivalence therefore yields .
For the reverse implication, necessitating and applying distribution gives . positive introspection gives . Finally the provable implication , necessitated and distributed, givesConsequently , so . The same argument works with any chosen refutable first-order sentence in place of ; their formal consistency statements are provably equivalent.
By the classical deduction theorem for propositional logic applied to adjoining a first-order sentence, is consistent exactly when . The displayed equivalence makes and deductively equivalent. ThereforeNo soundness assumption on that extension is being substituted for consistency.
Assume and put . Then . The given extension-provability implication, with , givesThe provable classical implication , together with distribution, gives . HenceIf were consistent, this would violate its Gödel second incompleteness theorem. Thus is inconsistent. The deduction theorem for propositional logic and double-negation elimination give , hence . Therefore the second incompleteness theorem for yields Löb's theorem for arbitrary .
Use just the assumed local reflection instance with :By the deduction theorem for propositional logic, . Classical propositional logic makes this imply the unconditional reflection statement : if is false the consequent is already true, and if is true the displayed implication supplies it. Löb's theorem applied to now givesThus full local reflection in a one-sentence extension is inconsistent; in this argument even the single instance concerning suffices.
Put and choose its Gödel sentence , so . The assumed reflection scheme gives the particular theoremThe given extension-provability implication is . The fixed-point equivalence gives , so these implications compose toThe supplied propositional tautology gives , and then yields . The first of the derivability conditions for gives , while its Gödel equivalence gives . Hence is inconsistent. By the deduction theorem for propositional logic,This proof uses diagonalization and proof transfer for the extension, and invokes neither Löb's theorem nor the second incompleteness theorem.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 ii Solution 2026-10-31
Choose an auxiliary propositional formula . The two instances of L1 areThe instance of L2 with isApply modus ponens rule first with the first L1 instance and then with the second. This is an assumption-free logical derivation, soIn particular no semantic completeness theorem or deduction theorem for propositional logic has been assumed to obtain this identity theorem.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 iv Solution 2026-10-31
For this calculus the deduction theorem for propositional logic isFor the reverse logical implication, retain the logical derivation from , add the assumption , and use modus ponens rule.
For the forward logical implication, induct on a logical derivation from . For each line we construct a logical derivation of from . If , use (ii). If is an axiom instance or belongs to , it is already derivable from ; L1 gives , and modus ponens rule finishes that case.
If comes by the elimination rule E from and , the induction hypothesis suppliesThe L2 instance with combines these by two applications of modus ponens rule. Thus the rule E also survives the discharge construction. These are all possible lines, proving the theorem for the final line .
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 v Solution 2026-10-31
Suppose both extensions were inconsistent. By the explosion argument in (i), the extension by proves , and the extension by proves . The deduction theorem for propositional logic therefore yieldsThe identity theorem gives and . Apply E to the first displayed logical implication and the identity logical implication with antecedent to obtain . Apply E to the identity logical implication with antecedent and the second displayed logical implication to obtain . This contradicts propositional consistency of .
Consequently at least one of the two one-formula extensions is propositionally consistent. The formal proof uses the source's own calculus, including its rule E, rather than assuming an unproved completeness theorem for this presentation.
Past exam of the logic and set theory course of the University of Oxford 2008 A 2 d Solution 2026-10-31
There is a three-line Hilbert formal proof. Use A1 with , ; then use A3 with , :This is a direct logical derivation in the displayed Hilbert proof system. Neither the deduction theorem for propositional logic nor a completeness theorem for propositional logic is needed: the desired logical implication is just the contrapositive, supplied by A3, of the particular A1 instance on line 1.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 a Solution 2026-10-31
For a standard classical propositional calculus, strong completeness statesTogether with soundness, this identifies semantic consequence with formal derivability. One proves the contrapositive by the maximal consistent set in propositional logic construction. If , the set is propositionally consistent, by the deduction theorem for propositional logic and classical propositional reasoning. Extend it to a maximal consistent set in propositional logic , deciding each logical formula in turn. At each stage at least one selection of or preserves propositional consistency; a contradiction in the union would use only finitely many assumptions and hence already occur at a stage.
Define a Boolean valuation by exactly when . Maximal consistency in propositional logic gives exactly when , and exactly when either or . Structural induction on logical formulas therefore proves the maximal consistent set truth lemma . Thus satisfies but falsifies , contradicting semantic entailment. The countable language here permits an enumeration of logical formulas; the corresponding general-language argument uses a well-ordering or a principle of maximality in a partially ordered set.
Past exam of the logic and set theory course of the University of Oxford 2010 A 2 a iii Solution 2026-10-31
The old system does derive the replacement axiom. Here is a syntactic proof using only its axioms, modus ponens rule, and the permitted deduction theorem for propositional logic.
First derive explosion. From and , the first axiom gives . The old third axiom then gives , and modus ponens rule with gives any desired .
Next derive the classical reductio rule. Suppose derives both and . Let be the theorem , obtainable by applying the deduction theorem for propositional logic to the identity derivation from assumption . Explosion under gives , so the deduction theorem for propositional logic gives . The old third axiom with , yields . Since is a theorem, . Thus a contradiction under permits deriving with that temporary assumption discharged.
Now assume and , and temporarily also assume . Modus ponens rule gives , contradicting . The just-proved reductio rule discharges and gives . Finally discharge and by the deduction theorem for propositional logic:No propositional completeness theorem is needed in this derivation.
Past exam of the logic and set theory course of the University of Oxford 2010 A 2 a i Solution 2026-10-31
Let and . Temporarily assume , , and . Modus ponens rule first gives from and , then from and , and finally .
Apply the deduction theorem for propositional logic successively to discharge , then , then . The result isthe required axiom scheme. This derivation uses only assumptions, modus ponens rule, and the added deduction rule; no negation axiom is involved.
Past exam of the logic and set theory course of the University of Oxford 2010 A 3 b i Solution 2026-10-31
Order the consistent sets of sentences extending by inclusion. This collection is nonempty. The union of a chain is consistent: any derivation of a contradiction uses finitely many assumptions, which all lie in one member of the chain. Zorn's lemma therefore supplies a maximal member, which is a maximal consistent extension of .
For a countable language one can instead enumerate all sentences and successively add either a sentence or its negation while preserving consistency. At least one choice is consistent, since inconsistency of both extensions, together with the deduction theorem for propositional logic and classical reasoning, would make the previous stage inconsistent. The union of the stages is consistent by finite use of assumptions and decides every sentence, so it is maximal consistent.
The chain proof covers arbitrary set-sized languages; no restriction on the language cardinality was printed here. The later prohibition on choice applies to the cardinal-arithmetic question, not this logic construction.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 c i Solution 2026-10-31
An instance of A7, replacing just the first occurrence of in , isAssume , apply the modus ponens rule twice using reflexivity, and obtain . The deduction theorem for propositional logic discharges the assumption. This proves symmetry.
For transitivity, A7 suppliesby replacing in the atomic formula . From assumptions and , two applications of the modus ponens rule give . Discharging assumptions and universally generalizing givesThus the predicate defines an equivalence relation within the calculus.
Past exam of the mathematics course of the University of Cambridge 2005 ii Paper 4 16F Solution Created 2026-09-24 Updated 2026-10-14
The propositional completeness theorem states that if and only if . Soundness follows by checking the axioms against truth valuations and noting that modus ponens rule preserves truth. For completeness, use the deduction theorem for propositional logic: if , then . In the usual negation rules this also says that a contradiction from proves .
First construct a maximal consistent set extending any consistent set . Enumerate all formulas, possible because the primitive propositions are countable. Starting with , add formula at step if consistency is preserved; otherwise add . This latter addition is consistent: if both extensions gave contradictions, the deduction theorem for propositional logic would prove both and from , a contradiction already in . The union is consistent because a finite proof uses only finitely many newly added premises. It decides every formula: exactly one of belongs to . It is deductively closed, since an omitted derivable formula would have its negation in , contradicting consistency.
Assign a valuation exactly when the primitive proposition lies in . Structural induction proves the maximal consistent set truth lemma if and only if . Negation follows from the decision property. For implication, if and , modus ponens rule gives . Conversely, if , the elementary implication axioms give . If , then , and the usual contradiction rule proves . These two alternatives match the truth table. The other connectives, if primitive, are handled by their corresponding rules or defined from negation and implication. Thus every consistent set has a valuation satisfying it.
Now suppose . If were inconsistent, the deduction theorem for propositional logic would give . Here the third axiom is essential: it would give , a contradiction. Hence that extension is consistent and has a satisfying valuation. This valuation satisfies and falsifies , proving the contrapositive of completeness. In this organization of the proof, the explicit classical double-negation elimination occurs in this last consistency step; the construction and truth lemma use the ordinary negation and contradiction rules, not an unmentioned identification of with .
The propositional compactness theorem says that a set of formulas is satisfiable exactly when each finite subset is satisfiable. If it were not satisfiable, completeness would make it inconsistent. Its finite contradiction proof uses only a finite subset of premises; soundness makes that subset unsatisfiable. This contradicts the assumed finite satisfiability and proves compactness.
Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 4 16G Solution Created 2026-09-24 Updated 2026-10-14
The completeness theorem for propositional logic states that implies : every semantic consequence is formally derivable. Equivalently, every syntactically consistent set of formulas has a truth assignment satisfying it.
First prove the equivalent formulation. With countably many primitive propositions there are countably many formulas; enumerate them as . Starting from a consistent , construct increasing consistent sets by adjoining if this remains consistent, and otherwise adjoining . The second choice is consistent: if adjoining either choice were inconsistent, the deduction theorem for propositional logic would give both and as consequences of , contradicting consistency.
The union is consistent, since a finite proof of a contradiction would already use premises in one stage. It decides every formula. It is also deductively closed: if and , then , violating consistency.
Give an atomic proposition the truth value true exactly when . Induction proves the truth lemma. For negation, exactly one of lies in . For implication, if and , modus ponens gives . Conversely, if , then entails by a classical propositional tautology; if , it too entails . Hence membership of an implication agrees with its truth table. Other connectives follow from their definitions or the corresponding tautologies. Thus the assignment satisfies , and therefore .
Now if , the set is consistent, by the deduction theorem for propositional logic and classical double-negation elimination. Its satisfying assignment is a model of in which is false. Contraposition provesThe reverse implication is soundness theorem for propositional logic, proved by checking axioms and inference rules preserve truth.
For uncountably many primitive propositions, replace the enumeration by a maximal-consistent extension using Zorn lemma. The union of a chain of consistent extensions is consistent for the same finite-proof reason. Maximality then decides each formula: if adjoining creates inconsistency, the deduction argument gives already in the extension. The same truth lemma applies with no change. Alternatively, well-order the formulas and run the same recursion with unions at limit stages. This modification uses a choice principle, unlike the countable enumeration argument.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 13I Solution Created 2026-09-24 Updated 2026-10-06
The completeness theorem for propositional logic states that if and only if . Soundness follows by checking that axioms are tautologies and inference rules preserve truth. For completeness it suffices to prove that every syntactically consistent set has a model.
The deduction theorem for propositional logic used here is: if and only if , in classical propositional logic. A proof is finite, so the union of a chain of consistent sets remains consistent: a contradiction would already occur in one member. By Zorn's lemma, extend a consistent to a maximal consistent set . If , adding yields a contradiction; the deduction theorem gives , and maximal consistency puts in . Conversely and cannot both belong to . Maximal consistency also makes deductively closed.
Assign each primitive proposition the truth value true precisely when it belongs to . The maximal consistent set truth lemma follows by induction on formulas. For negation use the preceding dichotomy. For implication, if or , the classical implication axioms put in ; if and , modus ponens prevents that implication from belonging to . This is exactly its truth table. Other connectives are defined from these or handled by the same induction. The resulting valuation satisfies all of , hence all of .
If , the deduction theorem and classical contradiction rules show is consistent. Its model falsifies , so . This proves completeness.
The propositional compactness theorem says is satisfiable if every finite subset is satisfiable. Otherwise completeness would make inconsistent, and a finite proof of contradiction would involve only finitely many assumptions, contradicting their satisfiability. Equivalently, every semantic consequence of is a consequence of a finite subset. The decidability theorem for propositional logic says there is an algorithm deciding whether a formula is provable with no assumptions: enumerate all truth assignments to its finitely many primitive propositions, check whether it is a tautology, and use soundness and completeness to identify tautologies with theorems. This does not claim an algorithm for arbitrary infinitely presented theories.