Proof of `Independent Set Reduces to Multicoloured Clique` (8th statement)

groundedproofs/Lax496464Proofs/WHierarchy/MccNP/Ram/FptTimeProof.lean · lax-496464

What this proof establishes

Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.

Read the Lean proof on GitHub

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 c(k+1)2(∣x∣+1)c (k + 1)² (|x| + 1) instructions, and every value it computes is below the value bound that the fitting conditions on the word and on its image provide.