Repository navigation
feat(PhyslibAlpha): conserve energy and axial angular momentum along central-force trajectories - #2097
Conversation
…rce trajectories Co-authored-by: Codex <codex@openai.com>
|
Thank you for this pull-request (PR). If this is your first PR, welcome to the community! While you wait for a review, note that you can review PRs too; reviewing is not restricted to maintainers. Our review guidelines explain what to look for. Over time, contributions such as reviews, maintenance and documentation are recorded on contributions.physlib.io. Three main points:
|
jstoobysmith
left a comment
There was a problem hiding this comment.
Approved - will merge now.
be0a9ee
Summary
This adds one lemma to the existing
PhyslibAlpha/ClassicalMechanics/CentralForce/AngularMomentum.leanand documents it assection D of that module. It upgrades the existing Poisson-bracket statements to conservation
along a trajectory: on a central-force trajectory away from the centre, the energy and the
signed axial angular momentum
L_zagree at any two times. No new file or definition isintroduced; the only new import is Mathlib's mean-value theorem.
Main result
CentralForce.hamiltonian_angularMomentumZ_eq_on_Icc: letS : CentralForcehave positivemass
mand a radial potentialVsmooth on positive radii. Forp q : ℝ → EuclideanSpace ℝ (Fin 3),a b t₁ t₂ : ℝ, witht₁, t₂ ∈ Icc a b,q t ≠ 0for allt ∈ Icc a b, and Hamilton's equationson
Icc a b, one haswhere
H(p,q) = ‖p‖²/(2m) + V(‖q‖)andL_z(p,q) = q₀ p₁ - q₁ p₀.Proof
For a phase-space function
fthat is differentiable at each phase-space point(p t, q t)of the trajectory and satisfies
{f,H} = 0there,hasDerivAt_comp_eq_poissonBracketidentifies the time derivative of
f(p(t),q(t))with the Poisson bracket, so the derivativevanishes.
constant_of_has_deriv_right_zerothen gives constancy on the interval. Energyuses
{H,H} = 0;L_zuses the existingpoissonBracket_angularMomentumZ_hamiltonian,whose hypothesis
q t ≠ 0is supplied by the trajectory assumption. The position andmomentum gradients are rewritten with
hasGradientAt_hamiltonian_positionandhasGradientAt_hamiltonian_momentum; differentiability ofHandL_zcomes fromcontDiffOn_hamiltonianandcontDiff_angularMomentumZ.Scope
Central force; finite time interval; trajectory away from the centre of force; Hamilton's
equations assumed on the interval. No global flow, existence/uniqueness, or time-dependent
Hamiltonian is claimed. Only energy and
L_zare covered along the trajectory;L²remains atthe Poisson-bracket level. The new result is a
lemma; notheoremis added.Verification
leaninvocation, no diagnostics).module_doc_lint,noAlphaImports,alphaFileImports,runPhyslibAlphaLinters,theorem_lint, andlint-style.pyon the changed file pass.git diff --checkis clean.lake build -KCI --iofail Physlib QuantumInfo PhyslibAlphacompletedsuccessfully (6337 jobs).
#print axioms ClassicalMechanics.CentralForce.hamiltonian_angularMomentumZ_eq_on_Iccreported only
propext,Classical.choice, andQuot.sound.References
The module's existing Goldstein reference (Section 9.7 and Chapter 3) covers the Poisson-bracket
and central-force background; no new bibliography entry is added.
AI assistance and authorship
The commit is authored by Qianli Ma and co-authored by Codex. The human author is responsible
for the statement and proof.