Documentation

CslibFrontier.Algorithms.WordRAM.EdmondsKarp.Bounds

Internal subroutine cost, admissibility, frame, and accumulator bounds #

Memory-operation counts, ValidHistory, preservation frames, and cut-accumulator bounds for the internal subroutines (roundStep, cutOuterStep, augStep) of Cslib.Algorithms.WordRAM.EdmondsKarp. Imported privately by CslibFrontier.Algorithms.WordRAM.EdmondsKarp.Spec.

Memory-operation counts #

Admissibility (ValidHistory) #

@[reducible, inline]

The solver's memory invariant: well-formed memory and an allocated scratch area.

theorem Cslib.Algorithms.WordRAM.EdmondsKarp.Internal.validHistory_roundStep {w : ℕ} {d : (Ctx × ℕ × ℕ) × ℕ} {t : DataStructure.Memory.State} (hc : match d with | ((c, snd), snd_1) => CtxFits w c) (hs : match d, hc with | ((c, s, snd), snd_1), hc => s < c.n) (hsnk : match d, hc, hs with | ((c, fst, t'), snd), hc, hs => t' < c.n) (ht : EkReady w (match d, hc, hs, hsnk with | ((c, snd), snd_1), hc, hs, hsnk => c) t) :

Frame and result bound of internal subroutines #