Theorem 0.0.2 — Approximate Carathéodory's theorem
ProvedHighDimProb.Appetizer.approx_caratheodoryThis is the approximate Carathéodory theorem — B. Maurey's "empirical method" — for a bounded subset of Euclidean space.
Let be a set of diameter at most (in the Euclidean norm ), and let denote its convex hull: the set of all finite convex combinations of points of . Fix a point and a positive integer . The theorem asserts that there exist points (repetitions among the are allowed) such that
In other words, can be approximated by the average of points of , to accuracy , with all coefficients equal to . Two features make this surprising when compared with the classical (exact) Carathéodory theorem: the number of points needed for a given accuracy does not depend on the ambient dimension at all, and the convex-combination coefficients can be taken uniform rather than arbitrary nonnegative weights summing to one.
The result underlies the probabilistic ("empirical") method throughout high-dimensional probability: is realized as the expectation of a random vector supported on , and an averaged sample of independent copies concentrates around its mean at rate by a variance (weak-law-of-large-numbers) computation.
Formalization Note is a subset of EuclideanSpace ℝ (Fin n) for an explicit
n : ℕ, so ‖·‖ is the Euclidean () norm and Metric.diam is Mathlib's diameter,
which for this space agrees with .
conv(T) is Mathlib's convexHull ℝ T; by convexHull_eq this already unfolds to the
book's own definition (Eq. 0.1) of a convex combination of finitely many points of , so
no separate definition is introduced. The quantifiers are exactly the book's: for every
, every , and every (the hypothesis makes
and meaningful; the book's "every integer " is implicitly positive).
The book's "diameter bounded by " is rendered as two hypotheses, Bornology.IsBounded T
and Metric.diam T ≤ 1, because Mathlib's Metric.diam returns on unbounded sets; without
the boundedness hypothesis the statement would also assert the conclusion for unbounded ,
where it is false.
import Mathlib
namespace HighDimProb.Appetizer
/-- **Theorem 0.0.2** (Approximate Carathéodory's theorem), Vershynin,
*High-Dimensional Probability* (2018), p. 2.
Consider a set `T ⊆ ℝⁿ` whose diameter is bounded by `1` (so `T` is bounded and
`diam T ≤ 1`; Mathlib's `Metric.diam` is `0` on unbounded sets, hence the explicit
boundedness hypothesis). Then, for every point
`x ∈ conv(T)` and every positive integer `k`, one can find points
`x₁, …, x_k ∈ T` such that `‖x − (1/k) ∑ⱼ xⱼ‖₂ ≤ 1/√k`. -/
theorem approx_caratheodory {n : ℕ} (T : Set (EuclideanSpace ℝ (Fin n)))
(hTb : Bornology.IsBounded T) (hT : Metric.diam T ≤ 1)
(x : EuclideanSpace ℝ (Fin n)) (hx : x ∈ convexHull ℝ T)
(k : ℕ) (hk : 0 < k) :
∃ x' : Fin k → EuclideanSpace ℝ (Fin n), (∀ j, x' j ∈ T) ∧
‖x - (k : ℝ)⁻¹ • ∑ j, x' j‖ ≤ 1 / Real.sqrt k := by sorry
end HighDimProb.Appetizer
Read-back
What the Lean code literally says, in plain math · claude-fable-5-1
Fix a natural number (which may be ) and work in the real Euclidean space equipped with the standard Euclidean () norm . The statement takes the following data and hypotheses:
- a subset ;
- the hypothesis that is bounded (contained in some ball of finite radius);
- the hypothesis that the diameter of is at most , i.e. , where the diameter is the supremum of over (with the convention, inherited from the library's definition, that the diameter of an unbounded set — or of the empty set — is ; the separate boundedness hypothesis rules out the unbounded case, but the empty set still satisfies both hypotheses);
- a point ;
- the hypothesis that lies in the convex hull of over , i.e. is a finite convex combination of points of (if is empty this hypothesis cannot hold, so the theorem is vacuous in that case);
- a natural number ;
- the hypothesis , so .
Under these hypotheses, the theorem asserts the existence of a finite sequence of points (indexed by , repetitions allowed) such that both of the following hold:
- every point of the sequence lies in : for all ;
- the Euclidean distance from to the arithmetic mean of the sequence is at most :
where is the real reciprocal of (well-defined and positive since ), is the real square root of , and the inequality is non-strict.
Nothing is asserted about the points being distinct, about the choice of being unique, or about any for which fails; when the space is a single point and the conclusion reduces to .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.