Word-RAM Time-Space Lower Bounds for Dynamic Succinct Dictionaries #
Contrapositive Word-RAM time-space trade-off lower bounds for dynamic succinct dictionaries
(Dynamic.spec U V n, supporting insert, delete, and query) from Li, Liang, Yu, and Zhou
([LLYZ23b]; locators below follow arXiv:2306.02253v3, where printed page p is PDF
page p + 1), obtained by combining the multi-level step-indexed cell-probe lower bounds of
CslibFrontier.DataStructure.Dictionary.CellProbe.LowerBound with the zero-error
machine-to-cell-probe simulation bridges of CslibFrontier.DataStructure.CellProbe.OfWordRAM
([LLYZ23b], Section 1, p. 1 footnote 1 / PDF p. 2, "a cell-probe lower bound implies
the same time lower bound for RAM"; [Yao77]):
- Primary headlines — actual expected Word-RAM running time (
expectedFlatTime_*):- Theorem 1.1 / Theorem 3.1 (pp. 1, 10–13 / PDF pp. 2, 11–14):
Ω(n * k)actual expected Word-RAM body instructions (ExecFlatProgramOps) overinsertQueryDeleteDistunder(((space + persCount input) * w : ℕ) : ℝ) ≤ benchmarkBits U V n + c_R * n * max (log^{(k)} n) 1(1 ≤ k ≤ log* n), specializing atk = Nat.logStar n(max (Nat.iterLog (Nat.logStar n) n) 1 = 1for2 ≤ n) toΩ(n * log* n)underO(n)bits of redundancy. - Theorem 1.2 / Theorem 6.1 and combined bound (pp. 2, 25–27 / PDF pp. 3, 26–28):
Ω(n * log₂(n / max R 1))actual expected Word-RAM body instructions forR-redundancy dynamic dictionaries (R ≤ n, vanishing atR = n), together with the combinedΩ(n * (log* n + max 0 (log₂(n / max R 1))))bound across allR ≤ c_R * n. - Theorem 1.3(1)–(2) and combined update-only bound (pp. 2, 27–30 / PDF pp. 3, 28–31):
update-only
Ω(n * k),Ω(n * log₂(n / max R 1)), andΩ(n * (log* n + max 0 (log₂(n / max R 1))))actual expected Word-RAM instruction lower bounds oninsertDeleteDistfor3 * n ≤ UandU ^ (2 + α_V) ≤ V * n ^ 2, with no query-time constraint.
- Theorem 1.1 / Theorem 3.1 (pp. 1, 10–13 / PDF pp. 2, 11–14):
- Certified-budget corollaries (
expectedTotalCost_*): derived directly from the actual-expected-time flat-program headlines for any zero-errorWordRAM.Randomized.StateTransitionImpl(including deterministicWordRAM.StateTransitionImpls viaStateTransitionImpl.toRandomized), lower-boundingC.initPotential + E[totalCost C.charge]([CLRS09], Section 17.3) under direct parameter-fit conditions on(w, base, params, P). - Generic dictionary Word-RAM transfer bridges:
expectedFlatTime_ge_of_indexedScheme,expectedFlatTime_update_ge_of_indexedScheme,expectedTotalCost_ge_of_indexedScheme, andexpectedTotalCost_update_ge_of_indexedScheme.
Formalization adaptations inherited from
CslibFrontier.DataStructure.Dictionary.CellProbe.LowerBound ([LLYZ23b],
arXiv:2306.02253v3):
- Deterministic
c = 1probe cap (Sections 4.2, 5.1, 5.2, and 8.1):arXiv:2306.02253v3§4.2 (p. 14 / PDF p. 15) 1-indexes levelsℓ ∈ {1, …, k}with segment lengthm_{ℓ-1}and fanoutλ_ℓ, so thec = 1cap reads|S_A|, |S_B| ≤ m_{ℓ-1} * twith Markov loss at most(1 / 16) * λ_ℓ. InMetaTree, internal parent nodes(ℓ + 1, b)forℓ ∈ {0, …, T.height - 1}have child-segment lengthm_ℓ = T.blockSize ℓand fanoutλ_{ℓ+1} = T.fanout (ℓ + 1)(T.blockSize (ℓ + 1) = T.blockSize ℓ * T.fanout (ℓ + 1)), soIsModeSeedConsistentenforces|S_A|, |S_B| ≤ m_ℓ * tdirectly inside segment qualification (incurring at most(1 / 16) * λ_{ℓ+1}probe-cap probability loss via Markov's inequality onnodeProbesinMetaTree.sum_prob_not_isGoodSeg_le), preserving Claim 4.1 (λ_{ℓ+1} / 4) and Eq. (11) (2(β + 1) m_ℓ t) while keeping Step 5 separator messages deterministically bounded on{W = 1}. - Internal Markov sub-conditioning in Step 6 (
Section 8.1, Lemma 8.1): sub-conditions on state-fiber multiplicityc(T_B) ≤ 2 ^ (R + 1) * U ^ (γ * m)over the uniform marginal ofT_B(Pr[bad] ≤ (1 / 2) * U ^ (-γ * m)), costingR + 2 + γ * m * log₂ Ubits in Step 6 while preserving Theorem 1.3'sU ^ (2 + α_V) ≤ V * n ^ 2threshold.
Word-RAM model and boundary conventions:
- Persistent state and constant-register overhead absorption ([LLYZ23b], p. 1
footnote 1): a flat Word-RAM program
p_op : Program B rwith input maskinput : Fin r → Boolmaintainsspacememory words in[base, base + space)pluspersCount inputnon-input registers (input i = false, coinciding withpersistentRegCount PforP : SubroutineCode), so its persistent state across operation boundaries is(space + persCount input) * wbits (space * wbits when∀ i, input i = true). Simulatingp_opin the cell-probe model adds2 * persCount inputreload/spill probes per operation; because no zero-body-instruction program (p_op[0]? = some (.halt _)) can realizeDynamic.spec U V nfor1 ≤ n, 2 ≤ U, 1 ≤ V, every operation executes at least1body instruction in expectation, absorbing the register spill term into the multiplicative factor1 / (2 * persCount input + 1)(hence into the constantc > 0for any fixed register budgetpersCount input ≤ r_max, with zero loss atr_max = 0). - Actual expected running time vs. certified resource budgets ([CLRS09], Section 17.3):
ExecFlatProgramOps.tighten_actualBodyTime(inCslibFrontier.DataStructure.CellProbe.OfWordRAM) proves that every certifiedExecFlatProgramOpsexecution with admissible budgetT_opsalso witnessesExecFlatProgramOpsat the exact intrinsic expected non-haltbody-instruction countflatExpectedBodyTime w p_op input encode (ν₀.map Prod.snd) ops(accumulatingexpectedTime w p_op ⟨0, prepareFlatRegs input encode o x⟩ - 1alongflatStateDist, which on certified histories coincides with the exact limiting halting distribution at every operation boundary), preserving the coupled distributions(ν₀, ν_final)and zero-error correctness, withflatExpectedBodyTime ... ops ≤ T_ops. Total expected executed instructions including each operation's terminalhaltsatisfyflatExpectedTime ... ops = flatExpectedBodyTime ... ops + ops.length(flatExpectedTime_eq_add_length). All sixexpectedFlatTime_*headlines (and both genericexpectedFlatTime{,_update}_ge_of_indexedSchemebridges) directly lower-bound∑' ops, dist ops * flatExpectedBodyTime w p_op input encode (ν₀.map Prod.snd) opswith no caller-supplied budgetT(including deterministic programs viaLatent := Unit,ν₀ := PMF.pure ((), x₀)). The companionexpectedTotalCost_*corollaries follow viaflatExpectedBodyTime_leto lower-bound the certified potential-amortized budgetC.initPotential + E[totalCost C.charge]of anyWordRAM.Randomized.StateTransitionImpl(and deterministicWordRAM.StateTransitionImpls viaStateTransitionImpl.toRandomized). - Zero-error oblivious randomization and
R = nboundary: bounds apply to zero-error (Las Vegas) Word-RAM programs on oblivious sequences (insertQueryDeleteDistandinsertDeleteDist); bounded-error (Monte Carlo) implementations and adaptive sequence adversaries are out of scope. AtR = n(n ≥ 1),log₂(n / max R 1) = 0, where thek = Nat.logStar nand combined theorems supply the active lower bound.
Main results #
Cslib.DataStructure.Dictionary.WordRAM.exists_flat_exec_of_stateTransitionImpl: builds an initialized state distributionν₀from a zero-errorStateTransitionImpltogether with exactflatExpectedBodyTimerealization bounds≤ C.initPotential + totalCost C.charge.Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_ge_of_indexedScheme,Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_update_ge_of_indexedScheme,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_ge_of_indexedScheme,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_update_ge_of_indexedScheme: generic dictionary cell-probe-to-Word-RAM lower-bound transfer bridges.Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_ge_of_iterLog_redundancy: Word-RAM Theorem 1.1 / Theorem 3.1 (Ω(n * k)actual expected running time, specializing atk = Nat.logStar ntoΩ(n * log* n)).Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_ge_of_sublinear_redundancy,Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_ge_iterLogStar_add_log_div: Word-RAM Theorem 1.2 / Theorem 6.1 and combinedΩ(n * (log* n + max 0 (log₂(n / max R 1))))actual expected running-time lower bounds.Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_update_ge_iterLog,Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_update_ge_sublinear,Cslib.DataStructure.Dictionary.WordRAM.expectedFlatTime_update_ge_iterLogStar_add_log_div: Word-RAM Theorem 1.3(1)–(2) and combined update-only actual expected running-time lower bounds.Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_ge_of_iterLog_redundancy,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_ge_of_sublinear_redundancy,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_ge_iterLogStar_add_log_div,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_update_ge_iterLog,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_update_ge_sublinear,Cslib.DataStructure.Dictionary.WordRAM.expectedTotalCost_update_ge_iterLogStar_add_log_div: certified potential-amortized budget corollaries forWordRAM.Randomized.StateTransitionImpl.
References #
- T. Li, J. Liang, H. Yu and R. Zhou, Tight Cell-Probe Lower Bounds for Dynamic Succinct
Dictionaries, Sections 1, 3, 4.2, 5.1, 5.2, 6, 7, and 8
(
arXiv:2306.02253v3). - A. C.-C. Yao, Probabilistic Computations: Toward a Unified Measure of Complexity
- T. H. Cormen, C. E. Leiserson, R. L. Rivest and C. Stein, Introduction to Algorithms, Section 17.3
1. Positive body-instruction lower bounds, initial-data construction, and ℝ≥0∞ helpers #
Extract an initialized latent-state distribution ν₀ from any zero-error
WordRAM.Randomized.StateTransitionImpl, witnessing ExecFlatProgramOps along every valid
dictionary history at its exact intrinsic expected non-halt body-instruction count
flatExpectedBodyTime w (P.code.program P.output) P.input C.encode (ν₀.map Prod.snd) ops
bounded by C.initPotential + totalCost C.charge. Delegates initialization and amortization to
StateTransitionImpl.exists_init_and_flat_steps and tightens to the exact count via
ExecFlatProgramOps.tighten_actualBodyTime.
2. Generic Dictionary Cell-Probe-to-Word-RAM Lower-Bound Transfer Bridges #
Transfer any deterministic step-indexed IndexedScheme lower bound over
insertQueryDeleteDist directly to the exact intrinsic expected non-halt body-instruction count
flatExpectedBodyTime w p_op input encode (ν₀.map Prod.snd) ops (hence also to total executed
instructions flatExpectedTime = flatExpectedBodyTime + ops.length and to any admissible
ExecFlatProgramOps budget T_ops via ExecFlatProgramOps.flatExpectedBodyTime_le).
Transfer any deterministic step-indexed IndexedScheme lower bound over insertDeleteDist
directly to the exact intrinsic expected non-halt body-instruction count
flatExpectedBodyTime w p_op input encode (ν₀.map Prod.snd) ops.
Transfer any deterministic step-indexed IndexedScheme lower bound over
insertQueryDeleteDist to the certified expected-amortized instruction budget of a zero-error
WordRAM.Randomized.StateTransitionImpl on Dynamic.spec U V n (including deterministic
WordRAM.StateTransitionImpls via StateTransitionImpl.toRandomized).
Transfer any deterministic step-indexed IndexedScheme lower bound over insertDeleteDist to
the certified expected-amortized instruction budget of a zero-error
WordRAM.Randomized.StateTransitionImpl on Dynamic.spec U V n (including deterministic
WordRAM.StateTransitionImpls via StateTransitionImpl.toRandomized).
3. Primary Word-RAM Headline Lower Bounds: Actual Expected Running Time #
Word-RAM Theorem 1.1 / Theorem 3.1 ([LLYZ23b], Section 1, p. 1 and footnote 1 /
PDF p. 2, and Section 3, pp. 10–13 / PDF pp. 11–14; [Yao77]): for any α > 0, c_R ≥ 0,
c_w ≥ 0, and persistent-register bound r_max, there exists c > 0 such that any zero-error
(Las Vegas) or deterministic flat Word-RAM program p_op : Program B r realizing
Dynamic.spec U V n from ν₀ up to horizon 4 * n + 1 with persCount input ≤ r_max and
persistent bit budget (((space + persCount input) * w : ℕ) : ℝ) ≤ benchmarkBits U V n + c_R * n * max (log^{(k)} n) 1 (1 ≤ k ≤ log* n) has exact intrinsic expected non-halt
body-instruction count flatExpectedBodyTime w p_op input encode (ν₀.map Prod.snd) ops at least
ENNReal.ofReal (c * n * k) over oblivious insertQueryDeleteDist (hence also flatExpectedTime
and any admissible ExecFlatProgramOps budget T_ops via flatExpectedBodyTime_le).
Specializing k = Nat.logStar n (max (Nat.iterLog (Nat.logStar n) n) 1 = 1 for 2 ≤ n) yields
Ω(n * log* n) under O(n) bits of redundancy; Monte Carlo error and adaptive sequence
adversaries are out of scope.
Word-RAM Theorem 1.2 / Theorem 6.1 ([LLYZ23b], Section 1, p. 1 footnote 1 and
p. 2 / PDF pp. 2–3, and Section 6, pp. 25–26 / PDF pp. 26–27; [Yao77]): for any α > 0,
c_w ≥ 0, and persistent-register bound r_max, there exists c > 0 such that any zero-error
(Las Vegas) or deterministic flat Word-RAM program p_op : Program B r realizing
Dynamic.spec U V n up to horizon 4 * n + 1 with persCount input ≤ r_max and R ≤ n bits of
redundancy ((((space + persCount input) * w : ℕ) : ℝ) ≤ benchmarkBits U V n + R) has exact
intrinsic expected non-halt body-instruction count flatExpectedBodyTime at least
ENNReal.ofReal (c * n * log₂(n / max R 1)) on oblivious insertQueryDeleteDist (vanishing at
R = n; see expectedFlatTime_ge_iterLogStar_add_log_div for the combined bound across
R ≤ c_R * n).
Combined Word-RAM Theorems 1.1 & 1.2
(Ω(n * (log* n + max 0 (log₂(n / max R 1)))) exact intrinsic expected non-halt body
instructions flatExpectedBodyTime) across all R ≤ c_R * n in the zero-error (Las Vegas) or
deterministic oblivious model ([LLYZ23b], Section 1, pp. 1–2 and footnote 1 / PDF
pp. 2–3, and Section 7, pp. 26–27 / PDF pp. 27–28; [Yao77]).
Word-RAM Theorem 1.3(1) ([LLYZ23b], Section 1, p. 1 footnote 1 and p. 2 /
PDF pp. 2–3, and Section 8, pp. 27–30 / PDF pp. 28–31; [Yao77]): update-only (insertDeleteDist)
Ω(n * k) exact intrinsic expected non-halt body-instruction (flatExpectedBodyTime) lower
bound for zero-error (Las Vegas) or deterministic flat Word-RAM programs when 3 * n ≤ U and
U ^ (2 + α_V) ≤ V * n ^ 2 under redundancy ≤ c_R * n * max (log^{(k)} n) 1 (with horizon
3 * n + 1 for decodeDict, no query-time constraint, and k = Nat.logStar n yielding
Ω(n * log* n) under O(n) redundancy).
Word-RAM Theorem 1.3(2) ([LLYZ23b], Section 1, p. 1 footnote 1 and p. 2 /
PDF pp. 2–3, and Section 8, pp. 27–30 / PDF pp. 28–31; [Yao77]): update-only (insertDeleteDist)
Ω(n * log₂(n / max R 1)) exact intrinsic expected non-halt body-instruction
(flatExpectedBodyTime) lower bound for zero-error (Las Vegas) or deterministic flat Word-RAM
programs when 3 * n ≤ U, U ^ (2 + α_V) ≤ V * n ^ 2, and R ≤ n (vanishing at R = n).
Combined Word-RAM Theorem 1.3(1)–(2)
(Ω(n * (log* n + max 0 (log₂(n / max R 1)))) exact intrinsic expected non-halt body
instructions flatExpectedBodyTime) on insertDeleteDist across all R ≤ c_R * n in the
zero-error (Las Vegas) or deterministic oblivious model ([LLYZ23b], Section 1, pp. 1–2
and footnote 1 / PDF pp. 2–3, and Section 8, pp. 27–30 / PDF pp. 28–31; [Yao77]).
4. Certified-Budget Corollaries for WordRAM.Randomized.StateTransitionImpl #
Certified-budget corollary of expectedFlatTime_ge_of_iterLog_redundancy ([CLRS09], Section
17.3): lower-bounds the potential-amortized instruction budget C.initPotential + E[totalCost C.charge] of any zero-error WordRAM.Randomized.StateTransitionImpl (including deterministic
WordRAM.StateTransitionImpls via StateTransitionImpl.toRandomized) on insertQueryDeleteDist.
Certified-budget corollary of expectedFlatTime_ge_of_sublinear_redundancy ([CLRS09],
Section 17.3): lower-bounds C.initPotential + E[totalCost C.charge] for any zero-error
WordRAM.Randomized.StateTransitionImpl (or StateTransitionImpl.toRandomized) under R ≤ n bits
of redundancy on insertQueryDeleteDist (vanishing at R = n).
Certified-budget corollary of expectedFlatTime_ge_iterLogStar_add_log_div ([CLRS09],
Section 17.3): lower-bounds C.initPotential + E[totalCost C.charge] across all R ≤ c_R * n on
insertQueryDeleteDist for any zero-error WordRAM.Randomized.StateTransitionImpl (or
StateTransitionImpl.toRandomized).
Certified-budget corollary of expectedFlatTime_update_ge_iterLog ([CLRS09], Section 17.3):
lower-bounds C.initPotential + E[totalCost C.charge] on update-only insertDeleteDist for any
zero-error WordRAM.Randomized.StateTransitionImpl (or StateTransitionImpl.toRandomized).
Certified-budget corollary of expectedFlatTime_update_ge_sublinear ([CLRS09], Section
17.3): lower-bounds C.initPotential + E[totalCost C.charge] on update-only insertDeleteDist
under R ≤ n bits of redundancy (vanishing at R = n) for any zero-error
WordRAM.Randomized.StateTransitionImpl (or StateTransitionImpl.toRandomized).
Certified-budget corollary of expectedFlatTime_update_ge_iterLogStar_add_log_div ([CLRS09],
Section 17.3): lower-bounds C.initPotential + E[totalCost C.charge] on update-only
insertDeleteDist across all R ≤ c_R * n for any zero-error
WordRAM.Randomized.StateTransitionImpl (or StateTransitionImpl.toRandomized).