Documentation

CslibFrontier.Foundations.Probability.Combinatorics.BinomialRandomGraph.Extension

Extension witnesses in binomial random graphs #

Fix distinct vertices x 0, …, x (k - 1) of a finite vertex type V and a pattern s : Fin k → Bool. A vertex z outside the tuple witnesses s in a graph G when z is adjacent to x i exactly when s i = true. In the binomial random graph G(V, p) each outside vertex witnesses s with probability w = ∏ i, (if s i then p else 1 - p), independently of the other outside vertices, because the pairs {z, x i} for different z are disjoint. Hence no vertex witnesses s with probability exactly (1 - w) ^ (|V| - k) (SimpleGraph.binomialRandom_real_forall_not_witness).

This is the probabilistic step of the extension axioms of the random graph: summing over the injective tuples gives the failure bound for one extension axiom, and so its almost-sure validity in G(n, p) for constant 0 < p < 1 [AlonSpencer2016, Section 10.4], as in Fagin's proof of the p = 1/2 law [Fag76]. The exact product formula and its derivation from SimpleGraph.binomialRandom_real_edgePattern_of_injective, by summing over the adjacency patterns of the outside vertices that avoid s, are this formalization's route; the 0-1 law only needs the upper bound (1 - min (p, 1 - p) ^ k) ^ (|V| - k) that follows from it.

Main results #

References #

theorem SimpleGraph.binomialRandom_real_forall_not_witness {V : Type u_1} [Fintype V] (p : ↑unitInterval) {k : ℕ} (x : Fin k ↪ V) (s : Fin k → Bool) :
(binomialRandom V p).real {G : SimpleGraph V | ∀ (z : V), ¬((∀ (i : Fin k), z ≠ x i) ∧ ∀ (i : Fin k), G.Adj z (x i) ↔ s i = true)} = (1 - ∏ i : Fin k, if s i = true then ↑p else 1 - ↑p) ^ (Fintype.card V - k)

Extension witnesses in G(V, p). For distinct vertices x 0, …, x (k - 1) and a pattern s : Fin k → Bool, the probability that no vertex z outside x is adjacent to exactly those x i with s i = true is (1 - ∏ i, (if s i then p else 1 - p)) ^ (|V| - k).