Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5.2, p. 15 — min/max of x′θ over E(A, a) are x′a ∓ √(x′Ax)

Proved
FeaturePricing.Ellipsoid.closed_form_bounds

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

convex-geometryellipsoid-methodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let AAA be a positive definite d×dd\times dd×d matrix, a∈Rda\in\mathbb R^da∈Rd, and E(A,a)={θ:(θ−a)′A−1(θ−a)≤1}E(A,a)=\{\theta:(\theta-a)'A^{-1}(\theta-a)\le1\}E(A,a)={θ:(θ−a)′A−1(θ−a)≤1}. For every x∈Rdx\in\mathbb R^dx∈Rd,

min⁡θ∈E(A,a)x′θ=x′a−x′Ax,max⁡θ∈E(A,a)x′θ=x′a+x′Ax,\min_{\theta\in E(A,a)}x'\theta = x'a-\sqrt{x'Ax},\qquad \max_{\theta\in E(A,a)}x'\theta = x'a+\sqrt{x'Ax},θ∈E(A,a)min​x′θ=x′a−x′Ax​,θ∈E(A,a)max​x′θ=x′a+x′Ax​,

and both extrema are attained.

These closed forms turn the two optimization problems (3) of EllipsoidPricing into a matrix–vector product; they are the formulas the algorithm's definition uses for b‾t\underline b_tb​t​ and bˉt\bar b_tbˉt​, and in particular they give the gap bˉt−b‾t=2xt′Atxt\bar b_t-\underline b_t=2\sqrt{x_t'A_tx_t}bˉt​−b​t​=2xt′​At​xt​​.

Formalization Note Stated as IsLeast and IsGreatest of the image of E(A,a)E(A,a)E(A,a) under θ↦x′θ\theta\mapsto x'\thetaθ↦x′θ. The paper states it for x≠0x\ne0x=0 (with minimizer a−Ax/x′Axa-Ax/\sqrt{x'Ax}a−Ax/x′Ax​); for x=0x=0x=0 both sides equal 000, so no hypothesis x≠0x\ne0x=0 is needed.

Preamble
import Mathlib
import Definitions.Def_FeaturePricing_Ellipsoid_EllipsoidPricing
Formal statement
namespace FeaturePricing.Ellipsoid

open Matrix LinearOptimization

/-- **§5.2, p. 15.** For a positive definite `A`, the minimum and maximum of `θ ↦ x′θ` over the
ellipsoid `E(A, a)` are `x′a − √(x′Ax)` and `x′a + √(x′Ax)` (the closed forms of Eq. (3)). -/
theorem closed_form_bounds {d : ℕ} (a : Fin d → ℝ) (A : Matrix (Fin d) (Fin d) ℝ)
    (hA : A.PosDef) (x : Fin d → ℝ) :
    IsLeast ((fun θ => x ⬝ᵥ θ) '' ellipsoid a A) (x ⬝ᵥ a - Real.sqrt (x ⬝ᵥ A *ᵥ x)) ∧
    IsGreatest ((fun θ => x ⬝ᵥ θ) '' ellipsoid a A) (x ⬝ᵥ a + Real.sqrt (x ⬝ᵥ A *ᵥ x)) := by sorry

end FeaturePricing.Ellipsoid
Source
Cohen, Lobel, Paes Leme, Feature-Based Dynamic Pricing, Management Science (2020), DOI 10.1287/mnsc.2019.3485 (authors' copy, SSRN 2737045), p. 15, §5.2 (closed form of Eq. (3)); also p. 14, §5.1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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