Documentation

CslibFrontier.DataStructure.Dictionary.SuccinctWhpModelStep.Overmars

Per-Bucket Shadow-Rebuild Step Preservation (overmarsStep_spec) #

This module proves overmarsStep_spec for SuccinctWhpModel: advancing the per-bucket Overmars shadow B+-tree scan by 16 coordinates (and swapping liveRole / overmarsRole upon completion) restores OvermarsBucketInv on bucket b while preserving CoreFastInv, OvermarsBucketInv on all other buckets, ValidEpochStage, and ValidEpochStagePreTick.

Main results #

theorem Cslib.DataStructure.Dictionary.SuccinctWhp.overmarsStep_spec {c U V n_max b : ℕ} {θ : SeedWhp c U n_max} {fs : FastState} {dict : State U} (hc : CoreFastInv c U V n_max θ fs dict) (hb : b < numBucketsWhp n_max) (hom_other : ∀ b' < numBucketsWhp n_max, b' ≠ b → OvermarsBucketInv c U n_max θ fs b') (hom_b : PreOvermarsBucketInv c U n_max θ fs b) :
have fs' := overmarsStep c U n_max θ b fs; CoreFastInv c U V n_max θ fs' dict ∧ (∀ b' < numBucketsWhp n_max, OvermarsBucketInv c U n_max θ fs' b') ∧ (ValidEpochStage c U n_max θ fs → ValidEpochStage c U n_max θ fs') ∧ (ValidEpochStagePreTick c U n_max θ fs → ValidEpochStagePreTick c U n_max θ fs') ∧ fs'.curEp = fs.curEp ∧ fs'.epochClock = fs.epochClock ∧ fs'.rebStage = fs.rebStage ∧ fs'.buf = fs.buf

overmarsStep on bucket b < numBucketsWhp n_max restores OvermarsBucketInv on b while preserving CoreFastInv, OvermarsBucketInv on all b' ≠ b, ValidEpochStage, and ValidEpochStagePreTick.