Skip to content
Browse chapters
Imports

VERTEX-COVER to HAM-CYCLE machine: verified nondegenerate prefix

This module joins the target header and the complete internal-widget edge family. Both components read the same raw source word; their concatenation is therefore implemented by the reusable fixed-pair same-input closure.

noncomputable sectionnamespace CLRS.Chapter34.Turing.HamiltonianCycle.ReductionMachine.NondegeneratePrefixopen _root_.Turingopen PolyBuilderopen HamiltonianCycleReduction

The currently verified prefix of the ordinary CLRS target encoding.

def stream (input : List CliqueSym) : List CliqueSym := Header.header input ++ WidgetEdges.widgetEdgeStream input

A single fixed polynomial-time TM2 computes the verified target prefix.

Exact canonical semantics: the two unary header fields are followed by all fourteen internal edges of every source-edge gadget.

end CLRS.Chapter34.Turing.HamiltonianCycle.ReductionMachine.NondegeneratePrefix