Documentation

CslibFrontier.Computability.LogSpaceDerandomization.DenseRowRecipes.Stability

Absolute stability of dense preparation #

Preparation compares signed raw rows on the same retained rank slice. Its error is controlled by the entry error and the full-slice maximum absolute error, both divided by the actual rate. No target range or independence is required.

theorem Matrix.DenseRowRecipe.atomPrep_stability {V : Type u_1} {h ρ : ℝ → ℝ} {Lh Lρ : ℝ} (hh : ∀ (z : ℝ), h z ∈ Set.Icc 0 1) (hρ : ∀ (z : ℝ), ρ z ∈ Set.Icc 0 1) (hlh : ∀ (a b : ℝ), |h a - h b| ≤ Lh * |a - b|) (hlρ : ∀ (a b : ℝ), |ρ a - ρ b| ≤ Lρ * |a - b|) (hLρ : 0 ≤ Lρ) {K : ℕ} (hK : 0 < K) {r : ℝ} (hr : 0 < r) (A B : Matrix V V ℝ) (S : Finset V) (x y : V) :
|atomPrep h ρ K r A S x y - atomPrep h ρ K r B S x y| ≤ (Lh * |A x y - B x y| + Lρ * Finset.kthLargest 1 S fun (w : V) => |A x w - B x w|) / r

Pointwise preparation stability with explicit absolute entry and full-rank errors. The same padded rank domain is used on both sides, even when it is empty.