Corollary 0.0.4 — Covering polytopes by balls
ProvedHighDimProb.Appetizer.covering_polytopes_by_ballsThis is the covering-polytopes-by-balls corollary of the approximate Carathéodory theorem, an application to the covering problem in computational geometry.
Let be a polytope of diameter at most (in the Euclidean norm), presented as the convex hull of its finite vertex set with — this is how the book itself identifies "a polytope with vertices" with . Fix a radius and set . The corollary asserts that there is a finite set of centers with
such that is covered by the Euclidean balls of radius centered at the points of :
The centers are taken to be all averages of vertices of (with repetition), so is bounded by the number of such -tuples; the approximate Carathéodory theorem (Theorem 0.0.2) guarantees that every point of lies within of one of these averages, hence within one of the balls. This gives a covering bound for polytopes that depends only on the number of vertices and the target accuracy , not on the ambient dimension .
Formalization Note As in Theorem 0.0.2, EuclideanSpace ℝ (Fin n) carries the
Euclidean norm and Mathlib's Metric.diam/Metric.closedBall. The exponent
is Mathlib's Nat.ceil, written ⌈(1:ℝ)/ε^2⌉₊. The bound
on the right is raised to the power (matching the
book's proof, which counts ordered -tuples of vertices with repetition), not a product
— the typeset "" in the
corollary's statement is the same juxtaposition-as-exponent the book uses for "" two
lines earlier in its own proof.
import Mathlib
namespace HighDimProb.Appetizer
/-- **Corollary 0.0.4** (Covering polytopes by balls), Vershynin,
*High-Dimensional Probability* (2018), p. 3.
Let `P` be a polytope in `ℝⁿ` with `N` vertices and whose diameter is bounded
by `1`; identify `P` with the convex hull of its finite vertex set `T`
(`#T = N`), exactly as the book's own proof does. Then `P` can be covered by
at most `N ^ ⌈1/ε²⌉` Euclidean balls of radius `ε > 0`. -/
theorem covering_polytopes_by_balls {n N : ℕ} (T : Finset (EuclideanSpace ℝ (Fin n)))
(hTcard : T.card = N) (hTdiam : Metric.diam (T : Set (EuclideanSpace ℝ (Fin n))) ≤ 1)
(ε : ℝ) (hε : 0 < ε) :
∃ centers : Finset (EuclideanSpace ℝ (Fin n)),
centers.card ≤ N ^ ⌈(1 : ℝ) / ε ^ 2⌉₊ ∧
convexHull ℝ (T : Set (EuclideanSpace ℝ (Fin n))) ⊆
⋃ c ∈ centers, Metric.closedBall c ε := by sorry
end HighDimProb.Appetizer
Read-back
What the Lean code literally says, in plain math · claude-fable-5-1
Fix an ambient dimension (which may be , in which case the space is a single point) and a natural number (which may be ). Let be a finite set of points in equipped with the Euclidean norm, and assume:
- (the number of points in is exactly );
- , where is the Euclidean diameter of the set itself (not of its convex hull; note that the diameter of a finite set of points equals the diameter of its convex hull, but the hypothesis as written is on ). By the conventions in use, the diameter of the empty set is , so the hypothesis holds trivially when (i.e. ).
Let be a real number with .
Then the statement asserts the existence of a finite set of points in (the "centers") such that both of the following hold:
where is the ceiling of the real number , taken as a natural number (since , the quantity is a positive real, so this is the ordinary ceiling; in particular it is , and equals whenever ), and the exponentiation is natural-number exponentiation; and
where is the convex hull of in (the empty set if ) and is the closed Euclidean ball of radius centered at .
Edge cases silently included: if then , the bound reads (since the exponent is ), so must be empty, and the covering condition holds; the statement is then trivially true. If , the right-hand side is at least . No hypothesis restricts from above, so may exceed the diameter of ; no hypothesis requires the points of to be in general position, affinely independent, or to be the actual vertices of their convex hull (some points of may lie in the convex hull of the others, so counts points of , not necessarily extreme points). The centers are arbitrary points of , not required to lie in or in . The covering is by closed balls, and the statement asserts only the existence of some such finite family, with a bound on its cardinality that is a natural number inequality (, not ).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.