Chronogram bookkeeping for cell-probe schemes #
The chronogram method of Fredman and Saks [FS89] proves dynamic cell-probe lower bounds by splitting an update sequence into consecutive epochs and asking which epoch last wrote the cells that a later query probes (see [PD06], §3.1, p. 5, for the history of the method). Here the epoch that last probed a cell stands in for the epoch that last wrote it: a cell that no later epoch probes keeps its contents, and the cells probed later are exactly the ones whose final contents an encoder records.
This file supplies the epoch-independent bookkeeping for a deterministic step-indexed
scheme D : IndexedScheme Op Result cells w that runs consecutive operation segments
seg 0, seg 1, … from step t₀ and memory m₀.
For a run of L segments and a segment j < L, laterCells is the set of cells probed by segments
j + 1, …, L - 1, and lastCells is the set of cells probed by segment j and by no later
segment. overlayMem is the memory that a decoder can reconstruct from the memory before segment
j together with the final contents of the cells probed afterwards. The main facts are:
- the overlay agrees with the true final memory outside
lastCells, and it differs from the memory before segmentjon at most#laterCellscells, which is at mostd * Σ |seg k|when every step has depth at mostd; - the sets
lastCells L j,j < L, are pairwise disjoint, so a set ofpprobed cells meets at mostpof them; - a query whose probed cells avoid
lastCells L jgives the same answer on the overlay as on the true memory.
At most (cells * (2 ^ w - 1) + 1) ^ r memories lie within Hamming distance r of a fixed memory,
which bounds the number of overlays in an encoding argument.
Main definitions #
Cslib.CellProbe.IndexedScheme.segStart,Cslib.CellProbe.IndexedScheme.segMem: the step index and memory at which segmentjstarts.Cslib.CellProbe.IndexedScheme.segCells,Cslib.CellProbe.IndexedScheme.laterCells,Cslib.CellProbe.IndexedScheme.lastCells: cells probed by segmentj, by segments afterj, and by segmentjbut no later segment.Cslib.CellProbe.IndexedScheme.overlayMem: the final contents oflaterCellsover the memory before segmentj.
Main results #
Cslib.CellProbe.IndexedScheme.runInterval_flatMap_range,Cslib.CellProbe.IndexedScheme.runInterval_flatMap_range_append: running the concatenated segments reachessegStart LandsegMem L.Cslib.CellProbe.IndexedScheme.segMem_eq_of_notMem_laterCells: cells untouched after segmentjkeep their contents from the end of segmentj.Cslib.CellProbe.IndexedScheme.overlayMem_eq_of_notMem_lastCells,Cslib.CellProbe.IndexedScheme.hammingDist_overlayMem_le: the overlay agrees with the final memory outsidelastCellsand is close to the memory before segmentj.Cslib.CellProbe.IndexedScheme.pairwiseDisjoint_lastCells,Cslib.CellProbe.IndexedScheme.card_filter_lastCells_le: disjointness of the last-touched sets and the resulting bound on the number of epochs a probe set meets.Cslib.CellProbe.IndexedScheme.card_laterCells_le,Cslib.CellProbe.IndexedScheme.probesInterval_le_mul_length: probe-count bounds under a uniform depth bound.Cslib.CellProbe.IndexedScheme.run_overlayMem_eq: a query avoidinglastCellsanswers the same on the overlay.Cslib.CellProbe.card_filter_hammingDist_le_le_pow: at most(cells * (2 ^ w - 1) + 1) ^ rmemories within Hamming distancerof a memory, fromCslib.Code.card_filter_hammingDist_le_le_pow.
References #
At most (cells * (2 ^ w - 1) + 1) ^ r memories of cells cells of w bits lie within
Hamming distance r of a fixed memory m: the number of overlays in an encoding argument.
Segments, their start points and their probed cells #
The memory before segment j when D runs the segments seg 0, seg 1, … consecutively from
step t₀ and memory m₀.
The cells probed by segment j and by no segment between j and L: the cells whose last
probe before step segStart seg t₀ L happened during segment j.
Running the concatenation of the first L segments reaches step segStart seg t₀ L and memory
segMem L.
Running the first L segments followed by ops runs ops from step segStart seg t₀ L and
memory segMem L.
Later and last-touched cells #
A cell lies in laterCells L j iff some segment strictly between j and L probes it.
Every segment strictly between j and L probes only cells of laterCells L j.
The cells last touched by segment j are probed by segment j.
Frame across segments: a cell probed by no segment strictly between j and L keeps the
contents it had at the end of segment j.
The overlay agrees with the memory before segment j outside laterCells.
Overlay agreement: the overlay agrees with the memory after all L segments outside the
cells last touched by segment j.
The overlay differs from the memory before segment j on at most #laterCells cells.
The cells last touched by different segments j, k < L are disjoint.
The cells last touched by the segments j < L form a pairwise disjoint family.
Epoch counting: a set P of cells meets the last-touched sets of at most #P segments.
Probe counts under a uniform depth bound #
If every step on the operations of ops has depth at most d, running ops makes at most
d * ops.length probes.
If every step on the operations of the segments between j and L has depth at most d,
those segments probe at most d * Σ |seg k| cells.
Replaying a query on the overlay #
Query replay: a tree whose probed cells on the final memory avoid the cells last touched by
segment j answers identically, with the same probes, on the overlay.