ClassicalMechanics.SimplePendulum
structureimported Lean
The simple gravity pendulum is specified by the mass m of its bob, the length ℓ of its rod, and the gravitational acceleration g. All three are assumed to be positive. The configuration of the pendulum is the angle of the rod from the downward vertical.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Real InnerProductSpace in structure ClassicalMechanics.SimplePendulum
- Defined in
- Physlib, `ClassicalMechanics.SimplePendulum`
- 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← ClassicalMechanics.SimplePendulum (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Basic.lean:137): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
- Used by 32
- ClassicalMechanics.SimplePendulum.potentialEnergy_leThe potential energy of the simple pendulum is at most
2 m g ℓ, its value at the top of the swing. - ClassicalMechanics.SimplePendulum.potentialEnergy_add_int_mul_two_piThe potential energy of the simple pendulum is invariant under shifting the angle by a whole number of turns.
- ClassicalMechanics.SimplePendulum.potentialEnergy_contDiffThe potential energy of the simple pendulum is a smooth function of the angle.
- ClassicalMechanics.SimplePendulum.potentialEnergyThe potential energy of the simple pendulum at the angle
xism g ℓ (1 - cos (x 0)), the work done against gravity in raising the bob… - 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.ω_sq_mul_inertiaThe square of the angular frequency times the moment of inertia is
m g ℓ, the coefficient appearing in the potential energy and in the… - ClassicalMechanics.SimplePendulum.phaseVectorFieldThe phase-space vector field of the simple pendulum, sending
(θ, θ̇)to(θ̇, -ω² sin θ). It is the right-hand side of the first-order… - ClassicalMechanics.SimplePendulum.torque_applyThe single component of the torque of the simple pendulum is
-m g ℓ sin θ. - ClassicalMechanics.SimplePendulum.inertiaThe moment of inertia of the simple pendulum about its pivot is
I = m ℓ², the moment of inertia of a point massmat distanceℓfrom… - ClassicalMechanics.SimplePendulum.potentialEnergy_nonnegThe potential energy of the simple pendulum is non-negative, the bottom of the swing being the lowest point of the circle on which the bob…
- 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.m_ne_zeroThe mass of the bob is not equal to zero.
- ClassicalMechanics.SimplePendulum.torque_add_int_mul_two_piThe torque of the simple pendulum is invariant under shifting the angle by a whole number of turns.
- ClassicalMechanics.SimplePendulum.inertia_posThe moment of inertia of the simple pendulum is positive.
- ClassicalMechanics.SimplePendulum.inertia_ne_zeroThe moment of inertia of the simple pendulum is not equal to zero.
- ClassicalMechanics.SimplePendulum.potentialEnergy_eqThe potential energy of the simple pendulum, written out.
- ClassicalMechanics.SimplePendulum.ω_ne_zeroThe angular frequency of the simple pendulum is not equal to zero.
- ClassicalMechanics.SimplePendulum.gradient_potentialEnergyThe gradient of the potential energy of the simple pendulum is
m g ℓ sin θtimes the unit vector of the angular coordinate. - ClassicalMechanics.SimplePendulum.g_ne_zeroThe gravitational acceleration is not equal to zero.
- ClassicalMechanics.SimplePendulum.separatrixEnergy_posThe separatrix energy of the simple pendulum is positive.
- ClassicalMechanics.SimplePendulum.ℓ_ne_zeroThe length of the rod is not equal to zero.
- ClassicalMechanics.SimplePendulum.potentialEnergy_eq_zero_iffThe potential energy of the simple pendulum vanishes exactly when the cosine of the angle is equal to
1, that is exactly at the bottom… - ClassicalMechanics.SimplePendulum.ω_posThe angular frequency of the simple pendulum is positive.
- ClassicalMechanics.SimplePendulum.differentiable_potentialEnergyThe potential energy of the simple pendulum is a differentiable function of the angle. This is differentiability in the angle; for…
- ClassicalMechanics.SimplePendulum.torqueThe generalized force of the simple pendulum conjugate to the angle, that is the torque about the pivot, is minus the gradient of the…
- ClassicalMechanics.SimplePendulum.inertia_smul_eq_torqueThe pointwise equation of motion in terms of the angular frequency: the moment of inertia times the acceleration
-ω² sin θis the… - ClassicalMechanics.SimplePendulum.torque_eqThe torque of the simple pendulum is
-m g ℓ sin θtimes the unit vector of the angular coordinate. It is restoring near the bottom of… - ClassicalMechanics.SimplePendulum.separatrixEnergyThe separatrix energy of the simple pendulum is
2 m g ℓ, the energy of the inverted equilibrium. It is the threshold separating the two… - ClassicalMechanics.SimplePendulum.inverse_ω_sqThe inverse of the square of the angular frequency of the simple pendulum is
ℓ/g. - ClassicalMechanics.SimplePendulum.ω_sqThe square of the angular frequency of the simple pendulum is equal to
g/ℓ. - ClassicalMechanics.SimplePendulum.separatrixEnergy_eqThe separatrix energy of the simple pendulum, written out.
- ClassicalMechanics.SimplePendulum.potentialEnergy_leThe potential energy of the simple pendulum is at most
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Real InnerProductSpace in /-- The simple gravity pendulum is specified by the mass `m` of its bob, the length `ℓ` of its rod, and the gravitational acceleration `g`. All three are assumed to be positive. The configuration of the pendulum is the angle of the rod from the downward vertical. -/ structure ClassicalMechanics.SimplePendulum where /-- The mass of the bob. -/ m : ℝ /-- The length of the massless rod. -/ ℓ : ℝ /-- The gravitational acceleration. -/ g : ℝ m_pos : 0 < m ℓ_pos : 0 < ℓ g_pos : 0 < g