Documentation

CslibFrontier.Algorithms.PlantedClique.Program

A uniform program for spectral planted-clique recovery #

This module realizes the complete recovery algorithm on the dense inputs of RecoveryInput. The vertex count, target clique size, and adjacency word all vary at runtime. Search counters use unary encodings; matrix and vector entries and squared norms use signed binary encodings.

The program enumerates the same candidate columns in the same order as growingColumn?, with the same exact integer growth test. Its zero fallback, selection among tied coordinates, and degree-cleanup threshold are also identical. toFinset_recoverInput identifies the complete list of output identifiers with recover on the decoded graph. This agreement holds for every dense input, including empty graphs and malformed adjacency words.

computableInPolyTime_recoverInput gives one native multitape polynomial-time certificate for all dense inputs. It charges building the signed matrix, enumerating and testing candidate columns, sorting their coordinates, and degree cleanup. The power-column kernel bounds all intermediate signed-binary encodings. The certificate has no planted-clique or spectral premise; the probabilistic correctness theorem is connected separately in PolyTime.

The complete stored vector returned by the uniform finite growth search.

The uniform list program returns exactly the vector used in the recovery proof.

One native polynomial-time machine computes the complete search vector for every dense input. In particular, its dimension is not fixed before the machine is chosen.

Recover a list of vertex identifiers from a dense input by exact integer powers, stable coordinate selection, and degree cleanup.

The complete list program computes precisely the mathematical recovery set, including on inputs outside the probabilistic recovery regime.

A single native multitape machine computes the complete recovery output in polynomial time on every dense input. Both dimensions are supplied at runtime, and the output identifiers are framed unary naturals.