Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(37), p. 42 — basic inequality for the ℓ1-regularized best subset estimator

Proved
SubsetShrink.L1.eq_37

by mikedeng1 · Oct 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

best-subset-selectionoracle-inequalityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sparse-regression

Let y=f∗+ϵy=f^*+\epsilony=f∗+ϵ, let β^1\hat\beta_1β^​1​ minimize the ℓ1\ell_1ℓ1​-regularized subset objective over B0(k)B_0(k)B0​(k), and let β∈B0(k)\beta\in B_0(k)β∈B0​(k). Then

∥f∗−Xβ^1∥22+λ∥β^1∥1≤∥f∗−Xβ∥22+2ϵ⊤X(β^1−β)+λ∥β∥1.\|f^*-X\hat\beta_1\|_2^2+\lambda\|\hat\beta_1\|_1\le\|f^*-X\beta\|_2^2+2\epsilon^\top X(\hat\beta_1-\beta)+\lambda\|\beta\|_1.∥f∗−Xβ^​1​∥22​+λ∥β^​1​∥1​≤∥f∗−Xβ∥22​+2ϵ⊤X(β^​1​−β)+λ∥β∥1​.

This is the basic inequality used by both the slow and fast rate arguments.

Formalization Note The estimator is an argmin predicate, so the claim applies to every minimizer.

Preamble
import Mathlib
import Definitions.Def_SubsetShrink_L1_Model
Formal statement
namespace SubsetShrink.L1

/-- Equation (37), p. 42, for an arbitrary feasible comparator. -/
theorem eq_37 {n p : ℕ} (X : Matrix (Fin n) (Fin p) ℝ)
    (fstar ε : Fin n → ℝ) (k : ℕ) (lam : ℝ)
    (βhat β : Fin p → ℝ)
    (hbest : IsL1BestSubset X (fun i => fstar i + ε i) k lam βhat)
    (hβ : SubsetShrink.Events.l0 β ≤ k) :
    predictionError X fstar βhat + lam * SubsetShrink.Events.l1 βhat ≤
      predictionError X fstar β + 2 * SubsetShrink.Events.dot ε (X.mulVec (βhat - β)) + lam * SubsetShrink.Events.l1 β := by sorry

end SubsetShrink.L1
Source
Mazumder, Radchenko & Dedieu, Subset Selection with Shrinkage, arXiv:1708.03288v4, p. 42, (37)
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 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