Epoch Clock Progression, Rollover Reset, and trySelfHeal Entry for SuccinctWhpFastProb #
Internal transition lemmas tracking epochClock, rollover clean-epoch initialization
(epochTick_clean_or_clock), and trySelfHeal clean entry (trySelfHeal_clean)
(not re-exported by SuccinctWhpFastProb).
theorem Cslib.DataStructure.Dictionary.SuccinctWhp.epochTick_clean_or_clock {c U V n_max : ℕ} {θ : SeedWhp c U n_max} {W_keys BadIns : Finset (Fin U)} {fs fs' : FastState} {dict : State U} (hc : CoreFastInv c U V n_max θ fs dict) (hv' : ValidFastState c U V n_max θ fs' dict) (htick : epochTick c U n_max θ fs = some fs') :
CleanWindowFast c U V n_max θ W_keys BadIns fs' dict ∨ fs'.epochClock = fs.epochClock + 1 ∧ fs.epochClock + 1 < qEpochWhp n_max
theorem Cslib.DataStructure.Dictionary.SuccinctWhp.fastDelete_epochClock (c U n_max : ℕ) (θ : SeedWhp c U n_max) (fs : FastState) (u : Fin U) :
theorem Cslib.DataStructure.Dictionary.SuccinctWhp.fastInsert_epochClock {c U n_max : ℕ} {θ : SeedWhp c U n_max} {fs fs1 : FastState} {u : Fin U} {v : ℕ} (hins : fastInsert c U n_max θ fs u v = some fs1) :
theorem Cslib.DataStructure.Dictionary.SuccinctWhp.trySelfHeal_clean {c U V n_max : ℕ} (hth : whpThreshold c ≤ n_max) {θ : SeedWhp c U n_max} {W_keys BadIns : Finset (Fin U)} {csr : CsrState} {dict : State U} (hcsr : ValidCsrState U V n_max (bktHash c U n_max θ.1) csr dict) (hqv : ∀ (p : ℕ), csr.qArr p < 2 ^ quotBitsWhp U n_max ∧ csr.vArr p < max V 1) (hgood : GoodSeedOnState c U n_max θ dict) :
∃ (fs' : FastState),
trySelfHeal c U n_max θ csr = WhpDictState.fast fs' ∧ CleanWindowFast c U V n_max θ W_keys BadIns fs' dict