Documentation

Mathlib.Probability.Distributions.SetBernoulli

Product of bernoulli distributions on a set #

This file defines the product of bernoulli distributions on a set as a measure on sets. For a set u : Set ι and p between 0 and 1, this is the measure on Set ι such that each i ∈ u belongs to the random set with probability p, and each i ∉ u doesn't belong to it.

Notation #

setBer(u, p) is the product of p-Bernoulli distributions on u.

TODO #

It is painful to convert from unitInterval to ENNReal. Should we introduce a coercion or explicit operation (like unitInterval.toNNReal, note the lack of dot notation!)?

noncomputable def ProbabilityTheory.setBernoulli {ι : Type u_1} (u : Set ι) (p : unitInterval) :

The product of bernoulli distributions with parameter p on the set u : Set V is the measure on Set V such that each element of u is taken with probability p, and the elements outside of u are never taken.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The product of bernoulli distributions with parameter p on the set u : Set V is the measure on Set V such that each element of u is taken with probability p, and the elements outside of u are never taken.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem ProbabilityTheory.setBernoulli_ae_subset {ι : Type u_1} {u : Set ι} {p : unitInterval} [Countable ι] :
      ∀ᵐ (s : Set ι) setBernoulli u p, s u
      @[simp]
      theorem ProbabilityTheory.setBernoulli_singleton {ι : Type u_1} {s : Set ι} (u : Set ι) (p : unitInterval) [Countable ι] (hsu : s u) (hu : u.Finite) :

      Bernoulli random variables #

      @[reducible, inline]
      abbrev ProbabilityTheory.IsSetBernoulli {ι : Type u_1} {Ω : Type u_2} {m : MeasurableSpace Ω} (X : ΩSet ι) (u : Set ι) (p : unitInterval) (P : MeasureTheory.Measure Ω) :

      A random variable X : Ω → Set ι is p-bernoulli on a set u : Set ι if its distribution is the product over u of p-bernoulli distributions.

      Equations
      Instances For
        theorem ProbabilityTheory.isSetBernoulli_congr {ι : Type u_1} {Ω : Type u_2} {m : MeasurableSpace Ω} {X Y : ΩSet ι} {u : Set ι} {p : unitInterval} {P : MeasureTheory.Measure Ω} (hXY : X =ᵐ[P] Y) :
        theorem ProbabilityTheory.IsSetBernoulli.ae_subset {ι : Type u_1} {Ω : Type u_2} {m : MeasurableSpace Ω} {X : ΩSet ι} {u : Set ι} {p : unitInterval} {P : MeasureTheory.Measure Ω} [Countable ι] (hX : IsSetBernoulli X u p P) :
        ∀ᵐ (ω : Ω) P, X ω u