Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Work–energy theorem: Δ(12m∥v∥2)=∫⟨F,v⟩ dt\Delta(\tfrac12 m\|v\|^2) = \int \langle F, v\rangle\,dtΔ(21​m∥v∥2)=∫⟨F,v⟩dt

Proved
ConservationLaws.work_energy_theorem

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

energymechanicswork

A particle of mass m>0m > 0m>0 moves in Rd\mathbb{R}^dRd under a continuous time-dependent force F(t)F(t)F(t), with m x¨(t)=F(t)m\,\ddot x(t) = F(t)mx¨(t)=F(t). Then for all times t0,t1t_0, t_1t0​,t1​,

12m∥v(t1)∥2−12m∥v(t0)∥2=∫t0t1⟨F(t),v(t)⟩ dt,\tfrac12 m\|v(t_1)\|^2 - \tfrac12 m\|v(t_0)\|^2 = \int_{t_0}^{t_1} \langle F(t), v(t)\rangle\,dt,21​m∥v(t1​)∥2−21​m∥v(t0​)∥2=∫t0​t1​​⟨F(t),v(t)⟩dt,

i.e. the change in kinetic energy equals the work done by the force.

Preamble
import Mathlib
Formal statement
namespace ConservationLaws

theorem work_energy_theorem
    {d : ℕ} (m : ℝ) (hm : 0 < m)
    (F : ℝ → EuclideanSpace ℝ (Fin d)) (hF : Continuous F)
    (x v a : ℝ → EuclideanSpace ℝ (Fin d))
    (hx : ∀ t, HasDerivAt x (v t) t)
    (hv : ∀ t, HasDerivAt v (a t) t)
    (hnewton : ∀ t, m • a t = F t) :
    ∀ t₀ t₁, (1 / 2 : ℝ) * m * ‖v t₁‖ ^ 2 - (1 / 2 : ℝ) * m * ‖v t₀‖ ^ 2 =
      ∫ t in t₀..t₁, inner ℝ (F t) (v t) := by sorry

end ConservationLaws
Source
Wikipedia, "Conservation of energy" (uploaded PDF), https://en.wikipedia.org/wiki/Conservation_of_energy (energy transferred as work); Wikipedia, "Momentum" (uploaded PDF), https://en.wikipedia.org/wiki/Momentum, section "Relation to force" (Newton's second law F=maF = m aF=ma)
Read-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 a natural number ddd and a real m>0m > 0m>0. Let F:R→RdF : \mathbb{R} \to \mathbb{R}^dF:R→Rd be continuous. Let x,v,a:R→Rdx, v, a : \mathbb{R} \to \mathbb{R}^dx,v,a:R→Rd with, for every ttt: xxx differentiable at ttt with derivative v(t)v(t)v(t), vvv differentiable at ttt with derivative a(t)a(t)a(t), and m a(t)=F(t)m\,a(t) = F(t)ma(t)=F(t). Conclusion: for all real t0,t1t_0, t_1t0​,t1​ (in either order),

12m∥v(t1)∥2−12m∥v(t0)∥2=∫t0t1⟨F(t),v(t)⟩ dt,\tfrac12 m\|v(t_1)\|^2 - \tfrac12 m\|v(t_0)\|^2 = \int_{t_0}^{t_1} \langle F(t), v(t)\rangle\,dt,21​m∥v(t1​)∥2−21​m∥v(t0​)∥2=∫t0​t1​​⟨F(t),v(t)⟩dt,

where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ is the Euclidean inner product and the integral is the oriented interval integral (equal to minus the integral over [t1,t0][t_1,t_0][t1​,t0​] when t1<t0t_1 < t_0t1​<t0​). The position xxx appears only through its derivative relation and plays no other role.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me