Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix D, second and third displays — the worst-case residual as a supremum over the boxes Zi\mathcal Z_iZi​, sample by sample

Proved
RobustRegLasso.WorstCaseExp.appendix_d_box_decomposition

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1regressionrobust-optimization

Let n≥1n\ge1n≥1 and mmm be integers, b∈Rnb\in\mathbb R^nb∈Rn, A=(aij)∈Rn×mA=(a_{ij})\in\mathbb R^{n\times m}A=(aij​)∈Rn×m with rows ri⊤r_i^\topri⊤​, c≥0c\ge0c≥0 and x∈Rmx\in\mathbb R^mx∈Rm. For an admissible pair (σ,Δ)(\sigma,\Delta)(σ,Δ) (that is, ∥σ∥2≤n c\|\sigma\|_2\le\sqrt n\,c∥σ∥2​≤n​c and every column of Δ=(δij)\Delta=(\delta_{ij})Δ=(δij​) has Euclidean norm at most n c\sqrt n\,cn​c) let

Zi(σ,Δ)=[bi−σi,bi+σi]×∏j=1m[aij−δij,aij+δij]⊆Rm+1(i=1,…,n).\mathcal Z_i(\sigma,\Delta)=[b_i-\sigma_i,b_i+\sigma_i]\times\prod_{j=1}^m[a_{ij}-\delta_{ij},a_{ij}+\delta_{ij}]\subseteq\mathbb R^{m+1}\qquad(i=1,\dots,n).Zi​(σ,Δ)=[bi​−σi​,bi​+σi​]×j=1∏m​[aij​−δij​,aij​+δij​]⊆Rm+1(i=1,…,n).

Then the following three suprema over admissible (σ,Δ)(\sigma,\Delta)(σ,Δ) coincide:

sup⁡(σ,Δ)∥b+σ−(A+Δ)x∥2=sup⁡(σ,Δ){sup⁡(b^i,r^i)∈Zi(σ,Δ)∑i=1n(b^i−r^i⊤x)2}=sup⁡(σ,Δ)∑i=1n sup⁡(b^i,r^i)∈Zi(σ,Δ)(b^i−r^i⊤x)2.\sup_{(\sigma,\Delta)}\big\|b+\sigma-(A+\Delta)x\big\|_2 =\sup_{(\sigma,\Delta)}\Big\{\sup_{(\hat b_i,\hat r_i)\in\mathcal Z_i(\sigma,\Delta)}\sqrt{\sum_{i=1}^n(\hat b_i-\hat r_i^\top x)^2}\Big\} =\sup_{(\sigma,\Delta)}\sqrt{\sum_{i=1}^n\ \sup_{(\hat b_i,\hat r_i)\in\mathcal Z_i(\sigma,\Delta)}(\hat b_i-\hat r_i^\top x)^2}.(σ,Δ)sup​​b+σ−(A+Δ)x​2​=(σ,Δ)sup​{(b^i​,r^i​)∈Zi​(σ,Δ)sup​i=1∑n​(b^i​−r^i⊤​x)2​}=(σ,Δ)sup​i=1∑n​ (b^i​,r^i​)∈Zi​(σ,Δ)sup​(b^i​−r^i⊤​x)2​.

In the middle term one point (b^i,r^i)(\hat b_i,\hat r_i)(b^i​,r^i​) is chosen in each box.

The identity separates the worst case over a perturbation of the whole data set into a sum of per-sample worst cases over boxes, which is the form to which Proposition 1 applies.

Formalization Note "The suprema coincide" is stated without any real sSup: for every real LLL, LLL is the least upper bound of the first set iff it is the least upper bound of the second, iff it is the least upper bound of the third. A box with some σi<0\sigma_i<0σi​<0 or δij<0\delta_{ij}<0δij​<0 is empty; such (σ,Δ)(\sigma,\Delta)(σ,Δ) contribute no value to the second and third sets (the page leaves this case silent). The inner supremum over a nonempty box is attained, since the box is compact and the loss is continuous; in the third set it is encoded as the greatest value sis_isi​ of the loss on Zi\mathcal Z_iZi​ (IsGreatest), which exists exactly when the box is nonempty. Points of Rm+1\mathbb R^{m+1}Rm+1 have the response first. The hypotheses n≥1n\ge1n≥1, c≥0c\ge0c≥0 are the paper's setting.

Preamble
import Mathlib
import Definitions.Def_RobustRegLasso_WorstCaseExp_Basic
Formal statement
namespace RobustRegLasso.WorstCaseExp

/-- Appendix D, proof of Corollary 3, second and third displays (arXiv:0811.1790v1, p. 22).
Over the admissible `(σ, Δ)`, the three quantities
1. `‖b + σ − (A + Δ)x‖₂`,
2. `√(∑ᵢ (b̂ᵢ − r̂ᵢᵀx)²)` for points `(b̂ᵢ, r̂ᵢ) ∈ 𝒵ᵢ(σ, Δ)`, one per sample,
3. `√(∑ᵢ sᵢ)` with `sᵢ = max_{(b̂ᵢ, r̂ᵢ) ∈ 𝒵ᵢ(σ, Δ)} (b̂ᵢ − r̂ᵢᵀx)²`,
have the same supremum: a real number is the least upper bound of the first set iff it is the
least upper bound of the second, iff it is the least upper bound of the third. -/
theorem appendix_d_box_decomposition {n m : ℕ} (hn : 0 < n) (A : Matrix (Fin n) (Fin m) ℝ)
    (b : Fin n → ℝ) (c : ℝ) (hc : 0 ≤ c) (x : Fin m → ℝ) (L : ℝ) :
    (IsLUB {v : ℝ | ∃ (σ : Fin n → ℝ) (Δ : Matrix (Fin n) (Fin m) ℝ),
        Admissible c σ Δ ∧ v = l2norm (b + σ - Matrix.mulVec (A + Δ) x)} L ↔
      IsLUB {v : ℝ | ∃ (σ : Fin n → ℝ) (Δ : Matrix (Fin n) (Fin m) ℝ),
        Admissible c σ Δ ∧ ∃ p : Fin n → Fin (m + 1) → ℝ,
          (∀ i, p i ∈ box A b σ Δ i) ∧ v = Real.sqrt (∑ i, sqLoss x (p i))} L) ∧
    (IsLUB {v : ℝ | ∃ (σ : Fin n → ℝ) (Δ : Matrix (Fin n) (Fin m) ℝ),
        Admissible c σ Δ ∧ ∃ p : Fin n → Fin (m + 1) → ℝ,
          (∀ i, p i ∈ box A b σ Δ i) ∧ v = Real.sqrt (∑ i, sqLoss x (p i))} L ↔
      IsLUB {v : ℝ | ∃ (σ : Fin n → ℝ) (Δ : Matrix (Fin n) (Fin m) ℝ),
        Admissible c σ Δ ∧ ∃ s : Fin n → ℝ,
          (∀ i, IsGreatest (sqLoss x '' box A b σ Δ i) (s i)) ∧
            v = Real.sqrt (∑ i, s i)} L) := by sorry

end RobustRegLasso.WorstCaseExp
Source
Xu, Caramanis, Mannor, Robust Regression and Lasso, arXiv:0811.1790v1, p. 22, Appendix D, proof of Corollary 3, second and third displays
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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