Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1 (iii) — Ef(Xn)≤Ef(Yn)E f(X_n) \le E f(Y_n)Ef(Xn​)≤Ef(Yn​) for nondecreasing fff

Proved
StochIneqPO.Comparison.corollary1_iii

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

comparison-theoremexpectationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-order

In the setting of Corollary 1 (i) — E1=E2=⋯=EE_1 = E_2 = \cdots = EE1​=E2​=⋯=E a partially ordered Polish space, P1≺Q1P_1 \prec Q_1P1​≺Q1​, kernels satisfying (4), and random sequences (Xn)(X_n)(Xn​), (Yn)(Y_n)(Yn​) with the corresponding initial and conditional laws — let f:E→Rf : E \to \mathbb Rf:E→R be nondecreasing and measurable. Then

E(f(Xn))≤E(f(Yn))E\big(f(X_n)\big) \le E\big(f(Y_n)\big)E(f(Xn​))≤E(f(Yn​))

for every nnn for which both expectations exist.

Here fff need not be bounded; this extends the defining inequality of ≺\prec≺ beyond bounded test functions.

Formalization Note The statement is formulated for the laws Kernel.trajMeasure P₁ p and trajMeasure Q₁ q, with 0-based coordinates. Expectations are taken in the extended sense: Ef(Xn)=Ef(Xn)+−Ef(Xn)−E f(X_n) = E f(X_n)^+ - E f(X_n)^-Ef(Xn​)=Ef(Xn​)+−Ef(Xn​)− with the two parts written as lower Lebesgue integrals ∫⁻ ENNReal.ofReal (f (x n)) and ∫⁻ ENNReal.ofReal (-f (x n)). "The expectation exists" is the hypothesis that the two parts are not both +∞+\infty+∞ (one hypothesis for each sequence), and the conclusion compares the differences in EReal, so the values ±∞\pm\infty±∞ are covered; under these hypotheses EReal subtraction never meets ∞−∞\infty - \infty∞−∞.

Preamble
import Mathlib
import Definitions.Def_StochIneqPO_Comparison_StochLE
Formal statement
namespace StochIneqPO.Comparison

open MeasureTheory ProbabilityTheory Finset

theorem corollary1_iii {E : Type*} [TopologicalSpace E] [PolishSpace E] [MeasurableSpace E]
    [BorelSpace E] [PartialOrder E] [OrderClosedTopology E]
    (P₁ Q₁ : Measure E) [IsProbabilityMeasure P₁] [IsProbabilityMeasure Q₁]
    (p q : (n : ℕ) → Kernel (Π _ : Iic n, E) E)
    [∀ n, IsMarkovKernel (p n)] [∀ n, IsMarkovKernel (q n)]
    (hPQ : StochLE P₁ Q₁)
    (hpq : ∀ n, ∀ x y : Π _ : Iic n, E, x ≤ y → StochLE (p n x) (q n y))
    (f : E → ℝ) (hf : Measurable f) (hmono : Monotone f) (n : ℕ)
    (hexP : ∫⁻ x, ENNReal.ofReal (f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) P₁ p) ≠ ⊤ ∨
      ∫⁻ x, ENNReal.ofReal (-f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) P₁ p) ≠ ⊤)
    (hexQ : ∫⁻ x, ENNReal.ofReal (f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) Q₁ q) ≠ ⊤ ∨
      ∫⁻ x, ENNReal.ofReal (-f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) Q₁ q) ≠ ⊤) :
    ((∫⁻ x, ENNReal.ofReal (f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) P₁ p) : EReal) -
        (∫⁻ x, ENNReal.ofReal (-f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) P₁ p) : EReal)) ≤
      ((∫⁻ x, ENNReal.ofReal (f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) Q₁ q) : EReal) -
        (∫⁻ x, ENNReal.ofReal (-f (x n)) ∂(Kernel.trajMeasure (X := fun _ => E) Q₁ q) : EReal)) := by sorry

end StochIneqPO.Comparison
Source
Kamae, Krengel, O'Brien, Stochastic Inequalities on Partially Ordered Spaces, Ann. Probab. 5 (1977), Corollary 1 (iii), p. 904 (PDF p. 6)
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