Per-Bucket Overmars Shadow B+-Tree Rebuild (overmarsStepGenProg) #
This module implements the compact BktMetaRt descriptor and the worst-case O_c(1) per-bucket
Overmars shadow B+-tree rebuild subroutine (overmarsStepGenProg) on FastMemRep, certified
over Basis.exact with zero local work via realize and Realizes.iterate₀:
BktMetaRt,mkBktMetaRt,mkBktMetaRtProg,BktMetaBucketEnv,setOvermarsActRtProg: 4-word runtime descriptor for packedbktMetamulti-field updates.- Activation, 16-coordinate bounded-fuel shadow-tree scan (
overmarsScanLoopGenProg), and role-swap completion combined inovermarsStepGenProg.
Main definitions #
Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.BktMetaRt,mkBktMetaRt,mkBktMetaRtProg,BktMetaBucketEnv,setOvermarsActRtProg,OvermarsBucketStepBounds,OvermarsStepPre,overmarsStepGenProg.
Main results #
Bundled read-only and fast-step specifications #
Compact 4-word runtime descriptor ((base, offBktMeta), (globalPtrBits, w)) for bktMeta
packed-array accesses, keeping realize elaboration independent of WhpCoreParams width.
Construct the 4-word BktMetaRt descriptor for (c, U, V, w, n_max, base).
Project BktMetaRt from (cp, base) in zero memory steps.
Set (overmarsActive b, overmarsCursor b, overmarsInsCount b) := (actVal, 0, 0) on BktMetaRt
(d = ((bm, b), actVal)).
Section 2: Coordinate Scan Step and Bounded-Fuel Scan Loop #
Section 3: Role-Swap Completion and Full overmarsStepGenProg #
Complete overmarsStep Memory.Prog subroutine (d = ((wp, base), b)).
Minimal structural bounds on fs sufficient to execute overmarsStepGenProg safely on
bucket b.
CoreFastInv + PreOvermarsBucketInv immediately yield OvermarsBucketStepBounds.
Precondition for overmarsStepGenProg.