Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.A.1 — duality between the increasing convex and increasing concave orders

Proved
StochasticOrders.MonotoneConvex.icx_icv_duality

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

increasing-concave-orderincreasing-convex-orderprobabilitystochastic-orders

Let XXX and YYY be two random variables. Then

X≤icxY  ⟺  −X≥icv−Y,X≤icvY  ⟺  −X≥icx−Y.X \le_{icx} Y \iff -X \ge_{icv} -Y, \qquad X \le_{icv} Y \iff -X \ge_{icx} -Y.X≤icx​Y⟺−X≥icv​−Y,X≤icv​Y⟺−X≥icx​−Y.

The proof rests on the fact that φ(x)\varphi(x)φ(x) is increasing and convex in xxx if, and only if, −φ(−x)-\varphi(-x)−φ(−x) is increasing and concave in xxx — the book omits the "straightforward details." This is the increasing-order analogue of Theorem 3.A.12(a)'s duality for the plain convex order.

Formalization Note "−X≥icv−Y-X \ge_{icv} -Y−X≥icv​−Y" is unfolded as its definition, "−Y≤icv−X-Y \le_{icv} -X−Y≤icv​−X" — the reversed order on the negated variables, stated as a genuine IcvOrder predicate applied to fun ω => -(Y ω) and fun ω => -(X ω) (on the swapped measures, since −Y-Y−Y lives on (Ω′,ν)(\Omega',\nu)(Ω′,ν) and −X-X−X on (Ω,μ)(\Omega,\mu)(Ω,μ)), not a definitional unfolding that would make the equivalence trivial by simp. Both bracketed cases of the book's single statement are drafted as two conjuncts of one Lean theorem (not an Or), since each is an independently meaningful equivalence between the two, separately-defined orders.

Preamble
import Mathlib
import Definitions.Def_StochasticOrders_MonotoneConvex_IcxOrder
import Definitions.Def_StochasticOrders_MonotoneConvex_IcvOrder
Formal statement
namespace StochasticOrders.MonotoneConvex

open MeasureTheory

/-- Theorem 4.A.1 (Shaked & Shanthikumar, *Stochastic Orders*, Springer 2007, p. 182): let `X` and
`Y` be two random variables. Then `X ≤icx Y ⟺ −X ≥icv −Y` and `X ≤icv Y ⟺ −X ≥icx −Y`. The "≥"
direction is unfolded as the reversed order on the negated variables: `−X ≥icv −Y` means
`−Y ≤icv −X`, and likewise for the second equivalence. -/
theorem icx_icv_duality {Ω Ω' : Type*} [MeasurableSpace Ω] [MeasurableSpace Ω']
    (μ : Measure Ω) (ν : Measure Ω') (X : Ω → ℝ) (Y : Ω' → ℝ) :
    (IcxOrder μ ν X Y ↔ IcvOrder ν μ (fun ω => -(Y ω)) (fun ω => -(X ω))) ∧
    (IcvOrder μ ν X Y ↔ IcxOrder ν μ (fun ω => -(Y ω)) (fun ω => -(X ω))) := by sorry

end StochasticOrders.MonotoneConvex
Source
Shaked & Shanthikumar, Stochastic Orders, Springer 2007, p. 182, Theorem 4.A.1
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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