Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 — ∥u(r)∥2≤32∥A+∥2∥b(r)∥2\|u^{(r)}\|_2\le\tfrac32\|\mathbf A^+\|_2\|b^{(r)}\|_2∥u(r)∥2​≤23​∥A+∥2​∥b(r)∥2​ (with the added hypothesis that AAA has linearly independent columns)

Proved
SparseApprox.Greedy.norm_le_pinv_Abar

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

greedy-algorithmp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1sparse-approximation

Throughout, A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n, b∈Rmb\in\mathbb R^mb∈Rm and ε>0\varepsilon>0ε>0 are the input of Algorithm Greedy, and k0,k1,…k_0,k_1,\dotsk0​,k1​,… are the indices it selects. For r<tr<tr<t, A(r)A^{(r)}A(r) (columns aj(r)a^{(r)}_jaj(r)​), b(r)b^{(r)}b(r) and τ(r)\tau^{(r)}τ(r) are the columns, the vector bbb and the set of chosen indices at the start of iteration rrr of a run of ttt selection iterations, as computed by the algorithm.

Assume that the columns of AAA are linearly independent, and let A+\mathbf A^+A+ be the pseudo-inverse of A\mathbf AA (AAA with normalized columns). For 0≤r<t0\le r<t0≤r<t, if u(r)u^{(r)}u(r) is a vector with the minimum number of nonzero entries such that ∥A(r)u(r)−b(r)∥2≤ε/2\|A^{(r)}u^{(r)}-b^{(r)}\|_2\le\varepsilon/2∥A(r)u(r)−b(r)∥2​≤ε/2, then

∥u(r)∥2≤32 ∥A+∥2 ∥b(r)∥2.\|u^{(r)}\|_2\le\frac32\,\|\mathbf A^+\|_2\,\|b^{(r)}\|_2 .∥u(r)∥2​≤23​∥A+∥2​∥b(r)∥2​.

Together with Lemma 3 this bounds the quantity ρ\rhoρ of Lemma 1 by 9Opt⁡(ε/2)∥A+∥229\operatorname{Opt}(\varepsilon/2)\|\mathbf A^+\|_2^29Opt(ε/2)∥A+∥22​.

Formalization Note The hypothesis that AAA has linearly independent columns is added; the printed Lemma 2 is false without it. Counterexample: A=A=[e1, e2, (e1+e2)/2]\mathbf A=A=[e_1,\ e_2,\ (e_1+e_2)/\sqrt2]A=A=[e1​, e2​, (e1​+e2​)/2​] has singular values 2\sqrt22​ and 111, so ∥A+∥2=1\|\mathbf A^+\|_2=1∥A+∥2​=1; for b=β(−1,1)/2b=\beta(-1,1)/\sqrt2b=β(−1,1)/2​ and ε≪β\varepsilon\ll\betaε≪β no single column is within ε/2\varepsilon/2ε/2 of bbb, and u(0)=(−2β,0,β)u^{(0)}=(-\sqrt2\beta,0,\beta)u(0)=(−2​β,0,β) is a minimum-support exact solution with ∥u(0)∥2=3β>32β\|u^{(0)}\|_2=\sqrt3\beta>\tfrac32\beta∥u(0)∥2​=3​β>23​β. The proof on p. 233 needs the hypothesis at the singular-value step. The pseudo-inverse is any matrix satisfying the four Penrose equations for A\mathbf AA, and ∥⋅∥2\|\cdot\|_2∥⋅∥2​ is the spectral norm.

Preamble
import Mathlib
import Definitions.Def_SparseApprox_Greedy_Basic
import Definitions.Def_SparseApprox_Greedy_Algorithm

open scoped InnerProductSpace
Formal statement
namespace SparseApprox.Greedy

theorem norm_le_pinv_Abar {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
    (b : EuclideanSpace ℝ (Fin m)) (ε : ℝ) (hε : 0 < ε)
    (hA : LinearIndependent ℝ (colE A))
    (P : Matrix (Fin n) (Fin m) ℝ) (hP : IsMoorePenrose (Abar A) P)
    (k : ℕ → Fin n) (t : ℕ)
    (hrun : IsGreedyRun A b ε k t) (r : ℕ) (hr : r < t) (u : EuclideanSpace ℝ (Fin n))
    (hu : IsMinSparseSol (greedyState A b k r).col (greedyState A b k r).res (ε / 2) u) :
    ‖u‖ ≤ 3 / 2 * opNorm2 P * ‖(greedyState A b k r).res‖ := by sorry

end SparseApprox.Greedy
Source
Natarajan, Sparse Approximate Solutions to Linear Systems, SIAM J. Comput. 24 (1995), p. 232, Lemma 2 (proof pp. 232–233)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me