Lemmas for Probability Over Finite Spaces #
This file houses lemmas about HasEvalDist m and related classes when a computation mx : m α
is defined via a binding/mapping operation over a finite type.
In particular Finset.sum versions of many tsum related lemmas about HasEvalDist.
theorem
HasEvalSPMF.probEvent_exists_finset_le_sum
{α : Type u}
{m : Type u → Type v}
[Monad m]
[HasEvalSPMF m]
{ι : Type u}
(s : Finset ι)
(mx : m α)
(E : ι → α → Prop)
:
Union bound: the probability that some event E i holds is at most the sum of the
individual probabilities, over a finite index set s.