Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 7.1, (B.29) — ℓ2\ell_2ℓ2​ error bound under RE(s,m,1)(s,m,1)(s,m,1)

Proved
LassoDantzig.Dantzig.eq_B29

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

dantzig-selectorhigh-dimensional-statisticsp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1restricted-eigenvalue

Let X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M with n≥1n\ge1n≥1, let m≥1m\ge1m≥1 and let κ>0\kappa>0κ>0 be a witness of Assumption RE(s,m,1)(s,m,1)(s,m,1). Let J0J_0J0​ with ∣J0∣≤s|J_0|\le s∣J0​∣≤s, let δ∈RM\delta\in\mathbb R^Mδ∈RM satisfy the cone condition ∣δJ0c∣1≤∣δJ0∣1|\delta_{J_0^c}|_1\le|\delta_{J_0}|_1∣δJ0c​​∣1​≤∣δJ0​​∣1​, let J1J_1J1​ be a set of the mmm largest in absolute value coordinates of δ\deltaδ outside J0J_0J0​, J01=J0∪J1J_{01}=J_0\cup J_1J01​=J0​∪J1​, let r≥0r\ge0r≥0, and suppose (B.25) holds: 1n∣Xδ∣22≤4rs ∣δJ0∣2\frac1n|X\delta|_2^2\le4r\sqrt s\,|\delta_{J_0}|_2n1​∣Xδ∣22​≤4rs​∣δJ0​​∣2​. Then

1n∣Xδ∣22≤4rs ∣δJ01∣2,∣δJ01∣2≤4rsκ2,\frac1n|X\delta|_2^2\le4r\sqrt s\,|\delta_{J_{01}}|_2,\qquad |\delta_{J_{01}}|_2\le\frac{4r\sqrt s}{\kappa^2},n1​∣Xδ∣22​≤4rs​∣δJ01​​∣2​,∣δJ01​​∣2​≤κ24rs​​,

and

∣δ∣22≤16(1+sm)2(rsκ2)2.(B.29)|\delta|_2^2\le16\Big(1+\sqrt{\frac sm}\Big)^2\Big(\frac{r\sqrt s}{\kappa^2}\Big)^2 . \tag{B.29}∣δ∣22​≤16(1+ms​​)2(κ2rs​​)2.(B.29)

Combined with the ℓ1\ell_1ℓ1​ bound (7.4) through an interpolation inequality, this gives the ℓp\ell_pℓp​ rates (7.6).

Formalization Note Deterministic form of the step the paper performs on B\mathcal BB for δ=β^D−β∗\delta=\hat\beta_D-\beta^*δ=β^​D​−β∗, J0=J(β∗)J_0=J(\beta^*)J0​=J(β∗), with c0=1c_0=1c0​=1 substituted in (B.29). κ\kappaκ is any positive witness of RE(s,m,1)(s,m,1)(s,m,1); κ(s,m,1)\kappa(s,m,1)κ(s,m,1) is one.

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_Dantzig_Model
Formal statement
namespace LassoDantzig.Dantzig

/-- Proof of Theorem 7.1, (B.29) and the two displays before it (p. 28), deterministic form.
Let `κ > 0` be a witness of RE(s, m, 1), `m ≥ 1`, `|J₀| ≤ s`, `δ` satisfy the cone condition
(4.1) at `J₀` with `c₀ = 1`, `J₁` be a set of the `m` largest `|δⱼ|` outside `J₀`, `r ≥ 0`, and
`(1/n)|Xδ|_2² ≤ 4r√s |δ_{J₀}|_2` (the conclusion of (B.25)). Then
`(1/n)|Xδ|_2² ≤ 4r√s |δ_{J₀₁}|_2`, `|δ_{J₀₁}|_2 ≤ 4r√s/κ²`, and
`|δ|_2² ≤ 16 (1 + √(s/m))² (r√s/κ²)²`. -/
theorem eq_B29 {n M : ℕ} (hn : 1 ≤ n) (X : Matrix (Fin n) (Fin M) ℝ)
    (s m : ℕ) (hm : 1 ≤ m) (κ : ℝ) (hκ : 0 < κ) (hRE : REm X s m 1 κ)
    (J0 J1 : Finset (Fin M)) (hJ0 : J0.card ≤ s) (δ : Fin M → ℝ) (hcone : ConeCond 1 J0 δ)
    (hJ1 : IsTopBlock δ J0 J1 m) (r : ℝ) (hr : 0 ≤ r)
    (hB25 : (1 / (n : ℝ)) * ∑ i, X.mulVec δ i ^ 2 ≤ 4 * r * Real.sqrt s * l2On δ J0) :
    (1 / (n : ℝ)) * ∑ i, X.mulVec δ i ^ 2 ≤ 4 * r * Real.sqrt s * l2On δ (J0 ∪ J1) ∧
    l2On δ (J0 ∪ J1) ≤ 4 * r * Real.sqrt s / κ ^ 2 ∧
    ∑ j, δ j ^ 2 ≤
      16 * (1 + Real.sqrt ((s : ℝ) / m)) ^ 2 * (r * Real.sqrt s / κ ^ 2) ^ 2 := by sorry

end LassoDantzig.Dantzig
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 28, proof of Theorem 7.1, the two displays before (B.29) and Eq. (B.29)
Read-back

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

Setting.

  • n≥1n\ge1n≥1, M∈NM\in\mathbb NM∈N, XXX is a real n×Mn\times Mn×M matrix, s∈Ns\in\mathbb Ns∈N, m≥1m\ge1m≥1, and κ>0\kappa>0κ>0.
  • XXX satisfies RE(s,m,1)\mathrm{RE}(s,m,1)RE(s,m,1) with constant κ\kappaκ. That is, take any JJJ with ∣J∣≤s|J|\le s∣J∣≤s, any nonzero vvv with ∑j∉J∣vj∣≤∑j∈J∣vj∣\sum_{j\notin J}|v_j|\le\sum_{j\in J}|v_j|∑j∈/J​∣vj​∣≤∑j∈J​∣vj​∣, and any J′J'J′ that is a top block of size mmm for vvv outside JJJ. Then
κn ∣vJ∪J′∣2≤∑i(Xv)i2.\kappa\sqrt n\,|v_{J\cup J'}|_2\le\sqrt{\textstyle\sum_i(Xv)_i^2}.κn​∣vJ∪J′​∣2​≤∑i​(Xv)i2​​.

Here a top block means J′⊆JcJ'\subseteq J^cJ′⊆Jc, ∣J′∣=m|J'|=m∣J′∣=m, and ∣vk∣≤∣vj∣|v_k|\le|v_j|∣vk​∣≤∣vj​∣ for j∈J′j\in J'j∈J′ and k∈Jc∖J′k\in J^c\setminus J'k∈Jc∖J′.

  • ∣J0∣≤s|J_0|\le s∣J0​∣≤s.
  • δ∈RM\delta\in\mathbb R^Mδ∈RM, which may be zero, satisfies ∣δJ0c∣1≤∣δJ0∣1|\delta_{J_0^c}|_1\le|\delta_{J_0}|_1∣δJ0c​​∣1​≤∣δJ0​​∣1​.
  • J1J_1J1​ is a top block of size mmm for δ\deltaδ outside J0J_0J0​.
  • r≥0r\ge0r≥0.
  • Writing ∣δJ∣2=∑j∈Jδj2|\delta_J|_2=\sqrt{\sum_{j\in J}\delta_j^2}∣δJ​∣2​=∑j∈J​δj2​​, the following is assumed:
1n∑i(Xδ)i2≤4rs ∣δJ0∣2.\frac1n\sum_i(X\delta)_i^2\le4r\sqrt s\,|\delta_{J_0}|_2.n1​i∑​(Xδ)i2​≤4rs​∣δJ0​​∣2​.

Conclusion. All three of the following hold:

1n∑i(Xδ)i2≤4rs ∣δJ0∪J1∣2,\frac1n\sum_i(X\delta)_i^2\le4r\sqrt s\,|\delta_{J_0\cup J_1}|_2,n1​i∑​(Xδ)i2​≤4rs​∣δJ0​∪J1​​∣2​, ∣δJ0∪J1∣2≤4rsκ2,|\delta_{J_0\cup J_1}|_2\le\frac{4r\sqrt s}{\kappa^2},∣δJ0​∪J1​​∣2​≤κ24rs​​, ∑jδj2≤16(1+s/m)2(rsκ2)2.\sum_j\delta_j^2\le16\big(1+\sqrt{s/m}\big)^2\Big(\frac{r\sqrt s}{\kappa^2}\Big)^2.j∑​δj2​≤16(1+s/m​)2(κ2rs​​)2.

Degenerate cases:

  • m>M−∣J0∣m>M-|J_0|m>M−∣J0​∣. No top block exists, so the statement is vacuous.
  • δ=0\delta=0δ=0. Everything holds trivially.
  • s=0s=0s=0. The cone condition forces δ=0\delta=0δ=0.
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