Documentation

CslibFrontier.Algorithms.WordRAM.OddCycleTransversal.Validity

History admissibility (ValidHistory) for octProg #

This module certifies Memory.spec w history admissibility (ValidHistory) across all subroutines (readSplitCap, readResCap, bfsProg, minSepProg, buildWProg, leafProg, compressProg, and octProg). It builds in parallel with Cost, MinSep, and LeafSubroutines. The capacity reads and the loop bodies are proved as framed triples with framed_triple; the loops around them carry MemReady (well-formed memory with the workspace allocated) as their invariant.

Main results #

encodeInput G k satisfies InputFits when Fits w (octWorkspace n) and Fits w k.

Every step of octProg () is history-valid under Memory.spec w.