Proof of `Independent Set Reduces to Multicoloured Clique` (11th statement)
groundedproofs/Lax496464Proofs/WHierarchy/MccNP/Ram/PolyTimeProof.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 in polynomial time by one word RAM program, the compilation of the IMP+ program that reads the length-prefixed word into an array, decides in one linear pass whether the word has the shape of an encoding, and, if it does, writes the word of the multicoloured graph with the passes of the fixed-parameter program; on every other word it writes nothing. The run costs at most instructions when the word length fits the values, all of which are below .