(12) — the index of a concatenated sample is at most the product of the indices
ProvedVapnikChervonenkis.Entropy.eq12_index_append_leLet be a collection of subsets of a set , and let and be two samples. The index of on the concatenated sample is at most the product of the indices on the two parts:
Taking binary logarithms gives the subadditivity (13) of , from which the subadditivity of the entropy follows.
Formalization Note. The two parts are x : Fin k → X and y : Fin m → X, and the concatenation is Fin.append x y : Fin (k + m) → X.
import Mathlib import Definitions.Def_VapnikChervonenkis_Shared_index open MeasureTheory Filter Topology
namespace VapnikChervonenkis.Entropy
/-- Display (12) of Vapnik and Chervonenkis (1971), p. 272, Subsection 6: the index of a
concatenated sample is at most the product of the indices of its two parts,
`Δ^S(x_1, ···, x_k, x_{k+1}, ···, x_l) ≤ Δ^S(x_1, ···, x_k) Δ^S(x_{k+1}, ···, x_l)`.
The two parts are `x : Fin k → X` and `y : Fin m → X` (so `l = k + m`), joined by `Fin.append`. -/
theorem eq12_index_append_le {X : Type*} (S : Set (Set X)) {k m : ℕ} (x : Fin k → X)
(y : Fin m → X) :
Shared.index S (Fin.append x y) ≤ Shared.index S x * Shared.index S y := by sorry
end VapnikChervonenkis.Entropy
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Here is any type (no measurable structure) and is any family of subsets of . is the imported natural-number-valued "index" of a finite sample; its definition is not in the code shown.
The statement: for all natural numbers , every sample and every sample ,
The left side is the index of the concatenated sample of length , with the 's first and the 's after them. The inequality is between natural numbers.
Degenerate cases:
- If , the statement is , where is the empty sample. The case is symmetric.
- may be empty, and nothing restricts , which may also be empty. If is empty, only yields any samples.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.