AFTD Auto-Formalizing Theoretical Domains

ClassicalMechanics.SimplePendulum.torque_add_int_mul_two_pi

theoremverifiedformalizationimported Lean

The torque of the simple pendulum is invariant under shifting the angle by a whole number of turns.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open ClassicalMechanics ClassicalMechanics.SimplePendulum in
open Real InnerProductSpace in
open scoped ContDiff in
variable (S : SimplePendulum) in
lemma ClassicalMechanics.SimplePendulum.torque_add_int_mul_two_pi (x : EuclideanSpace ℝ (Fin 1)) (n : ℤ) :
    S.torque (x + (n * (2 * Real.pi)) • EuclideanSpace.single 0 1) = S.torque x
Formalizes
Physlib, `ClassicalMechanics.SimplePendulum.torque_add_int_mul_two_pi`
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.
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 8

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen ClassicalMechanics ClassicalMechanics.SimplePendulum inopen Real InnerProductSpace inopen scoped ContDiff invariable (S : SimplePendulum) in/-- The torque of the simple pendulum is invariant under shifting the angle by a whole number of turns. -/lemma ClassicalMechanics.SimplePendulum.torque_add_int_mul_two_pi (x : EuclideanSpace ℝ (Fin 1)) (n : ℤ) :    S.torque (x + (n * (2 * Real.pi)) • EuclideanSpace.single 0 1) = S.torque x := by  have h0 : (x + (n * (2 * Real.pi)) • EuclideanSpace.single 0 1 : EuclideanSpace ℝ (Fin 1)) 0 =      x 0 + n * (2 * Real.pi) := by    simp  rw [torque_eq, torque_eq, h0, Real.sin_add_int_mul_two_pi]
See it in the graphDiscuss this resultChallenge it