Documentation

LeanSubst.Basic

Equations
Instances For
    Equations
    Instances For
      def LeanSubst.Ren.lift (r : Ren) (k : Nat := 1) :
      Equations
      Instances For
        • rmap : RenTT
        Instances
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def LeanSubst.Ren.to {T : Type} :
              RenSubst T
              Equations
              Instances For
                • smap : Subst TSS
                Instances
                  def LeanSubst.Subst.lift {T : Type} [RenMap T] (σ : Subst T) (k : Nat := 1) :
                  Equations
                  Instances For
                    @[reducible, inline]
                    abbrev LeanSubst.smap1 {S : Type} [SubstMap S S] :
                    Subst SSS
                    Equations
                    Instances For
                      def LeanSubst.Subst.compose {T : Type} [RenMap T] [SubstMap T T] :
                      Subst TSubst TSubst T
                      Equations
                      Instances For
                        def LeanSubst.Subst.hcompose {S T : Type} [RenMap T] [SubstMap S T] :
                        Subst SSubst TSubst S
                        Equations
                        Instances For
                          Equations
                          Instances For
                            Equations
                            Instances For
                              Equations
                              Instances For
                                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
                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    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.lift_zero {r : Ren} :
                                      r.lift 0 = r
                                      theorem LeanSubst.Ren.lift_succ {r : Ren} {k : Nat} :
                                      r.lift (k + 1) = (r.lift k).lift
                                      @[simp]
                                      theorem LeanSubst.Red.id_action {x : Nat} :
                                      Ren.id x = x
                                      @[simp]
                                      theorem LeanSubst.Ren.lift_id {k : Nat} :
                                      theorem LeanSubst.Ren.to_lift {T : Type} [RenMap T] {r : Ren} {k : Nat} :
                                      (r.lift k) = (↑r).lift k
                                      @[simp]
                                      theorem LeanSubst.Ren.to_compose {T : Type} {r1 r2 : Ren} [RenMap T] [SubstMap T 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
                                          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
                                              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
                                                  @[simp]
                                                  theorem LeanSubst.Ren.id_promote :
                                                  (fun (x : Nat) => x) = id
                                                  @[simp]
                                                  @[simp]
                                                  @[simp]
                                                  theorem LeanSubst.Ren.post_compose_assoc {r1 r2 r3 : Ren} :
                                                  (r1 >> r2) >> r3 = r1 >> r2 >> r3
                                                  @[simp]
                                                  theorem LeanSubst.Ren.post_compose_action {r1 r2 : Ren} {x : Nat} :
                                                  (r1 >> r2) x = r2 (r1 x)
                                                  theorem LeanSubst.Ren.post_compose_lift_k1 {r1 r2 : Ren} :
                                                  (r1 >> r2).lift = r1.lift >> r2.lift
                                                  @[simp]
                                                  theorem LeanSubst.Ren.post_compose_lift {k : Nat} {r1 r2 : Ren} :
                                                  (r1 >> r2).lift k = r1.lift k >> r2.lift k