Documentation

CslibFrontier.DataStructure.Dictionary.CellProbe.LowerBound.Update

Update-Only Cell-Probe Lower Bounds (Theorem 1.3) #

Public deterministic and zero-error randomized cell-probe lower bounds on insertDeleteDist under U ≥ 3 * n and V ≥ U ^ (2 + α_V) / n ^ 2 without query-time constraints ([LLYZ23b], Theorem 1.3(1)–(2), Section 8, pp. 27–30 / PDF pp. 28–31).

Main results #

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_update_ge_iterLog {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n k cells w : ℕ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → 1 ≤ k → k ≤ n.logStar → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n * ↑(max (k.iterLog n) 1) → ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → c * ↑n * ↑k ≤ ∑' (ops : List (Dynamic.Op U)), ((insertDeleteDist U V n ⋯ hV) ops).toReal * ↑(D_det.seqProbes ops)

Deterministic Theorem 1.3(1) ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, pp. 27–30 / PDF pp. 28–31): update-only (insertDeleteDist) Ω(n * k) cell-probe lower bound for 3 * n ≤ U and U ^ (2 + α_V) ≤ V * n ^ 2 under redundancy ≤ c_R * n * max 1 (log^{(k)} n) (correctness up to 3 * n + 1 allows one trailing .query step so decodeDict is well-defined after the 3 * n PUnit-returning updates).

theorem Cslib.DataStructure.Dictionary.CellProbe.expectedSeqProbes_update_ge_iterLog {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n k cells w : ℕ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → 1 ≤ k → k ≤ n.logStar → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n * ↑(max (k.iterLog n) 1) → ∀ (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w), (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) → ENNReal.ofReal (c * ↑n * ↑k) ≤ ∑' (ops : List (Dynamic.Op U)), (insertDeleteDist U V n ⋯ hV) ops * P.expectedSeqProbes ops

Zero-error randomized Theorem 1.3(1) ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, pp. 27–30 / PDF pp. 28–31) in the Las Vegas oblivious model (3 * n + 1 correctness horizon for decodeDict on update-only insertDeleteDist).

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_update_ge_iterLogStar {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n → ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → c * ↑n * ↑n.logStar ≤ ∑' (ops : List (Dynamic.Op U)), ((insertDeleteDist U V n ⋯ hV) ops).toReal * ↑(D_det.seqProbes ops)

Deterministic Ω(n * log* n) specialization of Theorem 1.3(1) at k = Nat.logStar n (O(n) redundancy).

theorem Cslib.DataStructure.Dictionary.CellProbe.expectedSeqProbes_update_ge_iterLogStar {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n → ∀ (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w), (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) → ENNReal.ofReal (c * ↑n * ↑n.logStar) ≤ ∑' (ops : List (Dynamic.Op U)), (insertDeleteDist U V n ⋯ hV) ops * P.expectedSeqProbes ops

Zero-error randomized Ω(n * log* n) specialization of Theorem 1.3(1) at k = Nat.logStar n (Las Vegas oblivious model).

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_update_ge_sublinear {α_V c_w : ℝ} (hα_V : 0 < α_V) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ} {R : ℝ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → R ≤ ↑n → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + R → ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → c * ↑n * Real.logb 2 (↑n / max R 1) ≤ ∑' (ops : List (Dynamic.Op U)), ((insertDeleteDist U V n ⋯ hV) ops).toReal * ↑(D_det.seqProbes ops)

Deterministic Theorem 1.3(2) ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, pp. 27–30 / PDF pp. 28–31): update-only (insertDeleteDist) Ω(n * log₂(n / max R 1)) cell-probe lower bound for 3 * n ≤ U, U ^ (2 + α_V) ≤ V * n ^ 2, and R ≤ n (vanishing at the R = n boundary, with 3 * n + 1 correctness horizon for decodeDict).

theorem Cslib.DataStructure.Dictionary.CellProbe.expectedSeqProbes_update_ge_sublinear {α_V c_w : ℝ} (hα_V : 0 < α_V) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ} {R : ℝ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → R ≤ ↑n → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + R → ∀ (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w), (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) → ENNReal.ofReal (c * ↑n * Real.logb 2 (↑n / max R 1)) ≤ ∑' (ops : List (Dynamic.Op U)), (insertDeleteDist U V n ⋯ hV) ops * P.expectedSeqProbes ops

Zero-error randomized Theorem 1.3(2) ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, pp. 27–30 / PDF pp. 28–31) in the Las Vegas oblivious model (vanishing at R = n).

theorem Cslib.DataStructure.Dictionary.CellProbe.det_expectedSeqProbes_update_ge_iterLogStar_add_log_div {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ} {R : ℝ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → R ≤ c_R * ↑n → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + R → ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → c * ↑n * (↑n.logStar + max 0 (Real.logb 2 (↑n / max R 1))) ≤ ∑' (ops : List (Dynamic.Op U)), ((insertDeleteDist U V n ⋯ hV) ops).toReal * ↑(D_det.seqProbes ops)

Combined deterministic Theorem 1.3(1)–(2) (Ω(n * (log* n + log₂(n / max R 1)))) on insertDeleteDist across all R ≤ c_R * n ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, p. 27 / PDF p. 28).

theorem Cslib.DataStructure.Dictionary.CellProbe.expectedSeqProbes_update_ge_iterLogStar_add_log_div {α_V c_R c_w : ℝ} (hα_V : 0 < α_V) (hcR : 0 ≤ c_R) (hcw : 0 ≤ c_w) :
∃ (c : ℝ), 0 < c ∧ ∀ {U V n cells w : ℕ} {R : ℝ}, 2 ≤ n → ∀ (hU : 3 * n ≤ U) (hV : 1 ≤ V), ↑U ^ (2 + α_V) ≤ ↑V * ↑n ^ 2 → R ≤ c_R * ↑n → ↑w ≤ c_w * (Real.logb 2 ↑U + Real.logb 2 ↑V) → ↑(cells * w) ≤ benchmarkBits U V n + R → ∀ (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w), (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) → ENNReal.ofReal (c * ↑n * (↑n.logStar + max 0 (Real.logb 2 (↑n / max R 1)))) ≤ ∑' (ops : List (Dynamic.Op U)), (insertDeleteDist U V n ⋯ hV) ops * P.expectedSeqProbes ops

Combined zero-error randomized Theorem 1.3(1)–(2) (Ω(n * (log* n + log₂(n / max R 1)))) on insertDeleteDist across all R ≤ c_R * n in the Las Vegas oblivious model ([LLYZ23b], Section 1, p. 2 / PDF p. 3 and Section 8, p. 27 / PDF p. 28).