Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 8(a), p. 803 — ∫x∞yξdF/(xξ(1−F(x)))=ξ∫x∞yξ−1(1−F(y))dy/(xξ(1−F(x)))+1\int_x^\infty y^\xi dF / (x^\xi(1-F(x))) = \xi\int_x^\infty y^{\xi-1}(1-F(y))dy / (x^\xi(1-F(x))) + 1∫x∞​yξdF/(xξ(1−F(x)))=ξ∫x∞​yξ−1(1−F(y))dy/(xξ(1−F(x)))+1

Proved
BalkemaDeHaan.Moments.tail_moment_identity

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

conditional-momentextreme-value-theoryp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1residual-life

Let XXX be a real random variable with distribution function FFF such that F(x)<1F(x) < 1F(x)<1 for every real xxx, and let ξ>0\xi > 0ξ>0 be such that ∫0∞yξ dF(y)\int_0^\infty y^\xi\, dF(y)∫0∞​yξdF(y) is finite. Then for every x>0x > 0x>0:

  1. the function y↦yξ−1(1−F(y))y \mapsto y^{\xi - 1}(1 - F(y))y↦yξ−1(1−F(y)) is Lebesgue integrable on (x,∞)(x, \infty)(x,∞);
  2. the conditional moment is the normalized tail moment,
E((Xx)ξ ∣ X>x)=∫x∞yξ dF(y)xξ(1−F(x));E\Big(\Big(\frac{X}{x}\Big)^{\xi}\,\Big|\,X > x\Big) = \frac{\int_x^\infty y^\xi\, dF(y)}{x^\xi(1-F(x))};E((xX​)ξ​X>x)=xξ(1−F(x))∫x∞​yξdF(y)​;
  1. and
∫x∞yξ dF(y)xξ(1−F(x))=ξ ∫x∞yξ−1(1−F(y)) dyxξ(1−F(x))+1.\frac{\int_x^\infty y^\xi\, dF(y)}{x^\xi(1-F(x))} = \xi\,\frac{\int_x^\infty y^{\xi-1}(1-F(y))\, dy}{x^\xi(1-F(x))} + 1 .xξ(1−F(x))∫x∞​yξdF(y)​=ξxξ(1−F(x))∫x∞​yξ−1(1−F(y))dy​+1.

Here ∫x∞⋅ dF\int_x^\infty \cdot\, dF∫x∞​⋅dF integrates over the open half-line (x,∞)(x,\infty)(x,∞), so that 1−F(x)=P{X>x}1 - F(x) = P\{X > x\}1−F(x)=P{X>x} is its total mass. The identity turns the conditional moment into a ratio of an integral of the tail 1−F1-F1−F to the tail itself, the form to which Karamata's theorem on integrals of regularly varying functions applies; this is how the paper reduces Theorem 8(a) to Karamata's theorem.

Formalization Note The finiteness of ∫0∞yξdF(y)\int_0^\infty y^\xi dF(y)∫0∞​yξdF(y) is integrability of y↦yξy \mapsto y^\xiy↦yξ on (0,∞)(0,\infty)(0,∞) for the law of XXX. Integrability of the dydydy-integrand is part of the conclusion, so the identity is not satisfied by Lean's junk value 000 for a non-integrable Bochner integral.

Preamble
import Mathlib
import Definitions.Def_BalkemaDeHaan_Moments_ResidualLife

open MeasureTheory
Formal statement
namespace BalkemaDeHaan.Moments

/-- Proof of Theorem 8(a), p. 803, the displayed identity: if `∫_0^∞ y^ξ dF(y) < ∞` (`ξ > 0`) and
`F(x) < 1` for all `x`, then for every `x > 0` the function `y ↦ y^{ξ−1}(1 − F(y))` is Lebesgue
integrable on `(x, ∞)`, the left side of the display is `E((X/x)^ξ | X > x)`, and
`∫_x^∞ y^ξ dF(y) / (x^ξ(1 − F(x))) = ξ ∫_x^∞ y^{ξ−1}(1 − F(y)) dy / (x^ξ(1 − F(x))) + 1`. -/
theorem tail_moment_identity (μ : Measure ℝ) [IsProbabilityMeasure μ]
    (hD₀ : ∀ x : ℝ, 0 < μ (Set.Ioi x))
    (ξ : ℝ) (hξ : 0 < ξ)
    (hmom : IntegrableOn (fun y : ℝ => y ^ ξ) (Set.Ioi 0) μ)
    (x : ℝ) (hx : 0 < x) :
    IntegrableOn (fun y : ℝ => y ^ (ξ - 1) * BalkemaDeHaan.LimitTypes.tail μ y) (Set.Ioi x) ∧
    condMoment μ ξ x = (∫ y in Set.Ioi x, y ^ ξ ∂μ) / (x ^ ξ * BalkemaDeHaan.LimitTypes.tail μ x) ∧
    (∫ y in Set.Ioi x, y ^ ξ ∂μ) / (x ^ ξ * BalkemaDeHaan.LimitTypes.tail μ x) =
      ξ * (∫ y in Set.Ioi x, y ^ (ξ - 1) * BalkemaDeHaan.LimitTypes.tail μ y) / (x ^ ξ * BalkemaDeHaan.LimitTypes.tail μ x) + 1 := by sorry

end BalkemaDeHaan.Moments
Source
Balkema, de Haan, Residual Life Time at Great Age, Ann. Probab. 2 (1974), p. 803 (PDF p. 12), proof of Theorem 8(a), displayed identity
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