Documentation

MulticolorRamsey.KeyLemma

@[reducible, inline]
abbrev N {V : Type} {G : SimpleGraph V} {C : Type u_1} [DecidableRel G.Adj] [DecidableEq C] [Fintype V] (χ : G.EdgeLabelling C) (i : C) (x : V) :
Equations
Instances For
    def mymin {V W : Type} [LinearOrder W] (f : VW) (X : Finset V) [nen : Nonempty { x : V // x X }] :
    W
    Equations
    Instances For
      theorem min_const {V W : Type} [LinearOrder W] {c : W} {f : VW} {X : Finset V} (cn : xX, f x = c) [nen : Nonempty { x : V // x X }] :
      c = mymin f X
      theorem min_le_ℕ {V : Type} {f : V} {g : V} {X : Finset V} [nen : Nonempty { x : V // x X }] (le : xX, f x (g x)) :
      mymin f X (mymin g X)
      theorem min_le_mem {V W : Type} [LinearOrder W] {f : VW} {X : Finset V} [Nonempty { x : V // x X }] (v : { x : V // x X }) :
      mymin f X f v
      def lift {V : Type} {X : Finset V} (X' : Finset { x : V // x X }) :
      Equations
      Instances For
        instance lift.Nonempty {V : Type} {X : Finset V} (X' : Finset { x : V // x X }) [nen : _root_.Nonempty { x : { x : V // x X } // x X' }] :
        theorem lift_nonempty {V : Type} {X : Finset V} (X' : Finset { x : V // x X }) (nen : X'.Nonempty) :
        theorem lift_subset {V : Type} {X : Finset V} (X' : Finset { x : V // x X }) :
        lift X' X
        theorem lift_card {V : Type} {X : Finset V} (X' : Finset { x : V // x X }) :
        X'.card = (lift X').card
        theorem tr {V : Type} {X : Finset V} {X' : Finset { x : V // x X }} {p : VProp} (e : aX', p a) (x : V) :
        x lift X'p x
        def ppY {V : Type} {r : } [DecidableEq V] [Fintype V] (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) (X : Finset V) (Y : Fin rFinset V) (i : Fin r) :
        Equations
        Instances For
          noncomputable def p'p {V : Type} {r : } [DecidableEq V] [Fintype V] (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) (X : Finset V) (Y : Fin rFinset V) (i : Fin r) :
          Equations
          Instances For
            structure Saga {V : Type} {r : } (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) :
            Instances For
              @[reducible, inline]
              abbrev Saga.pY {V : Type} {r : } [DecidableEq V] [Fintype V] {χ : SimpleGraph.TopEdgeLabelling V (Fin r)} (ki : Saga χ) (i : Fin r) :
              Equations
              Instances For
                @[reducible, inline]
                noncomputable abbrev Saga.p {V : Type} {r : } [DecidableEq V] [Fintype V] {χ : SimpleGraph.TopEdgeLabelling V (Fin r)} (ki : Saga χ) (i : Fin r) :
                Equations
                Instances For
                  theorem pk_le_one {V : Type} {r : } [DecidableEq V] [Fintype V] {χ : SimpleGraph.TopEdgeLabelling V (Fin r)} (ki : Saga χ) (i : Fin r) :
                  ki.p i 1
                  theorem p_monoX {V : Type} {r : } [DecidableEq V] [Fintype V] (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) {X X' : Finset V} (xsub : X' X) (h : X'.Nonempty) (Y : Fin rFinset V) (i : Fin r) :
                  p'p χ X Y i p'p χ X' Y i
                  theorem p_monoY {V : Type} {r : } [DecidableEq V] [Fintype V] (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) {X : Finset V} (Y Y' : Fin rFinset V) (h : ∀ (i : Fin r), Y' i Y i) (i : Fin r) :
                  p'p χ X Y i p'p χ X Y' i
                  theorem pk_le_mem {V : Type} {r : } [DecidableEq V] [Fintype V] {χ : SimpleGraph.TopEdgeLabelling V (Fin r)} {x : V} {ki : Saga χ} (i : Fin r) (xin : x ki.X) :
                  ki.pY i (N χ i x ki.Y i).card
                  theorem nonempty_of_ppos {V : Type} {r : } [DecidableEq V] [Fintype V] {χ : SimpleGraph.TopEdgeLabelling V (Fin r)} {ki : Saga χ} (ppos : ∀ (i : Fin r), 0 < ki.pY i) :
                  Nonempty { x : V // x ki.X }
                  theorem key {V : Type} {r : } [DecidableEq V] [Fintype V] [Nonempty (Fin r)] (χ : SimpleGraph.TopEdgeLabelling V (Fin r)) (ki : Saga χ) (ppos : ∀ (i : Fin r), 0 < ki.pY i) (α : Fin r) (αpos : ∀ (i : Fin r), 0 < α i) :
                  have β := 3 ^ (-4 * r); have C := 4 * r * r; ∃ (l : Fin r) (Λ : ), -1 Λ xki.X, ∃ (ki' : Saga χ), ki'.X.Nonempty ki'.X ki.X (∀ (i : Fin r), ki'.Y i N χ i x ki.Y i) β * Real.exp (-C * (Λ + 1)) * ki.X.card ki'.X.card (∀ (i : Fin r), (ki'.Y i).card = ki.p i * (ki.Y i).card) ki.p l + Λ * α l ki'.p l ∀ (i : Fin r), i lki.p i - α i ki'.p i