AFTD Auto-Formalizing Theoretical Domains

GroupTheory.SO3Group

instanceimported Lean

The instance of a group on SO3.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
@[simps! mul_coe one_coe inv div]
instance GroupTheory.SO3Group : Group SO3
Defined in
Physlib, `GroupTheory.SO3Group`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2024 Joseph Tooby-Smith. 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
none listed
Built on 1
  • GroupTheory.SO3The group of 3×3 real matrices with determinant 1 and A * Aᵀ = 1.
Used by 2

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
/-- The instance of a group on `SO3`. -/
@[simps! mul_coe one_coe inv div]
instance GroupTheory.SO3Group : Group SO3 where
  mul A B := ⟨A.1 * B.1,
    by
      simp only [det_mul, A.2.1, B.2.1, mul_one],
    by
      simp only [transpose_mul, Matrix.mul_assoc]
      trans A.1 * ((B.1 * (B.1)ᵀ) * (A.1)ᵀ)
      · noncomm_ring
      · simp [B.2.2, A.2.2]⟩
  mul_assoc A B C := Subtype.ext (Matrix.mul_assoc A.1 B.1 C.1)
  one := ⟨1, det_one, by rw [transpose_one, mul_one]⟩
  one_mul A := Subtype.ext (Matrix.one_mul A.1)
  mul_one A := Subtype.ext (Matrix.mul_one A.1)
  inv A := ⟨A.1ᵀ, by simp only [det_transpose, A.2],
    by simp only [transpose_transpose, mul_eq_one_comm.mpr A.2.2]⟩
  inv_mul_cancel A := Subtype.ext (mul_eq_one_comm.mpr A.2.2)
See it in the graphDiscuss this resultChallenge it