Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RowCompression.Floors

Explicit small floors for a halving compression schedule #

For m groups, indexed by i < m, set d_i = 2 ^ (m - (i + 1)). These slacks halve down to one, as in [OpenAI2026LogSpace, Section 8.1]. We construct the floors ρ_i = η * (1 / 1024) ^ d_i for any fixed η > 0.

The paper uses the unscaled floors 2 ^ (-c₁ * d_i) and chooses c₁ large depending on its fixed sensitivity margin η. Our explicit witness instead uses exponent ten and scales by η. It proves the two numerical inequalities in (8.8), and 8 * ρ_i ≤ η, for every positive η. It does not select c₁ against the other exponents in the integrated compression argument.

Consecutive floors grow by at least a factor of 1024. A finite induction therefore bounds the sum before group i by ρ_i / 1023, and the sum over all groups by η / 1023. Multiplication by six gives the two /100 bounds, with no assumed small-sum hypothesis.

There are m - (i + 1) updates after group i, whose power of two equals d_i. Counting the current group too introduces one extra factor of 28 in the perturbation bound; this is absorbed by the unspecified outer constant in the source's (8.7).

Main definitions #

Main results #

References #

The decreasing power-of-two slacks of a schedule with m groups. Indices i ≥ m are defined too, with value one, but are not additional groups in the schedule.

noncomputable def Cslib.RowCompression.dyadicFloor (η : ℝ) (m i : ℕ) :

An explicit floor schedule at sensitivity scale η. The finite schedule consists of indices i < m; the total function is convenient as an argument to iterate.

theorem Cslib.RowCompression.dyadicSlack_succ {m i : ℕ} (hi : i + 1 < m) :
dyadicSlack m i = 2 * dyadicSlack m (i + 1)

Each slack is twice the next one while both indices are actual groups.

theorem Cslib.RowCompression.dyadicFloor_nonneg {η : ℝ} (hη : 0 ≤ η) (m i : ℕ) :
0 ≤ dyadicFloor η m i
theorem Cslib.RowCompression.dyadicFloor_pos {η : ℝ} (hη : 0 < η) (m i : ℕ) :
0 < dyadicFloor η m i
@[simp]
theorem Cslib.RowCompression.dyadicFloor_last (η : ℝ) (m : ℕ) :
dyadicFloor η (m + 1) m = η / 1024
theorem Cslib.RowCompression.dyadicFloor_le_scale_div {η : ℝ} (hη : 0 ≤ η) (m i : ℕ) :
dyadicFloor η m i ≤ η / 1024

Every floor is at most η / 1024, including the final floor where equality holds.

theorem Cslib.RowCompression.dyadicFloor_mul_le_succ {η : ℝ} (hη : 0 ≤ η) {m i : ℕ} (hi : i + 1 < m) :
1024 * dyadicFloor η m i ≤ dyadicFloor η m (i + 1)

Consecutive floors are separated by a factor of at least 1024.

theorem Cslib.RowCompression.sum_range_dyadicFloor_le {η : ℝ} (hη : 0 ≤ η) {m j : ℕ} (hj : j < m) :
∑ i ∈ Finset.range j, dyadicFloor η m i ≤ dyadicFloor η m j / 1023

The sum of earlier floors is bounded by the geometric factor 1 / 1023 times the current floor. This is derived from the concrete schedule, without a small-sum premise.

theorem Cslib.RowCompression.six_sum_range_dyadicFloor_le {η : ℝ} (hη : 0 ≤ η) {m j : ℕ} (hj : j < m) :
6 * ∑ i ∈ Finset.range j, dyadicFloor η m i ≤ dyadicFloor η m j / 100

The first small-floor estimate of [OpenAI2026LogSpace, (8.8)], for the explicit scaled schedule: all earlier compression changes total at most one hundredth of the current floor.

theorem Cslib.RowCompression.sum_range_dyadicFloor_le_scale {η : ℝ} (hη : 0 ≤ η) (m : ℕ) :
∑ i ∈ Finset.range m, dyadicFloor η m i ≤ η / 1023

The finite sum of all floors is at most η / 1023, uniformly in the number of groups.

theorem Cslib.RowCompression.six_sum_range_dyadicFloor_le_scale {η : ℝ} (hη : 0 ≤ η) (m : ℕ) :
6 * ∑ i ∈ Finset.range m, dyadicFloor η m i ≤ η / 100

The second small-floor estimate of [OpenAI2026LogSpace, (8.8)], uniformly in the number of groups.

theorem Cslib.RowCompression.eight_mul_dyadicFloor_le {η : ℝ} (hη : 0 ≤ η) (m i : ℕ) :
8 * dyadicFloor η m i ≤ η

Every floor satisfies the local margin condition used in the weighted preloss estimate.

The exact power-of-two count of updates strictly after the current group is its slack.

theorem Cslib.RowCompression.propagation_le_dyadicSlack {m i : ℕ} (hi : i < m) :
28 ^ (m - i) ≤ 28 * (↑(dyadicSlack m i) + 1) ^ 5

Including the current group, the propagation cost is at most an extra factor 28 times a fifth-degree polynomial in its slack [OpenAI2026LogSpace, (8.7)].