Documentation

CslibFrontier.Algorithms.WordRAM.TwoSAT.ImplFill

Implication-graph CSR edge backfill (implFillBody, implFillLoop_spec) #

Internal Pass 2b loop populating the CSR edge array of G.adjFin in O(|φ|) steps.

Loop body backfilling implication-graph CSR arcs for one clause of width 1 or 2.

theorem Cslib.Algorithms.WordRAM.TwoSAT.implFillLoop_spec (G : Instance) {w : ℕ} (hfit : WordRAM.Fits w G.wordBound) (cs : Logic.PL.CNF (Fin G.n)) (g : Logic.PL.Literal (Fin G.n) → List (Logic.PL.Literal (Fin G.n))) (idx p : ℕ) (x : WordRAM.Data 28) :