Eq. (7): exact expectation of the i.i.d. Epps–Pulley statistic
ProvedGoodViewsNotEnough.iid_ep_expectationLet be a probability measure on , let be a finite frequency measure on , and let . If are i.i.d. with law and , then the Epps–Pulley statistic has expectation
where , and .
This identity converts every expected Epps–Pulley objective of the scalar model into a deterministic function of the output law.
Formalization Note The conditions and are implicit in the paper: the formula fails for , and must be a real number.
import Mathlib import Definitions.Def_GoodViewsNotEnough_Basic open MeasureTheory Complex
namespace GoodViewsNotEnough
theorem iid_ep_expectation (N : ℕ) (hN : 0 < N) (ν μ : Measure ℝ) [IsFiniteMeasure ν]
[IsProbabilityMeasure μ] :
iidEP N ν μ = N * discrepancy ν μ + freqMass ν - selfTerm ν μ := by sorry
end GoodViewsNotEnoughRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every positive integer (the hypothesis is explicit, so is excluded), every finite measure on (the "frequency measure", not required to be a probability measure, symmetric, or absolutely continuous), and every probability measure on , the theorem asserts the exact identity
The symbols are defined as follows.
- Gaussian target. for , viewed as a real number embedded in .
- Characteristic function. For a measure on , (Mathlib's characteristic function).
- Discrepancy. For measures on ,
- Total mass. , converted from an extended non-negative real to a real number. It is finite here because is assumed finite.
- Self term.
- Empirical law. For a batch ,
Since , this is a probability measure.
- Epps–Pulley statistic. For a batch , .
- Expected statistic. is the integral of over with respect to the -fold product measure . That is, it is the expectation of when are i.i.d. with law :
All integrals are real-valued Bochner integrals. Under that convention, an integral whose integrand is not integrable is assigned the value rather than being undefined.
There are no further hypotheses on : no moment, density, or centring assumptions. The only constraints on are finiteness, and may be the zero measure. The right-hand side mixes three kinds of terms:
- times the population discrepancy of itself (not of an empirical law);
- the mass of ;
- minus the -weighted integral of the squared modulus of 's characteristic function.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.