A Lean Proof of the Sharp Endpoint Bound for Plane Paths of Average Curvature at Most 1

Primarily human-written textHuman understanding: all partsmath.MG — Metric Geometrycs.LO — Logic in Computer Science

Contributed by Gawain E. Kang ↗

Version 1 / Nov 29, 2026 / CC BY 4.0

Abstract

MathOverflow question 337612 asks for a lower bound on the endpoint distance of a plane path of length ll with average curvature at most 1: its unit tangent turns by at most s−ts-t between arclength parameters t<s<t+πt<s<t+\pi. The sharp answer is 2sin⁡(l/2)2\sin(l/2) for l≤2πl\le 2\pi and 00 for l>2πl>2\pi. 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 R\mathbb{R}; the reduction from the paths on [0,l][0,l] of the question is an informal step that Lean does not check. Every circle of radius r≥1r\ge 1 satisfies the condition, as its tangents at t<s<t+πt<s<t+\pi meet at angle (s−t)/r(s-t)/r; radius 1 attains the bound for l≤2πl\le 2\pi and radius l/(2π)l/(2\pi) for l>2πl>2\pi. The lower bound is the projection argument of Chern's proof of Schur's comparison theorem: for l<2πl<2\pi, with uu the unit tangent at l/2l/2, ⟨u,γ′(s)⟩≥cos⁡(s−l/2)\langle u,\gamma'(s)\rangle\ge\cos(s-l/2), and integrating gives ⟨u,γ(l)−γ(0)⟩≥2sin⁡(l/2)\langle u,\gamma(l)-\gamma(0)\rangle\ge 2\sin(l/2). 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).

Author comments: 5 pages. Lean 4 source: https://github.com/IOLIBRI/mo337612-lean (tag v1.0, commit 0f6443e).

Tools used

Lean
LeanVersion 4.37.0-rc1

References

  1. eryb, ``Lower bound of the distance between the endpoints of an average-curvature-constrained path of a given length,'' MathOverflow, question 337612, Aug. 4, 2019, and answer 338192, Aug. 12, 2019. Accessed: Nov. 28, 2026. [Online]. Available: https://mathoverflow.net/questions/337612, https://mathoverflow.net/a/338192link
  2. L. E. Dubins, ``On curves of minimal length with a constraint on average curvature, and with prescribed initial and terminal positions and tangents,'' Amer.\ J.\ Math. , vol. 79, no. 3, pp. 497--516, Jul.\ 1957, doi: 10.2307/2372560.DOI
  3. S. Eriksson-Bique, D. Kirkpatrick, and V. Polishchuk, ``Discrete Dubins paths,'' arXiv:1211.2365, 2012, doi: 10.48550/arXiv.1211.2365.arXivDOI
  4. R. B. Kusner and J. M. Sullivan, ``On distortion and thickness of knots,'' in Topology and Geometry in Polymer Science , The IMA Volumes in Mathematics and its Applications, vol. 103. New York, NY, USA: Springer, 1998, pp. 67--76, doi: 10.1007/978-1-4612-1712-1_7, arXiv:dg-ga/9702001.arXivDOI
  5. A. Schur, ``Über die Schwarzsche Extremaleigenschaft des Kreises unter den Kurven konstanter Krümmung,'' Math.\ Ann. , vol. 83, no. 1--2, pp. 143--148, Mar.\ 1921, doi: 10.1007/BF01464234.DOI
  6. S.-S. Chern, ``Curves and surfaces in Euclidean space,'' in Studies in Global Geometry and Analysis , S.-S. Chern, Ed., MAA Studies in Mathematics, vol. 4. Buffalo, NY, USA: Math.\ Assoc.\ America, 1967, pp. 16--56.
  7. J. M. Sullivan, ``Curves of finite total curvature,'' in Discrete Differential Geometry , A. I. Bobenko, J. M. Sullivan, P. Schröder, and G. M. Ziegler, Eds., Oberwolfach Seminars, vol. 38. Basel, Switzerland: Birkhäuser, 2008, pp. 137--161, doi: 10.1007/978-3-7643-8621-4_7, arXiv:math/0606007.arXivDOI
  8. The mathlib Community, ``The Lean mathematical library,'' in Proc.\ 9th ACM SIGPLAN Int.\ Conf.\ Certified Programs and Proofs (CPP 2020) , New Orleans, LA, USA, 2020, pp. 367--381, doi: 10.1145/3372885.3373824.DOI
  9. L. de Moura and S. Ullrich, ``The Lean 4 theorem prover and programming language,'' in Automated Deduction -- CADE 28 , A. Platzer and G. Sutcliffe, Eds., LNCS, vol. 12699. Cham, Switzerland: Springer, 2021, pp. 625--635, doi: 10.1007/978-3-030-79876-5_37.DOI
  10. michael-novak-math, ``feat: Frénet moving frame and Frénet equation for plane curves,'' Mathlib pull request #36731, opened Mar. 16, 2026. Accessed: Nov. 28, 2026. [Online]. Available: https://github.com/leanprover-community/mathlib4/pull/36731link
Show all 11 referencesShow fewer references
  1. M. Samarakkody, ``Formalizing the classical isoperimetric inequality in the two-dimensional case,'' arXiv:2603.14663, 2026, doi: 10.48550/arXiv.2603.14663.arXivDOI

Version history

  1. v1 · 5 pagesSubmitted by Gawain5 pages. Lean 4 source: https://github.com/IOLIBRI/mo337612-lean (tag v1.0, commit 0f6443e).CurrentNov 29, 2026