Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 5, p. 41 — each OLS component β̂ʲ_ind,(i) is √(σⱼ²/(nⱼψ))-subgaussian with mean βʲ_(i)

Proved
RobustMultitask.Estimator.ols_subgaussian

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

linear-regressionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1statisticssubgaussian

Work in the fixed-design multitask model under Assumption 1 with constant ψ>0\psi>0ψ>0. For every task jjj and component i∈[d]i\in[d]i∈[d], the iii-th component of the OLS estimator β^indj=(Xj⊤Xj)−1Xj⊤Yj\widehat\beta^j_{\mathrm{ind}}=(X^{j\top}X^j)^{-1}X^{j\top}Y^jβ​indj​=(Xj⊤Xj)−1Xj⊤Yj is σj2/(njψ)\sqrt{\sigma_j^2/(n_j\psi)}σj2​/(nj​ψ)​-subgaussian with mean β(i)j\beta^j_{(i)}β(i)j​: for every λ∈R\lambda\in\mathbb Rλ∈R,

E[exp⁡(λ(β^ind,(i)j−β(i)j))] ≤ exp⁡(λ2σj22njψ).\mathbb E\Big[\exp\big(\lambda(\widehat\beta^j_{\mathrm{ind},(i)}-\beta^j_{(i)})\big)\Big]\ \le\ \exp\Big(\frac{\lambda^2\sigma_j^2}{2n_j\psi}\Big).E[exp(λ(β​ind,(i)j​−β(i)j​))] ≤ exp(2nj​ψλ2σj2​​).

This is what lets Proposition 4 be applied to the per-task OLS estimates: they are independent across tasks and subgaussian with task-dependent parameters.

Formalization Note Stated with Mathlib's HasSubgaussianMGF, whose second argument is the variance proxy, here (σj2/(njψ))2=σj2/(njψ)(\sqrt{\sigma_j^2/(n_j\psi)})^2=\sigma_j^2/(n_j\psi)(σj2​/(nj​ψ)​)2=σj2​/(nj​ψ) in R≥0\mathbb R_{\ge 0}R≥0​ (with ψ\psiψ coerced by Real.toNNReal, which is the identity since ψ>0\psi>0ψ>0). HasSubgaussianMGF also includes integrability of exp⁡(t(β^ind,(i)j−β(i)j))\exp(t(\widehat\beta^j_{\mathrm{ind},(i)}-\beta^j_{(i)}))exp(t(β​ind,(i)j​−β(i)j​)) for every ttt.

Preamble
import Mathlib
import Definitions.Def_RobustMultitask_Estimator_Model
import Definitions.Def_RobustMultitask_Estimator_Algorithm
Formal statement
namespace RobustMultitask.Estimator

open MeasureTheory ProbabilityTheory
open scoped NNReal

/-- Proof of Proposition 5, p. 41 (unnumbered display). Under Assumption 1, each component
`β̂ʲ_ind,(i)` of the OLS estimator `β̂ʲ_ind = (XʲᵀXʲ)⁻¹XʲᵀYʲ` is `√(σ_j²/(n_jψ))`-subgaussian with
mean `βʲ_(i)`: `E[exp(λ(β̂ʲ_ind,(i) − βʲ_(i)))] ≤ exp(λ²σ_j²/(2n_jψ))` for every `λ ∈ ℝ`. The
variance proxy of `HasSubgaussianMGF` is the square `σ_j²/(n_jψ)`. -/
theorem ols_subgaussian {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    {N d : ℕ} (n : Fin N → ℕ) (X : (j : Fin N) → Matrix (Fin (n j)) (Fin d) ℝ)
    (β : Fin N → Fin d → ℝ) (βdag : Fin d → ℝ) (s : ℕ) (σ : Fin N → ℝ≥0)
    (ε : (j : Fin N) → Fin (n j) → Ω → ℝ)
    (hmodel : IsMultitaskModel P n X β βdag s σ ε) (ψ : ℝ) (hA1 : Assumption1 n X ψ)
    (j : Fin N) (i : Fin d) :
    HasSubgaussianMGF (fun ω => ols (X j) (response X β ε j ω) i - β j i)
      (σ j ^ 2 / ((n j : ℝ≥0) * Real.toNNReal ψ)) P := by sorry

end RobustMultitask.Estimator
Source
Xu & Bastani, Multitask Learning and Bandits via Robust Statistics, arXiv:2112.14233v5, p. 41, proof of Proposition 5 (unnumbered display)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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