Principle of least action: Lagrange's equations
ProvedClassicalDynamics.principle_of_least_actionTong, eq. (2.8). Let be a smooth Lagrangian on , let be a smooth path, and let .
Then the action
is stationary at with respect to every smooth variation vanishing at the endpoints — that is, for every smooth with the function is differentiable at with derivative — if and only if satisfies Lagrange's equations
at every interior time and in every coordinate .
This is the statement Tong derives by varying the path, integrating by parts, and discarding the boundary term; the reverse implication is the elementary direction.
import Definitions.Def_ClassicalDynamics_core
namespace ClassicalDynamics
/-- Tong, eq. (2.8): the principle of least action. -/
theorem principle_of_least_action {n : ℕ} (L : Lagrangian n)
(hL : IsSmoothLagrangian L) (q : ℝ → Fin n → ℝ) (hq : ContDiff ℝ (⊤ : ℕ∞) q)
(t₁ t₂ : ℝ) (ht : t₁ < t₂) :
(∀ h : ℝ → Fin n → ℝ, ContDiff ℝ (⊤ : ℕ∞) h → h t₁ = 0 → h t₂ = 0 →
HasDerivAt (fun s : ℝ => action L (fun t => q t + s • h t) t₁ t₂) 0 0)
↔ (∀ (i : Fin n), ∀ t ∈ Set.Ioo t₁ t₂,
HasDerivAt (fun s : ℝ => dLdv L i s (q s) (vel q s))
(dLdq L i t (q t) (vel q t)) t) := by sorry
end ClassicalDynamicsRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — the drafting agent itself; see the notice above
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements in this proposal, not by an independent blind auditor. Its author knew what the code was intended to say, so it cannot serve the usual purpose of catching a mismatch between intent and code. Treat it as an aid to reading the Lean, and obtain an independent blind read-back before relying on it during the audit.
Fix a natural number , a Lagrangian on the configuration space of -tuples of reals, a path , and two reals . Assume: is jointly in ; is ; and .
The claim is an equivalence between the following two statements.
(A) Stationarity. For every map that is and satisfies and (the zero tuple in both cases), the real function
is differentiable at and its derivative there is . The inner time derivative is taken coordinatewise and is a total operation returning where it does not exist; the outer integral is the oriented interval integral, returning for a non-integrable integrand. Note that is constrained only at the two endpoints — it need not vanish outside , though only its values on that interval affect the integral.
(B) Lagrange's equations on the open interval. For every index and every with (endpoints excluded), the function
is differentiable at with derivative exactly , where the two partial derivatives are one-variable derivatives in the -th position slot and the -th velocity slot respectively, all other entries held fixed.
The assertion is that (A) holds if and only if (B) holds. Both directions are claimed. When both sides hold trivially: the only tuple is the empty one, so the integrand does not depend on and there are no indices .
Confirmed by the mission captain (proposal self-audit).