Galton–Watson process
DefinitionGeneration-size law of a Galton–Watson process#✓fully proved
The law of the generation size Z_n of the Galton–Watson process with offspring law ν
started from one individual: Z_0 = 1 and, given Z_n = z, Z_{n+1} has law ν^{∗z}
(Measure.convPow ν z).
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
noncomputable def convPow {M : Type*} [AddCommMonoid M] [MeasurableSpace M]
(ν : Measure M) : ℕ → Measure M
| 0 => dirac 0
| n + 1 => (ν.convPow n) ∗ ν
MathlibExt/Probability/InfinitelyDivisible.lean:83
Uses 1 · Used by 11
DefinitionMean offspring number#✓fully proved
The mean offspring number m = E ξ = ∑ k ν{k} ∈ [0, ∞].
noncomputable def mean : ℝ≥0∞ :=
∫⁻ k, (k : ℝ≥0∞) ∂ν
DefinitionExtinction probability of a Galton–Watson process#✓fully proved
The extinction probability q = sup_n P(Z_n = 0), the limit of the probabilities of
extinction by generation n (tendsto_law_real_zero). On a path space carrying the process the
events {Z_n = 0} increase with n (0 is absorbing), so q is the probability of eventual
extinction; this file describes the process through its generation laws and does not construct
the path space.
noncomputable def extinctionProb : ℝ :=
⨆ n, (law ν n).real {0}
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
Uses 1 · Used by 11
Iterates of the generating function
TheoremIterates of the offspring generating function stay in (0, 1)#✓fully proved
The iterates f^[n](s) of the offspring generating function stay in [0, 1] for
s ∈ [0, 1].
theorem iterate_pgf_mem_Icc [IsProbabilityMeasure ν] (n : ℕ) {s : ℝ}
(hs : s ∈ Icc (0 : ℝ) 1) : (pgf id ν)^[n] s ∈ Icc (0 : ℝ) 1
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
Uses 2 · Used by 5
TheoremIterates of the generating function at zero are nondecreasing#✓fully proved
The iterates f^[n](0) of the offspring generating function are non-decreasing.
theorem monotone_iterate_pgf_zero [IsProbabilityMeasure ν] :
Monotone fun n => (pgf id ν)^[n] 0
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
Uses 3 · Used by 2
TheoremLimit of generating-function iterates is the least fixed point#✓fully proved
sup_n f^[n](0) is the least fixed point of f in [0, 1]
(Athreya–Ney 1972, ch. I).
theorem isLeast_iSup_iterate_pgf_zero [IsProbabilityMeasure ν] :
IsLeast {s | s ∈ Icc (0 : ℝ) 1 ∧ pgf id ν s = s} (⨆ n, (pgf id ν)^[n] 0)
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
Uses 4 · Used by 2
TheoremLeast fixed point equals one iff mean offspring is at most one#✓fully proved
The least fixed point is 1 iff the mean offspring number is at most 1, provided the
offspring number is not almost surely 1 (Athreya–Ney 1972, ch. I).
theorem iSup_iterate_pgf_zero_eq_one_iff [IsProbabilityMeasure ν]
(h1 : ν {1} ≠ 1) :
(⨆ n, (pgf id ν)^[n] 0) = 1 ↔ mean ν ≤ 1
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
noncomputable def mean : ℝ≥0∞ :=
∫⁻ k, (k : ℝ≥0∞) ∂ν
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:69
Uses 5 · Used by 1
Generation sizes
TheoremGenerating function of the n-th generation size#✓fully proved
The generating function of Z_n is the n-th iterate of the offspring generating
function on [0, 1] (Athreya–Ney 1972, ch. I).
theorem pgf_law [IsProbabilityMeasure ν] (n : ℕ) {s : ℝ} (hs : s ∈ Icc (0 : ℝ) 1) :
pgf id (law ν n) s = (pgf id ν)^[n] s
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
TheoremProbability of extinction by generation n#✓fully proved
P(Z_n = 0) = f^[n](0).
theorem law_real_zero [IsProbabilityMeasure ν] (n : ℕ) :
(law ν n).real {0} = (pgf id ν)^[n] 0
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
Uses 4 · Used by 4
TheoremMean generation size of a Galton–Watson process#✓fully proved
The mean generation size is E Z_n = m ^ n (Athreya–Ney 1972, ch. I).
theorem lintegral_law [IsProbabilityMeasure ν] (n : ℕ) :
∫⁻ k, (k : ℝ≥0∞) ∂(law ν n) = mean ν ^ n
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
noncomputable def mean : ℝ≥0∞ :=
∫⁻ k, (k : ℝ≥0∞) ∂ν
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:69
Uses 5 · Used by 1
Extinction
TheoremExtinction by generation n is nondecreasing in n#✓fully proved
P(Z_n = 0) is non-decreasing in n.
theorem monotone_law_real_zero [IsProbabilityMeasure ν] :
Monotone fun n => (law ν n).real {0}
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
Uses 4 · Used by 1
TheoremExtinction by generation n converges to the extinction probability#✓fully proved
P(Z_n = 0) converges to the extinction probability.
theorem tendsto_law_real_zero [IsProbabilityMeasure ν] :
Tendsto (fun n => (law ν n).real {0}) atTop (𝓝 (extinctionProb ν))
noncomputable def law : ℕ → Measure ℕ
| 0 => Measure.dirac 1
| n + 1 => (law n).bind (Measure.convPow ν)
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:64
noncomputable def extinctionProb : ℝ :=
⨆ n, (law ν n).real {0}
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:77
TheoremExtinction probability is the least fixed point#✓fully proved
The extinction probability is the least fixed point of the offspring generating function
in [0, 1] (Athreya–Ney 1972, ch. I).
theorem isLeast_extinctionProb [IsProbabilityMeasure ν] :
IsLeast {s | s ∈ Icc (0 : ℝ) 1 ∧ pgf id ν s = s} (extinctionProb ν)
noncomputable def pgf (X : Ω → ℕ) (μ : Measure Ω) (s : ℝ) : ℝ :=
∫ ω, s ^ X ω ∂μ
MathlibExt/Probability/ProbabilityGeneratingFunction.lean:47
noncomputable def extinctionProb : ℝ :=
⨆ n, (law ν n).real {0}
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:77
Uses 5 · Used by 6
TheoremGalton–Watson extinction criterion#✓fully proved
Extinction is certain iff the mean offspring number is at most 1, provided the offspring
number is not almost surely 1 (Athreya–Ney 1972, ch. I).
theorem extinctionProb_eq_one_iff [IsProbabilityMeasure ν] (h1 : ν {1} ≠ 1) :
extinctionProb ν = 1 ↔ mean ν ≤ 1
noncomputable def extinctionProb : ℝ :=
⨆ n, (law ν n).real {0}
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:77
noncomputable def mean : ℝ≥0∞ :=
∫⁻ k, (k : ℝ≥0∞) ∂ν
MathlibExt/Probability/BranchingProcess/GaltonWatson.lean:69
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.