Salvaging the stratification-based proof for unique typing and inversion
Ascertain whether a stratification of the typing judgment that breaks the mutual induction between typing and definitional equality can be constructed to respect substitution—so that from Γ, x : β ⊢ᵢ e : α and Γ ⊢ⱼ e′ : β one can derive Γ ⊢_{max(i,j)} e[x ↦ e′] : α—thereby salvaging the original proof approach for Unique typing and Definitional inversion; or otherwise develop an alternative induction strategy that establishes these results.
Sponsor
References
The reason [Unique typing] and [Definitional inversion] have been downgraded from theorems in [leantt] to conjectures here is because the proof has an error in one of the technical lemmas, and it remains to be seen if it is possible to salvage the proof.
— Lean4Lean: Towards a Verified Typechecker for Lean, in Lean
(2403.14064 - Carneiro, 2024) in Section 2.4 (Conjectured properties of the typing judgment)