Documentation

CslibFrontier.Computability.LogSpaceDerandomization.PolynomialAtomFalseOverflow

Actual polynomial row errors on false first overflows #

The computed and true polynomial row outputs are in [0,1], and each has fewer than K retained nonzero entries. Their fourth-root discrepancy therefore has summed fourth power at most 2 * K, independently of the row width, default, and later compression states. At a false first overflow, the existing actual-prefix charge pays for this bounded error.

The resulting normalized bound uses the final state of the real compression recursion and the raw prefix at j + 1. The environment may jointly determine the increments, initial states, true rows, retained endpoints, and first overflow. No independence is assumed.

This is the bounded-output integration of (8.12) in the proof of [OpenAI2026LogSpace, Section 8.4, Proposition 8.5], on the fourth-moment route of issue #1721. It does not supply prefix mean/noise budgets, sum their geometric costs, prove post-overflow relative stability, or assert the complete integrated compression estimate.

Main results #

References #

theorem Cslib.PolynomialAtomRow.rowNormPow_falseFirstOverflow_le {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] (kind : PolynomialAtomRow) {θ η N u : ℝ} (hθ : 0 < θ) (hη : 0 < η) (hη1 : η ≤ 1) (hNu : 0 ≤ N * u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (n : ℕ → ℕ) (K : ℕ) (hK : 0 < K) (m j : ℕ) (hj : j < m) (hn : 0 < n j) (Δ : Ω → V → ℕ → V → Fin 2 → ℝ) (a : Ω → V → RowCompression.State V) (truth : Ω → V → V → Fin 2 → ℝ) (ha : ∀ (σ : Ω) (x : V), X σ x → (a σ x).defaultValue = 0) (hfirst : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → 0 ≤ truth σ x y 0) (hsecond : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → truth σ x y 0 ≤ RowCompression.dyadicFloor η m j / 4 → truth σ x y 1 = 0) :
have S := fun (σ : Ω) => {y : V | Y σ y}; have b := fun (σ : Ω) (x : V) => RowCompression.iterate (S σ) n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) (Δ σ x) (a σ x) m; let F := fun (σ : Ω) (x : V) => RowCompression.IsFirstOverflow (S σ) n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) (Δ σ x) (a σ x) j ∧ ¬Probability.heavyCountEvent Y Finset.univ (fun (y : V) => truth σ x y 0) (RowCompression.dyadicFloor η m j) (n j) σ; (rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if F σ x then kind.stateRootError θ (S σ) K (b σ x) { defaultValue := 0, row := truth σ x } y else 0) ≤ 64 * ↑K / (↑(n j) * RowCompression.dyadicFloor η m j ^ 4) * rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => RowCompression.clippedError (truth σ x y 0) (truth σ x y 1) (RowCompression.uncompressedRow (Δ σ x) (a σ x).row (j + 1) y)

The final actual polynomial outputs on a specified false-first-overflow event are paid for by the raw-prefix moment at j + 1. Every random quantity may share the environment.

theorem Cslib.PolynomialAtomRow.rowNormPow_falseFirstOverflowBefore_le {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] (kind : PolynomialAtomRow) {θ η N u : ℝ} (hθ : 0 < θ) (hη : 0 < η) (hη1 : η ≤ 1) (hNu : 0 ≤ N * u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (n : ℕ → ℕ) (K : ℕ) (hK : 0 < K) (m : ℕ) (hn : ∀ j < m, 0 < n j) (Δ : Ω → V → ℕ → V → Fin 2 → ℝ) (a : Ω → V → RowCompression.State V) (truth : Ω → V → V → Fin 2 → ℝ) (ha : ∀ (σ : Ω) (x : V), X σ x → (a σ x).defaultValue = 0) (hfirst : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → 0 ≤ truth σ x y 0) (hsecond : ∀ j < m, ∀ (σ : Ω) (x y : V), X σ x → Y σ y → truth σ x y 0 ≤ RowCompression.dyadicFloor η m j / 4 → truth σ x y 1 = 0) :
have S := fun (σ : Ω) => {y : V | Y σ y}; have b := fun (σ : Ω) (x : V) => RowCompression.iterate (S σ) n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) (Δ σ x) (a σ x) m; let F := fun (j : ℕ) (σ : Ω) (x : V) => RowCompression.IsFirstOverflow (S σ) n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) (Δ σ x) (a σ x) j ∧ ¬Probability.heavyCountEvent Y Finset.univ (fun (y : V) => truth σ x y 0) (RowCompression.dyadicFloor η m j) (n j) σ; (rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if ∃ j < m, F j σ x then kind.stateRootError θ (S σ) K (b σ x) { defaultValue := 0, row := truth σ x } y else 0) ≤ ∑ j ∈ Finset.range m, 64 * ↑K / (↑(n j) * RowCompression.dyadicFloor η m j ^ 4) * rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => RowCompression.clippedError (truth σ x y 0) (truth σ x y 1) (RowCompression.uncompressedRow (Δ σ x) (a σ x).row (j + 1) y)

The false-type contribution to actual final output error. Taking the union of the possible false first overflows gives the sum of their raw-prefix charges. Both sides use the same RootMetric normalization, and no independence or final-output error premise is required.