Lemma 3 — H^S(l)/l has a limit c ∈ [0, 1]
ProvedVapnikChervonenkis.Entropy.lemma3_entropy_rate_limitLet be a probability space and a collection of subsets of such that the index is a measurable function of the sample for every . Then the entropy per observation converges: there is a number with such that
The limit is the asymptotic entropy rate of the class. Theorem 4 states that uniform convergence in probability holds exactly when .
Formalization Note. The measurability of the index is the paper's own assumption (p. 273). ranges over and is a real quotient (its value at does not affect the limit).
import Mathlib import Definitions.Def_VapnikChervonenkis_Shared_index import Definitions.Def_VapnikChervonenkis_Entropy_entropy open MeasureTheory Filter Topology
namespace VapnikChervonenkis.Entropy
/-- **Lemma 3** of Vapnik and Chervonenkis (1971), p. 273: the sequence `H^S(l)/l` has a limit
`c` with `0 ≤ c ≤ 1` as `l → ∞`. `hΔ` is the paper's assumption (p. 273) that the index is a
measurable function of the sample. -/
theorem lemma3_entropy_rate_limit {X : Type*} [MeasurableSpace X] (P : Measure X)
[IsProbabilityMeasure P] (S : Set (Set X))
(hΔ : ∀ l : ℕ, Measurable (fun x : Fin l → X => Shared.index S x)) :
∃ c : ℝ, 0 ≤ c ∧ c ≤ 1 ∧
Tendsto (fun l : ℕ => entropy S P l / (l : ℝ)) atTop (𝓝 c) := by sorry
end VapnikChervonenkis.Entropy
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting:
- is a type with a σ-algebra, is a probability measure on , and is any family of subsets of (not assumed measurable).
- is the imported natural-number-valued index of a finite sample (definition not shown).
- , with and the integral equal to when the integrand is not integrable.
Hypothesis: for every , the map on is measurable.
Conclusion: there exists a real number with such that
where the limit is taken over natural numbers .
Degenerate cases:
- At the quotient is a division by zero, which gives by convention. A single term does not affect the limit.
- Integrability is not assumed. Wherever it fails, the corresponding is and enters the sequence as .
- The statement asserts existence of a limit in for every and every probability measure satisfying the measurability hypothesis, including .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.