AFTD Auto-Formalizing Theoretical Domains

SULieAlgebra.instLieRing

instanceimported Lean

⁅x, y⁆ = i (x y - y x) makes SULieAlgebra n R a Lie ring.

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
variable [Algebra ℂ R] [StarModule ℂ R] in
noncomputable instance SULieAlgebra.instLieRing : LieRing (SULieAlgebra n R)
Defined in
Physlib, `SULieAlgebra.instLieRing`
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 6
Used by 8

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
variable [Algebra ℂ R] [StarModule ℂ R] in
/-- `⁅x, y⁆ = i (x y - y x)` makes `SULieAlgebra n R` a Lie ring. -/
noncomputable instance SULieAlgebra.instLieRing : LieRing (SULieAlgebra n R) where
  add_lie x y z := Subtype.ext (by
    simp only [val_bracket, Submodule.coe_add, add_mul, mul_add, smul_add, smul_sub]
    abel)
  lie_add x y z := Subtype.ext (by
    simp only [val_bracket, Submodule.coe_add, add_mul, mul_add, smul_add, smul_sub]
    abel)
  lie_self x := Subtype.ext (by simp)
  leibniz_lie x y z := Subtype.ext (by
    simp only [val_bracket, Submodule.coe_add, mul_smul_comm, smul_mul_assoc, smul_smul,
      Complex.I_mul_I, smul_sub, mul_sub, sub_mul, mul_assoc]
    module)
See it in the graphDiscuss this resultChallenge it