Lemma 3 —
ProvedSparseApprox.Greedy.sparsity_nonincreasingThroughout, , and are the input of Algorithm Greedy, and are the indices it selects. For , (columns ), and are the columns, the vector and the set of chosen indices at the start of iteration of a run of selection iterations, as computed by the algorithm.
For let be the minimum number of nonzero entries of a vector with . The number of entries in the sparse solution is nonincreasing as the algorithm iterates: for , if , and are minimum-support vectors at iterations , and , then
Combined with , this replaces by in the definition (2) of .
Formalization Note is represented through minimum-support vectors (IsMinSparseSol), whose number of nonzero entries is the minimum. Iteration is the state produced by the -th greedy step of the run.
import Mathlib import Definitions.Def_SparseApprox_Greedy_Basic import Definitions.Def_SparseApprox_Greedy_Algorithm open scoped InnerProductSpace
namespace SparseApprox.Greedy
theorem sparsity_nonincreasing {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₀ u u' : EuclideanSpace ℝ (Fin n))
(hu₀ : IsMinSparseSol (greedyState A b k 0).col (greedyState A b k 0).res (ε / 2) u₀)
(hu : IsMinSparseSol (greedyState A b k r).col (greedyState A b k r).res (ε / 2) u)
(hu' : IsMinSparseSol (greedyState A b k (r + 1)).col (greedyState A b k (r + 1)).res
(ε / 2) u') :
nnz u' ≤ nnz u ∧ nnz u ≤ nnz u₀ := by sorry
end SparseApprox.Greedy
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.