Fast-Mode Deletion Refinement (ValidFastState.fastDelete_spec) #
This module combines fastFindLoc_spec, fastDelete_afterDel_last_spec,
fastDelete_afterDel_reloc_spec, and overmarsStep_spec to establish top-level fast-mode deletion
refinement ValidFastState.fastDelete_spec.
Main results #
Cslib.DataStructure.Dictionary.SuccinctWhp.ValidFastState.fastDelete_spec: fast-mode deletion refinesDynamic.step dict (.delete u)and preservesCoreFastInv,OvermarsBucketInv, andValidEpochStagePreTick.
theorem Cslib.DataStructure.Dictionary.SuccinctWhp.ValidFastState.fastDelete_spec {c U V n_max : ℕ} {θ : SeedWhp c U n_max} {fs : FastState} {dict : State U} (hv : ValidFastState c U V n_max θ fs dict) (u : Fin U) :
have fs' := fastDelete c U n_max θ fs u;
CoreFastInv c U V n_max θ fs' (Dynamic.step dict (Dynamic.Op.delete u)).1 ∧ (∀ b' < numBucketsWhp n_max, OvermarsBucketInv c U n_max θ fs' b') ∧ ValidEpochStagePreTick c U n_max θ fs' ∧ fs'.epochClock = fs.epochClock
fastDelete refines Dynamic.step dict (.delete u) and yields CoreFastInv,
OvermarsBucketInv on all buckets, and ValidEpochStagePreTick (ready for epochTick).