Hard Operational Sequence Distributions and Yao Setup for Dynamic Dictionaries #
This module formalizes the hard operational distributions, uniform dictionary marginals,
zero-error Yao coin-fixing specializations, and parallel single-timestamp state decoder used in the
dynamic succinct dictionary cell-probe lower bounds of Li, Liang, Yu, and Zhou
([LLYZ23b]; locators below follow arXiv:2306.02253v3, where printed page p is PDF
page p + 1).
- Finite operation alphabet (
validOps U V): BecauseDynamic.Op.insert u vcarries an unboundedv : ℕconstrained tov < Vby(Dynamic.spec U V n).valid,Dynamic.Op Uis not finite.validOps U Vrestricts to all.query u,.delete u, and.insert u vwithv < V(cardinality2 * U + U * V), containing every admissible operation history. - Hard operational distributions (
insertQueryDeleteDistandinsertDeleteDist): For2 * n ≤ Uand1 ≤ V, sampling an injective key sequencekeys : Fin (2 * n) ↪ Fin U, an independent value vectorvals : Fin (2 * n) → Fin V, and an independent deletion permutationdelPerm : Equiv.Perm (Fin n)uniformly produces:insertQueryDeleteDist U V n hU hV([LLYZ23b], Section 3,Distribution 1, p. 11 / PDF p. 12, extended to key-value pairs over[U] × [V]as in Section 7, Definition 7.1, p. 26 / PDF p. 27, with associated values sampled independently and uniformly fromFin Vas in Section 8, proof of Theorem 1.3 and Lemma 8.1, p. 28 / PDF p. 29;V = 1recovers key-only membership):ninitial insertions ofkeys 0, …, keys (n - 1)followed bynthree-step[query, delete, insert]meta-operations where meta-operationjqueries and deleteskeys (delPerm j)and insertskeys (n + j)(4 * nelementary operations).insertDeleteDist U V n hU hV([LLYZ23b], Section 8, proof of Theorem 1.3 and Lemma 8.1, p. 28 / PDF p. 29):ninitial insertions followed byntwo-step[delete, insert]update-only meta-operations (3 * nelementary operations, issuing zero.queryoperations).
- Admissibility, non-FIFO deletion order, and uniform size-
nstate marginals (SizedDict,sizedDictEquiv,reparamDelPermEquiv): Every supported sequence of either distribution is admissible forDynamic.spec U V nfromDictionary.empty U; each meta-operation deletion targets any of theninitial insertions with uniform probability1 / n(map_deletedKey_eq_insertedKey_insertQueryDeleteDist); and after theninitial insertions plus anyt ≤ ncomplete meta-operations, the reached dictionary state hasnkeys, values< V, and uniform marginal distribution over theU.choose n * V ^ nvalid size-ndictionaries (SizedDict U V n, bijecting viasizedDictEquivwith{ K : Finset (Fin U) // K.card = n } × (Fin n → Fin V)). - All-history zero-error Yao reduction and
decodeDict: SpecializingDataStructure.CellProbe.Randomized.exists_det_indexedScheme_le_expectedSeqProbes(and itsObliviousSequenceImplandStateTransitionImplcompanions) overvalidOps U Vwith correctness horizon4 * n + 1(resp.3 * n + 1) yields a deterministic step-indexedIndexedSchemeexact on every admissible history of length≤ 4 * n + 1(resp.≤ 3 * n + 1), not merely on the hard distribution's support. Evaluating single-step.query umathematically at fixed step indext(decodeDict D_det t C_t, our local formalization adaptation for step-indexedIndexedSchememaking the time-indexed state recovery of Sections 4.2, 5.1, and 8 explicit without advancing the step clock across keys) recovers the exact abstract states_tafter any admissible prefix of lengtht ≤ 4 * n(resp.≤ 3 * n).
Main definitions #
Cslib.DataStructure.Dictionary.CellProbe.validOps: finite alphabet of2 * U + U * Vvalue-bounded dynamic dictionary operations.Cslib.DataStructure.Dictionary.CellProbe.SizedDict,Cslib.DataStructure.Dictionary.CellProbe.sizedDictEquiv,Cslib.DataStructure.Dictionary.CellProbe.extractKeySetVals: finite subtype of size-n,V-bounded dictionary states and its canonical equivalence with key-set / value-vector pairs.Cslib.DataStructure.Dictionary.CellProbe.liftDelPerm,Cslib.DataStructure.Dictionary.CellProbe.permKeys,Cslib.DataStructure.Dictionary.CellProbe.permVals,Cslib.DataStructure.Dictionary.CellProbe.reparamDelPermEquiv,Cslib.DataStructure.Dictionary.CellProbe.activeWindowDict: deletion-permutation reparametrization and active size-nsliding-window state.Cslib.DataStructure.Dictionary.CellProbe.initInsertSeq,Cslib.DataStructure.Dictionary.CellProbe.queryDeleteInsertMetaOp,Cslib.DataStructure.Dictionary.CellProbe.deleteInsertMetaOp,Cslib.DataStructure.Dictionary.CellProbe.insertQueryDeleteSeq,Cslib.DataStructure.Dictionary.CellProbe.insertDeleteSeq,Cslib.DataStructure.Dictionary.CellProbe.insertedKeyAt?,Cslib.DataStructure.Dictionary.CellProbe.deletedKeys: deterministic sequence builders and insertion/deletion key projections.Cslib.DataStructure.Dictionary.CellProbe.insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.insertDeleteDist: hard operational distributions.Cslib.DataStructure.Dictionary.CellProbe.validHistoriesUpTo,Cslib.DataStructure.Dictionary.CellProbe.decodeDict: bounded-length admissible history family and single-timestamp parallel state decoder onIndexedScheme.
Main results #
Cslib.DataStructure.Dictionary.CellProbe.card_validOps,Cslib.DataStructure.Dictionary.CellProbe.forall_mem_validOps_of_validHistory: cardinality and completeness ofvalidOps U Vfor admissible histories.Cslib.DataStructure.Dictionary.CellProbe.card_sizedDict:Fintype.card (SizedDict U V n) = U.choose n * V ^ n.Cslib.DataStructure.Dictionary.CellProbe.validHistory_of_mem_support_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.validHistory_of_mem_support_insertDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.length_of_mem_support_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.length_of_mem_support_insertDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.not_isQuery_of_mem_support_insertDeleteDist: admissibility, lengths (4 * nand3 * n), and absence of queries ininsertDeleteDist.Cslib.DataStructure.Dictionary.CellProbe.map_deletedKey_eq_insertedKey_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.map_deletedKey_eq_insertedKey_insertDeleteDist: non-FIFO deletion independence (P(deleted key j = initial inserted key i) = 1 / n).Cslib.DataStructure.Dictionary.CellProbe.map_run_take_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.map_run_take_insertDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.map_extractKeySetVals_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.map_extractKeySetVals_insertDeleteDist: exact uniform marginal distribution afterninitial insertions andt ≤ ncomplete meta-operations.Cslib.DataStructure.Dictionary.CellProbe.decodeDict_runSeq_eq,Cslib.DataStructure.Dictionary.CellProbe.step_query_eq_none_of_notMem_dom,Cslib.DataStructure.Dictionary.CellProbe.exists_det_indexedScheme_insertQueryDeleteDist,Cslib.DataStructure.Dictionary.CellProbe.exists_det_indexedScheme_insertDeleteDist: parallel state decoding, out-of-domain query rejection, and all-history zero-error Yao specializations.
References #
- T. Li, J. Liang, H. Yu and R. Zhou, Tight Cell-Probe Lower Bounds for Dynamic Succinct
Dictionaries, Sections 3, 7, and 8 (
arXiv:2306.02253v3). - A. C.-C. Yao, Probabilistic Computations: Toward a Unified Measure of Complexity
- P. B. Miltersen, Cell Probe Complexity — a Survey
- T. H. Cormen, C. E. Leiserson, R. L. Rivest and C. Stein, Introduction to Algorithms, Chapters 11 and 17
Finite alphabet of value-bounded dynamic dictionary operations #
Finite operation alphabet of all .query u, .delete u, and .insert u v with u : Fin U
and v < V (size 2 * U + U * V).
Membership characterization for validOps U V.
Every operation admissible under Dynamic.spec U V n_max from any state s belongs to
validOps U V.
Every operation along an admissible Dynamic.spec U V n_max history belongs to
validOps U V.
Finite subtype of size-n, V-bounded dictionary states #
Subtype of Dictionary.State U storing n keys with all values strictly below V.
Instances For
Reconstruct a Dictionary.State U from a size-n key set K and a value vector
vals : Fin n → Fin V indexed along the strictly increasing enumeration K.1.orderEmbOfFin K.2.
There are U.choose n * V ^ n valid size-n, V-bounded dictionaries over Fin U.
Total projection extracting the (keySet, orderedVals) pair in the finite type
{ K : Finset (Fin U) // K.card = n } × (Fin n → Fin V) from any s : Dictionary.State U
(agreeing with sizedDictEquiv U V n whenever (dom s).card = n and ValuesBounded V s).
Deterministic hard operational sequence builders and sliding-window state #
Lift a deletion permutation delPerm : Equiv.Perm (Fin n) on the initial n indices [0, n)
to Equiv.Perm (Fin (2 * n)) by acting as the identity on [n, 2 * n).
Reparametrized key embedding placing the j-th deleted initial key keys (delPerm j) at index
j < n while leaving the n newly inserted keys keys (n + j) at [n, 2 * n).
Measure-preserving reparametrization equivalence sending ((keys, vals), delPerm) to
((permKeys keys delPerm, permVals vals delPerm), delPerm), decoupling deletion-ordered active
windows (permKeys keys delPerm, permVals vals delPerm) from the initial insertion order.
Dictionary state reached after the n initial insertions of (keys, vals) and t ≤ n
meta-operations under deletion permutation delPerm.
Permuting the initial n key-value pairs by delPerm leaves the t = 0 dictionary state
unchanged because the n keys are distinct.
Single three-step [query, delete, insert] meta-operation j : Fin n from Distribution 1
([LLYZ23b], Section 3, p. 11 / PDF p. 12): queries and deletes keys (delPerm j) and
inserts keys (n + j) with value (vals (n + j)).1.
Single two-step [delete, insert] update-only meta-operation j : Fin n
([LLYZ23b], Section 8, p. 28 / PDF p. 29): deletes keys (delPerm j) and inserts
keys (n + j) with value (vals (n + j)).1.
Full 4 * n-operation sequence for Distribution 1: n initial insertions followed by n
[query, delete, insert] meta-operations governed by delPerm.
Full 3 * n-operation update-only sequence: n initial insertions followed by n
[delete, insert] meta-operations governed by delPerm (containing zero .query operations).
Key inserted by elementary operation ops[i]?, when that operation is .insert u _.
Sequence of keys targeted by .delete operations in ops, in execution order.
insertDeleteSeq issues zero .query operations.
Admissibility and sliding-window state evolution #
Elementary slice [n + 3 * j, n + 3 * (j + 1)) of insertQueryDeleteSeq recovers
queryDeleteInsertMetaOp keys vals delPerm j.
Elementary slice [n + 2 * j, n + 2 * (j + 1)) of insertDeleteSeq recovers
deleteInsertMetaOp keys vals delPerm j.
Every insertQueryDeleteSeq is an admissible history for Dynamic.spec U V n.
Every insertDeleteSeq is an admissible history for Dynamic.spec U V n.
Prefix admissibility and exact state activeWindowDict keys vals delPerm t ht after n
initial insertions and t ≤ n complete meta-operations of insertQueryDeleteSeq.
Prefix admissibility and exact state activeWindowDict keys vals delPerm t ht after n
initial insertions and t ≤ n complete meta-operations of insertDeleteSeq.
Hard operational distributions and uniform size-n state marginals #
Distribution 1 of [LLYZ23b], Section 3, p. 11 (PDF p. 12), extended to key-value
pairs over [U] × [V] (Section 7, Definition 7.1, p. 26 / PDF p. 27) with associated values
sampled independently and uniformly from Fin V (Section 8, proof of Theorem 1.3 and Lemma 8.1,
p. 28 / PDF p. 29): samples keys : Fin (2 * n) ↪ Fin U, vals : Fin (2 * n) → Fin V, and
deletion permutation delPerm : Equiv.Perm (Fin n) independently and uniformly, then emits
insertQueryDeleteSeq keys vals delPerm (4 * n operations).
Update-only hard distribution of [LLYZ23b], Section 8, proof of Theorem 1.3 and
Lemma 8.1, p. 28 (PDF p. 29): samples keys : Fin (2 * n) ↪ Fin U, vals : Fin (2 * n) → Fin V,
and deletion permutation delPerm : Equiv.Perm (Fin n) independently and uniformly, then emits
insertDeleteSeq keys vals delPerm (3 * n operations, zero .query calls).
Every sequence in (insertQueryDeleteDist U V n hU hV).support has length 4 * n.
Every sequence in (insertDeleteDist U V n hU hV).support has length 3 * n.
Every sequence in (insertDeleteDist U V n hU hV).support issues zero .query operations.
Every sequence in (insertQueryDeleteDist U V n hU hV).support is an admissible history for
Dynamic.spec U V n from Dictionary.empty U and uses only operations in validOps U V.
Every sequence in (insertDeleteDist U V n hU hV).support is an admissible history for
Dynamic.spec U V n from Dictionary.empty U and uses only operations in validOps U V.
Under insertQueryDeleteDist, for every meta-operation index j : Fin n and initial insertion
index i : Fin n, the j-th deleted key equals the i-th initially inserted key with exact
probability 1 / n (confirming non-FIFO uniform deletion order).
Under insertDeleteDist, for every meta-operation index j : Fin n and initial insertion
index i : Fin n, the j-th deleted key equals the i-th initially inserted key with exact
probability 1 / n (confirming non-FIFO uniform deletion order).
After the n initial insertions and any t ≤ n complete meta-operations under
insertQueryDeleteDist, the induced dictionary state is uniformly distributed over the
U.choose n * V ^ n valid size-n, V-bounded dictionaries (SizedDict U V n).
After the n initial insertions and any t ≤ n complete meta-operations under
insertDeleteDist, the induced dictionary state is uniformly distributed over SizedDict U V n.
Finite-type (keySet, orderedVals) marginal version of map_run_take_insertQueryDeleteDist,
typed directly in { K : Finset (Fin U) // K.card = n } × (Fin n → Fin V) for finite-PMF Shannon
entropy calculations.
Finite-type (keySet, orderedVals) marginal version of map_run_take_insertDeleteDist.
Parallel single-timestamp state decoder (decodeDict) and all-history Yao reduction #
Set of all admissible Dynamic.spec U V n histories from Dictionary.empty U of length at
most M (automatically contained in validOps U V by forall_mem_validOps_of_validHistory).
Single-timestamp parallel dictionary state decoder: evaluates single-step .query u on D_det
from memory C_t at fixed step index t for every u : Fin U, without advancing t or mutating
C_t across keys (our local formalization adaptation for step-indexed IndexedScheme, making
explicit the time-indexed state recovery used in [LLYZ23b], Sections 4.2, 5.1, and 8,
p. 14 / PDF p. 15, pp. 22–23 / PDF pp. 23–24, and p. 29 / PDF p. 30).
If D_det is exact on all admissible histories up to length M + 1, then after any
admissible prefix pref of length ≤ M reaching memory C_t := (D_det.runSeq pref).2 and
abstract state s_t := ((Dynamic.spec U V n).run (Dictionary.empty U) pref).1,
decodeDict D_det pref.length C_t equals s_t identically.
Out-of-domain query rejection: after any admissible prefix pref of length ≤ M, querying any
absent key u ∉ Dictionary.dom s_t at step pref.length returns none.
Zero-error Yao coin-fixing on insertQueryDeleteDist preserving exactness across all
admissible histories up to horizon 4 * n + 1 (so decodeDict is exact after every prefix of
length ≤ 4 * n).
Zero-error Yao coin-fixing on insertDeleteDist preserving exactness across all admissible
histories up to horizon 3 * n + 1 (including .query extensions outside insertDeleteDist's
update-only support, so decodeDict remains exact after every prefix of length ≤ 3 * n).
Lower-bound transfer for ObliviousSequenceImpl on Dynamic.spec U V n over
insertQueryDeleteDist.
Lower-bound transfer for ObliviousSequenceImpl on Dynamic.spec U V n over
insertDeleteDist.
Lower-bound transfer for Randomized.StateTransitionImpl on Dynamic.spec U V n over
insertQueryDeleteDist.
Lower-bound transfer for Randomized.StateTransitionImpl on Dynamic.spec U V n over
insertDeleteDist.