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.DoesNotWork.SymList (α : Type u_1) :
      Type u_1
      Equations
      Instances For
        def Chapter3.DoesNotWork.fromSL {α : Type} (sl : SymList α) :
        List α
        Equations
        Instances For
          def Chapter3.DoesNotWork.snocSL {α : Type} :
          αSymList αSymList α
          Equations
          Instances For
            def Chapter3.DoesNotWork.consSL {α : Type} :
            αSymList αSymList α
            Equations
            Instances For
              structure Chapter3.SymList (a : Type) :
              Instances For
                @[implicit_reducible]
                instance Chapter3.instReprSymList {a✝ : Type} [Repr a✝] :
                Repr (SymList a✝)
                Equations
                def Chapter3.instReprSymList.repr {a✝ : Type} [Repr a✝] :
                SymList a✝Std.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.getLast {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
                                        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.fromSL_snoc {α : Type} (z : α) (sl : SymList α) :
                                                theorem Chapter3.fromSL_foldl_snocSL {α : Type} (zs : List α) (sl : SymList α) :
                                                theorem Chapter3.inits_eq {a : Type} (xs : List a) :
                                                def Chapter3.RAList.fetch {a : Type} :
                                                List aOption a
                                                Equations
                                                Instances For
                                                  inductive Chapter3.RAList.Tree (α : Type) :
                                                  Instances For
                                                    def Chapter3.RAList.instReprTree.repr {α✝ : Type} [Repr α✝] :
                                                    Tree α✝Std.Format
                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For
                                                      @[implicit_reducible]
                                                      instance Chapter3.RAList.instReprTree {α✝ : Type} [Repr α✝] :
                                                      Repr (Tree α✝)
                                                      Equations
                                                      Equations
                                                      Instances For
                                                        def Chapter3.RAList.Tree.mk {a : Type} (t₁ t₂ : Tree a) :
                                                        Equations
                                                        Instances For
                                                          Instances For
                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              @[implicit_reducible]
                                                              instance Chapter3.RAList.instReprDigit {a✝ : Type} [Repr a✝] :
                                                              Repr (Digit a✝)
                                                              Equations
                                                              @[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
                                                                  class Chapter3.Ix (α : Type) extends Ord α :
                                                                  Instances
                                                                    @[implicit_reducible]
                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    @[implicit_reducible]
                                                                    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 : ) (xs : List ) :
                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For