Documentation

CslibFrontier.Computability.LogSpaceDerandomization.PolynomialAtomRows.FirstOverflow

Polynomial row comparison after the actual first overflow #

The local relative-stability estimate is applied at the actual first overflow in group j. Its initial state is the already-added input of group j, with a zero first local increment. The error hypotheses therefore concern precisely the raw group inputs from j onward. No error bound for the preceding global prefix is required. The local adjacent-prefix budget is bounded by four times the 28-weighted tail sum, without a horizon factor.

The reference is the constructed stationary continuation: it has the true row plus the actual pre-overflow compression loss, the actual default at group j, the remaining real capacities and floors, and zero further increments. A separate corollary adds the proved weighted preloss comparison to the true output. Its tail coefficient depends only on the chosen row function and support scale; its preloss coefficient may also depend on the compression scale.

These are the relative-stability and weighted-preloss portions of [OpenAI2026LogSpace, Section 8.3] for the concrete polynomial fourth-root family. Normalized main atoms, the full estimator's recursive moment bound, and machine-space certificates are separate obligations.

Main results #

References #

theorem Cslib.PolynomialAtomRow.exists_firstOverflow_root_bound (kind : PolynomialAtomRow) {θ : ℝ} (hθ : 0 < θ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ {ι : Type u_1} (s : Finset ι) (n : ℕ → ℕ) (Δ : ℕ → ι → Fin 2 → ℝ) (a : RowCompression.State ι) (truth : ι → Fin 2 → ℝ) (η : ℝ) (K : ℕ), 0 < η → η ≤ θ / 10000 → 0 < K → a.defaultValue = 0 → ∀ (m j : ℕ), j < m → RowCompression.IsFirstOverflow s n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) Δ a j → (∀ y ∈ s, 0 ≤ truth y 0) → (∀ y ∈ s, |truth y 1| ≤ η / 2) → (∀ (i : ℕ), j ≤ i → i < m → K ≤ n i) → ∀ (ε : ℕ → ℝ), (∀ (i : ℕ), j ≤ i → i < m → 0 ≤ ε i) → (∀ (i : ℕ), j ≤ i → i < m → ∀ y ∈ s, RowCompression.clippedError (truth y 0) (truth y 1) (RowCompression.uncompressedRow Δ a.row (i + 1) y) ≤ ε i) → ∀ y ∈ s, |kind.stateRootError θ s K (RowCompression.iterate s n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) Δ a m) (RowCompression.stationaryContinuation s n K (RowCompression.dyadicFloor η m) Δ a truth j (m - j)) y| ≤ C * ∑ i ∈ Finset.Ico j m, 28 ^ (m - i) * ε i

Relative stability from the actual first overflow. The coefficient depends only on the concrete function and θ. All error hypotheses are confined to groups j ≤ i < m; in particular the raw prefix before adding group j needs no error estimate.

theorem Cslib.PolynomialAtomRow.exists_firstOverflow_truth_root_bound (kind : PolynomialAtomRow) {θ : ℝ} (hθ : 0 < θ) :
∃ (Ctail : ℝ), 0 ≤ Ctail ∧ ∀ (η : ℝ), 0 < η → η ≤ θ / 10000 → ∃ (Cpre : ℝ), 0 ≤ Cpre ∧ ∀ {ι : Type u_1} (s : Finset ι) (n : ℕ → ℕ) (Δ : ℕ → ι → Fin 2 → ℝ) (a : RowCompression.State ι) (truth : ι → Fin 2 → ℝ) (K : ℕ), 0 < K → a.defaultValue = 0 → ∀ (m j : ℕ), j < m → RowCompression.IsFirstOverflow s n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) Δ a j → (∀ y ∈ s, 0 ≤ truth y 0) → (∀ y ∈ s, |truth y 1| ≤ η / 2) → (∀ (i : ℕ), j ≤ i → i < m → K ≤ n i) → ∀ (ε : ℕ → ℝ), (∀ i < m, 0 ≤ ε i) → (∀ i < j, ∀ y ∈ s, η / 2 ≤ truth y 0 → RowCompression.clippedError (truth y 0) (truth y 1) (RowCompression.uncompressedRow Δ a.row (i + 1) y) ≤ ε i) → (∀ (i : ℕ), j ≤ i → i < m → ∀ y ∈ s, RowCompression.clippedError (truth y 0) (truth y 1) (RowCompression.uncompressedRow Δ a.row (i + 1) y) ≤ ε i) → ∀ y ∈ s, |kind.stateRootError θ s K (RowCompression.iterate s n (fun (x : ℕ) => K) (RowCompression.dyadicFloor η m) Δ a m) { defaultValue := 0, row := truth } y| ≤ Cpre * ∑ i ∈ Finset.range j, RowCompression.dyadicFloor η m i * ε i + Ctail * ∑ i ∈ Finset.Ico j m, 28 ^ (m - i) * ε i

The actual compressed output is compared with the true zero-padded row by adding the weighted preloss estimate to the relative tail estimate. The tail coefficient is fixed before choosing the compression scale. Before overflow only true first entries at least η / 2 need a clipped-error bound; after overflow the retained-row envelope is used.