Theorem 2.A.2 — mrl order plus monotone ratio implies the hazard rate order
ProvedStochasticOrders.MeanResidualLife.mrl_order_ratio_monotone_imp_hazard_rate_orderLet and be two random variables with mrl functions and , respectively. Suppose that increases in (over the region where , where the ratio is meaningful). Then, if , then .
Combined with Theorem 2.A.1 (below), this gives an "iff" between and under the monotone-ratio hypothesis: without that hypothesis, the book notes explicitly that neither nor implies the other. The proof differentiates and and compares the resulting hazard rate expressions ; that proof is not formalized here.
Formalization Note " increases in " is formalized as MonotoneOn (fun t => mrl μ X t / mrl ν Y t) {t | 0 < mrl ν Y t} — monotonicity of the genuine ratio, restricted to
where the denominator is positive (where the ratio is not a division-by-zero junk
value), not two separate monotonicity hypotheses on and individually (a different,
unrelated condition per this chapter's own pitfall). X and Y carry explicit Integrable
hypotheses, formalizing the book's standing "finite mean" assumption on every random variable
it defines an mrl function for (§2.A.1): without it, the Bochner integral inside mrl returns
its junk value 0 for a non-integrable variable, which would let the hypotheses hold vacuously
of the book's actual mean residual life function.
import Mathlib import Definitions.Def_StochasticOrders_MeanResidualLife_mrl import Definitions.Def_StochasticOrders_MeanResidualLife_MrlOrder import Definitions.Def_StochasticOrders_MeanResidualLife_HazardRateOrder
namespace StochasticOrders.MeanResidualLife
open MeasureTheory
/-- Theorem 2.A.2 (Shaked & Shanthikumar, *Stochastic Orders*, Springer 2007, p. 83): let `X` and
`Y` be two random variables (with the chapter's standing finite-mean hypothesis, so their mrl
functions `m`, `l` are genuinely `E[X-t∣X>t]`/`E[Y-t∣Y>t]`) with mrl functions `m` and `l`. Suppose
`m(t)/l(t)` increases in `t` (over the region `l(t) > 0` where the ratio is meaningful). Then, if
`X ≤mrl Y`, `X ≤hr Y`. -/
theorem mrl_order_ratio_monotone_imp_hazard_rate_order {Ω Ω' : Type*} [MeasurableSpace Ω]
[MeasurableSpace Ω'] (μ : Measure Ω) (ν : Measure Ω') [IsProbabilityMeasure μ]
[IsProbabilityMeasure ν] (X : Ω → ℝ) (Y : Ω' → ℝ) (hX : Measurable X) (hY : Measurable Y)
(hXi : Integrable X μ) (hYi : Integrable Y ν)
(hratio : MonotoneOn (fun t => mrl μ X t / mrl ν Y t) {t : ℝ | 0 < mrl ν Y t})
(h : MrlOrder μ ν X Y) :
HazardRateOrder μ ν X Y := by sorry
end StochasticOrders.MeanResidualLife
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.