Compression of two-coordinate rows #
The local update of [OpenAI2026LogSpace, Section 8.2, (8.5)--(8.6), Lemma 8.1] replaces a real row by a common default and a bounded number of exceptions. This is the deterministic compression step of the logspace estimator; no probability or machine-space bound is asserted.
For an old default (z, 0), a floor ρ, and an input row w, put
m y = max |w y 0| |w y 1| and u = max z (max ρ (rank_n m)). The new default is
z' = max u (min (max z (rank_K (w · 0))) (3 * u)). Every displacement from (z', 0)
is clipped to radius 7 * max (m y - 2 * u) 0.
Finset.kthLargest pads with zeros. For a nonnegative old default z, taking max z of this
rank accounts for the paper's dummy copies of (z, 0). In the size rank this maximum is already
absorbed by u. The finite set s consists of real endpoint IDs; dummy positions never enter
the support count. Input coordinates may be negative. Positive n and K suffice for stability;
the later condition K ≤ n is not needed for this local result.
Main definitions #
Cslib.RowCompression.threshold,Cslib.RowCompression.newDefault: the thresholds.Cslib.RowCompression.update: the compressed row, as a mathematical function.Cslib.RowCompression.candidates: a list of possible exceptions, selected by input size.
Main results #
Cslib.RowCompression.update_eq_default_of_size_le: small entries become default.Cslib.RowCompression.update_eq_self_of_three_mul_le: large entries are unchanged.Cslib.RowCompression.update_mem_Icc: each coordinate lies between input and default.Cslib.RowCompression.abs_update_sub_le_six_mul: one update changes a coordinate by at most six times its threshold, the local bound used in the subsequent preloss argument.Cslib.RowCompression.le_newDefault: defaults are nondecreasing.Cslib.RowCompression.threshold_congr_on,Cslib.RowCompression.newDefault_congr_on:thresholdandnewDefaultdepend only on the row entries ons.Cslib.RowCompression.card_candidates_lt: fewer thanncandidates suffice.Cslib.RowCompression.update_eq_default_of_not_mem_candidates: the candidate set represents the entire row ons.Cslib.RowCompression.candidates_subset: candidates come from the previous list and new IDs.Cslib.RowCompression.abs_update_sub_update_le: the full update is uniformly 28-Lipschitz.
References #
- OpenAI, Exact Derandomization of Logarithmic Space: L = RL = BPL,
Section 8.2, (8.5)--(8.6), Lemma 8.1 (23 September 2026, revision
7ef5c0cc, not peer reviewed).
The sup norm of a two-coordinate entry.
newDefault depends only on the row entries on s.
Clipping toward the default changes a coordinate by no more than its distance to it.
Compression moves each coordinate toward the new default without overshooting.
The local change bound used before the first overflow in [OpenAI2026LogSpace, Section 8.3].
When the threshold equals the prescribed floor ρ, each coordinate changes by at most 6 * ρ.
This does not yet sum changes over a schedule or prove the later weighted preloss estimate.
Outside the candidate list every real endpoint has the new default value.
Candidates can be selected entirely from any set containing the non-default input IDs. Use the union of the previous exception list and the newly touched IDs for that set.
Stability independent of the row width #
The threshold varies by at most the sup perturbation of the row and old default.
The default has Lipschitz constant three, uniformly in the capacities and row width.
The update is 28-Lipschitz in the row and old default, with the floor and capacities fixed.
The estimate is on real endpoints y ∈ s; it is independent of their number and magnitudes.