Documentation

Fad.Chapter4

def Chapter4.D1.search₀ (f : NatNat) (t : Nat) :
Equations
Instances For
    Equations
    Instances For
      def Chapter4.D1.search₂ (f : NatNat) (t : Nat) :
      Equations
      Instances For
        @[irreducible]
        def Chapter4.D1.search₂.seek (f : NatNat) (t a b : Nat) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Chapter4.D1.bound (f : NatNat) (t : Nat) :
          Equations
          Instances For
            def Chapter4.D1.bound.b (f : NatNat) (t : Nat) :
            Equations
            Instances For
              def Chapter4.D1.bound.done (f : NatNat) (t b : Nat) :
              Equations
              Instances For
                @[irreducible]
                def Chapter4.D1.smallest (f : NatNat) (t : Nat) (p : Nat × Nat) :
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Chapter4.D2.search₀ (f : Nat × NatNat) (t : Nat) :
                  Equations
                  Instances For
                    @[irreducible]
                    def Chapter4.D2.search₁.searchIn (f : Nat × NatNat) (t x y : Nat) (sofar : List (Nat × Nat)) :
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      partial def Chapter4.D2.helper (t : Nat) (f : Nat × NatNat) :
                      Nat × NatNat × NatList (Nat × Nat)
                      def Chapter4.D2.search₂ (f : Nat × NatNat) (t : Nat) :
                      Equations
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          def Chapter4.D2.myhead₁ {a : Type u_1} (xs : List a) (h : xs.length 0) :
                          a
                          Equations
                          Instances For
                            def Chapter4.D2.myhead₂ {a : Type u_1} (xs : List a) (h : xs.length 0) :
                            a
                            Equations
                            Instances For
                              inductive Chapter4.BST1.Tree (α : Type) :
                              Instances For
                                Equations
                                Instances For
                                  Equations
                                  Instances For
                                    def Chapter4.BST1.search (f : NatNat) :
                                    Equations
                                    Instances For
                                      Equations
                                      Instances For
                                        @[irreducible]
                                        def Chapter4.BST1.mkTree {α : Type} [LT α] [DecidableRel fun (x1 x2 : α) => x1 < x2] :
                                        List αTree α
                                        Equations
                                        Instances For
                                          inductive Chapter4.BST2.Tree (a : Type) :
                                          Instances For
                                            Equations
                                            Instances For
                                              Equations
                                              Instances For
                                                Equations
                                                Instances For
                                                  def Chapter4.BST2.node {a : Type} (l : Tree a) (x : a) (r : Tree a) :
                                                  Equations
                                                  Instances For
                                                    def Chapter4.BST2.node.h {a : Type} (l r : Tree a) :
                                                    Equations
                                                    Instances For
                                                      def Chapter4.BST2.balance {a : Type} (t1 : Tree a) (x : a) (t2 : Tree a) :
                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        Equations
                                                        Instances For
                                                          Equations
                                                          Instances For
                                                            def Chapter4.BST2.insert {a : Type} [LT a] [DecidableRel fun (x1 x2 : a) => x1 < x2] (x : a) :
                                                            Tree aTree a
                                                            Equations
                                                            Instances For
                                                              def Chapter4.BST2.mkTree {a : Type} [LT a] [DecidableRel fun (x1 x2 : a) => x1 < x2] (xs : List a) :
                                                              Equations
                                                              Instances For
                                                                def Chapter4.BST2.balanceR {a : Type} (t₁ : Tree a) (x : a) (t₂ : Tree a) :
                                                                Equations
                                                                Instances For
                                                                  def Chapter4.BST2.balanceL {a : Type} (t₁ : Tree a) (x : a) (t₂ : Tree a) :
                                                                  Equations
                                                                  Instances For
                                                                    def Chapter4.BST2.gbalance {a : Type} (t₁ : Tree a) (x : a) (t₂ : Tree a) :
                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For
                                                                      def Chapter4.BST2.insert₁ {a : Type} [LT a] [DecidableRel fun (x1 x2 : a) => x1 < x2] (x : a) :
                                                                      Tree aTree a
                                                                      Equations
                                                                      Instances For
                                                                        def Chapter4.BST2.insert₂ {a b : Type} [Ord b] (key : ab) (x : a) :
                                                                        Tree aTree a
                                                                        Equations
                                                                        Instances For
                                                                          Equations
                                                                          def Chapter4.BST2.sort {a : Type} [LT a] [DecidableRel fun (x1 x2 : a) => x1 < x2] :
                                                                          List aList a
                                                                          Equations
                                                                          Instances For
                                                                            def Chapter4.BST2.search {a b : Type} [Ord b] (key : ab) (k : b) :
                                                                            Tree aOption a
                                                                            Equations
                                                                            Instances For
                                                                              @[reducible, inline]
                                                                              Equations
                                                                              Instances For
                                                                                inductive Chapter4.DSet.Piece (α : Type) :
                                                                                Instances For
                                                                                  @[simp]
                                                                                  theorem Chapter4.DSet.flatten_left_lt {α : Type} {t : BST2.Tree α} {h : Nat} {l r : BST2.Tree α} {x : α} (ht : t = BST2.Tree.node h l x r) :
                                                                                  @[irreducible]
                                                                                  def Chapter4.DSet.deleteMin {α : Type} (t : Set α) (ht : t BST2.Tree.null) :
                                                                                  α × Set α
                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For
                                                                                    def Chapter4.DSet.delete {a : Type} [LT a] [DecidableRel fun (x1 x2 : a) => x1 < x2] [DecidableEq a] :
                                                                                    aSet aSet a
                                                                                    Equations
                                                                                    Instances For
                                                                                      def Chapter4.DSet.pieces {α : Type} [LT α] [DecidableRel fun (x1 x2 : α) => x1 < x2] :
                                                                                      αSet αList (Piece α)
                                                                                      Equations
                                                                                      Instances For
                                                                                        def Chapter4.DSet.pieces.addPiece {α : Type} [LT α] [DecidableRel fun (x1 x2 : α) => x1 < x2] (x : α) :
                                                                                        Set αList (Piece α)List (Piece α)
                                                                                        Equations
                                                                                        Instances For
                                                                                          def Chapter4.DSet.split {α : Type} [LT α] [DecidableRel fun (x1 x2 : α) => x1 < x2] :
                                                                                          αSet αSet α × Set α
                                                                                          Equations
                                                                                          Instances For