inductive subst: lenv → term → nat → nat → term → Prop ≝
| subst_sort : ∀L,k,d,e. subst L (⋆k) d e (⋆k)
| subst_lref_lt: ∀L,i,d,e. i < d → subst L (#i) d e (#i)
| subst_lref_O : ∀L,V,e. 0 < e → subst (L. ♭Abbr V) #0 0 e V
| subst_lref_S : ∀L,I,V,i,T1,T2,d,e.
inductive subst: lenv → term → nat → nat → term → Prop ≝
| subst_sort : ∀L,k,d,e. subst L (⋆k) d e (⋆k)
| subst_lref_lt: ∀L,i,d,e. i < d → subst L (#i) d e (#i)
| subst_lref_O : ∀L,V,e. 0 < e → subst (L. ♭Abbr V) #0 0 e V
| subst_lref_S : ∀L,I,V,i,T1,T2,d,e.
subst (L. ♭I V) #(i + 1) (d + 1) e T2
| subst_lref_ge: ∀L,i,d,e. d + e ≤ i → subst L (#i) d e (#(i - e))
| subst_con2 : ∀L,I,V1,V2,T1,T2,d,e.
subst (L. ♭I V) #(i + 1) (d + 1) e T2
| subst_lref_ge: ∀L,i,d,e. d + e ≤ i → subst L (#i) d e (#(i - e))
| subst_con2 : ∀L,I,V1,V2,T1,T2,d,e.
-lemma subst_lift_inv: ∀d,e,T1,T2. [d,e]↑ T1 ≡ T2 → ∀L. [d,e]← L / T2 ≡ T1.
+lemma subst_lift_inv: ∀d,e,T1,T2. ↑[d,e] T1 ≡ T2 → ∀L. L ⊢ ↓[d,e] T2 ≡ T1.