Documentation

Fad.Chapter8

inductive Chapter8.S1.Tree (α : Type) :
Instances For
    def Chapter8.S1.instReprTree.repr {α✝ : Type} [Repr α✝] :
    Tree α✝Std.Format
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Chapter8.S1.Tree.size {α : Type} :
      Tree α
      Equations
      Instances For
        Equations
        Instances For
          def Chapter8.S1.Tree.fringe {α : Type} :
          Tree αList α
          Equations
          Instances For
            @[irreducible]
            def Chapter8.S1.mkTree {a : Type} [Inhabited a] (as : List a) :
            Equations
            Instances For
              Equations
              Instances For
                def Chapter8.S1.foldrn {α β : Type} [Inhabited β] (f : αββ) (g : αβ) :
                List αβ
                Equations
                Instances For
                  @[reducible, inline]
                  Equations
                  Instances For
                    def Chapter8.S1.extend₁ {a : Type} [Inhabited a] (x : a) (ts : Forest a) :
                    Equations
                    Instances For
                      def Chapter8.S1.scanl1 {a : Type u_1} (f : aaa) :
                      List aList a
                      Equations
                      Instances For
                        @[reducible, inline]
                        Equations
                        Instances For
                          Equations
                          Instances For
                            Equations
                            Instances For
                              @[irreducible]
                              Equations
                              Instances For
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  @[reducible, inline]
                                  Equations
                                  Instances For
                                    @[reducible, inline]
                                    Equations
                                    Instances For
                                      @[reducible, inline]
                                      Equations
                                      Instances For
                                        Equations
                                        Instances For
                                          def Chapter8.S2.pairs {α : Type} (xs : List α) :
                                          List ((α × α) × List α)
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          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
                                                  @[reducible, inline]
                                                  abbrev Chapter8.S2.Queue (α : Type) :
                                                  Equations
                                                  Instances For
                                                    @[reducible, inline]
                                                    abbrev Chapter8.S2.Stack (α : Type) :
                                                    Equations
                                                    Instances For
                                                      @[reducible, inline]
                                                      abbrev Chapter8.S2.SQ (α : Type) :
                                                      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
                                                              @[reducible, inline]
                                                              Equations
                                                              Instances For
                                                                inductive Chapter8.PriorityQueue.PQ (α β : Type) :
                                                                • null {α β : Type} : PQ α β
                                                                • fork {α β : Type} : RankαβPQ α βPQ α βPQ α β
                                                                Instances For
                                                                  def Chapter8.PriorityQueue.instReprPQ.repr {α✝ β✝ : Type} [Repr α✝] [Repr β✝] :
                                                                  PQ α✝ β✝Std.Format
                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For
                                                                    @[irreducible]
                                                                    def Chapter8.PriorityQueue.mergeOnSnd {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] :
                                                                    List (α × β)List (α × β)List (α × β)
                                                                    Equations
                                                                    Instances For
                                                                      def Chapter8.PriorityQueue.toListQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] :
                                                                      PQ α βList (α × β)
                                                                      Equations
                                                                      Instances For
                                                                        def Chapter8.PriorityQueue.fork {α β : Type} (x : α) (p : β) (t₁ t₂ : PQ α β) :
                                                                        PQ α β
                                                                        Equations
                                                                        • One or more equations did not get rendered due to their size.
                                                                        Instances For
                                                                          @[irreducible]
                                                                          def Chapter8.PriorityQueue.combineQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] :
                                                                          PQ α βPQ α βPQ α β
                                                                          Equations
                                                                          Instances For
                                                                            def Chapter8.PriorityQueue.deleteQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] (q : PQ α β) (h : q PQ.null) :
                                                                            (α × β) × PQ α β
                                                                            Equations
                                                                            Instances For
                                                                              def Chapter8.PriorityQueue.addListQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] (xs : List (α × β)) (q : PQ α β) :
                                                                              PQ α β
                                                                              Equations
                                                                              Instances For
                                                                                def Chapter8.PriorityQueue.makeQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] (xs : List (α × β)) :
                                                                                PQ α β
                                                                                Equations
                                                                                Instances For
                                                                                  def Chapter8.PriorityQueue.singleQ {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] (q : PQ α β) :
                                                                                  Equations
                                                                                  Instances For
                                                                                    def Chapter8.PriorityQueue.extract {α β : Type} [LE β] [DecidableRel fun (x1 x2 : β) => x1 x2] (q : PQ α β) :
                                                                                    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