ClassicalMechanics.SimplePendulum.phaseVectorField
defimported Lean
The phase-space vector field of the simple pendulum, sending (θ, θ̇) to (θ̇, -ω² sin θ). It is the right-hand side of the first-order system on the phase space equivalent to the equation of motion θ̈ + ω² sin θ = 0.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open ClassicalMechanics ClassicalMechanics.SimplePendulum in open Real in open scoped ContDiff in variable (S : SimplePendulum) in noncomputable def ClassicalMechanics.SimplePendulum.phaseVectorField (p : EuclideanSpace ℝ (Fin 1) × EuclideanSpace ℝ (Fin 1)) : EuclideanSpace ℝ (Fin 1) × EuclideanSpace ℝ (Fin 1)
- Defined in
- Physlib, `ClassicalMechanics.SimplePendulum.phaseVectorField`
- Lean proof
- By Aadarsh Agarwal, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Aadarsh Agarwal. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.ClassicalMechanics.SimplePendulum.phaseVectorField← ClassicalMechanics.SimplePendulum.phaseVectorField (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Solution.lean:123): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
- Built on 8
- ClassicalMechanics.SimplePendulumThe simple gravity pendulum is specified by the mass
mof its bob, the lengthℓof its rod, and the gravitational accelerationg.… - ClassicalMechanics.SimplePendulum.ωThe angular frequency of the simple pendulum,
ω, is defined as√(g/ℓ). It is the angular frequency of the small oscillations of the… - ClassicalMechanics.SimplePendulum.m_ne_zeroThe mass of the bob is not equal to zero.
- ClassicalMechanics.SimplePendulum.inertia_ne_zeroThe moment of inertia of the simple pendulum is not equal to zero.
- Time.instIsManifoldRealModelWithCornersSelfTopWithTopENatTime.instIsManifoldRealModelWithCornersSelfTopWithTopENat
- ClassicalMechanics.SimplePendulum.g_ne_zeroThe gravitational acceleration is not equal to zero.
- ClassicalMechanics.SimplePendulum.ℓ_ne_zeroThe length of the rod is not equal to zero.
- ClassicalMechanics.SimplePendulum.ω_posThe angular frequency of the simple pendulum is positive.
- ClassicalMechanics.SimplePendulumThe simple gravity pendulum is specified by the mass
- Used by 2
- ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitzThe phase-space vector field of the simple pendulum is globally Lipschitz, with constant
1 + ω²: the first component is the projection… - ClassicalMechanics.SimplePendulum.phaseVectorField_contDiffThe phase-space vector field of the simple pendulum is smooth: its components are the projection onto the angular velocity and
sinof…
- ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitzThe phase-space vector field of the simple pendulum is globally Lipschitz, with constant
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open ClassicalMechanics ClassicalMechanics.SimplePendulum in open Real in open scoped ContDiff in variable (S : SimplePendulum) in /-- The phase-space vector field of the simple pendulum, sending `(θ, θ̇)` to `(θ̇, -ω² sin θ)`. It is the right-hand side of the first-order system on the phase space equivalent to the equation of motion `θ̈ + ω² sin θ = 0`. -/ noncomputable def ClassicalMechanics.SimplePendulum.phaseVectorField (p : EuclideanSpace ℝ (Fin 1) × EuclideanSpace ℝ (Fin 1)) : EuclideanSpace ℝ (Fin 1) × EuclideanSpace ℝ (Fin 1) := (p.2, -(S.ω ^ 2 * Real.sin (p.1 0)) • EuclideanSpace.single 0 1)