Planted clique as a distributional problem #
The joint law instanceDistribution samples a hidden set of size k from a supplied prior,
then plants it using independent fair edge coins. searchProblem reveals only the resulting
graph and accepts exactly the hidden set. The target size is a parameter of the problem and
may be known to an algorithm; the sampled hidden set is not part of its input.
This is exact recovery of the latent planted set. It differs from the relation-search problem
of finding any k-clique in the observed graph. The distinction is explicit in the success
relation, which is allowed to inspect the state even though the algorithm cannot.
detectionProblem compares the graph marginal of the same planted law with the null law
G(n, 1/2). Both problems are semantic specifications: a computational model and its resource
or uniformity conditions are supplied separately to the generic game and solver predicates.
uniformPlantedSet gives the usual uniform prior, while arbitrary priors allow fixed hidden
sets and nonuniform planting laws without changing either specification.
searchProblem_failure_le_of_fixedSet transfers a uniform fixed-planted-set failure bound for
any graph-only deterministic solver to the search experiment under an arbitrary hidden-set prior.
A complete planted-clique state, including the hidden set used to generate the graph.
The hidden vertex set planted as a clique.
- graph : SimpleGraph (Fin n)
The graph observed by a recovery algorithm or a test.
A graph-only solver's uniform failure bound for every fixed planted set also bounds its failure under any independent prior on planted sets of the specified size.
Distinguish an unplanted fair random graph from the graph law planted according to prior.
The hidden set is marginalized out before the distinguisher receives its observation.