Centre-of-momentum frame:
ProvedEnergyMomentum.centre_of_momentum_energyLet and consider a finite system of particles indexed by a finite set , with masses and velocities , energies , momenta and four-momenta as above. If the system is observed in its centre-of-momentum frame, i.e.
then the total energy equals the invariant mass of the total four-momentum times :
For instance, the internal kinetic energy of a gas in a container at rest is weighed as mass.
import Mathlib import Definitions.Def_EnergyMomentum_basic
namespace EnergyMomentum
/-- Centre-of-momentum frame: if `∑ 𝐩ₙ = 0` then `∑ Eₙ = M c²`. -/
theorem centre_of_momentum_energy {ι : Type} (s : Finset ι) (m : ι → ℝ) (v : ι → Vec3)
(c : ℝ) (hc : 0 < c) (hm : ∀ n ∈ s, 0 < m n) (hv : ∀ n ∈ s, ‖v n‖ < c)
(hcom : ∑ n ∈ s, momentum (m n) c (v n) = 0) :
∑ n ∈ s, energy (m n) c (v n)
= invariantMass c (∑ n ∈ s, fourMomentum (m n) c (v n)) * c ^ 2 := by sorry
end EnergyMomentumRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind
Disclosure — this is NOT a blind read-back. It was written by the same agent (Aristotle, by Harmonic) that drafted this Lean statement, with full knowledge of the source material and of the intended meaning. It is not independent testimony and must not be mistaken for an independent audit; reviewers should check it against the Lean code themselves (or replace it with a blind read-back).
For every type , finite set , functions , and real , assuming , and for all , and assuming
we have
with , , , . The zero-total-momentum hypothesis is satisfiable (e.g. empty, or all ). If is empty both sides are .