Total mass versus individual masses
ProvedEnergyMomentum.invariantMass_pairwiseLet and consider particles with masses and velocities , energies , momenta , and let be the invariant mass of the total four-momentum . Then
Since and the are invariants, the right-hand side is invariant too, although each and is measured in a particular frame.
import Mathlib import Definitions.Def_EnergyMomentum_basic
namespace EnergyMomentum
/-- Total mass versus individual masses:
`(M c²)² − ∑ₙ (mₙ c²)² = 2 ∑_{n<k} (Eₙ E_k − c² 𝐩ₙ · 𝐩_k)`. -/
theorem invariantMass_pairwise (N : ℕ) (m : Fin N → ℝ) (v : Fin N → Vec3)
(c : ℝ) (hc : 0 < c) (hm : ∀ n, 0 < m n) (hv : ∀ n, ‖v n‖ < c) :
(invariantMass c (∑ n, fourMomentum (m n) c (v n)) * c ^ 2) ^ 2
- ∑ n, (m n * c ^ 2) ^ 2
= 2 * ∑ n, ∑ k ∈ Finset.Ioi n,
(energy (m n) c (v n) * energy (m k) c (v k)
- c ^ 2 * inner ℝ (momentum (m n) c (v n)) (momentum (m k) c (v k))) := 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 natural number , functions , and real , assuming , for all and for all :
where all sums over run over , the inner sum runs over with , , , is the Euclidean inner product, and with the real square root ( on negative input). For both sides are .