Documentation

Atlas.ProbabilisticMethodsInCombinatorics.code.Chapter4.CliqueNumber

noncomputable def CliqueNumber.expectedKCliques (n k : ) :

Expected number of $k$-cliques in the random graph $G(n, 1/2)$, equal to $\binom{n}{k} \cdot 2^{-\binom{k}{2}}$.

Instances For

    Rewrites the expected number of $k$-cliques as the quotient $\binom{n}{k} / 2^{\binom{k}{2}}$.

    noncomputable def CliqueNumber.probCliqueGe (n k : ) :

    Probability under the uniform measure on simple graphs on $\{1,\dots,n\}$ (equivalently $G(n, 1/2)$) that the graph contains a clique of size at least $k$.

    Instances For

      The probability probCliqueGe n k is nonnegative.

      theorem CliqueNumber.ba_sup_inf_right {α : Type u_1} [BooleanAlgebra α] {a H K : α} (hH : H a) (hK : K a) :
      (HK)a = H

      In a Boolean algebra, if $H \le a$ and $K \le a^c$, then $(H \sqcup K) \sqcap a = H$.

      theorem CliqueNumber.ba_sup_inf_compl {α : Type u_1} [BooleanAlgebra α] {a H K : α} (hH : H a) (hK : K a) :
      (HK)a = K

      In a Boolean algebra, if $H \le a$ and $K \le a^c$, then $(H \sqcup K) \sqcap a^c = K$.

      noncomputable def CliqueNumber.boolAlgDecomp {α : Type u_1} [BooleanAlgebra α] (a : α) :
      α (Set.Iic a) × (Set.Iic a)

      Equivalence decomposing a Boolean algebra $\alpha$ as the product $[\bot, a] \times [\bot, a^c]$ via the map $x \mapsto (x \sqcap a, x \sqcap a^c)$.

      Instances For
        noncomputable def CliqueNumber.iciEquivIicCompl {α : Type u_1} [BooleanAlgebra α] (a : α) :
        (Set.Ici a) (Set.Iic a)

        Equivalence between the upper set $[a, \top]$ and the lower set $[\bot, a^c]$ in a Boolean algebra, given by complementation.

        Instances For

          In a finite Boolean algebra, the cardinality factors as $|\alpha| = |[\bot, a]| \cdot |[a, \top]|$.

          noncomputable def CliqueNumber.iicEquivBoolFn {V : Type u_1} [Fintype V] [DecidableEq V] (a : SimpleGraph V) :
          (Set.Iic a) (a.edgeFinsetBool)

          Equivalence between subgraphs of a simple graph $a$ on $V$ and Boolean functions on its edge set: a subgraph corresponds to the indicator on whether each edge is kept.

          Instances For

            The number of subgraphs of a simple graph $a$ equals $2^{|E(a)|}$, the number of subsets of its edge set.

            Markov's (first moment) inequality for the clique number in $G(n, 1/2)$: $\Pr[\omega(G) \ge k] \le \mathbb{E}[X_k] = \binom{n}{k} 2^{-\binom{k}{2}}$, where $X_k$ counts the $k$-cliques.

            First moment direction of the two-point concentration (cf. Theorem 4.4.3): if the expected number of $k(n)$-cliques tends to $0$, then with high probability $G(n, 1/2)$ has no clique of size $k(n)$.

            Second moment direction (Theorem 4.4.2): if the expected number of $k(n)$-cliques tends to infinity, then $G(n, 1/2)$ contains a $k(n)$-clique with probability tending to $1$.

            theorem CliqueNumber.clique_number_two_point_concentration (k₀ : ) (hf_low : Filter.Tendsto (fun (n : ) => expectedKCliques n (k₀ n - 1)) Filter.atTop Filter.atTop) (hf_high : Filter.Tendsto (fun (n : ) => expectedKCliques n (k₀ n + 1)) Filter.atTop (nhds 0)) :
            Filter.Tendsto (fun (n : ) => probCliqueGe n (k₀ n - 1) - probCliqueGe n (k₀ n + 1)) Filter.atTop (nhds 1)

            Two-point concentration of the clique number (Theorem 4.4.3): if at $k_0(n) - 1$ the expected number of cliques diverges and at $k_0(n) + 1$ it tends to $0$, then with high probability the clique number of $G(n, 1/2)$ is exactly $k_0(n)$.