Documentation

CslibFrontier.DataStructure.Dictionary.CellProbe.LowerBound.Base

Base Ω(n) Bound, MetaTree Aggregation, and optBits Bridges #

Information-theoretic optBits bridges, ENNReal-to-ℝ expectation conversion, the linear base lower bound det_expectedSeqProbes_ge_linear, and the multi-level MetaTree probe aggregation theorem det_expectedSeqProbes_ge_of_outer_tree. Depends only on OuterGame (zero dependency on Section 8.1 ModifiedInner).

Main results #

Part B: Base Ω(n) Bound, Multi-Level MetaTree Aggregation, and optBits Bridges #

Bridge from Dynamic.optBits to benchmarkBits for general 1 ≤ V (n ≤ U).

Tight + 1-bit bridge from Dynamic.optBits to benchmarkBits when V = 2 ^ b (including key-only dictionaries V = 1 = 2 ^ 0).

theorem Cslib.DataStructure.Dictionary.CellProbe.ofReal_le_tsum_seqProbes_of_toReal_le {Op : Type u_1} {Result : Op → Type} {cells w : ℕ} (dist : PMF (List Op)) (D_det : CellProbe.IndexedScheme Op Result cells w) {L : ℝ} (hL : L ≤ ∑' (ops : List Op), (dist ops).toReal * ↑(D_det.seqProbes ops)) :
ENNReal.ofReal L ≤ ∑' (ops : List Op), dist ops * ↑(D_det.seqProbes ops)

Lift a real-valued expected probe-count lower bound L ≤ ∑' ops, (dist ops).toReal * (D_det.seqProbes ops : ℝ) into ℝ≥0∞: ENNReal.ofReal L ≤ ∑' ops, dist ops * (D_det.seqProbes ops : ℝ≥0∞).

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_ge_linear (withQueries : Bool) {U V n cells w : ℕ} (hU : 2 * n ≤ U) (hV : 1 ≤ V) {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) :
↑n / 2 ≤ ∑' (ops : List (Dynamic.Op U)), ((modeDist withQueries U V n hU hV) ops).toReal * ↑(D_det.seqProbes ops)

Base unconditional Ω(n) expected cell-probe lower bound across all 2 * n ≤ U, 1 ≤ V, cells, and w: every initial insertion i : Fin n must probe at least one cell on either s or swapInitKeySeed i s in order for step-n memory to distinguish whether s.keys i was inserted.

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_ge_of_outer_tree (withQueries : Bool) {U V n cells w : ℕ} (hU : 2 * n ≤ U) (hV : 1 ≤ V) (T : MetaTree) (hT_hor : T.horizon = n) {H : ℕ} (hH : 2 ≤ H) (hblock_half : ∀ ℓ ∈ Finset.Ico 1 H, T.blockSize (ℓ + 1) ≤ n / 2) {γ : ℝ} (hγ : 0 < γ) {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w} (houter : ∀ ℓ ∈ Finset.Ico 1 H, ∀ b < T.nodeCount (ℓ + 1), γ / 100 * ↑(T.blockSize (ℓ + 1)) ≤ ∑' (ops : List (Dynamic.Op U)), ((modeDist withQueries U V n hU hV) ops).toReal * ↑(T.nodeCost D_det n (modeStride withQueries) ops ℓ b) ∨ 1 / 16 * ↑(T.blockSize (ℓ + 1)) * (↑(H - 1) * (4 * γ / 25)) ≤ ∑' (ops : List (Dynamic.Op U)), ((modeDist withQueries U V n hU hV) ops).toReal * ↑(T.nodeProbes D_det n (modeStride withQueries) ops (ℓ + 1) b)) :
↑(H - 1) * (γ / 400) * ↑n ≤ ∑' (ops : List (Dynamic.Op U)), ((modeDist withQueries U V n hU hV) ops).toReal * ↑(D_det.seqProbes ops)

Multi-level MetaTree aggregation theorem ([LLYZ23b], Section 3, Proof of Theorem 3.1, p. 12 / PDF p. 13 and Section 6, Proof of Theorem 6.1, p. 26 / PDF p. 27): if across levels ℓ ∈ [1, H) (2 ≤ H, with T.blockSize (ℓ + 1) ≤ n / 2 so packed blocks cover ≥ n / 2 meta-operations at every level) every node (ℓ + 1, b) satisfies the OuterLemma dichotomy at (γ, t = (H - 1) * (4 * γ / 25)), then E[seqProbes] ≥ (H - 1) * (γ / 400) * n.