Let n≥1, M≥2, X∈Rn×M, f,w∈Rn and r>0, and let the observations be y=f+w. Suppose that the noise lies in the event A, that is,
2n1i=1∑nXijwi≤r∥fj∥n(j=1,…,M),
equivalently (B.5): n1D−1/2X⊤w∞≤r/2. Then every Lasso solution β^L (a minimiser of (2.1) for the data y) satisfies (B.2):
n1X⊤(f−Xβ^L)∞≤23rfmax,
where fmax=maxj∥fj∥n.
Together with (B.4), which gives P(A)≥1−M1−A2/8 for r=AσlogM/n, this is the (B.2) part of Lemma B.1 of the paper. It controls the correlation of the Lasso's residual with the dictionary and is used in the half (B.16)–(B.17) of the proof of Theorem 5.1.
Formalization Note The statement is the deterministic core of Lemma B.1 (B.2): it holds for every noise vector in A, which is how the paper's proof uses it ("To prove (B.2) it suffices to note that on A we have (B.5)"). The ℓ∞ norm is written coordinatewise.
namespace LassoDantzig.Equivalence
/-- Lemma B.1, (B.2), on the event `𝒜`: if the noise `w` lies in `𝒜` (i.e. (B.5),
`|(1/n) D^{−1/2} Xᵀ w|_∞ ≤ r/2`) and `y = f + w`, every Lasso solution `β̂_L` satisfies
`|(1/n) Xᵀ(f − Xβ̂_L)|_∞ ≤ 3 r f_max / 2`. -/
theorem lemma_B1_eq_B2 {n M : ℕ} (hn : 1 ≤ n) (hM : 2 ≤ M)
(X : Matrix (Fin n) (Fin M) ℝ) (f w : Fin n → ℝ) (r : ℝ) (hr : 0 < r)
(hw : NoiseEventHalf X r w) (βL : Fin M → ℝ) (hL : IsLasso X (fun i => f i + w i) r βL) :
∀ j : Fin M, |(1 / (n : ℝ)) * ∑ i, X i j * (f i - X.mulVec βL i)| ≤ 3 * r * fmax X / 2 := by sorry
end LassoDantzig.Equivalence
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 20, Lemma B.1, Eq. (B.2); p. 21, proof of Lemma B.1, Eq. (B.5)
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
n≥1 and M≥2.
X∈Rn×M is arbitrary: columns with zero norm are allowed.
f,w∈Rn and r>0.
w lies in event A: for every j,
2n1i∑Xijwi≤r∥fj∥n,∥fj∥n=n1∑iXij2.
β^L is a global minimiser over RM of the Lasso objective with responses y=f+w:
Confirmed by the moderator at approval.