Documentation

LeanSubst.Basic

def LeanSubst.Sequence.cons {T : Type u} (x : T) (xs : NatT) :
NatT
Equations
Instances For
    @[reducible, inline]
    Equations
    Instances For
      Instances For
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[reducible, inline]
            abbrev LeanSubst.Subst (T : Type) :
            Equations
            Instances For
              @[reducible, inline]
              abbrev LeanSubst.Subst.Lift (T : Type) (k : Kind) :
              Equations
              Instances For
                Instances
                  def LeanSubst.Ren.to {T : Type} :
                  RenSubst T
                  Equations
                  Instances For
                    Equations
                    Instances For
                      Equations
                      Instances For
                        def LeanSubst.Subst.compose {T : Type} [SubstMap T] :
                        Subst TSubst TSubst T
                        Equations
                        Instances For
                          Equations
                          Instances For
                            Equations
                            Instances For
                              Equations
                              Instances For
                                @[simp]
                                theorem LeanSubst.Subst.id_action {T : Type} {n : Nat} :
                                +0 n = re n
                                @[simp]
                                theorem LeanSubst.Subst.succ_action {T : Type} {n : Nat} :
                                +1 n = re (n + 1)
                                @[simp]
                                theorem LeanSubst.Subst.pred_action {T : Type} {n : Nat} :
                                -1 n = re (n - 1)
                                @[simp]
                                theorem LeanSubst.Ren.to_id {T : Type} :
                                id = +0
                                @[simp]
                                theorem LeanSubst.Ren.to_succ {T : Type} :
                                (↑fun (x : Nat) => x + 1) = +1
                                @[simp]
                                theorem LeanSubst.Ren.to_pred {T : Type} :
                                (↑fun (x : Nat) => x - 1) = -1
                                @[simp]
                                @[simp]
                                theorem LeanSubst.Ren.to_compose {T : Type} {r1 r2 : Ren} [SubstMap T] :
                                ↑(r2 r1) = r1 r2
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    Instances
                                      Instances
                                        theorem LeanSubst.Ren.to_lift {T : Type} [SubstMap T] {r : Ren} :
                                        r.lift = (↑r).lift
                                        theorem LeanSubst.Ren.lift_eq_from_eq {T : Type} [SubstMap T] {r : Ren} {σ : Subst T} :
                                        r = σr.lift = σ.lift
                                        @[simp]
                                        @[simp]
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite2 {T : Type} [SubstMap T] {σ : Subst T} :
                                        +0 σ = σ
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite3_replace {T : Type} [SubstMap T] {σ τ : Subst T} {s : T} :
                                        (su s::σ) τ = su s[τ]::σ τ
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite3_rename {T : Type} [SubstMap T] {s : Nat} {σ τ : Subst T} :
                                        (re s::σ) τ = τ s::σ τ
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite4 {T : Type} [SubstMap T] {s : Action T} {σ : Subst T} :
                                        +1 (s::σ) = σ
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite5 {T : Type} [SubstMap T] {σ : Subst T} :
                                        σ 0::+1 σ = σ
                                        @[simp]
                                        @[simp]
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite6 {T : Type} [SubstMap T] [SubstMapStable T] {σ : Subst T} :
                                        σ +0 = σ
                                        @[simp]
                                        theorem LeanSubst.Subst.apply_compose_commute {T : Type} [SubstMap T] [SubstMapCompose T] {s : T} {σ τ : Subst T} :
                                        s[σ][τ] = s[σ τ]
                                        @[simp]
                                        theorem LeanSubst.Subst.rewrite7 {T : Type} [SubstMap T] [SubstMapCompose T] {σ τ μ : Subst T} :
                                        (σ τ) μ = σ τ μ
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For