Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 2, p. 232 — σ(A(0))∪τ(A(0))\sigma(A^{(0)})\cup\tau(A^{(0)})σ(A(0))∪τ(A(0)) is linearly independent

Proved
SparseApprox.Greedy.support_chosen_linearIndependent

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.

Let r<tr<tr<t and let u(r)u^{(r)}u(r) be 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. Let σ={i:ui(r)≠0}\sigma=\{i : u^{(r)}_i\neq 0\}σ={i:ui(r)​=0} and let τ={k0,…,kr−1}\tau=\{k_0,\dots,k_{r-1}\}τ={k0​,…,kr−1​} be the indices of the first rrr columns picked by the algorithm. Then

  1. σ\sigmaσ and τ\tauτ are disjoint, and
  2. the columns {ai(0):i∈σ∪τ}\{a^{(0)}_i : i\in\sigma\cup\tau\}{ai(0)​:i∈σ∪τ} of A(0)=AA^{(0)}=\mathbf AA(0)=A are linearly independent.

This is the structural fact behind Lemma 2: it makes the matrix ZZZ with these columns have a left inverse, which lets u(r)u^{(r)}u(r) be recovered from A(r)u(r)A^{(r)}u^{(r)}A(r)u(r) through the pseudo-inverse Z+Z^+Z+.

Formalization Note Disjointness is implicit on the page (the proof of Lemma 2 sets ui(r)=0u^{(r)}_i=0ui(r)​=0 for i∈τi\in\taui∈τ) and is stated explicitly. Linear independence is stated for the family indexed by σ∪τ\sigma\cup\tauσ∪τ, so it also excludes repeated columns.

Preamble
import Mathlib
import Definitions.Def_SparseApprox_Greedy_Basic
import Definitions.Def_SparseApprox_Greedy_Algorithm

open scoped InnerProductSpace
Formal statement
namespace SparseApprox.Greedy

theorem support_chosen_linearIndependent {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
    (b : EuclideanSpace ℝ (Fin m)) (ε : ℝ) (hε : 0 < ε) (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) :
    Disjoint (nzSet u) (greedyState A b k r).chosen ∧
      LinearIndependent ℝ
        (fun i : ↥(nzSet u ∪ (greedyState A b k r).chosen) => (initState A b).col i) := by sorry

end SparseApprox.Greedy
Source
Natarajan, Sparse Approximate Solutions to Linear Systems, SIAM J. Comput. 24 (1995), p. 232, proof of Lemma 2, second paragraph ("We first show that σ(A⁽⁰⁾) ⋃ τ(A⁽⁰⁾) is a linearly independent set")
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