Dirac measures and their finite sums #
A Dirac measure is a zero-one measure, and a probability measure almost surely equal to a point
is the Dirac measure at it. On a finite type with measurable singletons, ∑ b, w b • dirac b
gives a set the total weight of its points; Measure.ofWeights w names it. With nonnegative real
weights its real values are sums of those weights, and it is a probability measure when they sum
to one. [UPSTREAM] candidate for Mathlib/MeasureTheory/Measure/Dirac.lean.
A probability measure almost surely equal to a point is the Dirac measure at it.
A finite sum of scaled Dirac measures gives a set the total weight of its points.
A finite sum of scaled Dirac measures evaluates at a singleton to its weight.
With nonnegative real weights, a finite sum of Dirac measures gives a set, on reals, the total weight of its points.
Nonnegative real weights summing to one give a probability measure.
The measure on a finite type giving each point its weight.
Equations
- MeasureTheory.Measure.ofWeights w = ∑ b : β, w b • MeasureTheory.Measure.dirac b
Instances For
The weight measure of a finite set is the sum of its points' weights.
Finite weights give a finite measure.