Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RowCompression.FalseOverflowNorm

Generic false-overflow fourth-moment charges on normalized row norms #

This module factors out the row-error-agnostic false-first-overflow fourth-moment charge and the finite-union mask bound used to bound normalized fourth-power row norms from Cslib.RowCompression.one_le_sum_clippedError_pow_of_firstOverflow_dyadic, together with the three-budget integration step that the compression assemblies combine with that charge.

Main results #

References #

theorem Cslib.rowNormPow_ite_exists_le_sum {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {N u : ℝ} (hNu : 0 ≤ N * u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (m : ℕ) (F : ℕ → Ω → V → Prop) [(j : ℕ) → (σ : Ω) → (x : V) → Decidable (F j σ x)] (D : Ω → V → V → ℝ) :
(rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if ∃ j < m, F j σ x then D σ x y else 0) ≤ ∑ j ∈ Finset.range m, rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if F j σ x then D σ x y else 0

The fourth-power row norm on an existential event over j < m is at most the sum of the single-index masked norms.

theorem Cslib.rowNormPow_le_three_budgets_add_ite {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {N u : ℝ} (hNu : 0 ≤ N * u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (F : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (F σ x)] (D : Ω → V → V → ℝ) (K : ℕ) (A C : ℝ) (Pre No Tail : Ω → V → ℝ) (hD : ∀ (σ : Ω) (x : V), X σ x → ¬F σ x → ∑ y : V with Y σ y, |D σ x y| ^ 4 ≤ 2 * ↑K * (A * Pre σ x + C * No σ x + C * Tail σ x) ^ 4) :
rowNormPow 4 N u X Y D ≤ 128 * ↑K * (A ^ 4 * vertexNormPow 4 N u X Pre + C ^ 4 * vertexNormPow 4 N u X No + C ^ 4 * vertexNormPow 4 N u X Tail) + rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if F σ x then D σ x y else 0

Rows outside an event F whose fourth moment is at most 2 * K times the fourth power of a three-budget envelope A * Pre + C * No + C * Tail pay the integrated budgets; rows on F are kept as an F-masked remainder.

theorem Cslib.RowCompression.sum_err_pow_four_le_of_false {ι : Type u_1} {η : ℝ} {S : Finset ι} {n : ℕ → ℕ} {K : ℕ} {Δ : ℕ → ι → Fin 2 → ℝ} {a : State ι} {truth : ι → Fin 2 → ℝ} (hη : 0 < η) (hη1 : η ≤ 1) (ha : a.defaultValue = 0) (m j : ℕ) (hj : j < m) (hn : 0 < n j) (hover : IsFirstOverflow S n (fun (x : ℕ) => K) (dyadicFloor η m) Δ a j) (hfirst : ∀ y ∈ S, 0 ≤ truth y 0) (hsecond : ∀ y ∈ S, truth y 0 ≤ dyadicFloor η m j / 4 → truth y 1 = 0) (hheavy : 2 * {y ∈ S | dyadicFloor η m j / 4 < truth y 0}.card < n j) {err : ι → ℝ} {M : ℝ} (hM : 0 ≤ M) (hbound : ∑ y ∈ S, |err y| ^ 4 ≤ 2 * ↑K * M) :
∑ y ∈ S, |err y| ^ 4 ≤ 64 * ↑K * M / (↑(n j) * dyadicFloor η m j ^ 4) * ∑ y ∈ S, |clippedError (truth y 0) (truth y 1) (uncompressedRow Δ a.row (j + 1) y)| ^ 4

Any endpoint error function whose summed fourth power is at most 2 * K * M is charged at a false first overflow by the fourth moment of the uncompressed raw prefix at j + 1.

theorem Cslib.RowCompression.rowNormPow_falseFirstOverflow_le_of_bound {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {η N u : ℝ} (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 m j : ℕ) (hj : j < m) (hn : 0 < n j) (Δ : Ω → V → ℕ → V → Fin 2 → ℝ) (a : Ω → V → State V) (truth : Ω → V → V → Fin 2 → ℝ) (err : Ω → V → V → ℝ) {M : ℝ} (hM : 0 ≤ M) (herr : ∀ (σ : Ω) (x : V), X σ x → ∑ y : V with Y σ y, |err σ x y| ^ 4 ≤ 2 * ↑K * M) (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 ≤ dyadicFloor η m j / 4 → truth σ x y 1 = 0) :
have S := fun (σ : Ω) => {y : V | Y σ y}; let F := fun (σ : Ω) (x : V) => IsFirstOverflow (S σ) n (fun (x : ℕ) => K) (dyadicFloor η m) (Δ σ x) (a σ x) j ∧ ¬Probability.heavyCountEvent Y Finset.univ (fun (y : V) => truth σ x y 0) (dyadicFloor η m j) (n j) σ; (rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => if F σ x then err σ x y else 0) ≤ 64 * ↑K * M / (↑(n j) * dyadicFloor η m j ^ 4) * rowNormPow 4 N u X Y fun (σ : Ω) (x y : V) => clippedError (truth σ x y 0) (truth σ x y 1) (uncompressedRow (Δ σ x) (a σ x).row (j + 1) y)

Normalized false-first-overflow charge at a specified group j for any row error err whose row-wise fourth-power sum is at most 2 * K * M.