ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_eq_iff
theoremverifiedformalizationimported Lean
Two angles describe the same configuration exactly when they differ by a whole number of turns.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open scoped Manifold ContDiff in lemma ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_eq_iff (θ₁ θ₂ : ℝ) : ofAngle θ₁ = ofAngle θ₂ ↔ ∃ n : ℤ, θ₂ = θ₁ + n * (2 * Real.pi)
- Formalizes
- Physlib, `ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_eq_iff`
- 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.ConfigurationSpace.ofAngle_eq_iff← ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_eq_iff (Physlib/ClassicalMechanics/Pendulum/SimplePendulum/Geometric/Basic.lean:253): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 12
- ClassicalMechanics.SimplePendulum.ConfigurationSpaceThe configuration space of the planar simple pendulum: the angle of the rod from the downward vertical, modulo
2π. - ClassicalMechanics.SimplePendulum.ConfigurationSpace.toCircle_ofCircleThe point of the unit circle of the configuration attached to a point of the unit circle is that point.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.instIsManifoldThe configuration space is an analytic manifold: every change of charts is a change of charts of the unit circle.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.extTwo configurations are equal precisely when their angles are equal.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_angleThe angle of the configuration at angle
θisθmodulo2π. - ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofCircle_toCircleThe configuration attached to the point of the unit circle of a configuration is that configuration.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.instChartedSpaceThe charts of the configuration space: the identification with the unit circle followed by a chart of the circle.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.instSecondCountableTopologyThe configuration space is second countable, being homeomorphic to the unit circle.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.instTopologicalSpaceThe topology of the configuration space, induced from
Real.Angle. - ClassicalMechanics.SimplePendulum.ConfigurationSpace.instCompactSpaceThe configuration space is compact, being homeomorphic to the unit circle.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.instT2SpaceThe configuration space is Hausdorff, being homeomorphic to the unit circle.
- ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngleThe configuration at angle
θ(measured from the downward vertical).
- ClassicalMechanics.SimplePendulum.ConfigurationSpaceThe configuration space of the planar simple pendulum: the angle of the rod from the downward vertical, modulo
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 scoped Manifold ContDiff in/-- Two angles describe the same configuration exactly when they differ by a whole number of turns. -/lemma ClassicalMechanics.SimplePendulum.ConfigurationSpace.ofAngle_eq_iff (θ₁ θ₂ : ℝ) : ofAngle θ₁ = ofAngle θ₂ ↔ ∃ n : ℤ, θ₂ = θ₁ + n * (2 * Real.pi) := by constructor · intro h obtain ⟨k, hk⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (congrArg ConfigurationSpace.angle h) exact ⟨-k, by push_cast; linarith⟩ · rintro ⟨n, rfl⟩ exact ConfigurationSpace.ext (Real.Angle.angle_eq_iff_two_pi_dvd_sub.mpr ⟨-n, by push_cast; ring⟩)