First variation of the action
ProvedStationaryAction.first_variation_of_actionThis is equation (3.5) of the source: differentiating the action of the varied path under the integral sign.
Let , let the integrand be twice continuously differentiable jointly in its three arguments, and let the path and the variation be twice continuously differentiable. Then
the partial derivatives being evaluated along the unvaried path, at .
This is the analytic content of the chain-rule computation displayed in the source just before equation (3.5), and the point at which differentiation and integration are interchanged — a step the source performs silently. No endpoint condition on is needed here; it is needed only at the subsequent integration by parts.
Formalization Note The identity is stated for the oriented interval integral, so it is also meaningful (and asserted) in the degenerate case , where both sides are zero.
import Definitions.Def_StationaryActionCore
namespace StationaryAction
/-- Martins 2025, Chapter 3, Eq. (3.5). -/
theorem first_variation_of_action
(f : ℝ → ℝ → ℝ → ℝ) (y η : ℝ → ℝ) (x₁ x₂ : ℝ) (hx : x₁ ≤ x₂)
(hf : ContDiff ℝ 2 (fun p : ℝ × ℝ × ℝ => f p.1 p.2.1 p.2.2))
(hy : ContDiff ℝ 2 y) (hη : ContDiff ℝ 2 η) :
deriv (fun a : ℝ => action f (vary y η a) x₁ x₂) 0 =
∫ x in x₁..x₂, (η x * partialY f (y x) (deriv y x) x
+ deriv η x * partialV f (y x) (deriv y x) x) := 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.
The statement involves a function of three real arguments, two functions , and reals , under four hypotheses: (non-strict, so is allowed); the uncurried map is on ; is on ; and is on . Note that is not assumed to vanish at or .
The assertion is an equality of two real numbers. The left-hand side is the derivative at of the map
where is the derivative function of the pointwise sum .
The right-hand side is the oriented interval integral
in which denotes the derivative of at , and the derivative of at .
All derivatives are one-variable real derivatives that evaluate to at points of non-differentiability, and the interval integrals evaluate to for non-integrable integrands. When both sides are the derivative/integral over a degenerate interval.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.