Additivity and the union bound for discrete outer measures #
The outer measure of a discrete distribution is additive on disjoint events: every set is
Carathéodory-measurable for it (PMF.toOuterMeasure_caratheodory). For arbitrary events it is
subadditive; since every probability is finite, the union bound also holds for the real-valued
probabilities (p.toOuterMeasure s).toReal. The counting bound sum_toReal_indicator_le
generalizes the disjoint case to events that overlap at most Q times.
Main results #
Cslib.Probability.PMF.toOuterMeasure_union_of_disjoint: additivity on two disjoint events.Cslib.Probability.PMF.toOuterMeasure_biUnion_finset: additivity on finitely many pairwise disjoint events.Cslib.Probability.PMF.sum_toOuterMeasure_le_one: the probabilities of finitely many pairwise disjoint events add up to at most1.Cslib.Probability.PMF.toOuterMeasure_toReal_biUnion_finset_le: the union bound for real-valued probabilities of finitely many events.Cslib.Probability.PMF.sum_toReal_indicator_le: if every outcome satisfies at mostQof finitely many predicates, their probabilities add up to at mostQ.Cslib.Probability.PMF.toOuterMeasure_lookup_isSome_le: the union bound for finding a random key in an association list.
The probability of a union of two disjoint events is the sum of their probabilities.
The probability of a union of finitely many pairwise disjoint events is the sum of their probabilities.
The probabilities of finitely many pairwise disjoint events add up to at most 1.
If each outcome in the support of p : PMF α satisfies pred x m = true for at most Q
indices m : M, then the sum over m : M of Pr_{x ← p}[pred x m = true] is at most Q.
A sample hits a list of keys with probability at most its length times the largest allowed point mass. Repeated keys are allowed.
Union bound for association-list lookups: if a key f a of an outcome a ← p equals
any fixed key with probability at most δ, then it is found in an association list cache
with probability at most cache.length * δ.