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 #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compGmPushSlabGenProg,Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.CompGmPushSlabPre: slab-push subroutine in compactedGlobalMetaand its precondition.
Main results #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compGmPushSlabGenProg_effect,Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.realizesBounded_compGmPushSlabGen,Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.validProg_compGmPushSlabGen: exactgmPushSlabeffect,RealizesBounded .exact, andValidProg w 0certificate.
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
theorem Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.validProg_compGmPushSlabGen {w : ℕ} {d : (CompParams × ℕ) × ℕ} {s : Memory.State} (h : CompGmPushSlabPre w d s) :
Succinct.ValidProg w 0 s (compGmPushSlabGenProg d)