Subadditivity of the entropy: H^S(l₁ + l₂) ≤ H^S(l₁) + H^S(l₂)
ProvedVapnikChervonenkis.Entropy.entropy_subadditivep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1probabilityvc-theory
Let 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 is subadditive: for all ,
Subadditivity is what makes converge (Lemma 3).
Formalization Note. The measurability of the index is the paper's own assumption (p. 273: "In what follows it will be assumed that the index … is measurable with respect to the measure P").
Preamble
import Mathlib import Definitions.Def_VapnikChervonenkis_Shared_index import Definitions.Def_VapnikChervonenkis_Entropy_entropy open MeasureTheory Filter Topology
Formal statement
namespace VapnikChervonenkis.Entropy
/-- Vapnik and Chervonenkis (1971), p. 273, Subsection 6: "Inequality (13) implies that
`H^S(l_1 + l_2) ≤ H^S(l_1) + H^S(l_2)`." The entropy `H^S(l) = E log₂ Δ^S(x_1, …, x_l)` is
subadditive in the sample size. `hΔ` is the paper's assumption (p. 273) that the index is a
measurable function of the sample. -/
theorem entropy_subadditive {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)) (l₁ l₂ : ℕ) :
entropy S P (l₁ + l₂) ≤ entropy S P l₁ + entropy S P l₂ := by sorry
end VapnikChervonenkis.Entropy
Source
Vapnik and Chervonenkis, On the Uniform Convergence of Relative Frequencies of Events to Their Probabilities, Theory Probab. Appl. 16 (1971), p. 273, Subsection 6 (display after "Inequality (13) implies that")
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting:
- is a type with a σ-algebra and is a probability measure on .
- is any family of subsets of . Its members are not assumed measurable.
- is the imported natural-number-valued index of a finite sample (definition not shown).
- is the Bochner integral of over the product measure. The integral is if the integrand is not integrable, and is taken to be .
Hypothesis: for every , the map , , is measurable, where every subset of counts as measurable.
Conclusion: for all ,
Degenerate cases:
- Integrability of is not assumed. If it fails for some , the corresponding is by convention, and the inequality is asserted with those values.
- For the claim is , where for the empty sample. This amounts to . The case is symmetric.
- For it again reduces to .
- may be empty and may be any type carrying a probability measure.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.