Documentation

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

Internal Neighbor-Link Helpers for compGmPopSlabGenProg #

Internal subroutines, cost bounds, CompGmFrame effects, RealizesBounded .exact, and ValidProg w 0 certificates for neighbor-link updates (compGmLinkMovedNeighborsGenProg) during slab-pool compaction, used privately by Dispatch.SlotOps.GmPopSlab.

Update neighbor links and metadata when relocating slab p_last into p_del.

theorem Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compGmLinkMovedNeighborsGenProg_effect {metaBase itemBase U V w N m_items p_del p_last : ℕ} (hw : 0 < w) (hitem : metaBase + offCompItems U w N ≤ itemBase) (s : Memory.State) (hpre : PureMovedSlabInv N (compGmAt metaBase U w N s.mem) p_del p_last) :
have gm := compGmAt metaBase U w N s.mem; have s' := (Memory.spec 0).clientState s (compGmLinkMovedNeighborsGenProg (((mkCompParams U V w N, metaBase), p_del), p_last)); CompGmFrame metaBase itemBase U V w N m_items s s' ∧ compGmAt metaBase U w N s'.mem = Succinct.gmLinkMovedNeighbors N gm p_del p_last