Expectation comparison from all-threshold tail comparison
ProvedHighDimProb.RandomProcesses.integral_le_of_tail_lecomparison-inequalitiesgaussian-processesprobability
For integrable real random variables X and Y on a probability space, suppose that P(X ≥ t) ≤ P(Y ≥ t) for every real threshold t. Then E[X] ≤ E[Y]. Both variables may take negative values and may have atoms. The assumption covers all real thresholds. This supplies the expectation conclusion in finite Slepian once its probability comparison is established.
Preamble
import Mathlib open MeasureTheory ProbabilityTheory
Formal statement
theorem HighDimProb.RandomProcesses.integral_le_of_tail_le {Ω : Type*} [MeasurableSpace Ω]
(P : Measure Ω) [IsProbabilityMeasure P] (X Y : Ω → ℝ)
(hX : Integrable X P) (hY : Integrable Y P)
(htail : ∀ t : ℝ, P.real {ω | t ≤ X ω} ≤ P.real {ω | t ≤ Y ω}) :
(∫ ω, X ω ∂P) ≤ ∫ ω, Y ω ∂P := by sorrySource
Supporting consequence for Vershynin, High-Dimensional Probability, Theorem 7.2.9, derived from the layer-cake formula for the positive and negative parts. https://www.math.uci.edu/~rvershyn/papers/HDP-book/HDP-1.pdf. Mathlib MeasureTheory/Integral/Layercake.lean at revision 0df444a360eaa60ab8c11dca51a86af692955474.