Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: stable recovery from noisy observations

Proved
CompressedSensingRadar.matrix_recovery_guaranteed_noise

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=∑isiHiH=\sum_is_iH_iH=∑i​si​Hi​ has a KKK-sparse representation sss in the time-frequency basis, and let T>0T>0T>0 with

K<12(N+1)1+2εN/T.K<\frac{\frac12(\sqrt N+1)}{1+2\varepsilon N/T}.K<1+2εN/T21​(N​+1)​.

Suppose y=HfA+ey=Hf_A+ey=HfA​+e is observed, where every entry of the noise satisfies ∣en∣≤ε|e_n|\le\varepsilon∣en​∣≤ε. Then every solution s⋆s^\stars⋆ of the noise-aware basis pursuit min⁡∥s′∥1\min\|s'\|_1min∥s′∥1​ subject to ∣(ΦAs′−y)n∣≤ε|(\Phi_As'-y)_n|\le\varepsilon∣(ΦA​s′−y)n​∣≤ε for all nnn satisfies

∥s−s⋆∥1≤T.\|s-s^\star\|_1\le T.∥s−s⋆∥1​≤T.

Formalization Note The stability parameter TTT is taken positive, since it divides in the hypothesis. The basis pursuit program is the one of footnote 1.

Preamble
import Mathlib
import Definitions.Def_CompressedSensingRadar_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace CompressedSensingRadar

theorem matrix_recovery_guaranteed_noise (N : ℕ) (hN : N.Prime) (h5 : 5 ≤ N) (K : ℕ)
    (s : Fin (N ^ 2) → ℂ) (hs : IsSparse K s) (ε T : ℝ) (hT : 0 < T)
    (hK : (K : ℝ) < (Real.sqrt N + 1) / 2 / (1 + 2 * ε * N / T))
    (e : Fin N → ℂ) (he : ∀ n, ‖e n‖ ≤ ε) (sstar : Fin (N ^ 2) → ℂ)
    (hstar : IsNoisyBPSolution (gaborDict N (alltop N))
      ((tfSynth N s).mulVec (alltop N) + e) ε sstar) :
    norm1 (s - sstar) ≤ T := by sorry

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

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

The statement fixes a natural number NNN that is prime and satisfies N≥5N \ge 5N≥5. All objects below are built from NNN.

Root of unity and operators. Let ω=e2πi/N\omega = e^{2\pi i/N}ω=e2πi/N. To avoid a clash with the real number TTT further down, write T\mathcal{T}T for the cyclic shift matrix. The three operators are the following N×NN\times NN×N complex matrices, indexed by p,q∈{0,…,N−1}p,q \in \{0,\dots,N-1\}p,q∈{0,…,N−1}:

Tp,q={1p=(q+1) mod N0otherwise,M=diag⁡(ω0,ω1,…,ωN−1),\mathcal{T}_{p,q} = \begin{cases}1 & p = (q+1) \bmod N\\ 0 & \text{otherwise,}\end{cases} \qquad \mathcal{M} = \operatorname{diag}(\omega^0,\omega^1,\dots,\omega^{N-1}),Tp,q​={10​p=(q+1)modNotherwise,​M=diag(ω0,ω1,…,ωN−1), Hi=M i mod N T ⌊i/N⌋,i=0,…,N2−1.H_i = \mathcal{M}^{\,i \bmod N}\,\mathcal{T}^{\,\lfloor i/N\rfloor}, \qquad i = 0,\dots,N^2-1.Hi​=MimodNT⌊i/N⌋,i=0,…,N2−1.

Probe and dictionary. The probe is the Alltop vector f∈CNf \in \mathbb{C}^Nf∈CN, defined by

fn=1N e2πin3/N,n=0,…,N−1.f_n = \frac{1}{\sqrt N}\, e^{2\pi i n^3/N}, \qquad n = 0,\dots,N-1.fn​=N​1​e2πin3/N,n=0,…,N−1.

The dictionary Φ∈CN×N2\Phi \in \mathbb{C}^{N\times N^2}Φ∈CN×N2 is the matrix whose iii-th column is φi=Hif\varphi_i = H_i fφi​=Hi​f.

Norm. For a complex vector xxx, write ∥x∥1=∑j∣xj∣\|x\|_1 = \sum_j |x_j|∥x∥1​=∑j​∣xj​∣, where ∣⋅∣|\cdot|∣⋅∣ is the complex modulus.

Data and hypotheses.

  • KKK is a natural number.
  • s∈CN2s \in \mathbb{C}^{N^2}s∈CN2 has at most KKK nonzero entries.
  • ε\varepsilonε and TTT are real numbers with T>0T > 0T>0. There is no sign assumption on ε\varepsilonε.
  • The parameters satisfy the strict inequality
K<(N+1)/2 1+2εN/T .K < \frac{(\sqrt N + 1)/2}{\,1 + 2\varepsilon N/T\,}.K<1+2εN/T(N​+1)/2​.
  • e∈CNe \in \mathbb{C}^Ne∈CN satisfies ∣en∣≤ε|e_n| \le \varepsilon∣en​∣≤ε for every nnn. This is an entrywise (sup-norm) bound, not a Euclidean-norm bound.

Observation. Let H=∑i=0N2−1siHiH = \sum_{i=0}^{N^2-1} s_i H_iH=∑i=0N2−1​si​Hi​ and set the observation to

y=Hf+e.y = Hf + e.y=Hf+e.

By construction of Φ\PhiΦ, Hf=ΦsHf = \Phi sHf=Φs.

The recovered vector. s⋆∈CN2s^\star \in \mathbb{C}^{N^2}s⋆∈CN2 is assumed to be any solution of the noise-aware basis pursuit problem with this Φ\PhiΦ, yyy and the same ε\varepsilonε. Concretely:

  • s⋆s^\stars⋆ is feasible: ∣(Φs⋆−y)n∣≤ε|(\Phi s^\star - y)_n| \le \varepsilon∣(Φs⋆−y)n​∣≤ε for every nnn.
  • s⋆s^\stars⋆ is minimal: ∥s⋆∥1≤∥s′∥1\|s^\star\|_1 \le \|s'\|_1∥s⋆∥1​≤∥s′∥1​ for every s′s's′ with ∣(Φs′−y)n∣≤ε|(\Phi s' - y)_n| \le \varepsilon∣(Φs′−y)n​∣≤ε for all nnn.

The statement does not assert that such an s⋆s^\stars⋆ exists, and it does not assert that it is unique. It is a claim about every such s⋆s^\stars⋆.

Conclusion.

∥s−s⋆∥1≤T.\|s - s^\star\|_1 \le T.∥s−s⋆∥1​≤T.

Edge cases.

  • Negative ε\varepsilonε. If ε<0\varepsilon < 0ε<0, the hypothesis ∣en∣≤ε|e_n| \le \varepsilon∣en​∣≤ε cannot hold, since there are N≥5N \ge 5N≥5 entries. In that case the statement is vacuously true.
  • Non-negative ε\varepsilonε. For ε≥0\varepsilon \ge 0ε≥0 the denominator 1+2εN/T1 + 2\varepsilon N/T1+2εN/T is at least 111.
  • ε=0\varepsilon = 0ε=0. Then e=0e = 0e=0, and the condition on KKK reduces to K<(N+1)/2K < (\sqrt N+1)/2K<(N​+1)/2.
  • Role of TTT. TTT is an arbitrary positive real that appears in two places: as the bound in the conclusion and inside the hypothesis on KKK. A smaller TTT makes the hypothesis on KKK more restrictive. No other relation between ε\varepsilonε and TTT is assumed.
  • K=0K = 0K=0. This forces s=0s = 0s=0.
  • Smallest case, N=5N = 5N=5. The bound (5+1)/2≈1.618(\sqrt5+1)/2 \approx 1.618(5​+1)/2≈1.618 permits at most K≤1K \le 1K≤1.
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