Documentation

CslibFrontier.Probability.PlantedClique.Uniqueness

Uniqueness of the planted clique #

A prescribed set disjoint from the planted set is a clique with probability exactly 2 ^ (-choose |T| 2). A union bound excludes large cliques outside the planted set. Together with the outside-degree bound, this proves that every clique of size |S| is the planted set, except on the explicitly bounded exceptional event.

This is the uniqueness condition needed by a seed-enumeration algorithm which accepts the first verified clique. The argument concerns the actual planted experiment and does not assume independence for adaptively chosen candidate sets.

The probability that a fixed set disjoint from the planted set is a clique.

theorem Cslib.Probability.PlantedClique.dens_isClique_of_disjoint {n : ℕ} (S T : Finset (Fin n)) (hST : Disjoint S T) :
↑{ω : Coins n | (sample S ω).IsClique ↑T}.dens = (2 ^ T.card.choose 2)⁻¹

Density form of the fixed outside-clique probability.

theorem Cslib.Probability.PlantedClique.dens_exists_outside_clique_le {n : ℕ} (S : Finset (Fin n)) (r : ℕ) :
↑{ω : Coins n | ∃ (T : Finset (Fin n)), Disjoint S T ∧ T.card = r ∧ (sample S ω).IsClique ↑T}.dens ≤ ↑(n.choose r) * (2 ^ r.choose 2)⁻¹

A union bound over all size-r subsets excludes a clique outside the planted set.

theorem Cslib.Probability.PlantedClique.dens_exists_clique_ne_le {n : ℕ} (S : Finset (Fin n)) (r : ℕ) (hS : 0 < S.card) (hr : 8 * r ≤ 3 * S.card) :
↑{ω : Coins n | ∃ (Q : Finset (Fin n)), (sample S ω).IsClique ↑Q ∧ Q.card = S.card ∧ Q ≠ S}.dens ≤ ↑n * Real.exp (-↑S.card / 32) + ↑(n.choose r) * (2 ^ r.choose 2)⁻¹

Except on the stated event, the planted set is the only clique of its cardinality. The parameter r can be any natural number at most 3 |S| / 8; for example, |S| / 4.

theorem Cslib.Probability.PlantedClique.prob_exists_clique_ne_le {n : ℕ} (S : Finset (Fin n)) (r : ℕ) (hS : 0 < S.card) (hr : 8 * r ≤ 3 * S.card) :
((PMF.uniformOfFintype (Coins n)).toOuterMeasure {ω : Coins n | ∃ (Q : Finset (Fin n)), (sample S ω).IsClique ↑Q ∧ Q.card = S.card ∧ Q ≠ S}).toReal ≤ ↑n * Real.exp (-↑S.card / 32) + ↑(n.choose r) * (2 ^ r.choose 2)⁻¹

Probability-mass-function form of the uniqueness bound.