AFTD Auto-Formalizing Theoretical Domains

ClassicalMechanics.SimplePendulum.ConfigurationSpace.cos_sq_add_sin_sq

theoremverifiedformalizationimported Lean

The Pythagorean identity for the angle of a configuration.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped Manifold ContDiff in
lemma ClassicalMechanics.SimplePendulum.ConfigurationSpace.cos_sq_add_sin_sq (q : ConfigurationSpace) : q.cos ^ 2 + q.sin ^ 2 = 1
Formalizes
Physlib, `ClassicalMechanics.SimplePendulum.ConfigurationSpace.cos_sq_add_sin_sq`
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 16

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped Manifold ContDiff in
/-- The Pythagorean identity for the angle of a configuration. -/
lemma ClassicalMechanics.SimplePendulum.ConfigurationSpace.cos_sq_add_sin_sq (q : ConfigurationSpace) : q.cos ^ 2 + q.sin ^ 2 = 1 :=
  Real.Angle.cos_sq_add_sin_sq q.angle
See it in the graphDiscuss this resultChallenge it