Diameter of a polytope:
ProvedSPOBounds.Polyhedral.diam_eq_max_verticesLet be a real normed space, let () be pairwise distinct, and let . The diameter is attained at a pair of points of the representation:
The diameter is the denominator of the strength parameter of Theorem 8; this identity makes that parameter computable from the data.
Formalization Note is Mathlib's Metric.diam S. It returns on unbounded sets, but a convex hull of finitely many points is bounded, so it is the true supremum here. The maximum is stated with IsGreatest over the finite set of values , which requires (the standing nonemptiness of §2).
import Mathlib
namespace SPOBounds.Polyhedral
/-- arXiv:1905.11488v3, §5.2, p. 25, the sentence before Theorem 8: for `S = conv{v_1, …, v_K}`
(distinct `v_i`, `K ≥ 1`), the diameter `Δ(S) = sup_{w₁, w₂ ∈ S} ‖w₁ − w₂‖` equals
`max_{i, j} ‖v_i − v_j‖`. -/
theorem diam_eq_max_vertices {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{K : ℕ} (hK : 0 < K) (v : Fin K → E) (hv : Function.Injective v)
(S : Set E) (hS : S = convexHull ℝ (Set.range v)) :
IsGreatest (Set.range fun p : Fin K × Fin K => ‖v p.1 - v p.2‖) (Metric.diam S) := by sorry
end SPOBounds.Polyhedral
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a real normed vector space; finite dimension is not assumed.
- , and are pairwise distinct.
- is assumed equal to .
- is the real-valued metric diameter . By convention, this diameter is if the set is empty or unbounded.
Claim. The theorem states that is the greatest element of the finite set . That is, both of the following hold:
- for some pair ;
- for every pair .
Together these give
Degenerate cases. Pairs with are included and contribute the value . If , then , and the claim is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.