AFTD Auto-Formalizing Theoretical Domains

SULieAlgebra.ofMatrix

defimported Lean

The element given by a traceless hermitian matrix.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SULieAlgebra in
open Matrix TensorProduct ComplexStarModule in
variable {n : ℕ} {R : Type*} [CommRing R] [StarRing R] [Algebra ℝ R] [StarModule ℝ R] in
def SULieAlgebra.ofMatrix (A : Matrix (Fin n) (Fin n) R) (hA : star A = A) (hT : A.trace = 0) :
    SULieAlgebra n R
Defined in
Physlib, `SULieAlgebra.ofMatrix`
Lean proof
By Jinzheng Li, Nathaneal Sajan, Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 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 2
  • SULieAlgebraTraceless hermitian n × n matrices with entries in R, as a real Lie algebra; SULieAlgebra n ℂ is su(n).
  • SULieAlgebra.submoduleThe traceless hermitian n × n matrices with entries in R, as a real subspace.
Used by 6

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SULieAlgebra in
open Matrix TensorProduct ComplexStarModule in
variable {n : ℕ} {R : Type*} [CommRing R] [StarRing R] [Algebra ℝ R] [StarModule ℝ R] in
/-- The element given by a traceless hermitian matrix. -/
def SULieAlgebra.ofMatrix (A : Matrix (Fin n) (Fin n) R) (hA : star A = A) (hT : A.trace = 0) :
    SULieAlgebra n R := ⟨A, hA, hT⟩
See it in the graphDiscuss this resultChallenge it