Exact sentinel replacement under row compression #
Replace the first coordinate at a finite set of marked endpoints by one common positive
sentinel, leaving every second coordinate unchanged. When the modified first rank and size
threshold are at most R, and both old and sentinel first coordinates at marked endpoints
are strictly above 3R, the original and modified calculations have identical ranks, thresholds,
and new defaults. Compression is identity in both channels at marked endpoints, and sentinel
replacement commutes with the actual update on every retained endpoint.
The proof uses Finset.kthLargest_eq_of_eq_or_gt, including its boundary case where a rank equals
the ceiling. It preserves actual padded ranks, rather than only clipped ranks. No bound on the
largest original entry is needed. The modified first-rank bound also implies that fewer than
K retained endpoints can be marked.
This is the exact rank and update step in the sentinel argument of [OpenAI2026LogSpace,
Lemma 8.3], when the proof removes its modification of first coordinates above L₁. It does not
identify or store sentinels in the algorithm. Maintaining the large-coordinate bounds through
later increments, iterating the comparison, upper saturation of row outputs, and the full
post-overflow stability estimate remain separate. No root exponent or machine-resource bound
is asserted here.
Main definitions #
Cslib.RowCompression.sentinelFirst: change only the marked first coordinates.
Main results #
Cslib.RowCompression.firstRank_eq_sentinelFirst,Cslib.RowCompression.threshold_eq_sentinelFirst,Cslib.RowCompression.newDefault_eq_sentinelFirst: exact invariance below the ceiling.Cslib.RowCompression.update_eq_self_of_mem_sentinelFirst: both channels at marked endpoints are in the actual compression identity region.Cslib.RowCompression.sentinelFirst_update: one-step commutation on retained endpoints.
References #
- OpenAI, Exact Derandomization of Logarithmic Space: L = RL = BPL,
Section 8.3, proof of Lemma 8.3, the sentinel replacement and its removal
(23 September 2026, revision
7ef5c0cc, not peer reviewed).
A padded first rank below the ceiling is unchanged by replacing larger first coordinates.
The actual size threshold is unchanged, including its floor and old-default terms.
Both actual rank quantities, and consequently the new default, agree exactly.
The bounded modified first rank itself forces strict cardinality of the marked set.
Original and sentinel entries are both in the identity region at every marked retained ID. The second coordinate is untouched, even if it is signed or large.
Sentinel replacement commutes with the concrete compression update on every retained ID. This also gives equality of both channels off the marked set; it assumes no row-output law.