Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 6.2 — oracle inequality for the Lasso over Λˉs,γ,ε\bar\Lambda_{s,\gamma,\varepsilon}Λˉs,γ,ε​ without a global RE assumption

Proved
LassoDantzig.Oracle.corollary_6_2

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

high-dimensional-statisticslassooracle-inequalityp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1sparse-regression

Let WiW_iWi​, sss and the Lasso be as in Theorem 6.1 (W1,…,WnW_1,\dots,W_nW1​,…,Wn​ independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) with σ>0\sigma>0σ>0, n≥1n\ge1n≥1, M≥2M\ge2M≥2, 1≤s≤M1\le s\le M1≤s≤M, nonzero column norms, arbitrary fff, r=Aσlog⁡M/nr=A\sigma\sqrt{\log M/n}r=AσlogM/n​ with A>22A>2\sqrt2A>22​), but without the RE assumption. For γ>0\gamma>0γ>0 and c0>0c_0>0c0​>0 let

Js,γ,c0={J0:∣J0∣≤s, min⁡δ≠0, ∣δJ0c∣1≤c0∣δJ0∣1∣Xδ∣2n ∣δJ0∣2≥γ},Λs,γ,c0={β:J(β)∈Js,γ,c0},\mathcal J_{s,\gamma,c_0}=\Big\{J_0:|J_0|\le s,\ \min_{\delta\ne0,\ |\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1}\frac{|X\delta|_2}{\sqrt n\,|\delta_{J_0}|_2}\ge\gamma\Big\},\qquad \Lambda_{s,\gamma,c_0}=\{\beta:J(\beta)\in\mathcal J_{s,\gamma,c_0}\},Js,γ,c0​​={J0​:∣J0​∣≤s, δ=0, ∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​min​n​∣δJ0​​∣2​∣Xδ∣2​​≥γ},Λs,γ,c0​​={β:J(β)∈Js,γ,c0​​},

and Λˉs,γ,ε={β∈Λs,γ,(3+4/ε)fmax⁡/fmin⁡:M(β)≤s}\bar\Lambda_{s,\gamma,\varepsilon}=\{\beta\in\Lambda_{s,\gamma,(3+4/\varepsilon)f_{\max}/f_{\min}}:\mathcal M(\beta)\le s\}Λˉs,γ,ε​={β∈Λs,γ,(3+4/ε)fmax​/fmin​​:M(β)≤s}. Then for all ε>0\varepsilon>0ε>0 and γ>0\gamma>0γ>0 there is an event of probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8 on which every Lasso solution β^L\hat\beta_Lβ^​L​ satisfies, for every β∈Λˉs,γ,ε\beta\in\bar\Lambda_{s,\gamma,\varepsilon}β∈Λˉs,γ,ε​,

∥f^L−f∥n2≤(1+ε){∥fβ−f∥n2+C(ε) fmax⁡2A2σ2γ2 M(β)log⁡Mn},C(ε)=4(2+ε)2ε(1+ε).\|\hat f_L-f\|_n^2\le(1+\varepsilon)\Big\{\|f_\beta-f\|_n^2+C(\varepsilon)\,\frac{f_{\max}^2A^2\sigma^2}{\gamma^2}\,\frac{\mathcal M(\beta)\log M}{n}\Big\},\qquad C(\varepsilon)=\frac{4(2+\varepsilon)^2}{\varepsilon(1+\varepsilon)} .∥f^​L​−f∥n2​≤(1+ε){∥fβ​−f∥n2​+C(ε)γ2fmax2​A2σ2​nM(β)logM​},C(ε)=ε(1+ε)4(2+ε)2​.

The corollary requires the restricted eigenvalue inequality only at the support of the competitor β\betaβ, which removes the pathologies of a global RE assumption discussed at the end of Section 4.

Formalization Note C(ε)C(\varepsilon)C(ε) is the explicit constant of Theorem 6.1 (the paper writes "the same C(ε)C(\varepsilon)C(ε)"). The minimum in Js,γ,c0\mathcal J_{s,\gamma,c_0}Js,γ,c0​​ is encoded as "for every δ≠0\delta\neq0δ=0 in the cone, γn∣δJ0∣2≤∣Xδ∣2\gamma\sqrt n|\delta_{J_0}|_2\le|X\delta|_2γn​∣δJ0​​∣2​≤∣Xδ∣2​"; for J0=∅J_0=\emptysetJ0​=∅ the cone contains only 000 and the condition holds, matching the convention min⁡∅=+∞\min\emptyset=+\inftymin∅=+∞. The infimum over Λˉ\bar\LambdaΛˉ is replaced by "for every β∈Λˉ\beta\in\bar\Lambdaβ∈Λˉ", as in Theorem 6.1.

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_Oracle_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace LassoDantzig.Oracle

/-- **Corollary 6.2** (p. 13), with the explicit `C(ε) = 4(2 + ε)²/(ε(1 + ε))` of Theorem 6.1.
Same noise, `s` and Lasso as in Theorem 6.1, but no RE assumption. For all `n ≥ 1`, `ε > 0` and
`γ > 0`, with probability at least `1 − M^{1−A²/8}`, every Lasso solution `β̂_L` satisfies, for every
`β ∈ Λ̄_{s,γ,ε} = {β ∈ Λ_{s,γ,(3+4/ε)f_max/f_min} : 𝓜(β) ≤ s}`,
`‖f̂_L − f‖_n² ≤ (1 + ε) (‖f_β − f‖_n² + C(ε) f_max² A² σ² / γ² · 𝓜(β) log M / n)`. -/
theorem corollary_6_2 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    {n M : ℕ} (hn : 1 ≤ n) (hM : 2 ≤ M)
    (X : Matrix (Fin n) (Fin M) ℝ) (hcol : ∀ j, colNorm X j ≠ 0) (f : Fin n → ℝ)
    (W : Fin n → Ω → ℝ) (σ : ℝ) (hσ : 0 < σ) (hW : GaussianNoise P W σ)
    (s : ℕ) (hs1 : 1 ≤ s) (hsM : s ≤ M) (A : ℝ) (hA : 2 * Real.sqrt 2 < A)
    (ε : ℝ) (hε : 0 < ε) (γ : ℝ) (hγ : 0 < γ) :
    ∃ E : Set Ω, MeasurableSet E ∧ 1 - (M : ℝ) ^ (1 - A ^ 2 / 8) ≤ (P E).toReal ∧
      ∀ ω ∈ E, ∀ βhat : Fin M → ℝ, IsLasso X (fun i => f i + W i ω) (tuning n M A σ) βhat →
        ∀ β ∈ LambdaSet X s γ ((3 + 4 / ε) * fmax X / fmin X), sparsity β ≤ s →
          empSq (fun i => X.mulVec βhat i - f i) ≤
            (1 + ε) * (empSq (fun i => X.mulVec β i - f i) +
              4 * (2 + ε) ^ 2 / (ε * (1 + ε)) * fmax X ^ 2 * A ^ 2 * σ ^ 2 / γ ^ 2 *
                ((sparsity β : ℝ) * Real.log M / n)) := by sorry

end LassoDantzig.Oracle
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 13, Corollary 6.2 (with J_{s,γ,c0} and Λ_{s,γ,c0} defined just above it)
Read-back

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

Setting.

  • (Ω,P)(\Omega,P)(Ω,P) is a probability space.
  • n≥1n\ge1n≥1 and M≥2M\ge2M≥2.
  • XXX is a real n×Mn\times Mn×M matrix with ∥xj∥n≠0\|x_j\|_n\neq0∥xj​∥n​=0 for every column, where ∥v∥n2=1n∑ivi2\|v\|_n^2=\frac1n\sum_iv_i^2∥v∥n2​=n1​∑i​vi2​.
  • f∈Rnf\in\mathbb R^nf∈Rn is fixed.
  • σ>0\sigma>0σ>0, and W1,…,WnW_1,\dots,W_nW1​,…,Wn​ are measurable, mutually independent, each with law N(0,σ2)N(0,\sigma^2)N(0,σ2).
  • sss is a natural number with 1≤s≤M1\le s\le M1≤s≤M.
  • A>22A>2\sqrt2A>22​, ε>0\varepsilon>0ε>0 and γ>0\gamma>0γ>0.
  • r=Aσlog⁡M/nr=A\sigma\sqrt{\log M/n}r=AσlogM/n​.
  • c0=(3+4/ε)fmax⁡/fmin⁡c_0=(3+4/\varepsilon)f_{\max}/f_{\min}c0​=(3+4/ε)fmax​/fmin​, with fmax⁡f_{\max}fmax​ and fmin⁡f_{\min}fmin​ the largest and smallest column norms.

Conclusion. There exists a measurable event EEE with P(E)≥1−M1−A2/8P(E)\ge 1-M^{1-A^2/8}P(E)≥1−M1−A2/8 with the following property. For every ω∈E\omega\in Eω∈E, every global minimiser β^\widehat\betaβ​ over RM\mathbb R^MRM of

∥f+W(ω)−Xβ∥n2+2r∑j∥xj∥n∣βj∣\|f+W(\omega)-X\beta\|_n^2+2r\sum_j\|x_j\|_n|\beta_j|∥f+W(ω)−Xβ∥n2​+2rj∑​∥xj​∥n​∣βj​∣

satisfies the bound below for every β∈RM\beta\in\mathbb R^Mβ∈RM such that:

  • the support J(β)={j:βj≠0}J(\beta)=\{j:\beta_j\ne0\}J(β)={j:βj​=0} has at most sss elements;
  • for every δ≠0\delta\ne0δ=0 with ∑j∉J(β)∣δj∣≤c0∑j∈J(β)∣δj∣\sum_{j\notin J(\beta)}|\delta_j|\le c_0\sum_{j\in J(\beta)}|\delta_j|∑j∈/J(β)​∣δj​∣≤c0​∑j∈J(β)​∣δj​∣,
γn(∑j∈J(β)δj2)1/2≤(∑i(Xδ)i2)1/2;\gamma\sqrt n\Big(\sum_{j\in J(\beta)}\delta_j^2\Big)^{1/2}\le\Big(\sum_i(X\delta)_i^2\Big)^{1/2};γn​(j∈J(β)∑​δj2​)1/2≤(i∑​(Xδ)i2​)1/2;
  • M(β)=∣J(β)∣≤s\mathcal M(\beta)=|J(\beta)|\le sM(β)=∣J(β)∣≤s (this is imposed a second time, as a separate hypothesis).

The bound is

∥Xβ^−f∥n2≤(1+ε)(∥Xβ−f∥n2+4(2+ε)2ε(1+ε)⋅fmax⁡2A2σ2γ2⋅M(β)log⁡Mn).\|X\widehat\beta-f\|_n^2 \le (1+\varepsilon)\left(\|X\beta-f\|_n^2 + \frac{4(2+\varepsilon)^2}{\varepsilon(1+\varepsilon)}\cdot\frac{f_{\max}^2A^2\sigma^2}{\gamma^2}\cdot\frac{\mathcal M(\beta)\log M}{n}\right).∥Xβ​−f∥n2​≤(1+ε)(∥Xβ−f∥n2​+ε(1+ε)4(2+ε)2​⋅γ2fmax2​A2σ2​⋅nM(β)logM​).

Order of quantifiers. EEE is chosen after XXX, fff, WWW, σ\sigmaσ, sss, AAA, ε\varepsilonε and γ\gammaγ are fixed, so it may depend on all of them. It is chosen before β^\widehat\betaβ​ and β\betaβ, so it works for all of them simultaneously. No restricted-eigenvalue assumption is made on XXX as a whole; the condition is required only at the support of each β\betaβ considered.

Degenerate cases. The hypotheses give:

  • r>0r>0r>0 and log⁡M>0\log M>0logM>0;
  • fmin⁡>0f_{\min}>0fmin​>0;
  • a probability bound strictly between 000 and 111.

β=0\beta=0β=0 always qualifies. Its support is empty, and there the cone condition only admits δ=0\delta=0δ=0, so the restricted-eigenvalue condition holds vacuously. For β=0\beta=0β=0 the conclusion reads

∥Xβ^−f∥n2≤(1+ε)∥f∥n2.\|X\widehat\beta-f\|_n^2\le(1+\varepsilon)\|f\|_n^2 .∥Xβ​−f∥n2​≤(1+ε)∥f∥n2​.
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