AFTD Auto-Formalizing Theoretical Domains

EuclideanGroup.RotationsAbout.toOrigin

defimported Lean

Conjugate a rotation about p back to a rotation about the origin.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open EuclideanGroup in
variable {n} (p : EuclideanSpace ℝ (Fin n)) in
noncomputable def EuclideanGroup.RotationsAbout.toOrigin :
    RotationsAbout p →* RotationGroup n
Defined in
Physlib, `EuclideanGroup.RotationsAbout.toOrigin`
Lean proof
By Shaopeng Zhu, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Shaopeng Zhu. 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
10 Oct 2026
Axioms
none listed
Built on 9
Used by 7

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open EuclideanGroup in
variable {n} (p : EuclideanSpace ℝ (Fin n)) in
/-- Conjugate a rotation about `p` back to a rotation about the origin. -/
noncomputable def EuclideanGroup.RotationsAbout.toOrigin :
    RotationsAbout p →* RotationGroup n where
  toFun g := ⟨translationVector.incl n (Multiplicative.ofAdd (-p))
    * (g : EuclideanGroup n) * translationVector.incl n (Multiplicative.ofAdd p), by
      obtain ⟨g, hg⟩ := g
      obtain ⟨r, hr⟩ := hg
      simp; rw [hr]; simp [mul_assoc]⟩
  map_one' := by simp
  map_mul' := by
    intro x y
    obtain ⟨a, ha⟩ := x
    obtain ⟨b, hb⟩ := y
    obtain ⟨r1, hr1⟩ := ha
    obtain ⟨r2, hr2⟩ := hb
    apply Subtype.ext
    simp only [Subgroup.coe_mul]
    rw [hr1, hr2]
    simp [mul_assoc]
See it in the graphDiscuss this resultChallenge it