Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RootMetric.FiniteError

Finite atom payments and conditional Jensen for row errors #

A bounded nonnegative pair of tables admits an explicit root-to-ordinary error payment at each retained atom. This conservative payment retains the full environment cardinality. The integrated envelope and conditional Jensen estimates avoid extracting atoms. The actual child reserve uses these integrated estimates; the atom lemmas remain independent finite-domain tools for clients that explicitly need entrywise control. These original finite inequalities use Samuel Schlesinger's integrated row normalization.

theorem Cslib.bounded_sub_fourth_le_rootDistPow_atom {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {N u B : ℝ} (hN : 0 < N) (hu : 0 < u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (A A' : Ω → V → V → ℝ) (hA : ∀ (σ : Ω) (x y : V), A σ x y ∈ Set.Icc 0 B) (hA' : ∀ (σ : Ω) (x y : V), A' σ x y ∈ Set.Icc 0 B) (σ : Ω) (x y : V) (hx : X σ x) (hy : Y σ y) :
|A σ x y - A' σ x y| ^ 4 ≤ (4 * B ^ (3 / 4)) ^ 4 * (N * u * ↑(Fintype.card Ω)) * rootDistPow 4 N u X Y A A'

A finite-domain rooted moment controls a retained entry, with the entire finite atom cost explicit. This conservative bound pays card Ω; it asserts no uniform bound independent of the environment size. Both tables must be bounded normalized outputs.

theorem Cslib.bounded_sub_fourth_le_of_root_budget {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {N u B q : ℝ} (hN : 0 < N) (hu : 0 < u) (hq : 0 ≤ q) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (A A' : Ω → V → V → ℝ) (hA : ∀ (σ : Ω) (x y : V), A σ x y ∈ Set.Icc 0 B) (hA' : ∀ (σ : Ω) (x y : V), A' σ x y ∈ Set.Icc 0 B) (hoff : ∀ (σ : Ω) (x y : V), ¬Y σ y → A σ x y = A' σ x y) (hbudget : rootDistPow 4 N u X Y A A' ≤ q / (1 + (4 * B ^ (3 / 4)) ^ 4 * (N * u * ↑(Fintype.card Ω)))) (σ : Ω) (x y : V) (hx : X σ x) :
|A σ x y - A' σ x y| ^ 4 ≤ q

An explicit sufficient rooted accuracy allocation on the child's own source/usage domain. Values off usage must agree; values off source are never constrained.

theorem Cslib.rowNormPow_fourth_le_expect_envelope {Ω : 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 → V → ℝ) (q : Ω → ℝ) (hq : ∀ (σ : Ω), 0 ≤ q σ) (hF : ∀ (σ : Ω) (x y : V), X σ x → Y σ y → |F σ x y| ^ 4 ≤ q σ) :
rowNormPow 4 N u X Y F ≤ ↑(Fintype.card V) ^ 2 / (N * u) * Finset.univ.expect fun (σ : Ω) => q σ

An environment-dependent envelope integrates without extracting any atom. Repeating it across retained source/terminal pairs costs only the square of the vertex width.

theorem Cslib.rowNormPow_sliceMean_fourth_le {Ω : 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 → V → ℝ) :
(rowNormPow 4 N u X Y fun (x : Ω) => rowSliceMean X Y F) ≤ rowNormPow 4 N u X Y F

Conditional Jensen on the same full environment, with no independence requirement. The fourth moment of the deterministic slice mean is at most the original row moment.

theorem Cslib.rowNormPow_sliceMean_sub_le_rootDistPow {Ω : Type u_1} {V : Type u_2} [Fintype Ω] [Fintype V] {N u B : ℝ} (hNu : 0 ≤ N * u) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] (A A' : Ω → V → V → ℝ) (hA : ∀ (σ : Ω) (x y : V), A σ x y ∈ Set.Icc 0 B) (hA' : ∀ (σ : Ω) (x y : V), A' σ x y ∈ Set.Icc 0 B) :
(rowNormPow 4 N u X Y fun (x : Ω) (x_1 y : V) => rowSliceMean X Y A x_1 y - rowSliceMean X Y A' x_1 y) ≤ (4 * B ^ (3 / 4)) ^ 4 * rootDistPow 4 N u X Y A A'

Bounded root error pays bias after conditional averaging on the identical slice. No pointwise error, independence, or environment-cardinality factor is needed.