Overflow-Free Word-Delta Evaluators, Feistel Coordinates, and Dispatch Helpers #
Implements compGrowDeltaGenProg, compShrinkDeltaGenProg, compFeistelCoordsProg, the shared
precondition CompQueryWithHashPre, and internal import all helpers (gmAt_prependIfIndexedProg,
compDispatch_spec) shared across the bucket-level operations.
Main definitions #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.sbFound: hit flag accessor.Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compGrowDeltaGenProg,Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compShrinkDeltaGenProg: overflow-free item-stream word-delta evaluators.Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compFeistelCoordsProg,Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.CompFeistelCoordsPre: Feistel(b, q, m)coordinate extractor and precondition.Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.CompQueryWithHashPre: shared Feistel-dispatched query/search precondition.
Section 1: Overflow-Free Word-Delta Evaluators and Feistel Coordinate Extraction #
Bound Fits w (wOffQ q v w m + 3) whenever 4 + compactedItemWords U V w N m < 2 ^ w
(satisfied automatically inside any addressable active epoch since epochHdrWords = 225 ≥ 4).
Evaluate compactedItemWords U V w N (n + 1) - compactedItemWords U V w N n (∈ {0, 1, 2})
overflow-free in Memory.Prog (¬ReadsWidth).
Precondition for compGrowDeltaGenProg.
Evaluate compactedItemWords U V w N n - compactedItemWords U V w N (n - 1) (∈ {0, 1, 2})
overflow-free in Memory.Prog (¬ReadsWidth).
Precondition for compShrinkDeltaGenProg.
Shared Feistel (b, q, m) coordinate extractor from (u, h_q) (¬ReadsWidth).
Precondition for compFeistelCoordsProg.
Precondition for compQueryWithHashGenProg, compInsertSearchWithHashGenProg, and
compDeletePrepWithHashGenProg.