Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1: guaranteed recovery for K<12(N+1)K<\frac12(\sqrt N+1)K<21​(N​+1)

Proved
CompressedSensingRadar.matrix_recovery_guaranteed

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

alltop-sequencebasis-pursuitcompressed-sensinggabor-framessparse-recovery

Let N≥5N\ge5N≥5 be prime. Suppose H=∑isiHi∈CN×NH=\sum_is_iH_i\in\mathbb{C}^{N\times N}H=∑i​si​Hi​∈CN×N has a KKK-sparse representation s∈CN2s\in\mathbb{C}^{N^2}s∈CN2 in the time-frequency basis, with

K<12(N+1),K<\tfrac12\big(\sqrt N+1\big),K<21​(N​+1),

and that y=HfAy=Hf_Ay=HfA​ is observed. Then sss is the unique solution of basis pursuit min⁡∥s′∥1\min\|s'\|_1min∥s′∥1​ subject to ΦAs′=y\Phi_As'=yΦA​s′=y, and orthogonal matching pursuit applied to yyy and ΦA\Phi_AΦA​ recovers sss.

In radar terms, a scene of fewer than 12(N+1)\frac12(\sqrt N+1)21​(N​+1) targets on the N×NN\times NN×N delay-Doppler grid is always identified exactly from one Alltop pulse.

Preamble
import Mathlib
import Definitions.Def_CompressedSensingRadar_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace CompressedSensingRadar

theorem matrix_recovery_guaranteed (N : ℕ) (hN : N.Prime) (h5 : 5 ≤ N) (K : ℕ)
    (s : Fin (N ^ 2) → ℂ) (hs : IsSparse K s) (hK : (K : ℝ) < (Real.sqrt N + 1) / 2) :
    BPRecovers (gaborDict N (alltop N)) ((tfSynth N s).mulVec (alltop N)) s ∧
    OMPRecovers (gaborDict N (alltop N)) ((tfSynth N s).mulVec (alltop N)) s := by sorry

end CompressedSensingRadar
Source
Herman and Strohmer, High-Resolution Radar via Compressed Sensing, arXiv:0803.2257v2 (2008), Section III-E, Theorem 1, p. 5; proof in Appendix A-A, p. 13
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let NNN be a natural number and KKK a natural number satisfying the hypotheses

  • NNN is prime and N≥5N \ge 5N≥5;
  • K<N+12K < \dfrac{\sqrt{N}+1}{2}K<2N​+1​, comparing KKK as a real number with this real bound. For example, N=5N=5N=5 forces K≤1K \le 1K≤1. The value K=0K = 0K=0 is allowed.

Let s=(s0,…,sN2−1)∈CN2s = (s_0,\dots,s_{N^2-1}) \in \mathbb{C}^{N^2}s=(s0​,…,sN2−1​)∈CN2 be any complex vector indexed by {0,…,N2−1}\{0,\dots,N^2-1\}{0,…,N2−1}. It is assumed to be KKK-sparse: at most KKK of its entries are nonzero. It may have fewer than KKK nonzero entries, and s=0s = 0s=0 is allowed. Write ∥s∥0\|s\|_0∥s∥0​ for the number of its nonzero entries.

The objects built from NNN. Indices p,q,np, q, np,q,n range over {0,…,N−1}\{0,\dots,N-1\}{0,…,N−1}. Let ω=e2πi/N\omega = e^{2\pi i/N}ω=e2πi/N, and define:

  • Alltop vector f∈CNf \in \mathbb{C}^Nf∈CN, with nnn taken as an ordinary integer in n3n^3n3:
fn=1N e2πin3/N.f_n = \frac{1}{\sqrt N}\, e^{2\pi i n^3/N}.fn​=N​1​e2πin3/N.
  • Cyclic shift TTT, the N×NN\times NN×N matrix with Tp,q=1T_{p,q} = 1Tp,q​=1 if p=(q+1) mod Np = (q+1) \bmod Np=(q+1)modN and Tp,q=0T_{p,q} = 0Tp,q​=0 otherwise. Thus (Tv)p=v(p−1) mod N(Tv)_p = v_{(p-1) \bmod N}(Tv)p​=v(p−1)modN​.
  • Modulation M=diag⁡(ω0,ω1,…,ωN−1)M = \operatorname{diag}(\omega^0, \omega^1, \dots, \omega^{N-1})M=diag(ω0,ω1,…,ωN−1).
  • Time–frequency shifts HiH_iHi​, for each i∈{0,…,N2−1}i \in \{0,\dots,N^2-1\}i∈{0,…,N2−1}:
Hi=M i mod N T⌊i/N⌋.H_i = M^{\,i \bmod N}\, T^{\lfloor i/N \rfloor}.Hi​=MimodNT⌊i/N⌋.
  • Gabor dictionary Φ\PhiΦ, the N×N2N \times N^2N×N2 complex matrix whose iii-th column (atom) is φi=Hif\varphi_i = H_i fφi​=Hi​f.
  • Observation y=Hfy = H fy=Hf, where
H=∑i=0N2−1siHi.H = \sum_{i=0}^{N^2-1} s_i H_i.H=i=0∑N2−1​si​Hi​.

Notation for the recovery claims. For complex vectors:

  • ⟨u,v⟩=∑nun‾ vn\langle u, v\rangle = \sum_n \overline{u_n}\, v_n⟨u,v⟩=∑n​un​​vn​, which is conjugate-linear in the first argument;
  • ∥x∥1=∑i∣xi∣\|x\|_1 = \sum_i |x_i|∥x∥1​=∑i​∣xi​∣;
  • ∥x∥2=(∑i∣xi∣2)1/2\|x\|_2 = \big(\sum_i |x_i|^2\big)^{1/2}∥x∥2​=(∑i​∣xi​∣2)1/2.

Conclusion. Under these hypotheses, both of the following hold.

  1. Basis pursuit recovers sss. For every s′∈CN2s' \in \mathbb{C}^{N^2}s′∈CN2, the following are equivalent:

    • s′=ss' = ss′=s;
    • Φs′=y\Phi s' = yΦs′=y, and ∥s′∥1≤∥s′′∥1\|s'\|_1 \le \|s''\|_1∥s′∥1​≤∥s′′∥1​ for every s′′∈CN2s'' \in \mathbb{C}^{N^2}s′′∈CN2 with Φs′′=y\Phi s'' = yΦs′′=y.

    In other words, sss is the unique minimiser of ∥⋅∥1\|\cdot\|_1∥⋅∥1​ over the affine set {x:Φx=y}\{x : \Phi x = y\}{x:Φx=y}. There is no noise or tolerance; the constraint is exact equality.

  2. Orthogonal matching pursuit recovers sss. Let t=∥s∥0t = \|s\|_0t=∥s∥0​, the actual number of nonzero entries of sss, not KKK. Consider any index sequence λ0,λ1,⋯∈{0,…,N2−1}\lambda_0, \lambda_1, \dots \in \{0,\dots,N^2-1\}λ0​,λ1​,⋯∈{0,…,N2−1} and any vector sequence x0,x1,⋯∈CN2x_0, x_1, \dots \in \mathbb{C}^{N^2}x0​,x1​,⋯∈CN2 satisfying the following run conditions:

    • x0=0x_0 = 0x0​=0;
    • for every step k<tk < tk<t:
      • (a) λk\lambda_kλk​ maximises ∣⟨φj, y−Φxk⟩∣\big|\langle \varphi_j,\ y - \Phi x_k\rangle\big|​⟨φj​, y−Φxk​⟩​ over all j∈{0,…,N2−1}j \in \{0,\dots,N^2-1\}j∈{0,…,N2−1}, with any choice among ties allowed;
      • (b) xk+1x_{k+1}xk+1​ vanishes outside {λ0,…,λk}\{\lambda_0,\dots,\lambda_k\}{λ0​,…,λk​};
      • (c) ∥y−Φxk+1∥2≤∥y−Φx′∥2\|y - \Phi x_{k+1}\|_2 \le \|y - \Phi x'\|_2∥y−Φxk+1​∥2​≤∥y−Φx′∥2​ for every x′x'x′ vanishing outside {λ0,…,λk}\{\lambda_0,\dots,\lambda_k\}{λ0​,…,λk​}, with any minimiser allowed.

    Then every such run satisfies xt=sx_t = sxt​=s.

    Entries of the sequences beyond step ttt are unconstrained and irrelevant. The selected indices λk\lambda_kλk​ need not be distinct.

    If s=0s = 0s=0, then t=0t = 0t=0, the only condition is x0=0x_0 = 0x0​=0, and the claim reduces to x0=sx_0 = sx0​=s.

No assumption is made that the atoms φi\varphi_iφi​ have unit norm, and no coherence quantity appears in the statement.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 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