Lifting a valid-target RAM routine to every encoded graph input
ProvedDirectedHamiltonicity.Main.InputRAM.bounded_of_valid_bodydirected-hamiltonicityexact-exponential-algorithmslog-cost-ram
Suppose a structured RAM routine realizes the parity estimator on each valid target, with fixed word-width and per-trial work polynomials. On an input graph let be the numbers of vertices, arcs and the stated upper weight bound, and let be its computed trial budget. There are fixed such that the compiled program on every signed target and every finite coin tape outputs the corresponding estimator bit at logarithmic cost at most
The program includes the input reader, target test, graph preprocessing and final halt.
Preamble
import Definitions.Def_DirectedHamiltonicity_ParityRAMInterfaces open DirectedHamiltonicity DirectedHamiltonicity.Main DirectedHamiltonicity.Main.InputRAM open TargetedSamplers TargetedSamplers.Structured Multidigraph Classical
Formal statement
theorem DirectedHamiltonicity.Main.InputRAM.bounded_of_valid_body (body : Cmd) (required work : Polynomial ℕ) (run : ValidBodyRuns body required work) :
∃ A k : ℕ, BoundedInputRuns (onValid (.seq preprocess body)).program A k := by sorrySource
Auxiliary result for the log-cost RAM formalization of Proposition 4 in T. Koana and S. Kumabe, Breaking the 2^n barrier for directed hamiltonicity, STOC 2027 submission 811, PDF pp. 5 and 8–11. https://prove2.me/theorems/aa04b14a-8225-48c8-904c-8725ebdcac66