Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

sl(3): rank 2 and diagonal Cartan basis

Proved
QAlgorithms.Papers.Independent.Gap48.P15.sl3_rank_cartan

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All matrices and spans are over R\mathbb RR, and the Lie bracket is [X,Y]=XY−YX[X,Y]=XY-YX[X,Y]=XY−YX. The source uses one-based matrix indices. Write FpqF_{pq}Fpq​ for the matrix unit, Jpq=Fpq−FqpJ_{pq}=F_{pq}-F_{qp}Jpq​=Fpq​−Fqp​ and Zpq=Fpq+FqpZ_{pq}=F_{pq}+F_{qp}Zpq​=Fpq​+Fqp​. Here rank means Lie rank, and a Cartan subalgebra means a nilpotent, self-normalizing Lie subalgebra.

Let L=sl(3,R)L=\mathfrak{sl}(3,\mathbb R)L=sl(3,R) and let b7=F11−F22b_7=F_{11}-F_{22}b7​=F11​−F22​ and b8=F11−F33b_8=F_{11}-F_{33}b8​=F11​−F33​, as in the displayed source computation. Then

rank⁡L=2,(b7,b8) is a basis of a Cartan subalgebra of L.\operatorname{rank}L=2,\qquad (b_7,b_8)\text{ is a basis of a Cartan subalgebra of }L.rankL=2,(b7​,b8​) is a basis of a Cartan subalgebra of L.

The resulting Cartan is the trace-zero diagonal subalgebra and retains the displayed starting element b7b_7b7​.

The explicit family is asserted to be linearly independent and to span the indicated subalgebra; these properties are conclusions. This records the mathematical assertion accompanying the source output.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P15
Formal statement
namespace QAlgorithms.Papers.Independent.Gap48.P15

attribute [local instance 100] LieRing.ofAssociativeRing

-- Reuse Mathlib Matrix and Matrix.single directly. Natural one-based
-- coordinates are restricted to Fin coordinates with Matrix.submatrix.

/-- sl(3) has rank 2 and Cartan basis [b7,b8].
Source: PDF p. 11. The displayed input and matrices use b7; the preceding prose
says b8. We follow the input/output formulas, without correcting the general routine. -/
theorem sl3_rank_cartan :
    LieAlgebra.rank ℝ (LieAlgebra.SpecialLinear.sl (Fin 3) ℝ) = 2 ∧
    isCartanBasisFor (LieAlgebra.SpecialLinear.sl (Fin 3) ℝ)
      ![((Matrix.single 1 1 (1 : ℝ)).submatrix
      (fun i : Fin 3 => i.val + 1) (fun j : Fin 3 => j.val + 1)) - ((Matrix.single 2 2 (1 : ℝ)).submatrix
      (fun i : Fin 3 => i.val + 1) (fun j : Fin 3 => j.val + 1)),
        ((Matrix.single 1 1 (1 : ℝ)).submatrix
      (fun i : Fin 3 => i.val + 1) (fun j : Fin 3 => j.val + 1)) - ((Matrix.single 3 3 (1 : ℝ)).submatrix
      (fun i : Fin 3 => i.val + 1) (fun j : Fin 3 => j.val + 1))] := by sorry

end QAlgorithms.Papers.Independent.Gap48.P15
Source
Algorithm to compute the rank and a Cartan subalgebra of a matrix Lie algebra with Mathematica, arXiv:math/0205235v1, PDF p. 11, sl(3): rank 2 and diagonal Cartan basis
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let L={A∈M3(R):tr⁡(A)=0}L=\{A\in M_3(\mathbb R):\operatorname{tr}(A)=0\}L={A∈M3​(R):tr(A)=0}, with commutator bracket. The Lie-algebra rank of LLL over R\mathbb RR equals 222, and there exists a Cartan subalgebra HHH of LLL, meaning a nilpotent Lie subalgebra whose normalizer in LLL is itself, such that the ordered family

(diag⁡(1,−1,0), diag⁡(1,0,−1))\bigl(\operatorname{diag}(1,-1,0),\ \operatorname{diag}(1,0,-1)\bigr)(diag(1,−1,0), diag(1,0,−1))

is linearly independent over R\mathbb RR and its real linear span in M3(R)M_3(\mathbb R)M3​(R) equals the image of HHH under inclusion.

Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 21, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me