Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B, (B.4) — the noise event A\mathcal AA fails with probability at most M1−A2/8M^{1-A^2/8}M1−A2/8

Proved
LassoDantzig.Lasso.eq_B4_noise_event

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

gaussian-tailhigh-dimensional-statisticslassop2o-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 unit diagonal Gram matrix, 1n∑iXij2=1\frac1n\sum_iX_{ij}^2=1n1​∑i​Xij2​=1 for all jjj. Let W1,…,WnW_1,\dots,W_nW1​,…,Wn​ be independent N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) random variables with σ>0\sigma>0σ>0, put Vj=1n∑i=1nXijWiV_j=\frac1n\sum_{i=1}^nX_{ij}W_iVj​=n1​∑i=1n​Xij​Wi​, and let A>0A>0A>0 and

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

Then the noise event A=⋂j=1M{2∣Vj∣≤r}\mathcal A=\bigcap_{j=1}^M\{2|V_j|\le r\}A=⋂j=1M​{2∣Vj​∣≤r} satisfies

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

This is the probabilistic input of Theorem 7.2: all the deterministic consequences of the Lasso's optimality are derived on A\mathcal AA.

Formalization Note The paper states (B.4) for general column norms with rn,j=r∥fj∥nr_{n,j}=r\|f_j\|_nrn,j​=r∥fj​∥n​; under the unit diagonal of Section 7, rn,j=rr_{n,j}=rrn,j​=r. The bound is stated for every A>0A>0A>0; the paper uses it with A>22A>2\sqrt2A>22​, where M1−A2/8<1M^{1-A^2/8}<1M1−A2/8<1. log⁡\loglog is the natural logarithm. The probability of the (measurable) complement is bounded in [0,∞][0,\infty][0,∞].

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_Lasso_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace LassoDantzig.Lasso

/-- (B.4), p. 21: under the unit diagonal of Section 7, the complement of the noise event
`𝒜 = ⋂ⱼ {2|Vⱼ| ≤ r}`, `Vⱼ = (1/n) ∑ᵢ X_{ij} Wᵢ`, has probability at most `M^{1 − A²/8}` when
`r = Aσ√(log M / n)`. -/
theorem eq_B4_noise_event {n M : ℕ} (hn : 1 ≤ n) (hM : 2 ≤ M)
    (X : Matrix (Fin n) (Fin M) ℝ) (hX : UnitDiag X)
    {Ω : 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 {ω | ¬ NoiseEventHalf X r (fun i => W i ω)} ≤
      ENNReal.ofReal ((M : ℝ) ^ (1 - A ^ 2 / 8)) := by sorry

end LassoDantzig.Lasso
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 21, Appendix B, Eq. (B.4) (proof of Lemma B.1)
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 with unit diagonal: 1n∑iXij2=1\frac1n\sum_i X_{ij}^2=1n1​∑i​Xij2​=1 for every column jjj.
  • (Ω,P)(\Omega,P)(Ω,P) is a probability space.
  • W1,…,WnW_1,\dots,W_nW1​,…,Wn​ are measurable real random variables on Ω\OmegaΩ. They are mutually independent under PPP, and each has law N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) with σ>0\sigma>0σ>0.
  • A>0A>0A>0 is a real number, and
r=Aσlog⁡Mn,r = A\sigma\sqrt{\frac{\log M}{n}},r=AσnlogM​​,

with the natural logarithm.

Claim. Consider the set of outcomes ω\omegaω where the noise event fails, i.e. there is some jjj with

2∣1n∑i=1nXijWi(ω)∣>r.2\Big|\frac1n\sum_{i=1}^n X_{ij}W_i(\omega)\Big| > r.2​n1​i=1∑n​Xij​Wi​(ω)​>r.

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

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

with the power taken as a real exponent. The set is not separately asserted to be measurable; PPP is applied to it as a set.

Degenerate cases. The hypotheses exclude n=0n=0n=0 and M≤1M\le1M≤1, and they force r>0r>0r>0.

  • When A≤22A\le 2\sqrt2A≤22​, the bound M1−A2/8M^{1-A^2/8}M1−A2/8 is at least 111, so the claim holds trivially.
  • The claim does not depend on MMM being small relative to nnn, and it places no condition on XXX other than unit diagonal.
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