Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RowCompression.Perturbation

Perturbations of compression schedules #

The concrete compression update has Lipschitz constant 28. Comparing schedules with different increments gives an initial-error term 28 ^ m * δ and a sum of increment-error terms 28 ^ (m - i) * ε i. Both defaults and all retained coordinates satisfy the same bound.

A zero-increment reference with the usual small negative and second-coordinate bounds preserves an initial padded-rank ceiling above the floor scale. Its actual thresholds satisfy that ceiling as well. These estimates are the absolute-error ingredients of the sentinel comparison in [OpenAI2026LogSpace, Section 8.3, Lemma 8.3]. They do not by themselves convert relative errors at unbounded first coordinates to absolute errors or prove the final row-output comparison.

Main results #

References #

theorem Cslib.RowCompression.advance_stability_of_increment_error {ι : Type u_1} {s : Finset ι} {a b : State ι} {n K : ℕ} {ρ δ ε : ℝ} {Δ Δ' : ι → Fin 2 → ℝ} (hn : 0 < n) (hK : 0 < K) (hδ : 0 ≤ δ) (hε : 0 ≤ ε) (hz : |a.defaultValue - b.defaultValue| ≤ δ) (hw : ∀ y ∈ s, ∀ (ν : Fin 2), |a.row y ν - b.row y ν| ≤ δ) (hΔ : ∀ y ∈ s, ∀ (ν : Fin 2), |Δ y ν - Δ' y ν| ≤ ε) :
|(advance s n K ρ Δ a).defaultValue - (advance s n K ρ Δ' b).defaultValue| ≤ 28 * (δ + ε) ∧ ∀ y ∈ s, ∀ (ν : Fin 2), |(advance s n K ρ Δ a).row y ν - (advance s n K ρ Δ' b).row y ν| ≤ 28 * (δ + ε)

One update with an increment discrepancy adds that discrepancy before the factor 28. The initial defaults and both full rows may already differ.

theorem Cslib.RowCompression.iterate_stability_of_increment_error {ι : Type u_1} {s : Finset ι} {a b : State ι} {n K : ℕ → ℕ} {ρ : ℕ → ℝ} {Δ Δ' : ℕ → ι → Fin 2 → ℝ} {δ : ℝ} {ε : ℕ → ℝ} (hδ : 0 ≤ δ) (hz : |a.defaultValue - b.defaultValue| ≤ δ) (hw : ∀ y ∈ s, ∀ (ν : Fin 2), |a.row y ν - b.row y ν| ≤ δ) (m : ℕ) (hn : ∀ i < m, 0 < n i) (hK : ∀ i < m, 0 < K i) (hε : ∀ i < m, 0 ≤ ε i) (hΔ : ∀ i < m, ∀ y ∈ s, ∀ (ν : Fin 2), |Δ i y ν - Δ' i y ν| ≤ ε i) :
|(iterate s n K ρ Δ a m).defaultValue - (iterate s n K ρ Δ' b m).defaultValue| ≤ 28 ^ m * δ + ∑ i ∈ Finset.range m, 28 ^ (m - i) * ε i ∧ ∀ y ∈ s, ∀ (ν : Fin 2), |(iterate s n K ρ Δ a m).row y ν - (iterate s n K ρ Δ' b m).row y ν| ≤ 28 ^ m * δ + ∑ i ∈ Finset.range m, 28 ^ (m - i) * ε i

Different increments contribute at the group where they are actually added, with one factor 28 for that update and for each subsequent update. No threshold ceiling is assumed.

theorem Cslib.RowCompression.reference_iterate_firstRank_le {ι : Type u_1} {s : Finset ι} {a : State ι} {n : ℕ → ℕ} {K : ℕ} {ρ : ℕ → ℝ} {η Q : ℝ} (hη : 0 ≤ η) (hηQ : η ≤ Q) (hK : 0 < K) (hfirst : ∀ y ∈ s, -η ≤ a.row y 0) (hsecond : ∀ y ∈ s, |a.row y 1| ≤ η) (hq : firstRank s K a.defaultValue a.row ≤ Q) (m : ℕ) (hn : ∀ i < m, K ≤ n i) (hρ : ∀ i < m, ρ i ≤ η) :
firstRank s K (iterate s n (fun (x : ℕ) => K) ρ (fun (x : ℕ) => 0) a m).defaultValue (iterate s n (fun (x : ℕ) => K) ρ (fun (x : ℕ) => 0) a m).row ≤ Q

A stationary reference's padded first rank stays below any initial ceiling above the reference scale. The hypotheses are only on its initial row and the finite schedule.

theorem Cslib.RowCompression.reference_stepThreshold_le {ι : Type u_1} {s : Finset ι} {a : State ι} {n : ℕ → ℕ} {K : ℕ} {ρ : ℕ → ℝ} {η Q : ℝ} (hη : 0 ≤ η) (hηQ : η ≤ Q) (hK : 0 < K) (hfirst : ∀ y ∈ s, -η ≤ a.row y 0) (hsecond : ∀ y ∈ s, |a.row y 1| ≤ η) (hq : firstRank s K a.defaultValue a.row ≤ Q) (m : ℕ) (hn : ∀ i ≤ m, K ≤ n i) (hρ : ∀ i ≤ m, ρ i ≤ η) :
stepThreshold s n (fun (x : ℕ) => K) ρ (fun (x : ℕ) => 0) a m ≤ Q

The same initial reference ceiling controls every actual input threshold.