Uniqueness from outside degrees and small outside cliques #
Suppose every vertex outside S has at most 5 |S| / 8 neighbors in S. A different
clique of size |S| must then have at least 3 |S| / 8 vertices outside S. Consequently,
excluding an outside clique of any size r with 8 r ≤ 3 |S| ensures uniqueness.
This deterministic criterion lets a recovery algorithm accept the first verified clique, even if it tries seeds that do not lie in the planted set before a successful planted seed.
theorem SimpleGraph.clique_eq_of_outside_degree_le_of_no_outside_clique {V : Type u_1} (G : SimpleGraph V) [DecidableRel G.Adj] {S Q : Finset V} {r : ℕ} (hdegree : ∀ v ∉ S, 8 * (Finset.filter (G.Adj v) S).card ≤ 5 * S.card) (hr : 8 * r ≤ 3 * S.card) (hno : ∀ (T : Finset V), Disjoint S T → T.card = r → ¬G.IsClique ↑T) (hQ : G.IsClique ↑Q) (hcard : Q.card = S.card) :
Q = S
A size-|S| clique equals S if outside degrees are at most 5 |S| / 8 and the
complement of S contains no clique of size r ≤ 3 |S| / 8.