Proof of `Independent Set Reduces to Multicoloured Clique` (8th statement)
groundedproofs/Lax496464Proofs/WHierarchy/MccNP/Ram/FptTimeProof.lean · lax-496464
What this proof establishes
no assumptions
Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.
Description
The reduction is computed by one word RAM program, the compilation of the IMP+ program that reads the word into an array, using its own structure, and then writes the word of the multicoloured graph: the number of vertices, the number of edges, the offsets, the targets and the colours, each computed by a pass over all ordered pairs of copies. The program runs within instructions, and every value it computes is below the value bound that the fitting conditions on the word and on its image provide.