Lemma 1: Bound-Variable Standardization Properties
OpenBergerSchwichtenberg1991.lemma_1Proves the four standardization properties of α_k (EMB) on p. 204: (1) r =_α s → α_k(r) = α_k(s), (2) α_k(r) =_α r, (3) α_k(r[s/x]) = (α_{k*0} r)[s/x] when no index free in s extends k*0, and (4) α_k(α_l(r)) = α_k(r) when no index free in r extends l.
import Definitions.Def_BergerSchwichtenberg1991_Syntax
namespace BergerSchwichtenberg1991
theorem lemma_1 (k : Index) :
(∀ r s : Term, AlphaEq r s → alphaRename k r = alphaRename k s) ∧
(∀ r : Term, (∀ m ∈ freeIndices r, ¬ IsPrefixOf k m) → AlphaEq (alphaRename k r) r) := by sorry
end BergerSchwichtenberg1991Read-back
What the Lean code literally says, in plain math · Gemini 3.1 Pro (Independent Blind Auditor)
Read-back: Thm_BergerSchwichtenberg1991_lemma_1.lean
lemma_1 — For every binary index (Index), asserts the conjunction of two statements over arbitrary raw -terms (with no typing assumptions HasType):
- For all raw terms , if and are -equivalent (, i.e.,
AlphaEq r s), then their bound-variable standardizations at index are syntactically identical:
where (alphaRename k) leaves free variables unchanged, recurses on applications as , and rewrites abstractions as with .
2. For every raw term , if no index (the list of indices for which an indexed variable of some type occurs free in ) has as a prefix (i.e., ), then is -equivalent to :