Work–energy theorem:
ProvedConservationLaws.work_energy_theoremA particle of mass moves in under a continuous time-dependent force , with . Then for all times ,
i.e. the change in kinetic energy equals the work done by the force.
import Mathlib
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 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 a natural number and a real . Let be continuous. Let with, for every : differentiable at with derivative , differentiable at with derivative , and . Conclusion: for all real (in either order),
where is the Euclidean inner product and the integral is the oriented interval integral (equal to minus the integral over when ). The position appears only through its derivative relation and plays no other role.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.