Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 19 — the uncertainty angle of E(W, U) is arctan √λ_max(W)

Proved
CtxInvOpt.Pointed.prop1_uncAngle_ellCone

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

ellipsoidal-coneinverse-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1uncertainty-angle

Let d=m+1≥2d=m+1\ge 2d=m+1≥2, let W=diag⁡(w1,…,wm)W=\operatorname{diag}(w_1,\dots,w_m)W=diag(w1​,…,wm​) be positive definite and let U∈Rd×dU\in\mathbb R^{d\times d}U∈Rd×d be orthonormal. Then the uncertainty angle of the ellipsoidal cone E(W,U)E(W,U)E(W,U) is

α(E(W,U))=arctan⁡λmax⁡(W).\alpha\big(E(W,U)\big)=\arctan\sqrt{\lambda_{\max}(W)}.α(E(W,U))=arctanλmax​(W)​.

The proposition translates the size of the cone's shape matrix into the quantity that, by Theorem 1, controls the one-period regret of the circumcenter policy. It is why the analysis of EllipsoidalCones must control the largest eigenvalue of WtW_tWt​, not only their product.

Formalization Note λmax⁡(W)\lambda_{\max}(W)λmax​(W) is the largest diagonal entry of WWW. The uncertainty angle is the paper's (9), with the convention θ(0,c^)=0\theta(0,\hat c)=0θ(0,c^)=0 for the apex 0∈E(W,U)0\in E(W,U)0∈E(W,U).

Preamble
import Mathlib
import Definitions.Def_CtxInvOpt_Pointed_EllCone
Formal statement
namespace CtxInvOpt.Pointed

open Matrix

/-- **Proposition 1, p. 19.** For `W = diag(w) ∈ D^{d−1}_{++}` (`d = m + 1 ≥ 2`) and an orthonormal `U`,
the uncertainty angle of the ellipsoidal cone is `α(E(W, U)) = arctan √λ_max(W)`. -/
theorem prop1_uncAngle_ellCone {m : ℕ} (hm : 1 ≤ m) (w : Fin m → ℝ) (hw : ∀ i, 0 < w i)
    (U : Matrix (Fin (m + 1)) (Fin (m + 1)) ℝ) (hU : U ∈ Matrix.orthogonalGroup (Fin (m + 1)) ℝ) :
    CtxInvOpt.Offline.uncAngle (ellCone w U) = Real.arctan (Real.sqrt (lamMax w)) := by sorry

end CtxInvOpt.Pointed
Source
Besbes, Fonseca, Lobel, Contextual Inverse Optimization: Offline and Online Learning, arXiv:2106.14015v3, p. 19, Proposition 1; proof App-11–App-12
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