Uniform Word-RAM program for minimum vertex separators #
Uniform Basis.exact flat program and O((n + 1) ^ 5) runtime bound for minimum vertex
separators with side-labelling certificates (exists_minSeparator_program) by vertex splitting and
reduction to ekProg.
Main definitions #
Cslib.Algorithms.WordRAM.EdmondsKarp.encodeBoolVec,encodeSepInput,sepOutAddr,sepSideAddr: input encoding and output separator/side-labelling addresses.
Main results #
Cslib.Algorithms.WordRAM.EdmondsKarp.exists_minSeparator_program: uniformO((n + 1) ^ 5)Word-RAM minimum vertex separator program.
References #
Uniform minimum vertex separator by vertex splitting #
Word-RAM input for minimum vertex separator: n :: (encodeBoolVec Z ++ encodeBoolVec A ++ encodeBoolVec B ++ flattenMatrix (fun u v => if G.Adj u v then 1 else 0)). Address 1 stores n;
2 + v stores Z[v]; 2 + n + v stores A[v]; 2 + 2 * n + v stores B[v]; and
2 + 3 * n + u * n + v stores G.Adj u v.
Output address of the separator indicator for v (1 iff v ∈ out.sep).
Output address of the side-labelling indicator for v (1 iff vget out.side v = true).
Minimum vertex separator by vertex splitting on the Word-RAM: one uniform flat program over
Basis.exact that, on encodeSepInput G Z A B for any G : SimpleGraph (Fin n) and Z A B : Vector Bool n, halts within C * (n + 1) ^ 5 instructions at every word width fitting
ekBound (n + n + 2) (n + 1). It returns the minimum separator size out.sep.length, stores the
0/1 separator indicator at sepOutAddr, and stores the side labelling certificate out.side at
sepSideAddr.