Documentation

LeanPool.ErdosTuzaValtr.Lib.List.Defs

LeanPool.ErdosTuzaValtr.Lib.List.Defs #

Imported Lean Pool material for LeanPool.ErdosTuzaValtr.Lib.List.Defs.

def List.In {α : Type u_1} (l : List α) (S : Finset α) :

Local notion for a list whose elements all lie in a finset.

Equations
Instances For
    def Finset.Mirror {α : Type u_1} [LinearOrder α] (S : Finset α) :

    The image of a finset under the order-dual embedding.

    Equations
    Instances For
      def Finset.ofMirror {α : Type u_1} [LinearOrder α] (S : Finset αᵒᵈ) :

      The image of a finset of order-dual elements back under ofDual.

      Equations
      Instances For
        def List.Mirror {α : Type u_1} (l : List α) :

        Flip a list of elements together with its order, landing in the order dual.

        Equations
        Instances For
          def List.ofMirror {α : Type u_1} (l : List αᵒᵈ) :
          List α

          Recover a list from its mirror in the order dual.

          Equations
          Instances For
            inductive List.Chain3 {α : Type u_1} (R : αααProp) :
            ααList αProp

            Chain3 R a b l means R holds for every three consecutive entries of a :: b :: l.

            • nil {α : Type u_1} {R : αααProp} {a b : α} : Chain3 R a b []
            • cons {α : Type u_1} {R : αααProp} {a b c : α} {l : List α} : R a b cChain3 R b c lChain3 R a b (c :: l)
            Instances For
              def List.Chain3' {α : Type u_1} (R : αααProp) :
              List αProp

              Chain3' R l means R holds for every three consecutive entries of l.

              Equations
              Instances For
                @[simp]
                theorem List.chain3_cons {α : Type u_1} {R : αααProp} {a b c : α} {l : List α} :
                Chain3 R a b (c :: l) R a b c Chain3 R b c l
                @[simp]
                theorem List.chain3_nil {α : Type u_1} {R : αααProp} {a b : α} :
                Chain3 R a b []
                @[implicit_reducible]
                instance List.decidableChain3 {α : Type u_1} {R : αααProp} [DecidableRel3 R] (a b : α) (l : List α) :
                Decidable (Chain3 R a b l)
                Equations
                • One or more equations did not get rendered due to their size.
                @[implicit_reducible]
                instance List.decidableChain3' {α : Type u_1} {R : αααProp} [DecidableRel3 R] (l : List α) :
                Equations