How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Term substitution commutes with evaluation
Statement
For any terms , variable , structure and assignment , put . Then .
Facts & Assumptions
Given: Work in ZF unless the statement explicitly weakens or supplements it; fix the objects and hypotheses of the statement.
For an -structure and assignment , define , and This is a simultaneous definition for all assignments: recurse on terms into the set of functions from assignments to . Variable leaves are projections, constant leaves are constant maps, and each function operation acts pointwise. Structural recursion gives a unique evaluation. The operations are total because the interpreted functions are total. Superscripts on brackets will distinguish structures when needed. Conventions and prerequisites: def-set-structures-and-variable-assignments, thm-structural-recursion-on-set-coded-syntax. (Term denotation)
An occurrence is a token position in the parsed finite word. A variable occurrence is free when it is in a term field and no ancestor quantifier binds that variable. The variable field of a quantifier is a binder, not a free occurrence. Write for the finite set of variables with free occurrences in , and for all variables appearing anywhere. A sentence is a formula with empty . The recursive rules are , , union over the arguments for function and atomic relation/equality expressions, unchanged under negation, union for conjunction, and . Structural recursion justifies these set-valued definitions, with targets after identifying variables with their indices. Raw substitution replaces just the free occurrences of variable by term . On terms it replaces by , keeps other variables and constants, and acts on each argument. It commutes with atoms and Boolean constructors. At it leaves the whole expression unchanged if ; otherwise it gives . The term is free for in if, at every replaced occurrence, the path to the root crosses no binder for a member of . Thus at with and it requires both and that be free for in . If no free occurs, the condition is vacuous. Simultaneous substitution replaces the original free occurrences once; it does not perform substitutions inside inserted terms. It need not equal sequential substitution. Conventions and prerequisites: thm-structural-recursion-on-set-coded-syntax. (Free variables and free-for substitution)
Proof
If , both sides equal . If is another variable, the update leaves its value unchanged. If is a constant, both sides are its interpretation. These cover all leaves, including when itself contains .
At , substitution acts on its arguments. The induction hypothesis identifies every argument value on the two sides, and applying the same total function gives the displayed equality. Constructor induction completes the proof.
Depends on
Used by
Dependency tree · two levels
4 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Moschovakis, Lecture Notes in Logic (2014) — x1.3.1, p.48 (term case). (standard reference, not scraped)