Capture-safe equality replacement 2026-10-31
Equal variables can replace selected free occurrences in a first-order formula if the inserted variable is not captured. Starting with atomic equality replacement, derive symmetry, then prove both replacement directions together by structural induction. Negation uses the reverse induction implication; implication uses both directions; a universal quantifier is handled by instantiation, replacement and generalization with a variable fresh for the equality assumptions. Bound occurrences are not replaced as free ones.
Context-sensitive Hilbert weakening 2026-10-31
Thinning enlarges the assumptions without changing a conclusion. In a predicate-calculus presentation with context-sensitive generalization, a generalization valid before adding an unused assumption may not be replayable with that assumption open. An explicit weakening step nevertheless imports the already proved conclusion. In propositional calculus with only axiom schemes and modus ponens, weakening is admissible by replaying the proof. The need for a separately stated rule depends on how proof dependencies are represented.
Hilbert-style first-order calculus 2026-10-31
A Hilbert-style calculus specifies axiom schemes and a small collection of inference rules, typically implication elimination and universal generalization. Equality and quantifier schemes include substitution and free-variable side conditions. Proofs are finite syntactic derivations; validity is separately defined using structures and assignments. A context-sensitive presentation restricts generalization by its actual undischarged assumptions.
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 a Solution 2026-10-31
The assertion means that there is a finite formal derivation ending in with its undischarged assumptions contained in . In a context-labelled presentation, an axiom instance is available with empty context, a formula is available from the context , modus ponens combines derivations of and to derive , and generalization derives provided is not free in its open assumptions. Thinning enlarges a context without changing its conclusion.
Each line or node must specify an axiom instance, an assumption, or an application of a permitted rule to earlier lines or subderivations. The side conditions on substitution, quantification and contexts are part of correctness. In particular a derivation is a finite syntactic object, even when is infinite; it uses only finitely many assumptions before a final thinning to if necessary. Derivability is thus distinct in definition from semantic entailment , which quantifies over structures and assignments.
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 d Solution 2026-10-31
Capture-safe equality replacement gives the corrected scheme:where replaces selected free occurrences of by , without capture. One may equivalently use full capture-avoiding substitution, after renaming conflicting binders. Replacing bound occurrences as though they were free is not permitted.
Here is a syntactic proof. Write for . First derive symmetry under : A6 and A4 give , and A7 applied to the first position in that atomic equality gives . Modus ponens and the deduction theorem give . Atomic replacement in the forward direction is A7 itself; in the reverse direction apply A7 with exchanged and use this symmetry. Thus under , an atomic formula and its designated replacement imply each other.
Induct on the formation of , proving both directions simultaneously. For negation, the reverse implication for the immediate subformula gives the forward implication of its negations by contraposition, and vice versa. For , the two induction equivalences combine propositionally to . This uses only the propositional tautologies allowed in this part.
For , first take distinct from . From assumptions and , A4 gives , the induction hypothesis gives , and generalization gives : is free in neither open assumption. Discharge the two assumptions to obtain . The reverse direction is identical. If the binder is , no free occurrence of that variable lies beneath it and the replacement there is empty. If it is , capture avoidance likewise forbids a changed free below that binder unless the binder is first renamed to a fresh variable. Bound-variable renaming is derived from A4 followed by admissible generalization and A5, with the same freshness restriction. This completes the structural induction and proves the scheme for arbitrary formulas.
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 e Solution 2026-10-31
The thinning rule, or weakening, isIt expresses that extra unused assumptions do not destroy a proof. In the context-sensitive predicate-calculus presentation it also allows a theorem first proved with a fresh generalization variable to be used later in a context containing that variable free. Simply replaying the same generalization under the larger context could violate its side condition. For instance a proof of from the empty context may generalize on ; it should remain available when an unused assumption is added, even though that last generalization could not be replayed with open.
In propositional calculus the axiom schemes and modus ponens have no analogous free-variable restriction. An induction on the original proof simply reuses each axiom, assumption and modus-ponens step under the enlarged assumptions, so weakening is admissible and need not be postulated separately. Context-sensitive Hilbert weakening concerns this proof presentation: systems already tracking only the assumptions on which each line depends can build admissible weakening into their treatment of predicate-calculus generalization as well.
Past exam of the logic and set theory course of the University of Oxford 2009 A 2 a Solution 2026-10-31
With generalization restricted to variables not free in open assumptions, the deduction theorem statesThe reverse direction follows by thinning and modus ponens. For the forward direction, induct on a derivation, keeping track of its actual assumption contexts. Axioms and assumptions already in yield by A1; the distinguished assumption yields the permitted theorem . If a line is obtained by modus ponens from and , the induction hypotheses and A2 derive .
If a generalization step depends on the discharged assumption, its variable is not free in or the other open assumptions. Generalize the induction conclusion to and use A5 to derive . If the subderivation does not depend on , its generalized conclusion can instead be retained as an independent derivation and A1 applied afterwards. Thinning merely enlarges the remaining context and preserves the induction claim. These cases are why assumption dependence, rather than a careless unrestricted universal rule, is essential.
In a presentation allowing generalization freely from hypotheses, the corresponding theorem must instead explicitly require that no variable free in is generalized in an -dependent line. Without that restriction would incorrectly yield .
Past exam of the logic and set theory course of the University of Oxford 2009 A 2 d Solution 2026-10-31
Choose a fresh variable . In A7 take the equality antecedent , the atomic formula , and replace its occurrence of by . This gives directly the theoremGeneralize on , with no open assumptions. A4 then instantiates that quantifier with the term . The substitution is free for , since the matrix contains no quantifiers. One modus-ponens step yieldsFinally generalize, in order, on , , and . The result isEvery step is A7, generalization, A4, or modus ponens. Neither completeness, adequacy, nor an unproved appeal to all propositional tautologies is needed. In particular the proof does not silently upgrade the variable-only equality axiom to an arbitrary-term axiom: quantification and instantiation perform that upgrade explicitly.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 a Solution 2026-10-31
A logical derivation is a finite proof in the specified calculus, with conclusion . Assumptions from and instances of A1–A7 are available; the rules are the modus ponens rule, universal generalization rule, and weakening.
In judgement form the universal generalization rule takes to only if is not free in any undischarged assumption in . Weakening permits to become . All instances of A4 and A5 must meet their stated substitution and free variable conditions. Derivability means existence of such a finite proof with assumptions contained in . Equivalently one tracks the finite assumption set used by each proof line.
For Rosser separation by a bounded stage comparison, use the numeralwise enumeration in arithmetic properties meant by enumeration in : membership supplies some standard stage with a provable positive instance, while nonmembership makes every standard-stage instance refutable. These are stronger than merely attaching a syntactic label to an arbitrary formula. The finite-initial-segment axiom lets us combine finitely many numeralwise refutations into a bounded universal assertion.
If is provable, choose a standard stage with . Consistency means is not refutable. Therefore for each . Using the displayed finite-segment axiom and equality substitution, combine these proofs to get . Existential introduction with stage proves the separator at .
If is refutable, choose a standard stage with . Consistency implies that is not provable, so all standard instances of are refutable. In particular their finitely many instances through give . For an arbitrary proposed witness , the total-comparison axiom gives or . In the first case its conjunct fails; in the second case the known instance at contradicts its bounded no-refutation conjunct. Generalize on to refute the existential separator. Hence the proposed first-proof-before-refutation formula separates the two sets.