Theorem (exists_forall_integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_mul_log_le). O(\|\mathbf{A}\|_{\mathsf{F}}^2\|\mathbf{A}^{+}\|_2^2\log(1/\varepsilon)) iterations suffice for randomized Kaczmarz: there are absolute constants C, \varepsilon_0 > 0 such that for \mathbf{A}\mathbf{x}_\star = \mathbf{b}, \mathbf{x}_\star - \mathbf{x}_0 in the row space of \mathbf{A}, rows drawn independently from the squared-row-norm law, row i with probability \|\mathbf{a}_i\|^2/\|\mathbf{A}\|_{\mathsf{F}}^2 (\mathbf{a}_i the rows of \mathbf{A}), 0 < \varepsilon \le \varepsilon_0 and q \ge C\|\mathbf{A}\|_{\mathsf{F}}^2\|\mathbf{A}^{+}\|_2^2\log(1/\varepsilon), \mathbb{E}\|\mathbf{x}_\star - \mathsf{kaczmarzIterate}(\mathbf{A}, \iota, \mathbf{b}, \mathbf{x}_0, q)\|^2 \le \varepsilon\|\mathbf{x}_\star - \mathbf{x}_0\|^2\,. The constants come before every dimension. Proved from NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_mul_of_hasLaw_iidSequence_of_mul_log_le with C = 1 and \varepsilon_0 = 1. [StrohmerVershynin2009, (11)], which counts 2\kappa(\mathbf{A})^2\log(1/\varepsilon) steps for the unsquared error.
Headline (provisional)
Lean statement and details
NLAlib.exists_forall_integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_mul_log_le :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω 𝕜 m n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype m]
[inst_3 : Fintype n] [inst_4 : DecidableEq m] [inst_5 : MeasurableSpace m]
[MeasurableSingletonClass m] (μ : Measure Ω) (A : Matrix m n 𝕜) (b : m → 𝕜)
(ι : Ω → ℕ → m) (xs x₀ : n → 𝕜) (q : ℕ) (ε : ℝ),
HasLaw ι (iidSequence (samplingMeasure (rowNormSqDistribution A))) μ →
A *ᵥ xs = b →
xs - x₀ ∈ Aᴴ.mulVecLin.range →
0 < ε →
ε ≤ ε₀ →
C * (frobPseudoConditionNumber A ^ 2 * Real.log (1 / ε)) ≤ ↑q →
∫ (ω : Ω), ‖WithLp.toLp 2 (xs - kaczmarzIterate A (ι ω) b x₀ q)‖ ^ 2 ∂μ ≤
ε * ‖WithLp.toLp 2 (xs - x₀)‖ ^ 2