Dictionary-Level Lookup and Split Insertion Specifications (DictStateInv) #
Establishes DictStateInv, FixedCoupled, and amortized memoryCost bounds for compacted lookup
(compQueryWithHashGenProg_dict_spec) and two-phase split insertion
(compInsertSearchWithHashGenProg_dict_spec, compInsertHit_dict_spec,
compInsertMiss_dict_spec).
Main results #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.compQueryWithHashGenProg_dict_spec: dictionary-level lookup correctness andO(1 + probeExcess)memoryCostbound.compInsertSearchWithHashGenProg_dict_spec,compInsertHit_dict_spec,compInsertMiss_dict_spec: dictionary-level Phase 1 search, hit update, and miss append specifications.
Dictionary-level specification of compQueryWithHashGenProg: establishes
CompQueryWithHashPre, leaves s unchanged, returns s_abs u, and bounds memoryCost by
38 + 12 * probeExcess.
Dictionary-level specification of Phase 1 (compInsertSearchWithHashGenProg) of split
compacted insertion.
Dictionary-level specification of Phase 2a (hit path: found = 1) of split compacted
insertion (compWritePhysValGenProg).
Dictionary-level specification of Phase 2b (miss path: found ≠ 1, executed after
growZeroCode extends s to s_grown with s_grown.mem = s.mem and n + 1 ≤ m_cap) of split
compacted insertion (compInsertAppendNewGenProg).