Documentation

CslibFrontier.Probability.StochasticDomination.Basic

First-order stochastic domination #

First-order stochastic domination on preordered measurable spaces and on probability mass functions, with characterizations via upper sets, intervals, ProbabilityTheory.cdf, monotone Lebesgue integrals, and monotone Bochner integrals, plus pushforward, monadic bind, addition, and coupling closure properties.

Main definitions #

Main results #

First-order stochastic domination on Measure α: μ stochastically dominates ν when every measurable upper set has at least as much μ-measure as ν-measure.

Instances For
    theorem Cslib.Probability.StochasticallyDominates.measure_le {α : Type u_1} [MeasurableSpace α] [Preorder α] {μ ν : MeasureTheory.Measure α} (h : StochasticallyDominates μ ν) {U : Set α} (hUm : MeasurableSet U) (hU : IsUpperSet U) :
    ν U ≤ μ U

    Unfold stochastic domination on a measurable upper set.

    Reflexivity of stochastic domination.

    Transitivity of stochastic domination.

    Closed upper rays Set.Ici a have larger measure under a dominating measure.

    Open upper rays Set.Ioi a have larger measure under a dominating measure.

    Finite-measure .real inequality on any measurable upper set.

    A dominating probability measure assigns no more mass to Set.Iic a than the dominated probability measure.

    A dominating probability measure assigns no more mass to Set.Iio a than the dominated probability measure.

    theorem Cslib.Probability.StochasticallyDominates.lintegral_le {α : Type u_1} [MeasurableSpace α] [Preorder α] {μ ν : MeasureTheory.Measure α} [MeasureTheory.SFinite μ] [MeasureTheory.SFinite ν] (h : StochasticallyDominates μ ν) {f : α → ENNReal} (hf : Measurable f) (hf_mono : Monotone f) :
    ∫⁻ (x : α), f x ∂ν ≤ ∫⁻ (x : α), f x ∂μ

    First-order stochastic domination implies ∫⁻ x, f x ∂ν ≤ ∫⁻ x, f x ∂μ for every measurable monotone function f : α → ℝ≥0∞.

    Reverse inequality for measurable antitone functions g : α → ℝ≥0∞ when μ and ν have equal finite total mass (for instance, probability measures).

    First-order stochastic domination on probability measures implies ∫ x, f x ∂ν ≤ ∫ x, f x ∂μ for every integrable measurable monotone function f : α → ℝ.

    theorem Cslib.Probability.StochasticallyDominates.integral_le_of_nonneg {α : Type u_1} [MeasurableSpace α] [Preorder α] {μ ν : MeasureTheory.Measure α} [MeasureTheory.SFinite μ] [MeasureTheory.SFinite ν] (h : StochasticallyDominates μ ν) {f : α → ℝ} (hf : Measurable f) (hf_mono : Monotone f) (hf0 : ∀ (x : α), 0 ≤ f x) (hfiμ : MeasureTheory.Integrable f μ) (hfiν : MeasureTheory.Integrable f ν) :
    ∫ (x : α), f x ∂ν ≤ ∫ (x : α), f x ∂μ

    Nonnegative measurable monotone functions satisfy ∫ x, f x ∂ν ≤ ∫ x, f x ∂μ under SFinite measures without requiring μ univ = ν univ.

    theorem Cslib.Probability.StochasticallyDominates.of_ae_le {α : Type u_1} [MeasurableSpace α] [Preorder α] {γ : Type u_2} [MeasurableSpace γ] {π : MeasureTheory.Measure γ} {X Y : γ → α} (hX : Measurable X) (hY : Measurable Y) (hle : ∀ᵐ (ω : γ) ∂π, Y ω ≤ X ω) :

    Pointwise a.e. ordering Y ≤ᵐ[π] X induces stochastic domination of pushforward laws.

    A monotone coupling π on α × α (p.2 ≤ p.1 a.e.) induces stochastic domination of the first marginal over the second marginal.

    Monotone pushforward preserves stochastic domination.

    theorem Cslib.Probability.StochasticallyDominates.bind {α : Type u_1} [MeasurableSpace α] [Preorder α] {μ ν : MeasureTheory.Measure α} {β : Type u_2} [MeasurableSpace β] [Preorder β] [MeasureTheory.SFinite μ] [MeasureTheory.SFinite ν] (hμν : StochasticallyDominates μ ν) {κ η : α → MeasureTheory.Measure β} (hκ : Measurable κ) (hη : Measurable η) (hpt : ∀ (a : α), StochasticallyDominates (κ a) (η a)) (hmono : ∀ ⦃a₁ a₂ : α⦄, a₁ ≤ a₂ → StochasticallyDominates (κ a₂) (κ a₁)) :

    Monadic bind preserves stochastic domination when the dominating kernel is pointwise larger and monotone in the conditioning state.

    theorem Cslib.Probability.StochasticallyDominates.bind_of_snd_monotone {α : Type u_1} [MeasurableSpace α] [Preorder α] {μ ν : MeasureTheory.Measure α} {β : Type u_2} [MeasurableSpace β] [Preorder β] [MeasureTheory.SFinite μ] [MeasureTheory.SFinite ν] (hμν : StochasticallyDominates μ ν) {κ η : α → MeasureTheory.Measure β} (hκ : Measurable κ) (hη : Measurable η) (hpt : ∀ (a : α), StochasticallyDominates (κ a) (η a)) (hmono : ∀ ⦃a₁ a₂ : α⦄, a₁ ≤ a₂ → StochasticallyDominates (η a₂) (η a₁)) :

    Variant of StochasticallyDominates.bind where the dominated kernel η is monotone in the conditioning state.

    theorem Cslib.Probability.StochasticallyDominates.add_prod {α : Type u_2} [MeasurableSpace α] [Preorder α] [AddCommMonoid α] [AddLeftMono α] [AddRightMono α] [MeasurableAdd₂ α] {μ₁ μ₂ ν₁ ν₂ : MeasureTheory.Measure α} [MeasureTheory.SFinite μ₁] [MeasureTheory.SFinite μ₂] [MeasureTheory.SFinite ν₁] [MeasureTheory.SFinite ν₂] (h₁ : StochasticallyDominates μ₁ ν₁) (h₂ : StochasticallyDominates μ₂ ν₂) :
    StochasticallyDominates (MeasureTheory.Measure.map (fun (p : α × α) => p.1 + p.2) (μ₁.prod μ₂)) (MeasureTheory.Measure.map (fun (p : α × α) => p.1 + p.2) (ν₁.prod ν₂))

    Independent addition preserves stochastic domination on ordered additive monoids.

    Stochastic domination of SFinite measures is equivalent to domination of all measurable monotone Lebesgue integrals.

    Stochastic domination of probability measures is equivalent to domination of all integrable measurable monotone real expectations.

    Stochastic domination on ℕ is equivalent to upper-tail comparison on Set.Ici n.

    Stochastic domination of probability measures on ℕ is equivalent to strict upper-tail comparison on Set.Ioi n.

    Stochastic domination of probability measures on ℕ is equivalent to lower-tail comparison on Set.Iic n.

    Stochastic domination of probability measures on ℕ is equivalent to strict lower-tail comparison on Set.Iio n.

    Mutual stochastic domination of finite measures on ℕ implies equality.

    Stochastic domination of probability measures on ℝ is equivalent to upper-tail comparison on Set.Ici x.

    Stochastic domination of probability measures on ℝ is equivalent to strict upper-tail comparison on Set.Ioi x.

    Stochastic domination of probability measures on ℝ is equivalent to lower-tail comparison on Set.Iic x.

    Stochastic domination of probability measures on ℝ is equivalent to pointwise comparison of cumulative distribution functions.

    Mutual stochastic domination of probability measures on ℝ implies equality.

    First-order stochastic domination on PMF α: p stochastically dominates q when every upper set U satisfies q.toOuterMeasure U ≤ p.toOuterMeasure U.

    Instances For

      Reflexivity of stochastic domination on PMF α.

      Transitivity of stochastic domination on PMF α.

      Upper-ray inequality q.toOuterMeasure (Set.Ici a) ≤ p.toOuterMeasure (Set.Ici a).

      Strict upper-ray inequality q.toOuterMeasure (Set.Ioi a) ≤ p.toOuterMeasure (Set.Ioi a).

      Lower-ray inequality p.toOuterMeasure (Set.Iic a) ≤ q.toOuterMeasure (Set.Iic a) on a linear order.

      Strict lower-ray inequality p.toOuterMeasure (Set.Iio a) ≤ q.toOuterMeasure (Set.Iio a) on a linear order.

      theorem Cslib.Probability.PMF.StochasticallyDominates.tsum_mul_le {α : Type u_1} [Preorder α] {p q : PMF α} (h : StochasticallyDominates p q) {f : α → ENNReal} (hf : Monotone f) :
      ∑' (x : α), q x * f x ≤ ∑' (x : α), p x * f x

      ℝ≥0∞-weighted monotone series inequality for stochastically ordered PMFs.

      theorem Cslib.Probability.PMF.StochasticallyDominates.tsum_toReal_mul_le {α : Type u_1} [Preorder α] {p q : PMF α} (h : StochasticallyDominates p q) {f : α → ℝ} (hf : Monotone f) (hp : Summable fun (x : α) => (p x).toReal * |f x|) (hq : Summable fun (x : α) => (q x).toReal * |f x|) :
      ∑' (x : α), (q x).toReal * f x ≤ ∑' (x : α), (p x).toReal * f x

      Real-valued expectation inequality for stochastically ordered PMFs and integrable monotone functions.

      theorem Cslib.Probability.PMF.StochasticallyDominates.tsum_toReal_mul_le_of_bdd {α : Type u_1} [Preorder α] {p q : PMF α} (h : StochasticallyDominates p q) {f : α → ℝ} (hf : Monotone f) {C : ℝ} (hC : ∀ (x : α), |f x| ≤ C) :
      ∑' (x : α), (q x).toReal * f x ≤ ∑' (x : α), (p x).toReal * f x

      Real-valued expectation inequality for bounded monotone functions under stochastically ordered PMFs.

      theorem Cslib.Probability.PMF.StochasticallyDominates.sum_toReal_mul_le {α : Type u_1} [Preorder α] {p q : PMF α} [Fintype α] (h : StochasticallyDominates p q) {f : α → ℝ} (hf : Monotone f) :
      ∑ x : α, (q x).toReal * f x ≤ ∑ x : α, (p x).toReal * f x

      Finite-sum expectation inequality for monotone functions on [Fintype α].

      theorem Cslib.Probability.PMF.StochasticallyDominates.map {α : Type u_1} [Preorder α] {p q : PMF α} {β : Type u_2} [Preorder β] (h : StochasticallyDominates p q) {f : α → β} (hf : Monotone f) :

      Monotone map preserves PMF.StochasticallyDominates.

      theorem Cslib.Probability.PMF.StochasticallyDominates.bind {α : Type u_1} [Preorder α] {p q : PMF α} {β : Type u_2} [Preorder β] (hpq : StochasticallyDominates p q) {κ η : α → PMF β} (hpt : ∀ (a : α), StochasticallyDominates (κ a) (η a)) (hmono : ∀ ⦃a₁ a₂ : α⦄, a₁ ≤ a₂ → StochasticallyDominates (κ a₂) (κ a₁)) :

      Monadic bind preserves PMF.StochasticallyDominates when the dominating kernel is pointwise larger and monotone in its parameter.

      theorem Cslib.Probability.PMF.StochasticallyDominates.bind_of_snd_monotone {α : Type u_1} [Preorder α] {p q : PMF α} {β : Type u_2} [Preorder β] (hpq : StochasticallyDominates p q) {κ η : α → PMF β} (hpt : ∀ (a : α), StochasticallyDominates (κ a) (η a)) (hmono : ∀ ⦃a₁ a₂ : α⦄, a₁ ≤ a₂ → StochasticallyDominates (η a₂) (η a₁)) :

      Variant of PMF.StochasticallyDominates.bind where the dominated kernel η is monotone.

      theorem Cslib.Probability.PMF.StochasticallyDominates.bind_add {α : Type u_2} [Preorder α] [AddCommMonoid α] [AddLeftMono α] [AddRightMono α] {p₁ p₂ q₁ q₂ : PMF α} (h₁ : StochasticallyDominates p₁ q₁) (h₂ : StochasticallyDominates p₂ q₂) :
      StochasticallyDominates (p₁.bind fun (a : α) => PMF.map (fun (x : α) => a + x) p₂) (q₁.bind fun (a : α) => PMF.map (fun (x : α) => a + x) q₂)

      Addition convolution of PMFs preserves stochastic domination.

      Equivalence between PMF.StochasticallyDominates and Measure-level stochastic domination whenever every upper set is measurable.

      Mutual stochastic domination of PMF ℕs implies equality.

      Stochastic domination on Bool (with false < true) is equivalent to q true ≤ p true.