AFTD Auto-Formalizing Theoretical Domains

ClassicalMechanics.SimplePendulum.phaseVectorField_contDiff

theoremverifiedformalizationimported Lean

The phase-space vector field of the simple pendulum is smooth: its components are the projection onto the angular velocity and sin of the angle.

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
@[fun_prop]
lemma ClassicalMechanics.SimplePendulum.phaseVectorField_contDiff (n : WithTop ℕ∞) : ContDiff ℝ n S.phaseVectorField
Formalizes
Physlib, `ClassicalMechanics.SimplePendulum.phaseVectorField_contDiff`
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 9

Lean source view module on GitHub

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 smooth: its components are the projection onto the angular velocity and `sin` of the angle. -/@[fun_prop]lemma ClassicalMechanics.SimplePendulum.phaseVectorField_contDiff (n : WithTop ℕ∞) : ContDiff ℝ n S.phaseVectorField := by  unfold phaseVectorField  fun_prop
See it in the graphDiscuss this resultChallenge it