Documentation

CslibFrontier.Algorithms.PlantedClique.Final

Recovery of a planted clique with high probability #

For every fixed planted set S of size at least 1024 √n, the integer matrix-power algorithm recovers S except on a fraction at most 2 exp (-n) + n exp (-|S| / 32) of the independent fair edge seeds. The two exceptional events are a large noise operator norm and an excessive degree into S from a vertex outside S.

Both the density statement and its uniform PMF interpretation concern the executable recovery algorithm, including its integer growth search, largest-coordinate rounding, and degree cleanup. The planted set is a parameter of the random experiment and the specification; the algorithm receives only the sampled graph and the cardinality of the planted set.

The final statements use the generic DistributionalSearchProblem.experiment applied to searchProblem. They allow any prior on hidden sets of the target size, including the usual uniform prior uniformPlantedSet. The bound is obtained by averaging the fixed-set bound. The experiment's solver takes only the graph as input; hidden-state access is confined to sampling and semantic scoring. This probability argument is independent of the computational model; PolyTime connects it to the uniform native machine certificate for the same recovery function on explicit dense graph encodings.

theorem Cslib.Algorithms.PlantedClique.dens_recover_ne_le {n : ℕ} (S : Finset (Fin n)) (hn : 1 ≤ n) (hk : 6 ≤ S.card) (hsize : 1024 * √↑n ≤ ↑S.card) :

The integer matrix-power algorithm recovers every fixed planted set of size at least 1024 √n, except on the stated fraction of uniform independent edge seeds.

Probability-mass-function form of the fixed-planted-set recovery bound. The coins are uniform on the finite product of independent Boolean edge choices.

theorem Cslib.Algorithms.PlantedClique.searchProblem_recover_failure_le {n k : ℕ} (prior : PMF { S : Finset (Fin n) // S.card = k }) (hn : 1 ≤ n) (hk : 6 ≤ k) (hsize : 1024 * √↑n ≤ ↑k) :

The graph-only recovery algorithm solves the distributional search problem with the stated failure bound, for any prior on hidden k-sets independent of the subsequent edge coins. Classical decidability in this semantic statement supplies the graph's adjacency test; the sampled graph has the executable adjacency decision procedure used by prob_recover_ne_le.

Recovery succeeds with the same error bound in the uniform-hidden-set planted-clique search problem. The returned answer is computed from the sampled graph and k alone.