Lemma 2: expected iid empirical-output approximation
OpenQAlgorithms.Papers.Independent.Intake100.P73.iid_approximation_expectationsLet be a classical discrete stochastic channel from to , and let be a probability mass function on . Write . All logarithms are natural, is the full L1 distance, and is extended nonnegative KL divergence, infinite on a support mismatch. Zero-mass terms in the defining KL expression contribute zero.
For , define and , excluding null joint-support terms before division. Set , with , and
Let , , and let be independent with common law . Define . Then
and, for each ,
If is finite, also
These are expectations under the actual iid tuple law, including repeated samples. They yield code existence bounds without any finite-input or absolute-continuity hypothesis.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P73
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P73
open Filter
open scoped BigOperators ENNReal Topology
attribute [local instance] Classical.propDecidable Classical.decEq
universe u
/-- Hayashi, PDF pp.4–5, Lemma 2, (12)–(14): actual iid EXPECTATIONS.
Only (14) needs finite Y; no input finiteness or absolute continuity is assumed. -/
theorem iid_approximation_expectations {X Y : Type*} (W : X → Y → ℝ≥0∞)
(hW : IsDiscreteStochastic W) (p : PMF X) (M : ℕ) (hM : 0 < M) (C : ℝ) (hC : 0 < C) :
iidExpectation p M (fun a => fullL1 (tupleOutput W a) (discreteOutputMixture W p)) ≤
ENNReal.ofReal (l1Bound W p C M) ∧
(∀ t : ℝ, -(1 / 2) ≤ t → t < 0 →
(iidExpectation p M (fun a => discreteKLDivergence (tupleOutput W a) (discreteOutputMixture W p)) : EReal) ≤
klBound W p M t) ∧
(Finite Y → iidExpectation p M (fun a => discreteKLDivergence (tupleOutput W a) (discreteOutputMixture W p)) ≤
ENNReal.ofReal (entropyBound W p M C)) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P73
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For any types , any with for every , any probability mass function on , any positive integer , and any positive real , put . For a tuple , allowing repeated entries, define and, for any , define
Write , using truncated subtraction, and , where if , if , and otherwise
Here converts extended nonnegative numbers to reals, sending to , and is embedded in . Define
where each indicated summand is zero outside its condition. The theorem asserts all three of the following:
for every real ,
and, if is finite,
The middle inequality is in the extended reals with the extended logarithm, and for , otherwise . The middle assertion has no finiteness hypothesis on . The assumptions exclude zero sample size and nonpositive , and force to be nonempty; arbitrary infinite types are otherwise allowed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.