Section 8.1 Six-Piece Prefix-Free Message Proof #
Implements the 6-piece prefix-free encoding argument of Lemma 8.1 ([LLYZ23b], pp. 28–30)
bounding Pr[IsModeSeedConsistent] over an equivariant candidate pool context PoolCtx.
Main results #
Cslib.DataStructure.Dictionary.CellProbe.prob_queryFreePool_eq_le: Shannon/prefix-free upper bound on the consistency probability underinnerPoolDist.
theorem Cslib.DataStructure.Dictionary.CellProbe.prob_queryFreePool_eq_le (withQueries : Bool) {U V n t₀ m g P_size cells w : ℕ} {γ R t : ℝ} (hU : 3 * n ≤ U) (hV : 1 ≤ V) (hm : 2 ≤ m) (hm_n : 2 * m ≤ n) (hg : g < m / 2) {ht₀ : t₀ + m ≤ n} (hspace : ↑(cells * w) ≤ benchmarkBits U V n + R) (hbudget :
2 * R + 7 * ↑m + 2 * ↑m * t + γ * ↑m * ↑w + 2 * γ * ↑m * Real.logb 2 ↑U ≤ ↑m / 2 * Real.logb 2 ↑V - ↑m * Real.logb 2 (↑U / ↑n)) {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w} (hcorr :
∀ ops ∈ validHistoriesUpTo U V n (modeHorizon withQueries n + 1),
(D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) (ctx : PoolCtx U V n t₀ m g P_size ht₀) :
((PMF.map
(fun (sb : HardKeyValSeed U V n × Finset (Fin U)) =>
decide (IsModeSeedConsistent withQueries D_det t₀ m ht₀ γ t sb.1 sb.2))
(innerPoolDist ⋯ hV ctx.Fg ⋯))
true).toReal ≤ ↑U ^ (-γ * ↑m)