Documentation

CslibFrontier.Computability.LogSpaceDerandomization.ProductError

Coupled product errors and source release #

For four nonnegative tables on one environment, compare the concrete products P σ x y = ∑ z ∈ Z σ, F σ x z * B σ z y and P' built from F', B'. Splitting each product through F' * B charges the left error against the row support of B and the right error against the incoming support of F'. The latter changes source rate from u to f and has the exact normalization cost f / u.

The root-metric estimate uses the homogeneous-loss mixture inequality and scalar product-root comparison. Its explicit conservative constant is 2 ^ (2 * (s - 1)) * s ^ s, or 16384 at s = 4. All four tables may depend on the same environment. The right error is a common table at (z, y), with no additional old-source argument.

This is the product and source-domain part of the proof of [OpenAI2026LogSpace, Lemma 7.3]. The coarse/fine terminal scale comparisons and conditional-mean estimates remain separate. No final-estimator or machine-space contract is assumed.

Main results #

References #

theorem Cslib.abs_sum_mul_sub_mul_le {α : Type u_1} (T : Finset α) (a a' b b' : α → ℝ) {CA CB : ℝ} (ha : ∀ z ∈ T, |a z| ≤ CA) (hb' : ∀ z ∈ T, |b' z| ≤ CB) :
|∑ z ∈ T, a z * b z - ∑ z ∈ T, a' z * b' z| ≤ ∑ z ∈ T, (CA * |b z - b' z| + |a z - a' z| * CB)

Absolute coupled product errors, splitting through estimated-left times canonical-right. The first range bounds estimated left; the second bounds canonical right. All four tables can depend on the same environment, fixed before this finite comparison.

theorem Cslib.rootDistPow_mul_le {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {s : ℕ} {N u f : ℝ} {X Z Y : Ω → V → Prop} [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (z : V) → Decidable (Z σ z)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (hs : s ≠ 0) (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) {F F' B B' : Ω → V → V → ℝ} (hF : ∀ (σ : Ω) (x z : V), 0 ≤ F σ x z) (hF' : ∀ (σ : Ω) (x z : V), 0 ≤ F' σ x z) (hB : ∀ (σ : Ω) (z y : V), 0 ≤ B σ z y) (hB' : ∀ (σ : Ω) (z y : V), 0 ≤ B' σ z y) {CF CB : ℝ} (hCF : 0 ≤ CF) (hCB : 0 ≤ CB) (hFbound : ∀ (σ : Ω) (x z : V), F' σ x z ≤ CF) (hBbound : ∀ (σ : Ω) (z y : V), B σ z y ≤ CB) {Kr Kc : ℕ} (hrow : ∀ (σ : Ω) (z : V), Z σ z → {y ∈ {y : V | Y σ y} | B σ z y ≠ 0}.card ≤ Kr) (hcol : ∀ (σ : Ω) (z : V), Z σ z → {x ∈ {x : V | X σ x} | F' σ x z ≠ 0}.card ≤ Kc) :
(rootDistPow s N u X Y (fun (σ : Ω) (x y : V) => ∑ z : V with Z σ z, F σ x z * B σ z y) fun (σ : Ω) (x y : V) => ∑ z : V with Z σ z, F' σ x z * B' σ z y) ≤ 2 ^ (2 * (s - 1)) * ↑s ^ s * (CB * ↑Kr * rootDistPow s N u X Z F F' + CF * ↑Kc * (f / u) * rootDistPow s N f Z Y B B')

Coupled product errors with source release. The true or estimated tables may share all their randomness. Only B needs the row cap and bound CB, and only F' needs the incoming cap and bound CF, because the scalar comparison splits through F' * B. The source normalization in the right error is exactly f / u.

theorem Matrix.correctionAtom_denseAtom_rootDistPow_le {Ω : Type u_1} {V : Type u_2} {ι : Type u_3} {κ : Type u_4} {υ : Type u_5} [Fintype Ω] [Fintype V] [Fintype ι] [Fintype κ] [Fintype υ] {s KF Kc KB : ℕ} {N u f b : ℝ} {I : ℝ → ℝ → ℝ} {τ Q hF ρF k hB ρB : ℝ → ℝ} {X : ι → V → Prop} {Z Zt : κ → V → Prop} {Y Yt : υ → V → Prop} [(t : ι) → (x : V) → Decidable (X t x)] [(t : κ) → (z : V) → Decidable (Z t z)] [(t : κ) → (z : V) → Decidable (Zt t z)] [(t : υ) → (y : V) → Decidable (Y t y)] [(t : υ) → (y : V) → Decidable (Yt t y)] (drawF : Ω → ι × κ) (drawB : Ω → υ) (G G' H H' : Ω → Matrix V V ℝ) (g g' : Ω → V → ℝ) (hs : s ≠ 0) (hN : 0 < N) (hu : 0 < u) (hf : 0 < f) (hQ0 : ∀ (v : ℝ), 0 ≤ Q v) (hk0 : ∀ (v : ℝ), 0 ≤ k v) (hρF0 : ∀ (r : ℝ), 0 ≤ ρF r) (hρF1 : ∀ (r : ℝ), ρF r ≤ 1) (hτ0 : ∀ (r : ℝ), 0 ≤ τ r) (hτ1 : ∀ (r : ℝ), τ r ≤ 1) (hρB0 : ∀ (r : ℝ), 0 ≤ ρB r) (hρB1 : ∀ (r : ℝ), ρB r ≤ 1) (hg0 : ∀ (σ : Ω) (z : V), 0 ≤ g σ z) (hg'0 : ∀ (σ : Ω) (z : V), 0 ≤ g' σ z) (hg'1 : ∀ (σ : Ω) (z : V), g' σ z ≤ 1) {AF AB : ℝ} (hAF : 0 ≤ AF) (hAB : 0 ≤ AB) (hQbound : ∀ (σ : Ω) (x z : V), Q (G' σ x z / f) ≤ AF) (hkbound : ∀ (σ : Ω) (z y : V), k (H σ z y / b) ≤ AB) (hKc : 0 < Kc) (hIQ : ∀ (v r : ℝ), Q v ≠ 0 → ρF r ≠ 0 → I v r = 1) {gF : ℝ} (hgF : gF ≤ 1) (hτclose : ∀ (r : ℝ), gF ≤ r → τ r = 0) (hYt : ∀ (t : υ) (y : V), Yt t y → Y t y) (hKB : 0 < KB) {eB gB : ℝ} (heB : 0 ≤ eB) (hkzero : ∀ v ≤ eB, k v = 0) (hgB : gB ≤ eB) (hρBclose : ∀ (r : ℝ), gB ≤ r → ρB r = 0) :
have F := fun (σ : Ω) => correctionAtom I τ KF Kc f (G σ) X Z Zt Q hF ρF (g σ) (drawF σ); have F' := fun (σ : Ω) => correctionAtom I τ KF Kc f (G' σ) X Z Zt Q hF ρF (g' σ) (drawF σ); have B := fun (σ : Ω) => denseAtom Y Yt k hB ρB KB b (H σ) (drawB σ); have B' := fun (σ : Ω) => denseAtom Y Yt k hB ρB KB b (H' σ) (drawB σ); (Cslib.rootDistPow s N u (fun (σ : Ω) (x : V) => X (drawF σ).1 x) (fun (σ : Ω) (y : V) => Yt (drawB σ) y) (fun (σ : Ω) (x y : V) => ∑ z : V with Zt (drawF σ).2 z, F σ x z * B σ z y) fun (σ : Ω) (x y : V) => ∑ z : V with Zt (drawF σ).2 z, F' σ x z * B' σ z y) ≤ 2 ^ (2 * (s - 1)) * ↑s ^ s * (2 * AB * ↑KB * Cslib.rootDistPow s N u (fun (σ : Ω) (x : V) => X (drawF σ).1 x) (fun (σ : Ω) (z : V) => Zt (drawF σ).2 z) F F' + 2 * AF * ↑Kc * (f / u) * Cslib.rootDistPow s N f (fun (σ : Ω) (z : V) => Zt (drawF σ).2 z) (fun (σ : Ω) (y : V) => Yt (drawB σ) y) B B')

Product errors for actual correction and dense atoms. The matrices, multipliers, and both seed maps may depend on one shared environment. The bounded cutoffs give CF = 2 * AF and CB = 2 * AB; the actual incoming and row gates give caps Kc and KB.

The intermediate source normalization changes from u to the correction scale f, with exact factor f / u. This theorem does not change the terminal scale b or take conditional means.