Documentation

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

Compacted Phase-2 Overflow Resolvers (RealizesBounded .exact) #

Implements compResolveOvfStepGenProg and compInitOvfSearchGenProg in Memory.Prog (¬ReadsWidth), matching fixed-capacity Succinct.resolveOvfStepProg and Succinct.initOvfSearchProg along with RealizesBounded .exact and ValidProg w 0 certificates.

Main definitions #

Main results #

Single-step overflow slot resolver on compacted metadata (¬ReadsWidth).

theorem Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.clientResult_compResolveOvfStepGenProg_eq {U V w w₀ N h_space metaBase b j p_cur : ℕ} {s_fix s : Memory.State} (hgm_eq : compGmAt metaBase U w N s.mem = Succinct.gmAt 0 U V w₀ N h_space s_fix.mem) (hb_pos : 0 < FeistelQuotient.bucketBits N) (hb : b < FeistelQuotient.numBuckets N) (hj_bc : j < Succinct.bCount N (compGmAt metaBase U w N s.mem) b) (hslot : Succinct.SlotStoreInv N (compGmAt metaBase U w N s.mem)) (hp : j < compGmAt metaBase U w N s.mem (Succinct.gmQIdx b) * SuccinctBucket.slabSize N → p_cur = Succinct.slabPtrOf N (compGmAt metaBase U w N s.mem) b (j / SuccinctBucket.slabSize N)) :

Under compGmAt = gmAt, compResolveOvfStepGenProg returns the exact same (phys, p_next) pair as Succinct.resolveOvfStepProg on s_fix.

Initialize (p_init, fuel) for Phase 2 overflow search on compacted metadata (¬ReadsWidth).

theorem Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.clientResult_compInitOvfSearchGenProg_eq {U V w w₀ N h_space metaBase b : ℕ} {s_fix s : Memory.State} (hgm_eq : compGmAt metaBase U w N s.mem = Succinct.gmAt 0 U V w₀ N h_space s_fix.mem) (hb_pos : 0 < FeistelQuotient.bucketBits N) (hb : b < FeistelQuotient.numBuckets N) (hslot : Succinct.SlotStoreInv N (compGmAt metaBase U w N s.mem)) :

Under compGmAt = gmAt, compInitOvfSearchGenProg returns the exact same (p_init, fuel) pair as Succinct.initOvfSearchProg on s_fix.