Course contents 03 / 22

03 / 22 · Foundations

Kolmogorov's axioms

Build a probability measure from weighted outcomes, derive union and limit rules, and distinguish a sampling algorithm from its output space. A finite three-flag example checks inclusion–exclusion exactly; measurable sets explain the boundary of the calculus.

On this page 8

The counting note produced different probabilities from two algorithms with the same output records. A list of possibilities is therefore only part of a probability model. We also need the weight assigned to each event and rules that make overlapping descriptions consistent.

This note uses an explicitly specified distribution of three diagnostic flags and a finite format-selection rule. Their weights, diagrams and exact calculations were newly composed for this project with AI assistance. They are fictional inputs, not estimated rates. Established mathematical definitions and the optional nonmeasurability argument are credited in References; no source dataset or simulation is required.

Three axioms#

A probability space consists of (Ω,F,P)(\Omega,\mathcal F,P). The set Ω\Omega contains outcomes. The family F\mathcal F contains the subsets admitted as events: it includes Ω\Omega and is closed under complements and countable unions. Such a family is called a σ-algebra. Probability PP is defined on that family and satisfies

P(A)≥0(A∈F),P(Ω)=1,P ⁣(⋃i=1∞Ai)=∑i=1∞P(Ai)when Ai∩Aj=∅ for i≠j.\begin{gathered} P(A)\ge0\quad(A\in\mathcal F),\qquad P(\Omega)=1,\\ P\!\left(\bigcup_{i=1}^{\infty}A_i\right)=\sum_{i=1}^{\infty}P(A_i) \quad\text{when }A_i\cap A_j=\varnothing\text{ for }i\ne j. \end{gathered}

The last requirement is countable additivity. It includes finite disjoint unions by using empty events after the last nonempty one. Disjointness matters: probabilities of overlapping events cannot simply be added.

On a finite or countable space with every subset admitted as an event, one may choose nonnegative singleton weights that sum to one and define

P(A)=∑ω∈Apω,∑ω∈Ωpω=1.P(A)=\sum_{\omega\in A}p_\omega,\qquad \sum_{\omega\in\Omega}p_\omega=1.

This constructs a probability measure. Conversely, under this discrete event convention, countable additivity determines each event from its singleton probabilities. A coarser event family may not contain singleton sets, so that description must not be silently assumed for every σ-algebra.

Our finite case records three bits, A, B and C, where 1 means the corresponding flag is present. These eight disjoint records have the following stipulated integer weights, divided by 36:

Record ABC000100010001110101011111
Weight135734211

For example, the event AA contains 100, 110, 101 and 111, hence P(A)=(5+4+2+1)/36=1/3P(A)=(5+4+2+1)/36=1/3. No independence between the flags is assumed. The table itself defines their joint behaviour.

The axioms provide a mathematical convention used throughout the course. They do not establish that a proposed model fits observations, or that every account of subjective belief must use countable additivity. Interpretation and empirical adequacy remain separate questions from consistency of this calculus.

The rules that follow#

Decompose events into disjoint pieces. Since AA and AcA^c partition Ω\Omega, P(Ac)=1−P(A)P(A^c)=1-P(A), and P(∅)=0P(\varnothing)=0. If A⊆BA\subseteq B, then B=A∪(B∖A)B=A\cup(B\setminus A) is disjoint, so P(B)=P(A)+P(B∖A)≥P(A)P(B)=P(A)+P(B\setminus A)\ge P(A). This gives monotonicity and P(A)≤1P(A)\le1.

For two arbitrary events, split BB into its overlap with AA and its part outside AA. The result is

P(A∪B)=P(A)+P(B)−P(A∩B).P(A\cup B)=P(A)+P(B)-P(A\cap B).

In our table, P(B)=13/36P(B)=13/36 and P(A∩B)=5/36P(A\cap B)=5/36. Therefore P(A∪B)=20/36=5/9P(A\cup B)=20/36=5/9. Directly summing the six records with A or B present gives the same answer. This is an algebra check on the model, not an assumption about independence.

Countable additivity also controls limits. If En⊆En+1E_n\subseteq E_{n+1}, partition their union into E1,E2∖E1,E3∖E2,…E_1,E_2\setminus E_1,E_3\setminus E_2,\ldots. Summing these disjoint increments gives

P ⁣(⋃n=1∞En)=lim⁡n→∞P(En).P\!\left(\bigcup_{n=1}^{\infty}E_n\right)=\lim_{n\to\infty}P(E_n).

For a decreasing sequence, taking complements similarly gives the probability of the intersection as the limit. These are continuity properties of a probability measure, not claims that every arbitrary sequence of events has a probability limit.

Inclusion–exclusion#

Adding three event probabilities counts an outcome once for every flag it has. Subtracting pairwise intersections removes one copy for each pair of present flags. A record with all three flags then has coefficient zero, so one copy must be restored:

P(A∪B∪C)=P(A)+P(B)+P(C)−P(A∩B)−P(A∩C)−P(B∩C)+P(A∩B∩C).\begin{aligned} P(A\cup B\cup C)={}&P(A)+P(B)+P(C)\\ &-P(A\cap B)-P(A\cap C)-P(B\cap C)+P(A\cap B\cap C). \end{aligned}

The single-event numerators are 12, 13 and 7; the pairwise numerators are 5, 3 and 2; the triple numerator is 1. Hence

P(A∪B∪C)=12+13+7−5−3−2+136=2336.P(A\cup B\cup C)=\frac{12+13+7-5-3-2+1}{36}=\frac{23}{36}.

This agrees with the complement of the unflagged record, whose weight is 13. The figure shows which correction affects which kind of record.

Figure

Overlap: 32 − 10 + 1 = 23

ABCWeightSinglesMinus pairsPlus triple
00013000
1005555
0107777
0013333
1104844
1012422
0111211
1111301
Total36322223
Numbers are counted weight units out of 36. Pair subtraction removes all three copies of record 111; the triple correction restores its one unit. The final column counts each flagged outcome once.

For nn events, inclusion–exclusion alternates over all nonempty intersections. An outcome belonging to exactly m≥1m\ge1 events receives the coefficient

∑j=1m(−1)j+1(mj)=1,\sum_{j=1}^{m}(-1)^{j+1}\binom mj=1,

which follows by subtracting the j=0j=0 term from (1−1)m=0(1-1)^m=0. An outcome in none receives zero. This pointwise counting identity proves the formula after weighting outcomes, and it also holds for general probability measures by finite additivity.

The union bound in practice#

If intersections are unknown, we can retain a bound. Replace each event after the first by the part not already covered; these disjoint parts are no larger than the original events. Countable additivity and monotonicity imply

P ⁣(⋃iAi)≤∑iP(Ai).P\!\left(\bigcup_i A_i\right)\le\sum_iP(A_i).

In the flag case the bound is 32/36=8/932/36=8/9, compared with the exact 23/3623/36. Subtracting the three pair terms gives 22/36=11/1822/36=11/18, a lower bound here; restoring the triple term produces the exact answer. Unknown overlap is the information lost in the simpler upper bound.

For a separately specified design calculation, suppose three failure events each have verified probability caps 1/1001/100, 1/801/80 and 1/2001/200. Then the probability of any failure is at most 11/400=0.027511/400=0.0275, whatever their dependence. These are assumed caps, not estimates supplied by the axioms. An observed frequency without an uncertainty argument is not automatically such a cap. The same logic gives Bonferroni control of the probability of any false rejection when the individual tests have valid error bounds; no independence assumption is required. Concentration inequalities develop bounds used to justify such inputs.

Infinitely many outcomes#

Consider a positive-integer outcome NN with assigned probabilities

pn=1n(n+1)=1n−1n+1,n=1,2,….p_n=\frac1{n(n+1)}=\frac1n-\frac1{n+1},\qquad n=1,2,\ldots.

The partial sum through mm telescopes to m/(m+1)m/(m+1), tending to one. Thus these nonnegative weights define a probability on all subsets of the positive integers. In particular, P(N>m)=1/(m+1)P(N>m)=1/(m+1). The event N≤mN\le m increases to the whole space, and its probabilities tend to one as required. The program checks finite partial sums; the identity and its limit supply the infinite argument.

A continuous model behaves differently. Uniform probability on [0,1][0,1] assigns an interval its length. A singleton can be enclosed by intervals of arbitrarily small length, so its probability is zero. Yet an outcome still belongs to the interval: zero probability is not the same as an empty event. A countable set of points has probability zero by countable additivity. The interval is uncountable, so one cannot apply that axiom to add its point probabilities.

The existence of a measure agreeing with interval lengths on Borel sets is a measure-construction theorem. It is not established merely by saying “give each point probability zero.”

Why not every set is an event#

A σ-algebra specifies which questions have probabilities. On the real line, the Borel σ-algebra is generated by open intervals. It contains countable unions, intersections and complements built from them, including the sets described by the continuous inequalities used here. This describes a particular family generated by intervals; it is not a declaration that every subset of the real line is Borel.

For example, a coarse observation that only distinguishes the presence or absence of flag A has event family {∅,A,Ac,Ω}\{\varnothing,A,A^c,\Omega\}. This is already a valid σ-algebra, even though it does not distinguish all eight records. Thus the event family can describe available information, not just a technical restriction for infinite sets.

A set with no probability#

Optional mathematical boundary: with the axiom of choice, select one point from each class of numbers in [0,1)[0,1) whose differences are rational. Shifts of the selected set by distinct rational r∈[0,1)r\in[0,1), taken modulo one, are pairwise disjoint and cover the interval: each point has a representative, and an overlap would place two representatives in one class. If all these sets were measurable and all rotations preserved their probability, each shifted copy would have the same mass vv. Countable additivity would require 1=v+v+⋯1=v+v+\cdots, impossible for either v=0v=0 or v>0v>0. This is the Vitali obstruction, not a computable finite fixture. The contradiction uses rotation invariance as well as the probability axioms; it does not forbid every probability measure on all subsets of a continuum. Weaver’s Definition A.1 and Theorem A.2 give the corresponding mathematical argument.

“At random” needs a model#

Return to the six compatible mode-format pairs from the counting note. Algorithm 1 chooses one valid pair uniformly. Algorithm 2 chooses a mode uniformly, then a format uniformly from that mode’s permitted list. The second stage has two choices after A, one after B and three after C. Multiplying the weights along a branch gives the following two measures on exactly the same six outcomes.

Figure

Same outcomes, different measures

PairChoose pairMode → format
A,u1/61/6
A,v1/61/6
B,v1/61/3
C,u1/61/9
C,v1/61/9
C,w1/61/9
The left column samples one of six pairs uniformly. The right column first samples a mode uniformly, then a permitted format. Pair C,w receives 1/6 or 1/9; both weight lists sum to one.

For the event “format w is chosen,” only pair (C,w) contributes. Its probability is 1/61/6 in the first model and (1/3)(1/3)=1/9(1/3)(1/3)=1/9 in the second. Both models satisfy the axioms. Determining which describes a program requires inspecting its sampling procedure, not inspecting the output format.

What changed#

From the finite counting modelTo the probability-space model
All detailed outcomes equally likelyA specified measure assigns event weights.
Count a complement or overlapThe same algebra follows from disjoint additivity.
A finite list of recordsCountable spaces and continuous models require consistent limits.
Every subset admittedThe event family must be stated or understood.

Limitations#

The axioms constrain a model; they do not identify a real mechanism, validate estimated error rates or supply independence. Countable additivity is the convention used here, not a claim that all philosophical accounts of probability agree. The optional nonmeasurable-set argument is an existence result using choice and invariance, not something tested by enumeration. No numerical check of finitely many terms proves an infinite identity without the accompanying argument.

What you should remember#

State the outcome space, event family and measure. Add probabilities directly only for disjoint events; account for overlap otherwise. Countable additivity makes increasing and decreasing event limits usable. A union bound trades missing intersection information for an upper bound. Different generators can assign different probabilities to identical output records while both obeying every axiom.

Code#

This exact standard-library calculation checks the weighted flag union, the two-stage branch weights and five finite partial sums. No data or packages are downloaded.

from fractions import Fraction

weights = {'000': 13, '100': 5, '010': 7, '001': 3,
           '110': 4, '101': 2, '011': 1, '111': 1}
union = Fraction(sum(w for s, w in weights.items() if '1' in s), 36)
print('any flag:', union)
modes = {'A': ('u', 'v'), 'B': ('v',), 'C': ('u', 'v', 'w')}
branch = {a+b: Fraction(1, 3*len(formats))
          for a, formats in modes.items() for b in formats}
assert sum(branch.values()) == 1
print('uniform pair, mode then format:', Fraction(1, 6), branch['Cw'])
for m in (1, 2, 5, 10, 25):
    partial = sum(Fraction(1, n*(n+1)) for n in range(1, m+1))
    assert partial == Fraction(m, m+1)
    print(m, partial, 1-partial)
any flag: 23/36
uniform pair, mode then format: 1/6 1/9
1 1/2 1/2
2 2/3 1/3
5 5/6 1/6
10 10/11 1/11
25 25/26 1/26

Next#

The joint table gives probabilities before any observation. After a flag appears, the relevant population changes. Conditional probability and Bayes’ formula explain how to restrict to that event and renormalize, and why the process that reports a flag also matters.

References#

  • Kyle Siegrist, Random: Probability Measure, definitions, discrete constructions and the probability rules; Measure Spaces, continuity theorems; Measurable Spaces, σ-algebras and Borel spaces. The author declares CC BY 2.0 on the home page. These are mathematical references; their prose, exercises, images and code are not imported.
  • Nik Weaver, Construction of Measures, Math 4121, Spring 2012, Definition A.1 and Theorem A.2, page 1. Scientific reference for the optional Vitali/rotation-invariance argument. No source text, diagram or software is redistributed; access to the PDF is not treated as a reuse license.