Transport original-space Bernoulli i.i.d. sum law to a pointwise equal occupied-cell count
ProvedAvramDividend.Classical.avram_a27_binomial_law_transport_from_original_iid_sum_20261116avram-classicalbinomialprobabilitysame-source
On any original probability space P, if a measurable integer Z agrees pathwise with the finite sum of mutually independent identically distributed zero-one variables Y_i, then Z has exactly Bin(n,p) distribution. Directly use the Proved generic Bernoulli sum theorem 474881c3 and pointwise function extensionality. This isolates the final distribution transport from original physical occupied-cell card to Bernoulli sums.
Preamble
import Mathlib import Definitions.Def_AvramDividend_Classical_SpectrallyNegativeLevy open MeasureTheory ProbabilityTheory Set AvramDividend.Classical open scoped NNReal ENNReal BigOperators noncomputable section
Formal statement
theorem AvramDividend.Classical.avram_a27_binomial_law_transport_from_original_iid_sum_20261116
{Ω : Type*} [MeasurableSpace Ω]
(P : Measure Ω) [IsProbabilityMeasure P]
(n : ℕ) (Y : Fin n → Ω → ℕ)
(hMeas : ∀ i, Measurable (Y i))
(h01 : ∀ i ω, Y i ω = 0 ∨ Y i ω = 1)
(hIndep : iIndepFun Y P)
(p : unitInterval)
(hP : ∀ i : Fin n, (P {ω : Ω | Y i ω = 1}).toReal = (p : ℝ))
(Z : Ω → ℕ)
(hZ : ∀ ω, Z ω = ∑ i : Fin n, Y i ω) :
P.map Z = Bin(n, p) := by sorrySource
Proved i.i.d. zero-one binomial distribution theorem 474881c3.