Documentation

Atlas.ProbabilisticMethodsInCombinatorics.code.Chapter6

def LovaszLocalLemma.IsMulticolored (k : ) (c : Fin k) (T : Set ) :

The coloring $c : \mathbb{R} \to \text{Fin}\ k$ is multicolored on the set $T$ if every color $i \in \text{Fin}\ k$ is attained by some $x \in T$.

Instances For

    The translate of $S \subseteq \mathbb{R}$ by $t$, i.e. $S + t = \{s + t : s \in S\}$.

    Instances For
      def LovaszLocalLemma.goodColorings (k : ) (S : Finset ) (t : ) :
      Set (Fin k)

      The set of $k$-colorings of $\mathbb{R}$ that are multicolored on the translate $S + t$.

      Instances For
        theorem LovaszLocalLemma.isClopen_eval_eq {k : } (x : ) (i : Fin k) :
        IsClopen {c : Fin k | c x = i}

        The evaluation event $\{c : \mathbb{R} \to \text{Fin}\ k \mid c(x) = i\}$ is clopen in the product topology with discrete fibres.

        theorem LovaszLocalLemma.isClosed_goodColorings {k : } (_hk : 0 < k) (S : Finset ) (t : ) :

        For $k \ge 1$, the set of colorings that are multicolored on $S + t$ is closed in the product topology.

        theorem LovaszLocalLemma.lll_finite_coloring {m k : } (hk : 2 k) (hm : 1 m) (S : Finset ) (hS : S.card = m) (hcond : Real.exp 1 * ↑(m * (m - 1) + 1) * k * (1 - 1 / k) ^ m 1) (T : Finset ) :
        ∃ (c : Fin k), tT, IsMulticolored k c (translate (↑S) t)

        Finite-translate version (proved via the symmetric LLL): under the size condition $e \cdot (m(m-1) + 1) \cdot k \cdot (1 - 1/k)^m \le 1$, for any finite set of shifts $T$ there is a $k$-coloring of $\mathbb{R}$ that is multicolored on every translate $S + t$, $t \in T$.

        theorem LovaszLocalLemma.erdos_lovasz_multicolor {m k : } (hk : 2 k) (hm : 1 m) (S : Finset ) (hS : S.card = m) (hcond : Real.exp 1 * ↑(m * (m - 1) + 1) * k * (1 - 1 / k) ^ m 1) :
        ∃ (c : Fin k), ∀ (t : ), IsMulticolored k c (translate (↑S) t)

        Erdős–Lovász multicolor theorem: under the same size condition, by compactness one obtains a single coloring of $\mathbb{R}$ that is multicolored on every translate $S + t$ for $t \in \mathbb{R}$.

        def Beck.IsMonochromaticAP (c : Bool) (k : ) (a d : ) :

        The arithmetic progression $a, a+d, \dots, a+(k-1)d$ is monochromatic under the $\{0,1\}$-coloring $c$ of $\mathbb{Z}$ if all of its $k$ terms have the same color as $a$.

        Instances For
          theorem Beck.isOpen_monochromaticAP (k : ) (a d : ) :

          The set of colorings under which a fixed AP $(a, d, k)$ is monochromatic is open in the product topology with discrete fibres.

          theorem Beck.finite_consistency (ε : ) ( : 0 < ε) :
          ∃ (k₀ : ), ∀ (n : ) (constraints : Fin n × × ), (∀ (i : Fin n), k₀ (constraints i).1 0 < (constraints i).2.2 (constraints i).2.2 < 2 ^ ((1 - ε) * (constraints i).1))∃ (c : Bool), ∀ (i : Fin n), ¬IsMonochromaticAP c (constraints i).1 (constraints i).2.1 (constraints i).2.2

          Finite version of Beck's theorem on monochromatic APs: for any $\varepsilon > 0$ there is a threshold $k_0$ such that any finite list of AP constraints $(k, a, d)$ with $k \ge k_0$ and $0 < d < 2^{(1-\varepsilon) k}$ can be simultaneously broken by some $\{0,1\}$-coloring of $\mathbb{Z}$.

          theorem Beck.beck_coloring_ap (ε : ) ( : 0 < ε) :
          ∃ (k₀ : ) (c : Bool), ∀ (k : ), k₀ k∀ (a d : ), 0 < dd < 2 ^ ((1 - ε) * k) → ¬IsMonochromaticAP c k a d

          Beck's theorem (via compactness): for any $\varepsilon > 0$ there exist a threshold $k_0$ and a $\{0,1\}$-coloring $c$ of $\mathbb{Z}$ such that no arithmetic progression of length $k \ge k_0$ with common difference $0 < d < 2^{(1-\varepsilon) k}$ is monochromatic under $c$.