Documentation

CslibFrontier.Foundations.Probability.Combinatorics.BinomialRandomGraph.EdgeConcentration

Edge concentration and non-neighborhood bounds in binomial random graphs #

In Mathlib's binomial random graph G(V, p) (SimpleGraph.binomialRandom V p), the edges on any finite set S : Finset (Sym2 V) of non-diagonal pairs are mutually independent Bernoulli(p) trials (SimpleGraph.binomialRandom_real_edgePattern_of_injective). Transporting the multiplicative Chernoff bounds of Cslib.Probability.PMF along this exact product law yields:

Main results #

References #

Bridging G(V, p) edge indicators to Cslib.Probability.PMF.pi #

Multiplicative Chernoff bounds for edge counts #

theorem SimpleGraph.binomialRandom_real_edgeCount_ge_one_add_mul {V : Type u_1} [Finite V] (p : ↑unitInterval) (S : Finset (Sym2 V)) (hS : ∀ e ∈ S, ¬e.IsDiag) {μ δ : ℝ} (hμ : ↑S.card * ↑p ≤ μ) (hδ : 0 ≤ δ) :
(binomialRandom V p).real {G : SimpleGraph V | (1 + δ) * μ ≤ ↑(↑S ∩ G.edgeSet).ncard} ≤ Real.exp (-(δ ^ 2 * μ / (2 + δ)))

Multiplicative Chernoff upper tail for edge counts in G(V, p) ([MU17], Section 4.2): for any finite set S of non-diagonal pairs whose expected edge count #S * p is at most μ, and any δ ≥ 0, the probability that G(V, p) has at least (1 + δ) * μ edges in S is at most exp (-(δ ^ 2 * μ / (2 + δ))).

theorem SimpleGraph.binomialRandom_real_edgeCount_ge_one_add_mul_of_le_one {V : Type u_1} [Finite V] (p : ↑unitInterval) (S : Finset (Sym2 V)) (hS : ∀ e ∈ S, ¬e.IsDiag) {μ δ : ℝ} (hμ : ↑S.card * ↑p ≤ μ) (hδ : 0 ≤ δ) (hδ₁ : δ ≤ 1) :
(binomialRandom V p).real {G : SimpleGraph V | (1 + δ) * μ ≤ ↑(↑S ∩ G.edgeSet).ncard} ≤ Real.exp (-(δ ^ 2 * μ / 3))

Multiplicative Chernoff upper tail for δ ≤ 1 ([MU17], Section 4.2): for #S * p ≤ μ and 0 ≤ δ ≤ 1, G(V, p) has at least (1 + δ) * μ edges in S with probability at most exp (-(δ ^ 2 * μ / 3)).

theorem SimpleGraph.binomialRandom_real_edgeCount_le_one_sub_mul {V : Type u_1} [Finite V] (p : ↑unitInterval) (S : Finset (Sym2 V)) (hS : ∀ e ∈ S, ¬e.IsDiag) {μ δ : ℝ} (hμ : μ ≤ ↑S.card * ↑p) (hδ : 0 ≤ δ) :
(binomialRandom V p).real {G : SimpleGraph V | ↑(↑S ∩ G.edgeSet).ncard ≤ (1 - δ) * μ} ≤ Real.exp (-(δ ^ 2 * μ / 2))

Multiplicative Chernoff lower tail for edge counts in G(V, p) ([MU17], Section 4.2): for any finite set S of non-diagonal pairs with μ ≤ #S * p and any δ ≥ 0, the probability that G(V, p) has at most (1 - δ) * μ edges in S is at most exp (-(δ ^ 2 * μ / 2)).

theorem SimpleGraph.binomialRandom_real_edgeCount_abs_sub_ge_mul {V : Type u_1} [Finite V] (p : ↑unitInterval) (S : Finset (Sym2 V)) (hS : ∀ e ∈ S, ¬e.IsDiag) {δ : ℝ} (hδ : 0 ≤ δ) (hδ₁ : δ ≤ 1) :
(binomialRandom V p).real {G : SimpleGraph V | δ * (↑S.card * ↑p) ≤ |↑(↑S ∩ G.edgeSet).ncard - ↑S.card * ↑p|} ≤ 2 * Real.exp (-(δ ^ 2 * (↑S.card * ↑p) / 3))

Two-sided multiplicative Chernoff bound for edge counts in G(V, p): for any finite set S of non-diagonal pairs and 0 ≤ δ ≤ 1, the edge count deviates from #S * p by at least δ * (#S * p) with probability at most 2 * exp (-(δ ^ 2 * (#S * p) / 3)).

Bipartite edge counts, internal edges, and vertex degrees #

theorem SimpleGraph.binomialRandom_real_bipartiteEdgeCount_ge_one_add_mul_of_le_one {V : Type u_1} [Finite V] (p : ↑unitInterval) {A B : Finset V} (hAB : Disjoint A B) {μ δ : ℝ} (hμ : ↑A.card * ↑B.card * ↑p ≤ μ) (hδ : 0 ≤ δ) (hδ₁ : δ ≤ 1) :
(binomialRandom V p).real {G : SimpleGraph V | (1 + δ) * μ ≤ ∑ u ∈ A, ↑(↑B ∩ G.neighborSet u).ncard} ≤ Real.exp (-(δ ^ 2 * μ / 3))

Multiplicative Chernoff upper tail for bipartite edge counts: for disjoint vertex sets A, B with #A * #B * p ≤ μ and 0 ≤ δ ≤ 1, the number of edges between A and B is at least (1 + δ) * μ with probability at most exp (-(δ ^ 2 * μ / 3)).

theorem SimpleGraph.binomialRandom_real_bipartiteEdgeCount_le_one_sub_mul {V : Type u_1} [Finite V] (p : ↑unitInterval) {A B : Finset V} (hAB : Disjoint A B) {μ δ : ℝ} (hμ : μ ≤ ↑A.card * ↑B.card * ↑p) (hδ : 0 ≤ δ) :
(binomialRandom V p).real {G : SimpleGraph V | ∑ u ∈ A, ↑(↑B ∩ G.neighborSet u).ncard ≤ (1 - δ) * μ} ≤ Real.exp (-(δ ^ 2 * μ / 2))

Multiplicative Chernoff lower tail for bipartite edge counts: for disjoint vertex sets A, B with μ ≤ #A * #B * p and 0 ≤ δ, the number of edges between A and B is at most (1 - δ) * μ with probability at most exp (-(δ ^ 2 * μ / 2)).

theorem SimpleGraph.binomialRandom_real_degree_ge_one_add_mul_of_le_one {V : Type u_1} [Fintype V] (p : ↑unitInterval) (u : V) {μ δ : ℝ} (hμ : ↑(Fintype.card V - 1) * ↑p ≤ μ) (hδ : 0 ≤ δ) (hδ₁ : δ ≤ 1) :
(binomialRandom V p).real {G : SimpleGraph V | (1 + δ) * μ ≤ ↑(G.neighborSet u).ncard} ≤ Real.exp (-(δ ^ 2 * μ / 3))

Multiplicative Chernoff upper tail for vertex degrees: for any vertex u with (Fintype.card V - 1) * p ≤ μ and 0 ≤ δ ≤ 1, the degree of u in G(V, p) is at least (1 + δ) * μ with probability at most exp (-(δ ^ 2 * μ / 3)).

Uniform vertex-to-set degree concentration #

theorem SimpleGraph.binomialRandom_real_exists_many_badDegree_le {V : Type u_1} [Fintype V] (p : ↑unitInterval) {η : ℝ} (hη0 : 0 < η) (hη1 : η ≤ 1) {a₀ k : ℕ} (hka : 4 * ↑k ≤ η * ↑a₀) :
(binomialRandom V p).real {G : SimpleGraph V | ∃ (A : Finset V), a₀ ≤ A.card ∧ 2 * k ≤ {u : V | η * (↑A.card * ↑p) < |↑(↑A ∩ G.neighborSet u).ncard - ↑A.card * ↑p|}.ncard} ≤ 3 * 4 ^ Fintype.card V * Real.exp (-(η ^ 2 * ↑k * ↑a₀ * ↑p / 24))

Uniform vertex-to-set degree concentration in G(V, p): for 0 < η ≤ 1 and 4 k ≤ η a₀, the probability that there exists a vertex subset A of size at least a₀ for which at least 2 k vertices have |N(u) ∩ A| deviating from #A * p by more than η * #A * p is at most 3 * 4 ^ |V| * exp (-(η ^ 2 * k * a₀ * p / 24)).

Bollobás Theorem 2.15 / NRTV Theorem 29.18 #

theorem SimpleGraph.binomialRandom_real_exists_large_nonNeighborhood_le {V : Type u_1} [Fintype V] (hn : 0 < Fintype.card V) (p : ↑unitInterval) {δ C : ℝ} (hδ : 0 < δ) {u : ℕ} (hCu : C ≤ ↑u * ↑p) (hlog : 3 * Real.log ↑(Fintype.card V) ≤ δ * ↑p * ↑(Fintype.card V)) (hClog : 3 * Real.log (Real.exp 1 / δ) ≤ C) :
(binomialRandom V p).real {G : SimpleGraph V | ∃ (U : Finset V), u ≤ U.card ∧ δ * ↑(Fintype.card V) ≤ ↑{x : V | x ∉ U ∧ Disjoint (G.neighborSet x) ↑U}.ncard} ≤ Real.exp (-(C * δ * ↑(Fintype.card V) / 3))

Bollobás's non-neighborhood bound, finite-n form (Bollobás 2001, Theorem 2.15; [Sur07], Theorem 29.18, p. 731, and Equation (29.8), p. 732): in G(V, p) on n = |V| ≥ 1 vertices, if δ, C > 0, C ≤ u * p, 3 * log n ≤ δ * p * n, and 3 * log (e / δ) ≤ C, then the probability that there exists a vertex set U with u ≤ #U whose outside non-neighborhood {x ∉ U | Disjoint (G.neighborSet x) U} has size at least δ * n is at most exp (-(C * δ * n / 3)).

theorem SimpleGraph.tendsto_binomialRandom_real_forall_nonNeighborhood_le {p : ℕ → ↑unitInterval} {δ C : ℕ → ℝ} (hδ : ∀ᶠ (n : ℕ) in Filter.atTop, 0 < δ n) (hlog : ∀ᶠ (n : ℕ) in Filter.atTop, 3 * Real.log ↑n ≤ δ n * ↑(p n) * ↑n) (hClog : ∀ᶠ (n : ℕ) in Filter.atTop, 3 * Real.log (Real.exp 1 / δ n) ≤ C n) (hinf : Filter.Tendsto (fun (n : ℕ) => C n * δ n * ↑n) Filter.atTop Filter.atTop) :
Filter.Tendsto (fun (n : ℕ) => (binomialRandom (Fin n) (p n)).real {G : SimpleGraph (Fin n) | ∀ (U : Finset (Fin n)), U.card = ⌈C n / ↑(p n)⌉₊ → ↑{x : Fin n | x ∉ U ∧ Disjoint (G.neighborSet x) ↑U}.ncard ≤ δ n * ↑n}) Filter.atTop (nhds 1)

Bollobás's non-neighborhood theorem (Bollobás 2001, Theorem 2.15; [Sur07], Theorem 29.18, p. 731): suppose δ n > 0 and C n eventually satisfy 3 * log n ≤ δ n * p n * n, 3 * log (e / δ n) ≤ C n, and C n * δ n * n → ∞. Then with probability tending to 1, every vertex subset U of G(Fin n, p n) of size ⌈C n / p n⌉₊ leaves at most δ n * n outside vertices with no neighbor in U.