Φ(n, r) ≤ r^n + 1 for n > 0
ProvedVapnikChervonenkis.GrowthFunction.phi_le_pow_add_oneLet be defined by the recurrence (1). For every and every ,
This bound turns the combinatorial estimate into the polynomial bound of Theorem 1.
Formalization Note. The inequality is non-strict, as stated on p. 266. The last sentence of the proof of Theorem 1 (p. 268) writes the strict form "for , ", which is false at (); Theorem 1 needs only the non-strict form. At the bound reads .
import Mathlib import Definitions.Def_VapnikChervonenkis_Shared_Phi
namespace VapnikChervonenkis.GrowthFunction
/-- Vapnik and Chervonenkis (1971), p. 266: "For `n > 0` and `r ≧ 0`, `Φ(n, r) ≦ r^n + 1`." -/
theorem phi_le_pow_add_one (n r : ℕ) (hn : 0 < n) :
Shared.Phi n r ≤ r ^ n + 1 := by sorry
end VapnikChervonenkis.GrowthFunction
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. and are natural numbers, and there is one hypothesis: , i.e. .
The quantity involved. is a function of two natural numbers. It is defined in a separate definitions file that is not shown, so its definition cannot be unfolded here.
Claim. For all natural numbers and all natural numbers :
The inequality is non-strict.
Degenerate cases.
- : because , , so the claim is .
- : the claim is .
- : excluded by the hypothesis, and the statement says nothing about .
The hypothesis can be satisfied, so the statement is not vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.