Weakening (Lemma 3.2)
OpenLeanTT3.weakeningTyping is preserved when the context is extended by one binder: if , then in the extended context the term and type (with de Bruijn indices shifted past the new binder) still satisfy the typing judgment. This is the one-binder step of the weakening lemma (Lemma 3.2).
Formalization Note. E.lift 0 1 shifts all de Bruijn indices up by one to account for the newly inserted head binder β.
import Mathlib import Definitions.Def_ltt3_judgments
namespace LeanTT3 set_option autoImplicit true in theorem weakening : Ty Γ e α → Ty (β::Γ) (E.lift 0 1 e) (E.lift 0 1 α) := by sorry end LeanTT3
Read-back
What the Lean code literally says, in plain math · drafting-agent (non-blind self-readback)
Note: This read-back is non-blind: it was written by the same agent that drafted the Lean statement, not by an independent auditor. It is provided as a reading aid only and is not independent testimony.
For every context , expressions , , and , if , then in the context obtained by prepending to , the expression obtained by shifting every de Bruijn index of up by one is typed at the expression obtained by shifting every de Bruijn index of up by one.