The model and the comparator, in Mathlib's vocabulary #
Part of MiscMath.Probability.PoissonTrialsFixedMean, whose module docstring states the
results and where the reader should start. This file ties the four definitions local to this
library — bernWt, bernExp, tailLe, binTail — back to Mathlib's
ProbabilityTheory.binomial and ProbabilityTheory.bernoulliMeasure, so that the results
are not comparisons of one bespoke object against another.
Relation to Mathlib's vocabulary #
Four definitions are local to this library — bernWt, bernExp and tailLe from
PoissonTrialsFixedMean.Model, binTail from PoissonTrialsFixedMean.BinomialTail — and the
theorems are inequalities between them. This module ties all four back to Mathlib, so that the
results are not comparisons of one bespoke object against another.
bernExp_const_eq_integral_binomialandbinTail_eq_binomial_real_Iicidentify the comparator — the right-hand side of Theorem 3 and one side of Theorem 4 — with Mathlib'sProbabilityTheory.binomial, as an integral and as a measure ofSet.Iic krespectively.bernExp_eq_integral_pi_bernoulliMeasureidentifies the model with the integral ofg ∘ (number of successes)againstMeasureTheory.Measure.piof Mathlib'sProbabilityTheory.bernoulliMeasure— an honest product of independent, individually parameterised Bernoulli measures onBool. This is the statement that saysbernWtmeans what its docstring says it means.
The comparator is Mathlib's binomial distribution. At a constant success probability
P the model is the integral against Bin(#s, P).
The binomial tail is the measure of Set.Iic k under Mathlib's binomial
distribution.
The model is a product of Mathlib Bernoulli measures. With one Bool-valued trial
per element of s, the i-th succeeding with probability p i, bernExp s p g is the
expectation of g applied to the number of successes.
The trials are indexed by {x // x ∈ s} and the product is MeasureTheory.Measure.pi, so
independence is Mathlib's, not a convention of this file; each factor is
ProbabilityTheory.bernoulliMeasure true false ⟨p i, _⟩, Mathlib's Bernoulli measure with
its own parameter.