Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RowCompression.SaturatedRoot

Relative comparison through saturation and exact sentinel coupling #

For an output H d v r, upper saturation in the first signal and closure at large padded rank transfer sentinel stability to the actual fourth-root outputs. Both signal coordinates are retained. The root regularity and range contracts concern the scalar output, independently of schedules, entry magnitudes and the compression scale. No raw prefix or state is capped.

The proof is extracted from PolynomialAtomRows.Relative and extended to a second signal. Its polynomial specialization recovers the existing public relative comparison. The conclusion requires a positive horizon, nonnegative true first signal, a small true second signal and bounded common losses in both coordinates. It is a deterministic comparison, not an integrated moment bound or a machine-resource theorem.

Main definitions #

Main results #

noncomputable def Cslib.RowCompression.stateRootError (H : ℝ → ℝ → ℝ → ℝ) {ι : Type u} (s : Finset ι) (K : ℕ) (a b : State ι) (y : ι) :

Fourth-root discrepancy using both signals and each state's actual padded first rank.

theorem Cslib.RowCompression.exists_iterate_root_bound {θ : ℝ} (H : ℝ → ℝ → ℝ → ℝ) (hsaturate : ∀ (d d' v r : ℝ), θ ≤ d → θ ≤ d' → H d v r = H d' v r) (R : ℝ) (hR : 0 ≤ R) (hrange : ∀ {ι : Type u} (s : Finset ι) (K : ℕ) (a b : State ι) (y : ι), |stateRootError H s K a b y| ≤ R) (hrootExists : ∃ (A : ℝ), 0 ≤ A ∧ ∀ (d v r d' v' r' : ℝ), |H d v r ^ 4⁻¹ - H d' v' r' ^ 4⁻¹| ≤ A * (|d - d'| + |v - v'| + |r - r'|)) (hgate : ∀ (d v r : ℝ), θ ≤ r → H d v r = 0) (hθ : 0 < θ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ {ι : Type u} (s : Finset ι) (n : ℕ → ℕ) (ρ : ℕ → ℝ) (Δ : ℕ → ι → Fin 2 → ℝ) (truth raw₀ loss : ι → Fin 2 → ℝ) (z η : ℝ) (K : ℕ), 0 < η → η ≤ θ / 10000 → z ≤ η → 0 < K → ∀ (m : ℕ), 0 < m → (∀ i < m, K ≤ n i) → (∀ i < m, ρ i ≤ η) → (∀ y ∈ s, 0 ≤ truth y 0) → (∀ y ∈ s, |truth y 1| ≤ η / 2) → (∀ y ∈ s, ∀ (ν : Fin 2), |loss y ν| ≤ η / 2) → ∀ (ε : ℕ → ℝ), (∀ i ≤ m, 0 ≤ ε i) → (∀ i ≤ m, ∀ y ∈ s, clippedError (truth y 0) (truth y 1) (uncompressedRow Δ raw₀ i y) ≤ ε i) → ∀ y ∈ s, |stateRootError H s K (iterate s n (fun (x : ℕ) => K) ρ Δ { defaultValue := z, row := raw₀ + loss } m) (iterate s n (fun (x : ℕ) => K) ρ (fun (x : ℕ) => 0) { defaultValue := z, row := truth + loss } m) y| ≤ C * prefixErrorBudget ε m

Relative fourth-root comparison for a saturated output with a closed rank gate. The input scalar contracts are independent of all schedules and entry magnitudes.