Documentation

LeanPool.ErdosTuzaValtr.Config.Defs

LeanPool.ErdosTuzaValtr.Config.Defs #

Imported Lean Pool material for LeanPool.ErdosTuzaValtr.Config.Defs.

structure Config (α : Type u_1) [LinearOrder α] :
Type u_1

A configuration: a decidable ternary "cup" relation on a linearly ordered type.

  • Cup3 : αααProp

    The ternary cup relation of the configuration.

  • DecidableCup3 : DecidableRel3 self.Cup3

    The cup relation is decidable.

Instances For
    def Config.Cap3 {α : Type u_1} [ord : LinearOrder α] (C : Config α) (a b c : α) :

    The 3-cap relation is the negation of the 3-cup relation.

    Equations
    Instances For
      @[reducible]
      instance Config.DecidableCap3 {α : Type u_1} [ord : LinearOrder α] (C : Config α) :

      The 3-cap relation is decidable.

      Equations
      def Config.Cap {α : Type u_1} [ord : LinearOrder α] (C : Config α) (l : List α) :

      A cap is a strictly increasing list whose consecutive triples are 3-caps.

      Equations
      Instances For
        def Config.Cup {α : Type u_1} [ord : LinearOrder α] (C : Config α) (l : List α) :

        A cup is a strictly increasing list whose consecutive triples are 3-cups.

        Equations
        Instances For
          def Config.Gon {α : Type u_1} [ord : LinearOrder α] (C : Config α) (l1 l2 : List α) :

          A gon is a cap and a cup of length at least 2 sharing their first and last endpoints.

          Equations
          Instances For
            @[implicit_reducible]
            instance Config.DecidableCup {α : Type u_1} [ord : LinearOrder α] (C : Config α) {l : List α} :
            Equations
            def Config.NCap {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (l : List α) :

            An n-cap is a cap of length n.

            Equations
            Instances For
              def Config.NCup {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (l : List α) :

              An n-cup is a cup of length n.

              Equations
              Instances For
                def Config.NGon {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (l1 l2 : List α) :

                An n-gon is a gon whose cap and cup lengths sum to n + 2.

                Equations
                Instances For
                  def Config.HasNCap {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (S : Finset α) :

                  A finset has an n-cap if some n-cap lies inside it.

                  Equations
                  Instances For
                    def Config.HasNCup {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (S : Finset α) :

                    A finset has an n-cup if some n-cup lies inside it.

                    Equations
                    Instances For
                      def Config.HasNGon {α : Type u_1} [ord : LinearOrder α] (C : Config α) (n : ) (S : Finset α) :

                      A finset has an n-gon if some n-gon lies inside it.

                      Equations
                      Instances For