Documentation

CslibFrontier.Algorithms.PlantedClique.PolyTime

A uniform polynomial-time solver for planted clique #

The actual function recoverInput has one native ComputableInPolyTime certificate for all dense inputs, including all runtime values of the vertex count and target size. This module combines that certificate with its agreement with recover and the probability theorem from Final. The resulting solver is the fixed program fun input => pure (recoverInput input). Neither the prior on hidden sets nor the parameter chooses a different program.

Runtime is measured in the dense encoded input: framed unary vertex count n, framed unary public target size k, and raw adjacency bits. On a canonical graph this is exactly n² + 2n + 2k + 2 bits (RecoveryInput.length_encRecoveryInput_ofGraph), hence polynomial in n when k ≤ n. The program computes and writes its list of vertex identifiers using encList encUnary. ofGraph and vertexSet specify the meaning of these input and output representations; they do not grant uncharged algorithms to the program.

The target schedule k n may be arbitrary because its value is supplied as public input. The solver is not claimed to compute that schedule from n. Priors are semantic probability laws; the result requires no efficient sampler for an arbitrary prior.

recoveryFailureBound is the proved exponential bound in the numerical recovery regime and one elsewhere. Thus searchProblem_hasPPTSolver is a statement about every parameter, including zero and other small dimensions. For the usual planted-clique problem, instantiate the prior with fun n => uniformPlantedSet n (k n) (hkn n), where hkn : ∀ n, k n ≤ n.

Main definitions #

Main results #

The proved failure bound when the numerical recovery conditions hold, and the universal probability bound one otherwise. No incompatible assumptions are imposed on small dimensions.

On a canonical graph input, the program's output identifiers represent exactly the set returned by the integer matrix-power recovery algorithm.

The fixed executable recovery function attains the all-parameter failure budget under every prior on hidden sets of size k. Only the graph and public target size are presented to it.

A whole planted-clique family has one uniform strict PPT solver in the dense-input and vertex-list representation. The native certificate is uniform over both public size parameters; the witness is fun input => pure (recoverInput input) for every family of priors.