Theorem·T46
The substitution lemma for formulas
Satisfying a substituted formula matches satisfying the original after moving the replacement's own value into the assignment, provided the substitution was safe.
For an L-structure
, assignment
,
,
, and
with
:
In words
For any formula the term is substitutable into: given that substitutability, satisfying the substituted formula matches satisfying the original under an assignment updated to send the substituted variable to the replacement term's own value.
Never needed: F05 · F10 · F13 · A03 · A04 · A05 · A09 (computed from the citation graph, not asserted).
Proof
- 1By strong induction on : assume the claim for every formula of length (the induction hypothesis, "IH"); show it for of length with . Write .
- 2
- 3
- 4
- 5
- 6
- 7quant, different variable. If with : by the quant clause of D099, means , or and . In either branch holds - directly in the second, and in the first because (quant clause, D093) with gives , so T45 applies. So the IH applies to either way, and the diff clause of D098 gives . It suffices to show, for every : - then the forall/exists clause of D091 gives iff (for all/some) , the left side, iff (for all/some) , the right side, iff .
- 8Sub-case . By the IH at : . Since , T43 gives , and since , updates at different coordinates commute (both add the independent pairs , to with the old entries at removed, in either order, Extensionality): . So the right side of the IH becomes , giving the sub-case.
- 9Sub-case (hence , shown above). By T44 applied to at the base assignment , with reassigned first to and separately to (neither choice matters, as ): and . Combining, and using the IH (at ) on the left: (the last equality by commutativity of updates at different coordinates, as above). This gives the sub-case without needing to relate to at all.
- 10T08 concludes: the claim holds for every with .
∎
Remarks
The Substitution Lemma, the central technical fact soundness needs to verify universal instantiation and substitutivity of equals are valid: both axioms compare a formula to its substituted form, and this lemma is what says that comparison tracks a single, well-understood change of assignment rather than something satisfaction cannot see through. The substitutability hypothesis is used only in the quantifier, different-variable case, exactly where a naive substitution risks capturing
's own variables.