Uniform i.i.d. coin-flip sample space
DefinitionKomlos_RandomSignModelThe finite i.i.d. fair-coin probability model used to build random colourings in discrepancy theory. SpOmega n is the sample space of independent fair coin flips, modelled as Fin n \to \mathrm{Bool}$. spMeasure nis the corresponding product probability measure: the uniform measure onSpOmega n, obtained as the finite product of $n$ copies of the uniform measure on Bool. Each of the $2^n$ outcomes therefore has equal probability $1/2^n$ under spMeasure n`.
This is the standard sample space for the probabilistic method applied to matrix/set-system discrepancy: coordinate j of a draw from spMeasure n gives an independent fair coin used to build a random sign , and sub-Gaussian concentration inequalities (e.g. Hoeffding's inequality) on spMeasure n are the basic tool behind results such as the union-bound colouring in Spencer's entropy method.
import Mathlib namespace Komlos noncomputable section /-- The finite sample space of `n` independent fair coin flips, one per coordinate. -/ abbrev SpOmega (n : ℕ) := Fin n → Bool /-- The uniform (i.i.d. fair-coin) probability measure on `SpOmega n`. -/ def spMeasure (n : ℕ) : MeasureTheory.Measure (SpOmega n) := MeasureTheory.Measure.pi (fun _ : Fin n => (PMF.uniformOfFintype Bool).toMeasure) instance (n : ℕ) : MeasureTheory.IsProbabilityMeasure (spMeasure n) := by unfold spMeasure; infer_instance end end Komlos