Documentation

CslibFrontier.DataStructure.Dictionary.WordRAM.ResizableSuccinct.Dispatch.SlotOps.GmPushSlab

Compacted GlobalMeta Slab Push (compGmPushSlabGenProg) #

Implements compGmPushSlabGenProg in Memory.Prog (¬ReadsWidth), proving its exact gmPushSlab state effect, CompGmFrame preservation, RealizesBounded .exact, and ValidProg w 0 admissibility.

Main definitions #

Main results #

Push a new full slab p_new = gm 0 onto bucket b in compacted GlobalMeta (gmPushSlab, ¬ReadsWidth).

Precondition for pushing a slab in global metadata.

theorem Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compGmPushSlabGenProg_effect {metaBase itemBase U V w N m_items b : ℕ} (hw : 0 < w) (hitem : metaBase + offCompItems U w N ≤ itemBase) (hb_pos : 0 < FeistelQuotient.bucketBits N) (hb : b < FeistelQuotient.numBuckets N) (s : Memory.State) (hslab : Succinct.SlabBijection N (compGmAt metaBase U w N s.mem) (fun (b' : ℕ) => compGmAt metaBase U w N s.mem (Succinct.gmQIdx b')) (compGmAt metaBase U w N s.mem 0)) (hp_lt : compGmAt metaBase U w N s.mem 0 < SuccinctBucket.maxFullSlabs N) :
have s' := (Memory.spec 0).clientState s (compGmPushSlabGenProg ((mkCompParams U V w N, metaBase), b)); CompGmFrame metaBase itemBase U V w N m_items s s' ∧ compGmAt metaBase U w N s'.mem = Succinct.gmPushSlab N (compGmAt metaBase U w N s.mem) b