Classes for probability measures #
We introduce the following typeclasses for measures:
IsZeroOrProbabilityMeasure μ:μ univ = 0 ∨ μ univ = 1;IsProbabilityMeasure μ:μ univ = 1.
A measure μ is zero or a probability measure if μ univ = 0 or μ univ = 1. This class
of measures appears naturally when conditioning on events, and many results which are true for
probability measures hold more generally over this class.
Instances
Alias of MeasureTheory.measureReal_le_one.
A measure μ is called a probability measure if μ univ = 1.
Instances
Note that this is not quite as useful as it looks because the measure takes values in ℝ≥0∞.
Thus the subtraction appearing is the truncated subtraction of ℝ≥0∞, rather than the
better-behaved subtraction of ℝ.
Note that this is not quite as useful as it looks because the measure takes values in ℝ≥0∞.
Thus the subtraction appearing is the truncated subtraction of ℝ≥0∞, rather than the
better-behaved subtraction of ℝ.