Documentation

LeanStlc.Typing

inductive Typing :
List TyTermTyProp
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem typing_renaming_lift {Γ Δ : List Ty} (A : Ty) {r : LeanSubst.Ren} :
      (∀ (x : Nat) (T : Ty), Γ #x : TΔ #(r x) : T)∀ (x : Nat) (T : Ty), (A :: Γ) #x : T → (A :: Δ) #(r.lift x) : T
      theorem typing_weaken {Γ : List Ty} {t : Term} {A : Ty} (Δ : List Ty) (r : LeanSubst.Ren) :
      Γ t : A(∀ (x : Nat) (T : Ty), Γ #x : TΔ #(r x) : T)Δ r.apply t : A
      theorem typing_subst_lift {Γ Δ : List Ty} (A : Ty) {σ : LeanSubst.Subst Term} :
      (∀ (x : Nat) (T : Ty), Γ #x : TΔ (σ x) : T)∀ (x : Nat) (T : Ty), (A :: Γ) #x : T → (A :: Δ) (σ.lift x) : T
      theorem typing_subst {Γ : List Ty} {t : Term} {A : Ty} (Δ : List Ty) (σ : LeanSubst.Subst Term) :
      Γ t : A(∀ (x : Nat) (T : Ty), Γ #x : TΔ (σ x) : T)Δ t[σ] : A
      theorem typing_beta {Γ : List Ty} {A B : Ty} {b t : Term} :
      (A :: Γ) b : BΓ t : AΓ b[%t::LeanSubst.I] : B