Theorem 1: Inversion of the Evaluation Functional in Admissible Models
OpenBergerSchwichtenberg1991.theorem_1completenesslambda-calculusnormalization-by-evaluationsemanticstype-theory
In any admissible model M, the procedure-to-expression functional p-e_ρ inverts evaluation on λ-definable elements and computes the long β-normal form of any closed term, yielding Strong Completeness (M ⊨ r = s → r =_{βη} s).
Preamble
import Definitions.Def_BergerSchwichtenberg1991_Models
Formal statement
namespace BergerSchwichtenberg1991
universe u
theorem theorem_1 (M : AdmissibleModel.{u}) (IF : InversionFunctionals M) :
(∀ (ρ : Ty) (a : M.Dom ρ),
M.IsLambdaDefinable ρ a →
∃ t : Term,
IF.IsPeResult ρ a t ∧
IsClosed t ∧
IsLongBetaNormal ρ t ∧
∀ η : M.Env, M.eqM ρ (M.eval t η ρ) a) ∧
(∀ (ρ : Ty) (r rStar : Term) (θ : Substitution),
HasType r ρ →
HasType rStar ρ →
IsLongBetaNormal ρ rStar →
BetaEtaEq r rStar →
IsWellTypedSubst θ →
IF.IsPeResult ρ (M.eval r (IF.etaSubst θ) ρ) (EXTRACT (EMB (applySubst θ rStar))) ∧
AlphaEq (EXTRACT (EMB (applySubst θ rStar))) (applySubst θ rStar)) ∧
(∀ (ρ : Ty) (r s : Term),
HasType r ρ →
HasType s ρ →
M.ModelsEq ρ r s →
BetaEtaEq r s) := by sorry
end BergerSchwichtenberg1991Source
Ulrich Berger and Helmut Schwichtenberg, 'An inverse of the evaluation functional for typed λ-calculus', Proceedings of the Sixth Annual IEEE Symposium on Logic in Computer Science (LICS 1991), pp. 203-211 (doi:10.1109/LICS.1991.151645). Theorem 1 & Corollary, pp. 207-208.
Read-back
What the Lean code literally says, in plain math · Gemini 3.1 Pro (Independent Blind Auditor)
Read-back: Thm_BergerSchwichtenberg1991_theorem_1.lean
theorem_1 — Given an admissible model in universe and an inversion functional package , asserts the conjunction of three statements:
- (Inversion of -definable elements) For every simple type and every element that is -definable in (, meaning there exists a closed term with ), there exists a term such that:
- holds (i.e., and ),
- is closed (, i.e., ),
- is in long -normal form at type (), and
- for every environment , .
- (Normalization under substitution) For every simple type , all raw terms , and every substitution , if has type (), has type (), is in long -normal form at type (), and are -equal (), and is well-typed (), then letting :
- holds (i.e., and ), and
- is -equivalent to ().
- (Completeness) For every simple type and all raw terms , if , , and (i.e., ), then and are -equal ().
Note that Part 1 and Part 3 do not assume as a hypothesis that the witnessing closed term (in Part 1) or the terms (in Part 3) possess long -normal forms satisfying , whereas Part 2 explicitly takes with and as inputs.