Documentation

Fad.Chapter3

def List.single {α : Type u_1} (xs : List α) :
Equations
Instances For
    def Chapter3.snoc {a : Type} (x : a) (xs : List a) :
    Equations
    Instances For
      @[reducible, inline]
      abbrev Chapter3.SL1.SymList (α : Type u) :
      Equations
      Instances For
        Equations
        Instances For
          def Chapter3.SL1.fromSL {α : Type} (sl : SymList α) :
          List α
          Equations
          Instances For
            def Chapter3.SL1.snocSL {α : Type} :
            αSymList αSymList α
            Equations
            Instances For
              def Chapter3.SL1.consSL {α : Type} :
              αSymList αSymList α
              Equations
              Instances For
                structure Chapter3.SymList (a : Type) :
                Instances For
                  def Chapter3.instReprSymList.repr {a✝ : Type} [Repr a✝] :
                  SymList a✝NatStd.Format
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    Equations
                    Instances For
                      Equations
                      Instances For
                        def Chapter3.SymList.consSL {a : Type} :
                        aSymList aSymList a
                        Equations
                        Instances For
                          def Chapter3.SymList.snocSL {a : Type} :
                          aSymList aSymList a
                          Equations
                          Instances For
                            Equations
                            Instances For
                              def Chapter3.SymList.lastSL {a : Type} (sl : SymList a) (ne : ¬sl.isEmpty = true) :
                              a
                              Equations
                              Instances For
                                Equations
                                Instances For
                                  def List.toSL {a : Type} :
                                  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
                                            @[irreducible]
                                            def Chapter3.SymList.dropWhileSL {a : Type} (p : aBool) (sl : SymList a) :
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              theorem Chapter3.tails_append_singleton {α : Type u_1} (xs : List α) (x : α) :
                                              (xs ++ [x]).tails = List.map (fun (ys : List α) => ys ++ [x]) xs.tails ++ [[]]
                                              theorem Chapter3.map_reverse_tails_snoc {α : Type} (x : α) (xs : List α) :
                                              List.map List.reverse (snoc x xs).tails = List.map (fun (ys : List α) => x :: ys.reverse) xs.tails ++ [[]]
                                              theorem Chapter3.map_reverse {α : Type u_1} {β : Type u_2} (f : αβ) (xs : List α) :
                                              theorem Chapter3.scanl_cons {α : Type u_1} {β : Type u_2} (f : βαβ) (b : β) (a : α) (as : List α) :
                                              List.scanl f b (a :: as) = b :: List.scanl f (f b a) as
                                              theorem Chapter3.fromSL_snoc {α : Type} (z : α) (sl : SymList α) :
                                              theorem Chapter3.inits_eq {a : Type} (xs : List a) :
                                              def Chapter3.fetch {a : Type} :
                                              NatList aOption a
                                              Equations
                                              Instances For
                                                inductive Chapter3.Tree (α : Type) :
                                                Instances For
                                                  def Chapter3.instReprTree.repr {α✝ : Type} [Repr α✝] :
                                                  Tree α✝NatStd.Format
                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    instance Chapter3.instReprTree {α✝ : Type} [Repr α✝] :
                                                    Repr (Tree α✝)
                                                    Equations
                                                    def Chapter3.Tree.size {a : Type} :
                                                    Tree aNat
                                                    Equations
                                                    Instances For
                                                      def Chapter3.Tree.height {α : Type} :
                                                      Tree αNat
                                                      Equations
                                                      Instances For
                                                        def Chapter3.Tree.mk {a : Type} (t₁ t₂ : Tree a) :
                                                        Equations
                                                        Instances For
                                                          inductive Chapter3.Digit (a : Type) :
                                                          Instances For
                                                            def Chapter3.instReprDigit.repr {a✝ : Type} [Repr a✝] :
                                                            Digit a✝NatStd.Format
                                                            Equations
                                                            Instances For
                                                              @[reducible, inline]
                                                              abbrev Chapter3.RAList (a : Type) :
                                                              Equations
                                                              Instances For
                                                                def Chapter3.concatMap {a : Type u_1} {b : Type} (f : aList b) :
                                                                List aList b
                                                                Equations
                                                                Instances For
                                                                  def Chapter3.fetchT {a : Type} [ToString a] (n : Nat) (t : Tree a) :
                                                                  Equations
                                                                  Instances For
                                                                    Equations
                                                                    Instances For
                                                                      def Chapter3.consRA {a : Type} (x : a) (xs : RAList a) :
                                                                      Equations
                                                                      Instances For
                                                                        class Chapter3.Ix (α : Type) extends Ord α :
                                                                        Instances
                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          def Chapter3.listArray {i e : Type} [Ix i] (bnds : i × i) (xs : List e) :
                                                                          Equations
                                                                          Instances For
                                                                            def Chapter3.accumArray₀ {i : Type} {e : Type u_1} {v : Type u_2} [Ix i] [BEq i] (fcmb : eve) (init : e) (bounds : i × i) (pairs : List (i × v)) :
                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For
                                                                              def Chapter3.accumArray {i e v : Type} [Ix i] [BEq i] (cmb : eve) (init : e) (bounds : i × i) (as : List (i × v)) :
                                                                              Equations
                                                                              • One or more equations did not get rendered due to their size.
                                                                              Instances For
                                                                                def Chapter3.assocs {i e : Type} [Ix i] [BEq i] (bounds : i × i) (default : e) (arr : Lean.AssocList i e) :
                                                                                List (i × e)
                                                                                Equations
                                                                                Instances For
                                                                                  def Chapter3.elems {i e : Type} [Ix i] [BEq i] (bnds : i × i) (default : e) (arr : Lean.AssocList i e) :
                                                                                  Equations
                                                                                  Instances For
                                                                                    def Chapter3.indices {i e : Type} [Ix i] [BEq i] (bnds : i × i) (default : e) (arr : Lean.AssocList i e) :
                                                                                    Equations
                                                                                    Instances For
                                                                                      def Chapter3.sort (m : Nat) (xs : List Nat) :
                                                                                      Equations
                                                                                      • One or more equations did not get rendered due to their size.
                                                                                      Instances For