Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma B.3 — the noise event B\mathcal BB has probability at least 1−M1−A2/21-M^{1-A^2/2}1−M1−A2/2

Proved
LassoDantzig.Dantzig.noise_event_B

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

dantzig-selectorgaussian-concentrationhigh-dimensional-statisticsp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let n≥1n\ge1n≥1, M≥2M\ge2M≥2, and let X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M have column empirical norms ∥fj∥n=(1n∑iXij2)1/2≠0\|f_j\|_n=(\frac1n\sum_iX_{ij}^2)^{1/2}\neq0∥fj​∥n​=(n1​∑i​Xij2​)1/2=0. Let W1,…,WnW_1,\dots,W_nW1​,…,Wn​ be independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) random variables on a probability space (Ω,P)(\Omega,\mathbb P)(Ω,P), σ>0\sigma>0σ>0, put Vj=1n∑i=1nXijWiV_j=\frac1n\sum_{i=1}^nX_{ij}W_iVj​=n1​∑i=1n​Xij​Wi​, and for A>0A>0A>0 let

r=Aσlog⁡Mn.r=A\sigma\sqrt{\frac{\log M}{n}} .r=AσnlogM​​.

Then the event B=⋂j=1M{∣Vj∣≤r∥fj∥n}\mathcal B=\bigcap_{j=1}^M\{|V_j|\le r\|f_j\|_n\}B=⋂j=1M​{∣Vj​∣≤r∥fj​∥n​} satisfies

P{Bc}≤M1−A2/2.\mathbb P\{\mathcal B^c\}\le M^{1-A^2/2}.P{Bc}≤M1−A2/2.

On B\mathcal BB the true regression vector satisfies the Dantzig constraint; this is the only probabilistic ingredient of the Dantzig selector's rates of convergence (Theorem 7.1). The bound is informative when A>2A>\sqrt2A>2​.

Formalization Note log⁡\loglog is the natural logarithm. The noise is W : Fin n → Ω → ℝ with measurable, mutually independent coordinates of law gaussianReal 0 σ². The statement holds for every A>0A>0A>0; the paper applies it with A>2A>\sqrt2A>2​.

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_Dantzig_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace LassoDantzig.Dantzig

/-- Proof of Lemma B.3 (p. 23): with `r = Aσ√(log M / n)`, the complement of the noise event
`ℬ = ⋂ⱼ {|Vⱼ| ≤ r ‖fⱼ‖_n}`, `Vⱼ = (1/n) ∑ᵢ X i j Wᵢ`, has probability at most `M^{1 − A²/2}`
when the `Wᵢ` are independent `N(0, σ²)`. -/
theorem noise_event_B {n M : ℕ} (hn : 1 ≤ n) (hM : 2 ≤ M)
    (X : Matrix (Fin n) (Fin M) ℝ) (hX : ∀ j, colNorm X j ≠ 0)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (W : Fin n → Ω → ℝ) (σ : ℝ) (hσ : 0 < σ) (hWm : ∀ i, Measurable (W i))
    (hWind : iIndepFun W P) (hWlaw : ∀ i, P.map (W i) = gaussianReal 0 (σ ^ 2).toNNReal)
    (A : ℝ) (hA : 0 < A) (r : ℝ) (hr : r = A * σ * Real.sqrt (Real.log M / n)) :
    P {ω | ¬ NoiseEvent X r (fun i => W i ω)} ≤
      ENNReal.ofReal ((M : ℝ) ^ (1 - A ^ 2 / 2)) := by sorry

end LassoDantzig.Dantzig
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 23, proof of Lemma B.3 (event ℬ, 'Analogously to (B.4), P{ℬᶜ} ≤ M^{1−A²/2}')
Read-back

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

Setting.

  • n≥1n\ge1n≥1 and M≥2M\ge2M≥2 are natural numbers.
  • XXX is a real n×Mn\times Mn×M matrix whose empirical column norms ∥fj∥n=1n∑iXij2\|f_j\|_n=\sqrt{\tfrac1n\sum_i X_{ij}^2}∥fj​∥n​=n1​∑i​Xij2​​ are all nonzero.
  • (Ω,P)(\Omega,P)(Ω,P) is a probability space.
  • W1,…,Wn:Ω→RW_1,\dots,W_n:\Omega\to\mathbb RW1​,…,Wn​:Ω→R are measurable and mutually independent under PPP. Each has law N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2), with σ>0\sigma>0σ>0.
  • A>0A>0A>0, and
r=A σlog⁡Mn,r=A\,\sigma\sqrt{\frac{\log M}{n}},r=AσnlogM​​,

where log⁡\loglog is the natural logarithm.

Conclusion. Consider the set of outcomes ω\omegaω for which the noise event fails for the vector w=(W1(ω),…,Wn(ω))w=(W_1(\omega),\dots,W_n(\omega))w=(W1​(ω),…,Wn​(ω)). These are exactly the ω\omegaω for which some jjj has

∣1n∑iXijWi(ω)∣>r ∥fj∥n.\Big|\tfrac1n\sum_i X_{ij}W_i(\omega)\Big|>r\,\|f_j\|_n.​n1​i∑​Xij​Wi​(ω)​>r∥fj​∥n​.

The theorem asserts that the PPP-measure of this set is at most

M 1−A2/2,M^{\,1-A^2/2},M1−A2/2,

viewed as an extended nonnegative real.

Degenerate cases. The hypotheses exclude n=0n=0n=0, M≤1M\le1M≤1 and all-zero columns. As a result log⁡M>0\log M>0logM>0, r>0r>0r>0 and the bound M1−A2/2M^{1-A^2/2}M1−A2/2 is a positive real. When A2≤2A^2\le2A2≤2 the bound is at least 111, so the statement holds trivially.

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