ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitz
theoremverifiedformalizationimported Lean
The phase-space vector field of the simple pendulum is globally Lipschitz, with constant 1 + ω²: the first component is the projection onto the angular velocity, and the second is -ω² times sin of the angle, and sin is Lipschitz with constant one.
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 lemma ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitz : LipschitzWith (Real.toNNReal (1 + S.ω ^ 2)) S.phaseVectorField
- Formalizes
- Physlib, `ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitz`
- 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_lipschitz← ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitz (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Solution.lean:136): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 9
- 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.phaseVectorFieldThe phase-space vector field of the simple pendulum, sending
(θ, θ̇)to(θ̇, -ω² sin θ). It is the right-hand side of the first-order… - 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
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen ClassicalMechanics ClassicalMechanics.SimplePendulum inopen Real inopen scoped ContDiff invariable (S : SimplePendulum) in/-- The phase-space vector field of the simple pendulum is globally Lipschitz, with constant `1 + ω²`: the first component is the projection onto the angular velocity, and the second is `-ω²` times `sin` of the angle, and `sin` is Lipschitz with constant one. -/lemma ClassicalMechanics.SimplePendulum.phaseVectorField_lipschitz : LipschitzWith (Real.toNNReal (1 + S.ω ^ 2)) S.phaseVectorField := by refine LipschitzWith.of_dist_le_mul fun p q => ?_ rw [Real.coe_toNNReal _ (by positivity), Prod.dist_eq, add_mul, one_mul] apply max_le _ _ · apply le_trans _ (le_add_of_nonneg_right (by positivity)) exact le_max_right _ _ · apply le_trans _ (le_add_of_nonneg_left (by positivity)) apply le_trans (dist_pair_smul _ _ _) rw [dist_neg_neg, dist_eq_norm, norm_eq_abs, ← mul_sub, abs_mul, abs_of_nonneg (sq_nonneg _), mul_assoc, mul_le_mul_iff_right₀ (pow_succ_pos S.ω_pos _), dist_zero_right, PiLp.norm_single, norm_one, mul_one] apply le_trans _ (le_max_left _ _) apply le_trans (Real.abs_sin_sub_sin_le _ _) rw [dist_eq_norm, ← Real.norm_eq_abs, ← PiLp.sub_apply] exact PiLp.norm_apply_le _ _