Lemma 1.3: an -sparse representation is unique when
ProvedCandesTao.Decoding.sparse_representation_uniqueLet be a real matrix with columns , and suppose that is such that . Let be a set of at most indices, let be an arbitrary real coefficient vector supported on , and put . Then the set and the coefficients can be reconstructed uniquely from knowledge of and the : if is supported on a set with and
then .
This is the abstract existence statement behind sparse recovery: under , an -sparse vector is determined by its image . It supplies no efficient algorithm; Theorem 1.4 shows that under the slightly stronger condition (1.10) the linear program finds this unique representation.
Formalization Note "The set and the coefficients can be reconstructed uniquely" is formalized as the statement the paper proves: any two representations of by coefficient vectors supported on sets of size at most coincide as vectors of , so the support (the set of nonzero coordinates) is determined as well. The hypothesis is the domain of in Definition 1.1.
import Definitions.Def_CandesTao_Decoding_RestrictedIsometry
namespace CandesTao.Decoding
theorem sparse_representation_unique {p m : ℕ} (F : Matrix (Fin p) (Fin m) ℝ) (S : ℕ)
(hS : 1 ≤ S) (hSm : 2 * S ≤ m) (hδ : restrictedIsometryConst F (2 * S) < 1)
(T T' : Finset (Fin m)) (hT : T.card ≤ S) (hT' : T'.card ≤ S)
(c c' : Fin m → ℝ) (hc : SupportedOn c T) (hc' : SupportedOn c' T')
(hf : F.mulVec c = F.mulVec c') : c = c' := by sorry
end CandesTao.DecodingRead-back
What the Lean code literally says, in plain math · claude-fable-5-1
Read-back of sparse_representation_unique
Data and notation. Fix natural numbers and (both are arbitrary a priori, including ; see the edge cases below), a real matrix , where denotes the index set , and a natural number . Vectors indexed by are written ; is the ordinary matrix–vector product, . Throughout, is the Euclidean norm of a real vector (the square root is applied to a non-negative number, so no convention for negative arguments is involved), so that .
Custom notions, unfolded.
-
" is supported on ", for and a finite set , means: for every index with , one has . Equivalently, . It does not require for ; in particular the zero vector is supported on every , including , and the only vector supported on is .
-
The restricted isometry constant of order of , written here , is the real number
All inequalities are non-strict. The quantification runs over every subset of of cardinality at most (including and all sizes strictly below ) and over every real vector supported on (including , for which both inequalities read ).
The infimum is Mathlib's infimum on , which carries the convention that the infimum of the empty set, or of a set that is not bounded below, is . For this particular set: it is bounded below by by construction (every member satisfies ), and it contains every sufficiently large (for the left inequality holds automatically because its left-hand side is , and for the right inequality holds for all by Cauchy–Schwarz), so it is non-empty. Hence the -convention is not triggered and is the genuine infimum, a real number . Moreover, since all the defining inequalities are non-strict, the set is closed in , so the infimum is attained; consequently the condition "" says exactly that there is some such that for all with and all supported on .
(The preamble also defines an norm, the columns and column span of , and a restricted orthogonality constant; none of these occur in this theorem.)
The statement. For every as above, assume:
- ;
- ;
- : the restricted isometry constant of of order , as unfolded above, is strictly less than ;
- are finite index sets with and (no other relation between and is assumed: they may overlap, coincide, be disjoint, or be empty);
- with supported on and supported on , i.e. for all and for all ;
- as vectors in , i.e. for every .
Then , i.e. for every .
In compact form: for every real matrix and every natural number with , and ,
Edge cases and what the quantifiers silently include.
- : then has a single element, is the empty vector and for every . Because hypotheses 1–2 give , the index exists; taking and (the vector with and all other entries ) in the definition of forces , so the defining set is exactly and . Hypothesis 3 then fails, and the statement holds vacuously for .
- and are excluded by hypotheses 1–2 (together they give ). Otherwise and are unrestricted; in particular may be smaller than, equal to, or larger than .
- The conclusion is demanded in particular when , when , and when exactly one of is the zero vector; hypothesis 5 never forces any entry to be non-zero.
- Hypothesis 3 concerns supports of cardinality up to , whereas and in hypothesis 4 each have cardinality at most . The theorem asserts nothing about pairs of vectors whose supports have more than elements, and nothing about matrices with .
- and the cardinality bounds are natural numbers; is the natural number , with no truncation or rounding involved.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.