Appendix D, second and third displays — the worst-case residual as a supremum over the boxes , sample by sample
ProvedRobustRegLasso.WorstCaseExp.appendix_d_box_decompositionLet and be integers, , with rows , and . For an admissible pair (that is, and every column of has Euclidean norm at most ) let
Then the following three suprema over admissible coincide:
In the middle term one point 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 , 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 or is empty; such 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 of the loss on (IsGreatest), which exists exactly when the box is nonempty. Points of have the response first. The hypotheses , are the paper's setting.
import Mathlib import Definitions.Def_RobustRegLasso_WorstCaseExp_Basic
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.