The minimum of the coupled spring potential, by Bjørn Kjos-Hanssen (the Lean) and AI agents under Will Cook’s direction (the page). Lean formalization: Bjørn Kjos-Hanssen, PhyslibAlpha in Physlib at be0a9ee. Page written by AI agents under Will Cook's direction; not reviewed by the author of the Lean or by a physicist. The links from the text to the Lean, the plain titles, the reading notes and the comparisons were made with AI and have not been reviewed by the authors. No mathematician has reviewed them.
Auto select follows the paper as you scroll. Hover over a marked phrase to preview its Lean and see how the two compare. Click a phrase to keep it selected in Manual.
The minimum of the coupled spring potential
Completing the square writes the coupled spring potential as
so is zero at the origin and positive everywhere else. In PhyslibAlpha, Bjørn Kjos-Hanssen proves that the origin is a local minimum by a longer route. He formalised a general second-derivative test in a companion file, applied it to , and describes the result as a proof of concept for the test.
For this function every quantity the test uses can be computed by hand, so the proof doubles as a worked example of the test. The sections below follow it in order: what the test requires (§1) and how its proof turns a positive Hessian into a minimum (§2). Then come a perturbed potential for which the completed square no longer settles the question (§3) and a hypothesis of the test’s remainder lemma that its proof does not need (§4). The last two sections derive from three springs and describe the motion it governs.
1. What the test requires
PhyslibAlpha theorem. The coupled spring potential has a local minimum at the origin. In symbols, for all in some neighbourhood of .
Kjos-Hanssen derives it from the following test. Let be real-valued on a finite-dimensional real inner product space. If is analytic at , its gradient vanishes at , and for every , then has a local minimum at .
For a quadratic, all three hypotheses can be read off a single expansion. is a polynomial, so it is analytic at every point. Expanding gives , where
The remainder is itself, evaluated at the increment. Its three-square form, which §5 derives from the springs,
together with gives . So tends to zero with , and the linear term is the derivative. Both of its coefficients vanish at , so the gradient at the origin is zero. The coefficients are linear in , so the Hessian is the same matrix at every point.
Putting the same vector in both slots of the second derivative gives back twice the remainder.
The Hessian at the origin is positive definite. In fact , with equality exactly when , where the last square vanishes.
2. How the test turns a positive Hessian into a minimum
Write . Lean packages as a quadratic map, so one lower-bound lemma serves every positive-definite of this form. On the compact unit sphere the continuous function is positive, so it attains a positive minimum there, and scaling gives for every . A zero-dimensional space contains only the point , and Lean handles it separately.
At a critical point Taylor’s theorem reads
, and the power-series lemma gives
. So for each some neighbourhood of
has throughout. Lean states this
as a little-o bound along the neighbourhood filter nhds, which lets the
proof fix first and take the neighbourhood afterwards. With
the remainder can cancel at most the quadratic lower bound,
so throughout that neighbourhood, which is Lean’s
IsLocalMin. With the same estimate gives
, which is strict for .
For every number in this argument is explicit. The minimum of on the unit circle is the smaller eigenvalue of , so , attained at . The remainder is identically zero, so the inequality holds on the whole plane, although the test reports only a local minimum.
Loading the paper…