Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Candès–Tao bound 1n∣P01XδJk∣2≤θs,2sϕmin⁡(2s)∣δJk∣2\frac1{\sqrt n}|P_{01}X\delta_{J_k}|_2\le\frac{\theta_{s,2s}}{\sqrt{\phi_{\min}(2s)}}|\delta_{J_k}|_2n​1​∣P01​XδJk​​∣2​≤ϕmin​(2s)​θs,2s​​∣δJk​​∣2​

Proved
LassoDantzig.REConditions.candes_tao_correlation_bound

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1restricted-correlationrestricted-eigenvalue

Let X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M, s≥1s\ge1s≥1, δ∈RM\delta\in\mathbb R^Mδ∈RM, and let J,J′J,J'J,J′ be disjoint index sets with ∣J∣≤s|J|\le s∣J∣≤s and ∣J′∣≤2s|J'|\le2s∣J′∣≤2s. Let PPP be the orthogonal projector in Rn\mathbb R^nRn onto the span of the columns of XJ′X_{J'}XJ′​. If ϕmin⁡(2s)>0\phi_{\min}(2s)>0ϕmin​(2s)>0, then

1n ∣PXδJ∣2 ≤ θs,2sϕmin⁡(2s) ∣δJ∣2.\frac1{\sqrt n}\,|PX\delta_J|_2\ \le\ \frac{\theta_{s,2s}}{\sqrt{\phi_{\min}(2s)}}\,|\delta_J|_2 .n​1​∣PXδJ​∣2​ ≤ ϕmin​(2s)​θs,2s​​∣δJ​∣2​.

In the proof of Lemma 4.1 (i) (with m=sm=sm=s) this is applied with J=JkJ=J_kJ=Jk​, k≥2k\ge2k≥2, and J′=J01J'=J_{01}J′=J01​, replacing (A.2): the tail blocks are disjoint from J01J_{01}J01​ and have at most sss elements, and ∣J01∣≤2s|J_{01}|\le2s∣J01​∣≤2s. The paper cites the bound from Candès and Tao without proof.

Formalization Note The hypotheses the paper leaves implicit — J∩J′=∅J\cap J'=\emptysetJ∩J′=∅, ∣J∣≤s|J|\le s∣J∣≤s, ∣J′∣≤2s|J'|\le2s∣J′∣≤2s and ϕmin⁡(2s)>0\phi_{\min}(2s)>0ϕmin​(2s)>0 (a consequence of Assumption 1 in the proof) — are explicit. n≥1n\ge1n≥1, M≥2M\ge2M≥2 are standing assumptions.

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_REConditions_RE
import Definitions.Def_LassoDantzig_REConditions_RestrictedEigenvalues
Formal statement
namespace LassoDantzig.REConditions

/-- The Candès–Tao bound used in the proof of **Lemma 4.1 (i)**, Bickel–Ritov–Tsybakov,
arXiv:0801.1095v3, Appendix A, p. 20 (display after (A.3), "cf. [7]"). If `J` and `J'` are
disjoint, `|J| ≤ s`, `|J'| ≤ 2s` and `φ_min(2s) > 0`, then for the orthogonal projector
`P_{J'}` onto the span of the columns of `X_{J'}`:
`(1/√n)|P_{J'} X δ_J|₂ ≤ (θ_{s,2s}/√φ_min(2s)) |δ_J|₂`. In the proof `J = J_k` (`k ≥ 2`) and
`J' = J01`. -/
theorem candes_tao_correlation_bound {n M : ℕ} (X : Matrix (Fin n) (Fin M) ℝ)
    (hn : 1 ≤ n) (hM : 2 ≤ M) (s : ℕ) (hs : 1 ≤ s)
    (δ : Fin M → ℝ) (J J' : Finset (Fin M)) (hdisj : Disjoint J J')
    (hJ : J.card ≤ s) (hJ' : J'.card ≤ 2 * s) (hφ : 0 < phiMin X (2 * s)) :
    1 / Real.sqrt n * projNorm X J' (X.mulVec (restrict δ J)) ≤
      theta X s (2 * s) / Real.sqrt (phiMin X (2 * s)) * l2On δ J := by sorry

end LassoDantzig.REConditions
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 20, Appendix A, proof of Lemma 4.1 (i), display after (A.3) (cf. Candès and Tao [7])
Read-back

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

Setting.

  • n≥1n\ge1n≥1, M≥2M\ge2M≥2 and s≥1s\ge1s≥1 are natural numbers.
  • XXX is a real n×Mn\times Mn×M matrix.
  • δ∈RM\delta\in\mathbb R^Mδ∈RM.
  • J,J′⊆{1,…,M}J,J'\subseteq\{1,\dots,M\}J,J′⊆{1,…,M} are disjoint, with ∣J∣≤s|J|\le s∣J∣≤s and ∣J′∣≤2s|J'|\le2s∣J′∣≤2s.

Hypothesis. ϕmin⁡(2s)>0\phi_{\min}(2s)>0ϕmin​(2s)>0, where ϕmin⁡(u)\phi_{\min}(u)ϕmin​(u) is the infimum, over all x∈RMx\in\mathbb R^Mx∈RM with between 111 and uuu non-zero coordinates, of

1n∣Xx∣22∑jxj2.\frac{\tfrac1n|Xx|_2^2}{\sum_jx_j^2}.∑j​xj2​n1​∣Xx∣22​​.

Notation. θs,2s\theta_{s,2s}θs,2s​ is the supremum of

∑i(Xc1)i(Xc2)in∣c1∣2∣c2∣2\frac{\sum_i(Xc_1)_i(Xc_2)_i}{n|c_1|_2|c_2|_2}n∣c1​∣2​∣c2​∣2​∑i​(Xc1​)i​(Xc2​)i​​

over all disjoint I1,I2I_1,I_2I1​,I2​ with ∣I1∣≤s|I_1|\le s∣I1​∣≤s and ∣I2∣≤2s|I_2|\le2s∣I2​∣≤2s, and all non-zero c1,c2∈RMc_1,c_2\in\mathbb R^Mc1​,c2​∈RM with c1c_1c1​ vanishing off I1I_1I1​ and c2c_2c2​ vanishing off I2I_2I2​. That supremum would be 000 if the set were not bounded above.

  • δJ\delta_JδJ​ equals δ\deltaδ on JJJ and 000 elsewhere.
  • ∣δJ∣2=(∑j∈Jδj2)1/2|\delta_J|_2=(\sum_{j\in J}\delta_j^2)^{1/2}∣δJ​∣2​=(∑j∈J​δj2​)1/2.
  • PJ′P_{J'}PJ′​ is the orthogonal projection of Rn\mathbb R^nRn onto the span of the columns of XXX indexed by J′J'J′.

Conclusion.

1n∣PJ′XδJ∣2≤θs,2sϕmin⁡(2s) ∣δJ∣2.\frac1{\sqrt n}|P_{J'}X\delta_J|_2\le\frac{\theta_{s,2s}}{\sqrt{\phi_{\min}(2s)}}\,|\delta_J|_2 .n​1​∣PJ′​XδJ​∣2​≤ϕmin​(2s)​θs,2s​​∣δJ​∣2​.

Degenerate cases.

  • If J=∅J=\emptysetJ=∅ or J′=∅J'=\emptysetJ′=∅, the left side is 000 and the right side is θs,2s⋅0\theta_{s,2s}\cdot0θs,2s​⋅0 or θs,2s∣δJ∣2\theta_{s,2s}|\delta_J|_2θs,2s​∣δJ​∣2​.
  • 2s2s2s may exceed MMM. Then ϕmin⁡(2s)\phi_{\min}(2s)ϕmin​(2s) is the infimum over all non-zero xxx.
  • The hypothesis ϕmin⁡(2s)>0\phi_{\min}(2s)>0ϕmin​(2s)>0 may be unsatisfiable for a given XXX, for example when XXX has a zero column. In that case the statement is vacuous for that XXX.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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