Conservation of momentum from Newton's third law
ProvedConservationLaws.momentum_conservation_of_third_lawLet particles in have masses , velocities and accelerations . Suppose the only forces are internal forces (force on due to ) obeying Newton's third law , and Newton's second law holds. Then the total momentum is constant: for all .
import Mathlib
namespace ConservationLaws
theorem momentum_conservation_of_third_law
{d N : ℕ} (m : Fin N → ℝ) (hm : ∀ i, 0 < m i)
(v a : Fin N → ℝ → EuclideanSpace ℝ (Fin d))
(F : Fin N → Fin N → ℝ → EuclideanSpace ℝ (Fin d))
(hthird : ∀ i j t, F i j t = -F j i t)
(hv : ∀ i t, HasDerivAt (v i) (a i t) t)
(hnewton : ∀ i t, m i • a i t = ∑ j, F i j t) :
∀ t s, ∑ i, m i • v i t = ∑ i, m i • v i s := by sorry
end ConservationLawsRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as drafter, non-blind
Disclosure: NON-BLIND read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source material and of the intended meaning. It is not independent or blind testimony and must not be treated as such by any reviewer. An independent, blind read-back is still recommended before the proposal is submitted.
Fix natural numbers and . Let be real numbers with for every . Let () be functions, where is Euclidean space, and let be functions for every ordered pair , including . Assume:
- for all (in particular );
- for every and every , is differentiable at with derivative ;
- for every and , (sum over all , including ).
Conclusion: for all real ,
Edge cases: makes both sums zero; makes a single point. No position functions appear. The positivity of the masses is assumed but the conclusion does not mention it.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.