Documentation

LeanPool.ErdosTuzaValtr.Etv.AlphaBeta

LeanPool.ErdosTuzaValtr.Etv.AlphaBeta #

Imported Lean Pool material for LeanPool.ErdosTuzaValtr.Etv.AlphaBeta.

def Config.Label.IsAlphaCup {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) (a : α) (c : List α) :

A candidate alpha-cup ending at a: in S, strictly sorted, with non-slope edges.

Equations
Instances For
    theorem Config.Label.alphaCup_is_cup {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) (c : List α) (c_in_S : c.In S) (c_sorted : List.Pairwise (fun (x1 x2 : α) => x1 < x2) c) (c_chain : List.IsChain l.Slope c) :
    C.Cup c
    noncomputable def Config.Label.alphaCups' {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) (a : α) :
    List (List α)

    All alpha-cups ending at a, drawn from sublists of the sorted S.

    Equations
    Instances For
      noncomputable def Config.Label.alphaCup' {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) (a : α) :

      A longest alpha-cup ending at a, if one exists.

      Equations
      Instances For
        theorem Config.Label.alphaCup'_isSome {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a : α} (ha : a S) :
        noncomputable def Config.Label.alpha {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) (a : α) :

        One less than the length of a longest alpha-cup ending at a (zero off S).

        Equations
        Instances For
          noncomputable def Config.Label.alphaCup {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a : α} (ha : a S) :
          (c : List α) ×' c.length = l.alpha a + 1 c.In S List.Pairwise (fun (x1 x2 : α) => x1 < x2) c List.IsChain l.Slope c a c.getLast?

          A witnessing alpha-cup of length alpha a + 1 ending at a.

          Equations
          Instances For
            theorem Config.Label.cup_length_le_alpha {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a : α} {c : List α} (c_in_S : c.In S) (c_sorted : List.Pairwise (fun (x1 x2 : α) => x1 < x2) c) (c_chain : List.IsChain l.Slope c) (c_last : a c.getLast?) :
            c.length l.alpha a + 1
            theorem Config.Label.add_alpha {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a : α} (ha : a S) {n : } {c : List α} (c_in_S : c.In S) (c_cup : C.NCup n c) (c_head : a c.head?) :
            C.HasNCup (n + l.alpha a) S
            def Config.IsBetaCup {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) (a : α) (c : List α) :

            A candidate beta-cup ending at a: a cup in S ending at a.

            Equations
            Instances For
              @[implicit_reducible]
              noncomputable instance Config.decidableIsBetaCup {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) (a : α) (c : List α) :
              Equations
              noncomputable def Config.betaCups' {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) (a : α) :
              List (List α)

              All beta-cups ending at a, drawn from sublists of the sorted S.

              Equations
              Instances For
                noncomputable def Config.betaCup' {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) (a : α) :

                A longest beta-cup ending at a, if one exists.

                Equations
                Instances For
                  theorem Config.betaCup'_isSome {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) {a : α} (ha : a S) :
                  noncomputable def Config.beta {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) (a : α) :

                  One less than the length of a longest beta-cup ending at a (zero off S).

                  Equations
                  Instances For
                    noncomputable def Config.betaCup {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) {a : α} (ha : a S) :
                    (c : List α) ×' c.In S C.NCup (C.beta S a + 1) c a c.getLast?

                    A witnessing beta-cup of length beta a + 1 ending at a.

                    Equations
                    Instances For
                      theorem Config.has_beta_cup {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) {a : α} (ha : a S) :
                      C.HasNCup (C.beta S a + 1) S
                      theorem Config.cup_length_le_beta {α : Type u_1} [LinearOrder α] (C : Config α) (S : Finset α) {a : α} {c : List α} (c_in_S : c.In S) (c_cup : C.Cup c) (c_last : a c.getLast?) :
                      c.length C.beta S a + 1
                      theorem Config.Label.alpha_le_beta {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a : α} (ha : a S) :
                      l.alpha a C.beta S a
                      theorem slope_ff_inc_alpha {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} {l : C.Label S} {a b : α} (sab : ¬l.Slope a b) (ha : a S) (hb : b S) (a_le_b : a < b) :
                      l.alpha a < l.alpha b
                      theorem slope_tt_inc_beta {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} {l : C.Label S} {a b : α} (sab : l.Slope a b) (ha : a S) (hb : b S) (a_le_b : a < b) :
                      C.beta S a < C.beta S b
                      theorem Config.alpha_eq_beta_inc {α : Type u_1} [LinearOrder α] (C : Config α) {S : Finset α} {l : C.Label S} {a b : α} (ha : a S) (hb : b S) (h : l.alpha a = l.alpha b) :
                      a < b C.beta S a < C.beta S b
                      theorem Config.Label.beta_eq_alpha_inc {α : Type u_1} [LinearOrder α] {C : Config α} {S : Finset α} (l : C.Label S) {a b : α} (ha : a S) (hb : b S) (h : C.beta S a = C.beta S b) :
                      a < b l.alpha a < l.alpha b