pith. machine review for the scientific record. sign in
def definition def or abbrev

harmonicFlow

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

 188noncomputable def harmonicFlow (m k : ℝ) (_hm : m > 0) (_hk : k > 0) : ℝ → PhasePoint → PhasePoint :=

proof body

Definition body.

 189  fun t pt =>
 190    let ω := Real.sqrt (k / m)
 191    { q := pt.q * Real.cos (ω * t) + pt.p / (m * ω) * Real.sin (ω * t)
 192      p := pt.p * Real.cos (ω * t) - m * ω * pt.q * Real.sin (ω * t) }
 193
 194/-- **THEOREM**: Energy is conserved along harmonic oscillator flow.
 195
 196    This is an explicit verification of energy conservation for the
 197    harmonic oscillator, showing that Noether's theorem works. -/

used by (1)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (13)

Lean names referenced from this declaration's body.