ClassicalMechanics.SimplePendulum.potentialEnergy
defimported Lean
The potential energy of the simple pendulum at the angle x is m g ℓ (1 - cos (x 0)), the work done against gravity in raising the bob from the bottom of the swing. It is normalized to vanish at the bottom.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open ClassicalMechanics in open Real InnerProductSpace in variable (S : SimplePendulum) in open scoped ContDiff in noncomputable def ClassicalMechanics.SimplePendulum.potentialEnergy (x : EuclideanSpace ℝ (Fin 1)) : ℝ
- Defined in
- Physlib, `ClassicalMechanics.SimplePendulum.potentialEnergy`
- 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.potentialEnergy← ClassicalMechanics.SimplePendulum.potentialEnergy (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Basic.lean:275): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
- Built on 6
- ClassicalMechanics.SimplePendulumThe simple gravity pendulum is specified by the mass
mof its bob, the lengthℓof its rod, and the gravitational accelerationg.… - 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.
- 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 11
- 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.
- Lorentz.Vector.ofTemporalComponentThe continuous linear map corresponding to the creation of a Lorentz Vector with only a non-zero temporal component.
- 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.potentialEnergy_eqThe potential energy of the simple pendulum, written out.
- 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.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.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.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.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 ClassicalMechanics in open Real InnerProductSpace in variable (S : SimplePendulum) in open scoped ContDiff in /-- The potential energy of the simple pendulum at the angle `x` is `m g ℓ (1 - cos (x 0))`, the work done against gravity in raising the bob from the bottom of the swing. It is normalized to vanish at the bottom. -/ noncomputable def ClassicalMechanics.SimplePendulum.potentialEnergy (x : EuclideanSpace ℝ (Fin 1)) : ℝ := S.m * S.g * S.ℓ * (1 - Real.cos (x 0))