Single-Tape 1 · OPT Shared Migration Arena and Peak-Space Bounds #
This module defines the shared single-tape item arena (migrateArenaWords) and peak migration
word footprint (migratePeakWords) for epoch capacity migration in the resizable succinct dynamic
dictionary (Bender, Farach-Colton, J. Kuszmaul, and W. Kuszmaul, SOSA
2024; Kuszmaul, Liang, and Zhou, SODA
2026), proving:
- word-level non-overlap (
newItemEnd_le_oldItemNextWord) between written new items[0, j)and unread right-aligned old items[j, n)across both growing and shrinking epochs; 1 · OPTsuccinct word and bit bounds (migratePeakWords_le_succinctWords,w_mul_migratePeakWords_le_bits);- parameter-free
O(n)linear word bounds (compactedItemWords_le_linear,offCompItems_le_linear,migratePeakWords_le_linear).
Main definitions #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.migrateArenaWords,migratePeakWords: shared single-tape item-arena length and peak migration word footprint.
Main results #
Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.newItemEnd_le_oldItemNextWord: word-level non-overlap between written new items and unread right-aligned old items.Cslib.DataStructure.Dictionary.WordRAM.ResizableSuccinct.migratePeakWords_le_succinctWords,w_mul_migratePeakWords_le_bits,migratePeakWords_le_linear:1 · OPTsuccinct space bounds and parameter-freeO(n)linear word bound.
References #
Word length of the shared single-tape item arena holding both the growing prefix [0, i) of
new compacted items and the right-aligned suffix [i, n) of unread old compacted items.
Peak hardware word footprint above base during single-tape epoch capacity migration from
(N_old, n) to targetCap U n.
The absolute end of the migration workspace is the arena base plus its word length.
Shared-Arena Non-Overlap (newItemEnd_le_oldItemNextWord):
For every j ≤ n (j = i + 1 after inserting item i), the end word offset
compactedItemWords U V w N_new j of the first j new items is at most the word offset
(migrateArenaWords - iwOld) + wOffQ_old j where unread old item j begins, regardless of
whether quotientBits U N_new ≤ quotientBits U N_old (growing N) or
quotientBits U N_new > quotientBits U N_old (shrinking N).
1 · OPT Migration Peak Word-Space Bound (migratePeakWords_le_succinctWords):
Whenever EpochValid U n N_old and 1 ≤ n, single-tape streaming capacity migration uses at most
Dynamic.succinctWords 2699 888 U V w n hardware words at peak — strictly 1 · OPT(U, V, n) plus
lower-order O(n log log n) bits, never 2 · OPT.
1 · OPT Migration Peak Bit-Space Bound (w_mul_migratePeakWords_le_bits):
Multiplying migratePeakWords U V w N_old n by w yields at most
Dynamic.optBits U V n + 2699 * n * Dynamic.logLogFactor n + 889 * w bits.
Parameter-free O(n) word bound on compactedItemWords: every item uses ≤ 2 * w bits, so
compactedItemWords U V w N n ≤ 2 * n + 2 words for all 0 < w, U ≤ 2 ^ w, V ≤ 2 ^ w.
Parameter-free O(N) word bound on offCompItems U w N (≤ 252 * N + 439) for all
0 < w, N ≤ U, and Fits w U, independent of (U, V, w).
Parameter-free O(n) linear word bound on migratePeakWords (≤ 1514 * n + 886), ensuring
that word-zeroing, word-shifting, growZeroCode, and shrinkCode all run in O(n) instructions
with constants completely independent of (U, V, w).