ClassicalMechanics.SimplePendulum.torque
defimported Lean
The generalized force of the simple pendulum conjugate to the angle, that is the torque about the pivot, is minus the gradient of the potential energy, τ = -∂V/∂θ.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open ClassicalMechanics ClassicalMechanics.SimplePendulum in open Real InnerProductSpace in variable (S : SimplePendulum) in open scoped ContDiff in noncomputable def ClassicalMechanics.SimplePendulum.torque (x : EuclideanSpace ℝ (Fin 1)) : EuclideanSpace ℝ (Fin 1)
- Defined in
- Physlib, `ClassicalMechanics.SimplePendulum.torque`
- 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.torque← ClassicalMechanics.SimplePendulum.torque (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Basic.lean:582): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
- Built on 7
- ClassicalMechanics.SimplePendulumThe simple gravity pendulum is specified by the mass
mof its bob, the lengthℓof its rod, and the gravitational accelerationg.… - 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.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 4
- ClassicalMechanics.SimplePendulum.torque_applyThe single component of the torque of the simple pendulum is
-m g ℓ sin θ. - 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_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.torque_applyThe single component of the torque of the simple pendulum is
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open ClassicalMechanics ClassicalMechanics.SimplePendulum in open Real InnerProductSpace in variable (S : SimplePendulum) in open scoped ContDiff in /-- The generalized force of the simple pendulum conjugate to the angle, that is the torque about the pivot, is minus the gradient of the potential energy, `τ = -∂V/∂θ`. -/ noncomputable def ClassicalMechanics.SimplePendulum.torque (x : EuclideanSpace ℝ (Fin 1)) : EuclideanSpace ℝ (Fin 1) := -gradient S.potentialEnergy x