Theorem 2 — Greedy selects at most columns (for with linearly independent columns)
ProvedSparseApprox.Greedy.greedy_iterations_leLet have linearly independent columns, let and , and assume that some satisfies . Let be with each column normalized in the norm, its pseudo-inverse and its spectral norm, and let
be the fewest number of nonzero entries over all solutions within error . Then every run of the selection phase of Algorithm Greedy on input (with any tie-breaking in the greedy choice) performs a number of iterations, equal to the number of columns selected, that satisfies
Since the solution phase solves a linear system in the selected columns only, the computed solution has at most this many nonzero entries.
The theorem shows that the greedy heuristic approximates the NP-hard sparse approximation problem within a factor that depends on the conditioning of and logarithmically on , at the price of doubling the error tolerance in the comparison with the optimum.
Formalization Note The hypothesis that has linearly independent columns is added; the printed Theorem 2 is false without it. Counterexample: , , columns and for distinct , , : then and , so the bound is , yet Greedy selects two columns. The hypothesis forces and holds for the paper's motivating nonsingular interpolation systems. The existence hypothesis on is needed because is an infimum over ℕ, which is on the empty set. The ceiling is Nat.ceil; when we have , the logarithm is positive and Nat.ceil agrees with the integer ceiling. The bound is stated for every prefix of a run, so no run can exceed it. The pseudo-inverse is any matrix satisfying the four Penrose equations for .
import Mathlib import Definitions.Def_SparseApprox_Greedy_Basic import Definitions.Def_SparseApprox_Greedy_Algorithm open scoped InnerProductSpace
namespace SparseApprox.Greedy
theorem greedy_iterations_le {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
(b : EuclideanSpace ℝ (Fin m)) (ε : ℝ) (hε : 0 < ε)
(hA : LinearIndependent ℝ (colE A))
(hfeas : ∃ x : EuclideanSpace ℝ (Fin n), ‖Matrix.toEuclideanLin A x - b‖ ≤ ε / 2)
(P : Matrix (Fin n) (Fin m) ℝ) (hP : IsMoorePenrose (Abar A) P)
(k : ℕ → Fin n) (t : ℕ) (hrun : IsGreedyRun A b ε k t) :
t ≤ ⌈18 * (optSparsity A b (ε / 2) : ℝ) * opNorm2 P ^ 2 * Real.log (‖b‖ / ε)⌉₊ := by sorry
end SparseApprox.Greedy
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.