Virial of potential pair forces:
ProvedVirialTheorem.virial_central_potentialclassical-mechanicsvirial-theorem
Let be pairwise distinct and let be pair potentials with , each () differentiable at . With and ,
Preamble
import Mathlib import Definitions.Def_virial_theorem_defs open Filter Topology
Formal statement
namespace VirialTheorem
theorem virial_central_potential {N : ℕ} (V : Fin N → Fin N → ℝ → ℝ) (x : Fin N → Space)
(hsymm : ∀ j k, V j k = V k j)
(hx : ∀ j k, j ≠ k → x j ≠ x k)
(hV : ∀ j k, j ≠ k → DifferentiableAt ℝ (V j k) (dist (x k) (x j))) :
∑ k, inner ℝ (netPairForce V x k) (x k) =
-∑ k, ∑ j ∈ Finset.univ.filter (fun j => j < k),
deriv (V j k) (dist (x k) (x j)) * dist (x k) (x j) := by sorry
end VirialTheoremSource
Wikipedia, "Virial theorem" (article supplied as Virial_theorem.pdf), https://en.wikipedia.org/wiki/Virial_theorem, section 'Connection with the potential energy between particles' (final formula)
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - drafting agent, non-blind
Non-blind read-back. This read-back is not independent testimony. It was written by the same agent that drafted the Lean statements, with full knowledge of the source article and of the intended meaning. Reviewers must not treat it as a blind audit; an independent read-back should still be obtained before relying on it.
Let , pair potentials and , with (i) for all ; (ii) for ; (iii) differentiable at for all . Then, with the net pair force,
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.