Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2.5 (1)-(2): exact frequency localization from the dual SDP

Open
CSOffTheGrid.exact_frequency_localization

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

atomic-normcompressed-sensingdual-certificateline-spectral-estimationsemidefinite-programming

Let J={0,…,n−1}J=\{0,\dots,n-1\}J={0,…,n−1} with n≥1n\ge1n≥1, or J={−2M,…,2M}J=\{-2M,\dots,2M\}J={−2M,…,2M} with M≥1M\ge1M≥1. Let T⊆JT\subseteq JT⊆J, let f1,…,fs∈[0,1]f_1,\dots,f_s\in[0,1]f1​,…,fs​∈[0,1] be distinct points of the circle, let ck≠0c_k\ne0ck​=0, and let x=∑kcka(fk,0)x=\sum_k c_ka(f_k,0)x=∑k​ck​a(fk​,0). Let D\mathcal DD be the set of optimal solutions (q,H)(q,H)(q,H) of the dual semidefinite program

max⁡q,H ⟨qT,xT⟩R  s.t.  [H−q−q∗1]⪰0,  ∑kHk,k+j={1,j=00,j=1,…,∣J∣−1,  H=H∗,  qTc=0.\max_{q,H}\ \langle q_T,x_T\rangle_{\mathbb R}\ \text{ s.t. }\ \begin{bmatrix}H&-q\\-q^*&1\end{bmatrix}\succeq0,\ \ \sum_{k}H_{k,k+j}=\begin{cases}1,&j=0\\0,&j=1,\dots,|J|-1\end{cases},\ \ H=H^*,\ \ q_{T^c}=0.q,Hmax​ ⟨qT​,xT​⟩R​  s.t.  [H−q∗​−q1​]⪰0,  k∑​Hk,k+j​={1,0,​j=0j=1,…,∣J∣−1​,  H=H∗,  qTc​=0.

Suppose some (q,H)∈D(q,H)\in\mathcal D(q,H)∈D has a dual polynomial Q(f)=⟨q,a(f,0)⟩Q(f)=\langle q,a(f,0)\rangleQ(f)=⟨q,a(f,0)⟩ with Q(fk)=sign⁡(ck)Q(f_k)=\operatorname{sign}(c_k)Q(fk​)=sign(ck​) for all kkk and ∣Q(f)∣<1|Q(f)|<1∣Q(f)∣<1 for f≠fkf\ne f_kf=fk​. Then every (q,H)(q,H)(q,H) in the relative interior of D\mathcal DD satisfies

  1. rank⁡[H−q−q∗1]+s=∣J∣+1\operatorname{rank}\begin{bmatrix}H&-q\\-q^*&1\end{bmatrix}+s=|J|+1rank[H−q∗​−q1​]+s=∣J∣+1 (strict complementarity);
  2. Q(fk)=sign⁡(ck)Q(f_k)=\operatorname{sign}(c_k)Q(fk​)=sign(ck​) for all kkk and ∣Q(f)∣<1|Q(f)|<1∣Q(f)∣<1 for f≠fkf\ne f_kf=fk​.

Hence a dual optimum in the relative interior of D\mathcal DD locates the frequencies exactly, as the points where ∣Q∣=1|Q|=1∣Q∣=1.

Formalization Note The relative interior is Mathlib's intrinsic interior of D\mathcal DD, viewed as a subset of the real affine space C∣J∣×C∣J∣×∣J∣\mathbb C^{|J|}\times\mathbb C^{|J|\times|J|}C∣J∣×C∣J∣×∣J∣. Statement 3 of the proposition, convergence of the dual central path, is not included. The paper calls the primal optimum "unique" in statement 1, but the hypotheses do not imply this (see Proposition 2.4), and the statement here does not assume it.

Preamble
import Mathlib
import Definitions.Def_CSOffTheGrid_Basic

open MeasureTheory
open scoped ENNReal ComplexOrder
Formal statement
namespace CSOffTheGrid

theorem exact_frequency_localization (J : Finset ℤ)
    (hJ : (∃ n : ℕ, 0 < n ∧ J = stdJ n) ∨ (∃ M : ℕ, 0 < M ∧ J = symJ M))
    (T : Finset ℤ) (hT : T ⊆ J) {s : ℕ} (f : Fin s → ℝ) (hf : ∀ k, f k ∈ Set.Icc (0 : ℝ) 1)
    (hdist : ∀ k j, k ≠ j → wrapDist (f k) (f j) ≠ 0) (c : Fin s → ℂ) (hc : ∀ k, c k ≠ 0)
    (hex : ∃ p ∈ dualOptimalSet J T (signal J f c),
      (∀ k, dualPoly J p.1 (f k) = csign (c k)) ∧
      ∀ g : ℝ, (∀ k, wrapDist g (f k) ≠ 0) → ‖dualPoly J p.1 g‖ < 1) :
    ∀ p ∈ intrinsicInterior ℝ (dualOptimalSet J T (signal J f c)),
      (dualBlock J p.1 p.2).rank + s = J.card + 1 ∧
      (∀ k, dualPoly J p.1 (f k) = csign (c k)) ∧
      ∀ g : ℝ, (∀ k, wrapDist g (f k) ≠ 0) → ‖dualPoly J p.1 g‖ < 1 := by sorry

end CSOffTheGrid
Source
Tang, Bhaskar, Shah and Recht, Compressed Sensing Off the Grid, arXiv:1207.6053v3 (2013), Section 2.1, Proposition 2.5 (statements 1 and 2), eqs. (2.13)-(2.18), p. 10; proof in Appendix B, pp. 39-42
Read-back

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

Let J⊂ZJ \subset \mathbb{Z}J⊂Z be a finite index set, and suppose JJJ has one of two forms:

  • J={0,1,…,n−1}J = \{0, 1, \dots, n-1\}J={0,1,…,n−1} for some integer n≥1n \ge 1n≥1, or
  • J={−2M,…,2M}J = \{-2M, \dots, 2M\}J={−2M,…,2M} for some integer M≥1M \ge 1M≥1.

Let T⊆JT \subseteq JT⊆J be any subset; TTT may be empty or all of JJJ. Let s≥0s \ge 0s≥0 be a natural number. Let f1,…,fsf_1, \dots, f_sf1​,…,fs​ be real numbers with each fk∈[0,1]f_k \in [0,1]fk​∈[0,1]. Let c1,…,csc_1, \dots, c_sc1​,…,cs​ be nonzero complex numbers.

Distinctness of the frequencies. Assume that for all k≠jk \neq jk=j the wrap-around distance is nonzero:

d(a,b)=∣(a−b)−round⁡(a−b)∣,d(fk,fj)≠0.d(a,b) = \bigl|(a-b) - \operatorname{round}(a-b)\bigr|, \qquad d(f_k, f_j) \neq 0.d(a,b)=​(a−b)−round(a−b)​,d(fk​,fj​)=0.

Equivalently, fk−fj∉Zf_k - f_j \notin \mathbb{Z}fk​−fj​∈/Z, so the fkf_kfk​ are pairwise distinct as points of the circle R/Z\mathbb{R}/\mathbb{Z}R/Z. In particular, 000 and 111 cannot both occur. No quantitative separation is assumed, and nothing in the statement is random.

The signal. Form the vector x∈CJx \in \mathbb{C}^Jx∈CJ with entries

xj=∑k=1sck ei2πfkj,j∈J.x_j = \sum_{k=1}^{s} c_k\, e^{i 2\pi f_k j}, \qquad j \in J.xj​=k=1∑s​ck​ei2πfk​j,j∈J.

The dual polynomial. For q∈CJq \in \mathbb{C}^Jq∈CJ, define

Qq(g)=∑j∈Jqj e−i2πjg,g∈R.Q_q(g) = \sum_{j \in J} q_j\, e^{-i 2\pi j g}, \qquad g \in \mathbb{R}.Qq​(g)=j∈J∑​qj​e−i2πjg,g∈R.

Also write sign⁡(c)=c/∣c∣\operatorname{sign}(c) = c/|c|sign(c)=c/∣c∣.

Dual feasibility. A pair (q,H)(q, H)(q,H), with q∈CJq \in \mathbb{C}^Jq∈CJ and HHH a complex J×JJ \times JJ×J matrix, is dual feasible if all of the following hold:

  1. The (∣J∣+1)×(∣J∣+1)(|J|+1)\times(|J|+1)(∣J∣+1)×(∣J∣+1) block matrix
B(q,H)=(H−q−q∗1)B(q,H) = \begin{pmatrix} H & -q \\ -q^{*} & 1 \end{pmatrix}B(q,H)=(H−q∗​−q1​)

is positive semidefinite, meaning Hermitian with v∗Bv≥0v^{*} B v \ge 0v∗Bv≥0 for all vvv. 2. For each d=0,1,…,∣J∣−1d = 0, 1, \dots, |J|-1d=0,1,…,∣J∣−1, the sum of the entries Ha,bH_{a,b}Ha,b​ over a,b∈Ja, b \in Ja,b∈J with b−a=db - a = db−a=d equals 111 if d=0d = 0d=0 and 000 otherwise. Only the main diagonal and the diagonals above it are constrained. 3. HHH is Hermitian. 4. qj=0q_j = 0qj​=0 for every j∈J∖Tj \in J \setminus Tj∈J∖T.

The dual optimal set. Let D\mathcal{D}D be the set of dual-feasible pairs (q,H)(q,H)(q,H) that maximize the objective

Re⁡∑j∈Txj‾ qj\operatorname{Re} \sum_{j \in T} \overline{x_j}\, q_jRej∈T∑​xj​​qj​

over all dual-feasible pairs. That is, (q,H)(q,H)(q,H) is feasible and its objective value is ≥\ge≥ that of every feasible pair. If the maximum were not attained, D\mathcal{D}D would be empty.

The hypothesis. Assume there exists (q,H)∈D(q, H) \in \mathcal{D}(q,H)∈D such that:

  • Qq(fk)=sign⁡(ck)Q_q(f_k) = \operatorname{sign}(c_k)Qq​(fk​)=sign(ck​) for every kkk, and
  • ∣Qq(g)∣<1|Q_q(g)| < 1∣Qq​(g)∣<1 for every real ggg with d(g,fk)≠0d(g, f_k) \neq 0d(g,fk​)=0 for all kkk, i.e. every ggg not congruent mod 111 to any fkf_kfk​.

In particular, this makes D\mathcal{D}D nonempty.

The conclusion. Regard D\mathcal{D}D as a subset of the real vector space CJ×CJ×J\mathbb{C}^J \times \mathbb{C}^{J \times J}CJ×CJ×J. Every pair (q,H)(q, H)(q,H) in the intrinsic (relative) interior of D\mathcal{D}D satisfies all three of the following. The intrinsic interior is the interior of D\mathcal{D}D taken within its real affine hull.

  1. The rank over C\mathbb{C}C of B(q,H)B(q,H)B(q,H) satisfies
rank⁡B(q,H)+s=∣J∣+1.\operatorname{rank} B(q,H) + s = |J| + 1.rankB(q,H)+s=∣J∣+1.
  1. Qq(fk)=sign⁡(ck)Q_q(f_k) = \operatorname{sign}(c_k)Qq​(fk​)=sign(ck​) for every k=1,…,sk = 1, \dots, sk=1,…,s.
  2. ∣Qq(g)∣<1|Q_q(g)| < 1∣Qq​(g)∣<1 for every real ggg not congruent mod 111 to any fkf_kfk​.

Degenerate case s=0s = 0s=0. Here x=0x = 0x=0, so the objective is identically 000 and D\mathcal{D}D is the whole feasible set. The hypothesis then requires a feasible (q,H)(q,H)(q,H) with ∣Qq(g)∣<1|Q_q(g)| < 1∣Qq​(g)∣<1 for all real ggg. The conclusion asserts that every relative-interior point of the feasible set has B(q,H)B(q,H)B(q,H) of full rank ∣J∣+1|J|+1∣J∣+1 and ∣Qq(g)∣<1|Q_q(g)| < 1∣Qq​(g)∣<1 for all ggg.

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