The shortest path between two points is a straight line
ProvedStationaryAction.stationary_arclength_is_affineThis is the worked example that closes Chapter 3 of the source: the stationary paths of the arc-length functional are the straight lines.
The length of the graph of over is
i.e. the action for the integrand , which does not depend on or on . If , is twice continuously differentiable and makes this functional stationary against all admissible variations, then there are constants and with
The source reaches this through equations (3.10)–(3.13): , so is constant, whence is constant and is affine. It is the first non-trivial consequence of the Euler–Lagrange equation in the monograph, and the one that motivates the question it raises next: whether the shortest path is also the fastest.
Formalization Note The conclusion is an affine formula valid on ; nothing is claimed about outside that interval, where the stationarity hypothesis says nothing.
import Definitions.Def_StationaryActionCore
namespace StationaryAction
/-- Martins 2025, Chapter 3, Eqs. (3.10)–(3.13). -/
theorem stationary_arclength_is_affine
(y : ℝ → ℝ) (x₁ x₂ : ℝ) (hx : x₁ < x₂) (hy : ContDiff ℝ 2 y)
(hstat : IsStationaryPath (fun _ v _ => Real.sqrt (1 + v ^ 2)) y x₁ x₂) :
∃ c b : ℝ, ∀ x ∈ Set.Icc x₁ x₂, y x = c * x + b := by sorry
end StationaryActionRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Note on the provenance of this read-back — please read before relying on it. This read-back is not blind and not independent testimony. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner, and its author knew the intended meaning of the code while writing it. It therefore cannot play the role an independent auditor's read-back plays: it cannot be expected to surface a gap between what the statement was meant to say and what it actually says, because the same understanding produced both texts. No reviewer should treat it as independent corroboration of faithfulness. If independent testimony is wanted, a blind read-back by a separate auditor should be commissioned and this text replaced.
Let and let be reals with , and assume is on .
The substantive hypothesis is that is a stationary path on for the integrand , which ignores its first and third arguments: that is, for every function with , the derivative at of
equals , where is the derivative function of and the square root is the real square root (which returns on negative inputs, though its argument here is at least ).
The conclusion asserts the existence of two real numbers and such that for every in the closed interval one has . The constants are not claimed to be unique, and no claim whatsoever is made about the values of outside .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.