Documentation

LeanSubst.Context

inductive LeanSubst.Ctx (T : Type) :
Instances For
    def LeanSubst.nth {T : Type} [Inhabited T] :
    Ctx TNatT
    Equations
    Instances For
      def LeanSubst.Ctx.dnth {T : Type} [Inhabited T] [SubstMap T] :
      Ctx TNatT
      Equations
      Instances For
        instance LeanSubst.instGetElemCtxNatTrue {T : Type} [Inhabited T] [SubstMap T] :
        GetElem (Ctx T) Nat T fun (x : Ctx T) (x_1 : Nat) => True
        Equations
        @[simp]
        theorem LeanSubst.Ctx.elem_cons_zero {T : Type} [Inhabited T] [SubstMap T] {A : T} {Γ : Ctx T} :
        (A::Γ)[0] = A[+1]
        @[simp]
        theorem LeanSubst.Ctx.elem_cons_succ {T : Type} [Inhabited T] [SubstMap T] {A : T} {Γ : Ctx T} {x : Nat} :
        (A::Γ)[x + 1] = Γ[x][+1]