def
definition
def or abbrev
harmonicEnergy
show as:
view Lean formalization →
formal statement (Lean)
184noncomputable def harmonicEnergy (m k : ℝ) (pt : PhasePoint) : ℝ :=
proof body
Definition body.
185 pt.p^2 / (2 * m) + k * pt.q^2 / 2
186
187/-- Harmonic oscillator flow (exact solution). -/