Write for the paper's bracket abstraction and for the I combinator. Prove the result by structural induction following the three clauses of bracket abstraction.
For , the rules for the S combinator and the K combinator giveIf does not occur in , then substitution for leaves unchanged andThese two cases cover all variables and constants as well as applications not containing .
In the remaining case, and occurs in at least one of . The bracket abstraction clause, the rule for the S combinator, the induction hypotheses and compatibility of equality with application giveThe last line is the defining application clause of substitution. ThereforeThe conclusion is equality in combinatory logic; it need not be literal identity of strings. There are no binders in a combinatory logic term, so this substitution introduces no variable capture.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 b i Solution 2026-10-31
The first-order term is free for substitution for in if, at every free occurrence of to be replaced, no enclosing quantifier binds a variable occurring in . Equivalently, the substitution introduces no variable capture. Only free occurrences of are replaced.
A variable is fresh for the surrounding context when it does not occur free in any undischarged assumption in . Choose it also distinct from bound variables that would cause variable capture in the intended substitution. The universal quantifier introduction rule isIts justification is that the logical derivation of used no special information about , so it establishes the property of an arbitrary object. Semantically, changing the assignment of preserves the truth of ; therefore holds for every possible assigned object. Without the eigenvariable condition, the assumption could incorrectly be generalized to in an interpretation where only one of two objects satisfies .