Documentation

CslibFrontier.DataStructure.Dictionary.WordRAM.SuccinctWhpBufferTrieProg.Rt

Compact BufRt Descriptor, BufEpFrame Invariant, and BufReadGenPre #

Public runtime parameter descriptor BufRt, segment offset accessors, constructor mkBufRt, disjoint-buffer frame invariant BufEpFrame (refl, trans), and shared read/delete admissibility predicate BufReadGenPre.

Main definitions #

Main results #

@[reducible, inline]

Compact 14-word scalar runtime parameter tuple for an epoch buffer trie ep ∈ {0, 1}.

Word offset of the child-pointer array in BufRt.

Word offset of the per-node metadata array in BufRt.

Pure constructor for BufRt.

def Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.BufEpFrame (base c U V w n_max ep : ℕ) (mem₁ mem₂ : ℕ → ℕ) :

Compositional frame invariant for writes confined to buffer ep ∈ {0, 1} (preserving all non-buffer words, the opposite buffer 1 - ep, and dirtyBuckets in offTrieItems0).

theorem Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.BufEpFrame.refl {base c U V w n_max ep : ℕ} (mem : ℕ → ℕ) :
BufEpFrame base c U V w n_max ep mem mem
theorem Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.BufEpFrame.trans {base c U V w n_max ep : ℕ} {m₁ m₂ m₃ : ℕ → ℕ} (h₁₂ : BufEpFrame base c U V w n_max ep m₁ m₂) (h₂₃ : BufEpFrame base c U V w n_max ep m₂ m₃) :
BufEpFrame base c U V w n_max ep m₁ m₃

Shared read/delete admissibility precondition on (((cp, base), ep), rKey).