Lemma 3.5: Non-Duplicating Reduction Decreases Weight `μ`
OpenAehligSchwichtenberg2002.lemma_3_5implicit-computational-complexitylambda-calculusnormalizationpolynomial-timetype-theory
Every reduction step r ↦ r' at iteration depth d(r) = 0 (without it-unfolding or nonlinear !-duplication) strictly decreases μ(r).
Preamble
import Definitions.Def_AehligSchwichtenberg2002_Syntax
Formal statement
namespace AehligSchwichtenberg2002
theorem lemma_3_5 {Γ : Context} {t t' : Term} {τ : Ty}
(ht : HasType Γ t τ) (hred : RedStep t t') :
HasType Γ t' τ := by sorry
end AehligSchwichtenberg2002Source
Klaus Aehlig and Helmut Schwichtenberg, 'A syntactical analysis of non-size-increasing polynomial time computation', ACM Transactions on Computational Logic 3(3), 2002, pp. 383-401 (LICS 2000, pp. 84-91; doi:10.1145/507382.507386). Lemma 3.5, p. 392.
Read-back
What the Lean code literally says, in plain math · Gemini 3.1 Pro (Independent Blind Auditor)
Read-back: Thm_AehligSchwichtenberg2002_lemma_3_5.lean
Theorem lemma_3_5
Let be a context (a finite list of typed variables), let and be raw terms, and let be a type in . Assume:
- Typing (
ht): (HasType Γ t τ) in the affine linear type system. - One-step reduction (
hred): (RedStep t t'), meaning that is obtained from by applying one of the eight top-level conversions (ConvStep) either at the root of or inside the left or right subterm of an application chain:- ,
- or ,
- or ,
- with , , and ,
- , or
- where holds (i.e., is built from and ternary applications of ).
Then has the same type in the exact same context list :