AFTD Auto-Formalizing Theoretical Domains

SULieAlgebra.val_ofMatrix

theoremverifiedformalizationimported Lean

The underlying matrix of ofMatrix A hA hT is A.

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
@[simp]
lemma SULieAlgebra.val_ofMatrix (A : Matrix (Fin n) (Fin n) R) (hA : star A = A) (hT : A.trace = 0) :
    (ofMatrix A hA hT).1 = A
Formalizes
Physlib, `SULieAlgebra.val_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
Classical.choiceQuot.soundpropext
Built on 3
  • SULieAlgebraTraceless hermitian n × n matrices with entries in R, as a real Lie algebra; SULieAlgebra n ℂ is su(n).
  • SULieAlgebra.ofMatrixThe element given by a traceless hermitian matrix.
  • SULieAlgebra.submoduleThe traceless hermitian n × n matrices with entries in R, as a real subspace.
Used by 15

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 underlying matrix of `ofMatrix A hA hT` is `A`. -/
@[simp]
lemma SULieAlgebra.val_ofMatrix (A : Matrix (Fin n) (Fin n) R) (hA : star A = A) (hT : A.trace = 0) :
    (ofMatrix A hA hT).1 = A := rfl
See it in the graphDiscuss this resultChallenge it