Lemma 1.2.7 (Substitution Lemma).

  • (1)
    If Γ⊩M:σ and α is a type variable, then Γ[α:=τ]⊩M:σ[α:=τ];
  • (2)
    If Γ,x:τ⊩M:σ and Γ⊩N:τ, then Γ⊩M[x:=N]:σ.