Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (7.A.5) — the multivariate convex order forces equal means

Proved
StochasticOrders.MultivariateVariability.convex_order_imp_mean_eq

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-ordermultivariateprobabilitystochastic-orders

For any i=1,…,ni=1,\dots,ni=1,…,n, the coordinate projection φi(x)=xi\varphi_i(x)=x_iφi​(x)=xi​ and the function ψi(x)=−xi\psi_i(x)=-x_iψi​(x)=−xi​ are both convex. Therefore, from the definition of ≤cx\le_{cx}≤cx​ it follows that

X≤cxY  ⟹  E[X]=E[Y],X \le_{cx} Y \implies E[X] = E[Y],X≤cx​Y⟹E[X]=E[Y],

provided the expectations exist (componentwise equality of the two mean vectors in Rn\mathbb{R}^nRn). A cheap but useful corollary of ConvexOrder's own defining quantifier, applied to ±\pm± each coordinate projection.

Formalization Note The integrability of XXX and YYY (i.e. that the mean vectors exist) is carried as explicit hypotheses Integrable X μ, Integrable Y ν, matching the book's own "provided the expectations exist" qualifier — not automatic, per this chapter's pitfall 4. The conclusion ∫ X ∂μ = ∫ Y ∂ν is Bochner-integral equality of two Fin n → ℝ-valued vectors, i.e. componentwise equality.

Preamble
import Mathlib
import Definitions.Def_StochasticOrders_MultivariateVariability_ConvexOrder
Formal statement
namespace StochasticOrders.MultivariateVariability

open MeasureTheory

/-- Eq. (7.A.5) (Shaked & Shanthikumar, *Stochastic Orders*, Springer 2007, p. 324): for any
`i = 1, …, n`, the coordinate projection `φᵢ(x) = xᵢ` and its negation `ψᵢ(x) = −xᵢ` are both
convex, so `X ≤cx Y` implies `E[X] = E[Y]` (componentwise), provided the expectations exist. -/
theorem convex_order_imp_mean_eq {Ω Ω' : Type*} [MeasurableSpace Ω] [MeasurableSpace Ω']
    {n : ℕ} (μ : Measure Ω) (ν : Measure Ω') [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]
    (X : Ω → Fin n → ℝ) (Y : Ω' → Fin n → ℝ) (hX : Integrable X μ) (hY : Integrable Y ν)
    (hord : ConvexOrder μ ν X Y) :
    ∫ ω, X ω ∂μ = ∫ ω, Y ω ∂ν := by sorry

end StochasticOrders.MultivariateVariability
Source
Shaked & Shanthikumar, Stochastic Orders, Springer 2007, p. 324, Eq. (7.A.5)
Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by labuka · Oct 20, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me