Representing semantic planted-clique inputs and answers #
RecoveryInput.ofGraph presents a finite simple graph by its full row-major adjacency word,
together with its vertex count and the public target size. Decoding this presentation returns
the original graph. This describes which input words represent a mathematical graph; it is not
a sampling primitive or a computation performed by the recovery program.
The program returns a list of natural vertex identifiers. vertexSet interprets those identifiers
in the graph's finite vertex type. When the list's finite set is exactly the image of a vertex
set under Fin.val, this interpretation recovers that set. The recovery program's correctness
theorem establishes that image equality for the actual list it computes and writes.
Present a graph by all n² adjacency bits in row-major order and its public target size.
The canonical dense presentation decodes to the original graph.
Interpreting a vertex list and forgetting the bounded-index proofs keeps exactly the identifiers below the declared dimension, with duplicates removed.