math.MG — Metric Geometry
A Lean Proof of the Sharp Endpoint Bound for Plane Paths of Average Curvature at Most 1
MathOverflow question 337612 asks for a lower bound on the endpoint distance of a plane path of length with average curvature at most 1: its unit tangent turns by at most between arclength parameters . The sharp answer is for and for . A Lean 4 file of 169 lines states this answer as one IsLeast theorem over Mathlib and proves it with no unproved step (sorry). The theorem takes paths defined on all of ; the reduction from the paths on of the question is an informal step that Lean does not check. Every circle of radius satisfies the condition, as its tangents at meet at angle ; radius 1 attains the bound for and radius for . The lower bound is the projection argument of Chern's proof of Schur's comparison theorem: for , with the unit tangent at , , and integrating gives . The definition of admissible paths uses one derivative and Mathlib's unoriented angle, so it needs no curvature. The result is classical, and a web search in November 2026 found no earlier formalization of it in Lean, Isabelle or Coq (Rocq).