Skip to content
Browse chapters
Imports

The typed VERTEX-COVER to HAM-CYCLE reduction

This facade exports the total well-formed construction, its bidirectional typed semantic correctness theorem, and its cubic encoded-size bound.

namespace CLRS.Chapter34.HamiltonianCycleReductiontheorem vertexCoverToHamiltonianInstance_correct {I : VertexCoverInstance} (hwellFormed : I.WellFormed) : I.HasVertexCover ↔ (vertexCoverToHamiltonianInstance I).HasHamiltonianCycle := ⟨vertexCoverToHamiltonianInstance_complete hwellFormed, vertexCoverToHamiltonianInstance_sound hwellFormed⟩end CLRS.Chapter34.HamiltonianCycleReduction