The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.Cartan.Basic
88 declarations and 18 deprecated aliases. Mathlib docs · Source
Cartan matrices
This file defines Cartan matrices for simple Lie algebras, both the exceptional types (E₆, E₇, E₈, F₄, G₂) and the classical infinite families (A, B, C, D), as well as the generalized Eₙ family obtained by continuing the E-type Dynkin diagram.
It also defines the predicate that a matrix is a finite-type Cartan matrix Matrix.IsFiniteCartan.
Main definitions
Exceptional types and the E family
CartanMatrix.E: The Cartan matrix of type EₙCartanMatrix.F₄: The Cartan matrix of type F₄CartanMatrix.G₂: The Cartan matrix of type G₂
Classical types
CartanMatrix.A: The Cartan matrix of type Aₙ₋₁ (corresponding to sl(n))CartanMatrix.B: The Cartan matrix of type Bₙ (corresponding to so(2n+1))CartanMatrix.C: The Cartan matrix of type Cₙ (corresponding to sp(2n))CartanMatrix.D: The Cartan matrix of type Dₙ (corresponding to so(2n))
References
- [N. Bourbaki, Lie Groups and Lie Algebras, Chapters 4--6][bourbaki1968] plates I -- IX
- [J. Humphreys, Introduction to Lie Algebras and Representation Theory][humphreys1972] Chapter 11
Tags
cartan matrix, lie algebra, dynkin diagram
Exceptional Cartan matrices
Classical Cartan matrices
Properties
Transpose properties
Small cases
Exceptional matrix diagonal entries
Exceptional matrix off-diagonal entries
Exceptional matrix transpose properties
Exceptional matrix determinants
The determinants of E₆, E₇, E₈ are 3, 2, 1 respectively.
The Cartan matrices F₄ and G₂ are not simply laced because they contain off-diagonal entries that are neither 0 nor -1.
theorem Matrix.IsFiniteCartan.congr_simp E1 #
∀ {ι : Type u_1} [inst : Fintype ι] {inst_1 : DecidableEq ι} [inst_2 : DecidableEq ι] (M M_1 : Matrix ι ι ℤ),
M = M_1 → M.IsFiniteCartan = M_1.IsFiniteCartan
def CartanMatrix.E E1 #
(n : ℕ) → Matrix (Fin n) (Fin n) ℤ
The generalized Cartan matrix of type Eₙ, extending E₆, E₇, E₈ by the same Dynkin-diagram pattern.
theorem CartanMatrix.E_six_eq E0 #
CartanMatrix.E 6 =
!![2, 0, -1, 0, 0, 0;
0, 2, 0, -1, 0, 0;
-1, 0, 2, -1, 0, 0;
0, -1, -1, 2, -1, 0;
0, 0, 0, -1, 2, -1;
0, 0, 0, 0, -1, 2]
E 6 is the Cartan matrix of type E₆. See [bourbaki1968] plate V, page 277.
theorem CartanMatrix.E_seven_eq E0 #
CartanMatrix.E 7 =
!![2, 0, -1, 0, 0, 0, 0;
0, 2, 0, -1, 0, 0, 0;
-1, 0, 2, -1, 0, 0, 0;
0, -1, -1, 2, -1, 0, 0;
0, 0, 0, -1, 2, -1, 0;
0, 0, 0, 0, -1, 2, -1;
0, 0, 0, 0, 0, -1, 2]
E 7 is the Cartan matrix of type E₇. See [bourbaki1968] plate VI, page 281.
theorem CartanMatrix.E_eight_eq E0 #
CartanMatrix.E 8 =
!![2, 0, -1, 0, 0, 0, 0, 0;
0, 2, 0, -1, 0, 0, 0, 0;
-1, 0, 2, -1, 0, 0, 0, 0;
0, -1, -1, 2, -1, 0, 0, 0;
0, 0, 0, -1, 2, -1, 0, 0;
0, 0, 0, 0, -1, 2, -1, 0;
0, 0, 0, 0, 0, -1, 2, -1;
0, 0, 0, 0, 0, 0, -1, 2]
E 8 is the Cartan matrix of type E₈. See [bourbaki1968] plate VII, page 285.
def CartanMatrix.F₄ E1 #
Matrix (Fin 4) (Fin 4) ℤ
The Cartan matrix of type F₄. See [bourbaki1968] plate VIII, page 288.
def CartanMatrix.G₂ E1 #
Matrix (Fin 2) (Fin 2) ℤ
The Cartan matrix of type G₂. See [bourbaki1968] plate IX, page 290. We use the transpose of Bourbaki's matrix for consistency with F₄.
def CartanMatrix.A E1 #
(n : ℕ) → Matrix (Fin n) (Fin n) ℤ
The Cartan matrix of type Aₙ₋₁ (rank n-1, corresponding to sl(n)).
def CartanMatrix.B E1 #
(n : ℕ) → Matrix (Fin n) (Fin n) ℤ
The Cartan matrix of type Bₙ (rank n, corresponding to so(2n+1)).
def CartanMatrix.C E1 #
(n : ℕ) → Matrix (Fin n) (Fin n) ℤ
The Cartan matrix of type Cₙ (rank n, corresponding to sp(2n)).
def CartanMatrix.D E1 #
(n : ℕ) → Matrix (Fin n) (Fin n) ℤ
The Cartan matrix of type Dₙ (rank n, corresponding to so(2n)).
theorem CartanMatrix.A_diag E0 #
∀ (n : ℕ), (CartanMatrix.A n).diag = 2
theorem CartanMatrix.B_diag E0 #
∀ (n : ℕ) (i : Fin n), CartanMatrix.B n i i = 2
theorem CartanMatrix.C_diag E0 #
∀ (n : ℕ) (i : Fin n), CartanMatrix.C n i i = 2
theorem CartanMatrix.D_diag E0 #
∀ (n : ℕ) (i : Fin n), CartanMatrix.D n i i = 2
theorem CartanMatrix.A_apply_le_zero_of_ne E1 #
∀ (n : ℕ) (i j : Fin n), i ≠ j → CartanMatrix.A n i j ≤ 0
theorem CartanMatrix.B_off_diag_nonpos E1 #
∀ (n : ℕ) (i j : Fin n), i ≠ j → CartanMatrix.B n i j ≤ 0
theorem CartanMatrix.C_off_diag_nonpos E1 #
∀ (n : ℕ) (i j : Fin n), i ≠ j → CartanMatrix.C n i j ≤ 0
theorem CartanMatrix.D_off_diag_nonpos E1 #
∀ (n : ℕ) (i j : Fin n), i ≠ j → CartanMatrix.D n i j ≤ 0
theorem CartanMatrix.A_transpose E0 #
∀ (n : ℕ), (CartanMatrix.A n).transpose = CartanMatrix.A n
theorem CartanMatrix.A_isSymm E1 #
∀ (n : ℕ), (CartanMatrix.A n).IsSymm
theorem CartanMatrix.B_transpose E0 #
∀ (n : ℕ), (CartanMatrix.B n).transpose = CartanMatrix.C n
theorem CartanMatrix.C_transpose E0 #
∀ (n : ℕ), (CartanMatrix.C n).transpose = CartanMatrix.B n
theorem CartanMatrix.D_transpose E0 #
∀ (n : ℕ), (CartanMatrix.D n).transpose = CartanMatrix.D n
theorem CartanMatrix.D_isSymm E1 #
∀ (n : ℕ), (CartanMatrix.D n).IsSymm
theorem CartanMatrix.A_one E1 #
CartanMatrix.A 1 = !![2]
theorem CartanMatrix.A_two E1 #
CartanMatrix.A 2 = !![2, -1; -1, 2]
theorem CartanMatrix.A_three E1 #
CartanMatrix.A 3 = !![2, -1, 0; -1, 2, -1; 0, -1, 2]
theorem CartanMatrix.B_one E1 #
CartanMatrix.B 1 = CartanMatrix.A 1
theorem CartanMatrix.C_one E1 #
CartanMatrix.C 1 = CartanMatrix.A 1
theorem CartanMatrix.D_one E1 #
CartanMatrix.D 1 = CartanMatrix.A 1
theorem CartanMatrix.D_two E1 #
CartanMatrix.D 2 = !![2, 0; 0, 2]
theorem CartanMatrix.B_two E1 #
CartanMatrix.B 2 = !![2, -2; -1, 2]
theorem CartanMatrix.C_two E1 #
CartanMatrix.C 2 = !![2, -1; -2, 2]
theorem CartanMatrix.D_three E1 #
CartanMatrix.D 3 = !![2, -1, -1; -1, 2, 0; -1, 0, 2]
theorem CartanMatrix.D_three' E1 #
(Matrix.reindex ((↑[0, 1]).formPerm ⋯) ((↑[0, 1]).formPerm ⋯)) (CartanMatrix.D 3) = CartanMatrix.A 3
theorem CartanMatrix.D_four E1 #
CartanMatrix.D 4 = !![2, -1, 0, 0; -1, 2, -1, -1; 0, -1, 2, 0; 0, -1, 0, 2]
theorem CartanMatrix.E_diag E0 #
∀ (n : ℕ) (i : Fin n), CartanMatrix.E n i i = 2
theorem CartanMatrix.F₄_diag E0 #
∀ (i : Fin 4), CartanMatrix.F₄ i i = 2
theorem CartanMatrix.G₂_diag E0 #
∀ (i : Fin 2), CartanMatrix.G₂ i i = 2
theorem CartanMatrix.E_off_diag_nonpos E1 #
∀ (n : ℕ) (i j : Fin n), i ≠ j → CartanMatrix.E n i j ≤ 0
theorem CartanMatrix.F₄_off_diag_nonpos E1 #
∀ (i j : Fin 4), i ≠ j → CartanMatrix.F₄ i j ≤ 0
theorem CartanMatrix.G₂_off_diag_nonpos E1 #
∀ (i j : Fin 2), i ≠ j → CartanMatrix.G₂ i j ≤ 0
theorem CartanMatrix.E_transpose E0 #
∀ (n : ℕ), (CartanMatrix.E n).transpose = CartanMatrix.E n
theorem CartanMatrix.E_isSymm E1 #
∀ (n : ℕ), (CartanMatrix.E n).IsSymm
theorem CartanMatrix.G₂_det E1 #
CartanMatrix.G₂.det = 1
theorem CartanMatrix.F₄_det E1 #
CartanMatrix.F₄.det = 1
theorem CartanMatrix.det_E_add_two E1 #
∀ (n : ℕ), 4 ≤ n → (CartanMatrix.E (n + 2)).det = 2 * (CartanMatrix.E (n + 1)).det - (CartanMatrix.E n).det
theorem CartanMatrix.E_det E1 #
∀ {n : ℕ}, 3 ≤ n → (CartanMatrix.E n).det = 9 - ↑n
The determinant of E n is 9 - n for n ≥ 3.
theorem CartanMatrix.E₆_det E1 #
(CartanMatrix.E 6).det = 3
theorem CartanMatrix.E₇_det E1 #
(CartanMatrix.E 7).det = 2
theorem CartanMatrix.E₈_det E1 #
(CartanMatrix.E 8).det = 1
def Matrix.IsSimplyLaced E1 #
{ι : Type u_1} → Matrix ι ι ℤ → Prop
A Cartan matrix is simply laced if its off-diagonal entries are all 0 or -1.
instance CartanMatrix.instDecidablePredMatrixIntIsSimplyLacedOfFintypeOfDecidableEq E0 #
{ι : Type u_1} → [Fintype ι] → [DecidableEq ι] → DecidablePred Matrix.IsSimplyLaced
theorem Matrix.isSimplyLaced_iff_of_linearOrder E1 #
∀ {ι : Type u_1} [inst : LinearOrder ι] (A : Matrix ι ι ℤ),
A.IsSymm → (A.IsSimplyLaced ↔ ∀ ⦃i j : ι⦄, j < i → A i j = 0 ∨ A i j = -1)
theorem Matrix.isSimplyLaced_transpose E0 #
∀ {ι : Type u_1} (A : Matrix ι ι ℤ), A.transpose.IsSimplyLaced ↔ A.IsSimplyLaced
theorem CartanMatrix.isSimplyLaced_A E1 #
∀ (n : ℕ), (CartanMatrix.A n).IsSimplyLaced
theorem CartanMatrix.isSimplyLaced_D E1 #
∀ (n : ℕ), (CartanMatrix.D n).IsSimplyLaced
theorem CartanMatrix.isSimplyLaced_E E1 #
∀ (n : ℕ), (CartanMatrix.E n).IsSimplyLaced
theorem CartanMatrix.not_isSimplyLaced_F₄ E1 #
¬CartanMatrix.F₄.IsSimplyLaced
theorem CartanMatrix.not_isSimplyLaced_G₂ E1 #
¬CartanMatrix.G₂.IsSimplyLaced
theorem CartanMatrix.isIndecomposable_E_six E1 #
(CartanMatrix.E 6).IsIndecomposable
theorem CartanMatrix.isIndecomposable_E_seven E1 #
(CartanMatrix.E 7).IsIndecomposable
theorem CartanMatrix.isIndecomposable_E_eight E1 #
(CartanMatrix.E 8).IsIndecomposable
theorem CartanMatrix.isIndecomposable_F₄ E1 #
CartanMatrix.F₄.IsIndecomposable
theorem CartanMatrix.isIndecomposable_G₂ E1 #
CartanMatrix.G₂.IsIndecomposable
structure Matrix.IsGeneralizedCartan E1 #
{ι : Type u_1} → Matrix ι ι ℤ → Prop
The proposition that a matrix is a generalized Cartan matrix.
ctor Matrix.IsGeneralizedCartan.mk E0 #
∀ {ι : Type u_1} {M : Matrix ι ι ℤ},
(∀ (i : ι), M i i = 2) →
(∀ (i j : ι), i ≠ j → M i j ≤ 0) → (∀ (i j : ι), M i j = 0 ↔ M j i = 0) → M.IsGeneralizedCartan
theorem Matrix.IsGeneralizedCartan.diag E1 #
∀ {ι : Type u_1} {M : Matrix ι ι ℤ}, M.IsGeneralizedCartan → ∀ (i : ι), M i i = 2
theorem Matrix.IsGeneralizedCartan.offDiag_nonpos E1 #
∀ {ι : Type u_1} {M : Matrix ι ι ℤ}, M.IsGeneralizedCartan → ∀ (i j : ι), i ≠ j → M i j ≤ 0
theorem Matrix.IsGeneralizedCartan.zero_comm E1 #
∀ {ι : Type u_1} {M : Matrix ι ι ℤ}, M.IsGeneralizedCartan → ∀ (i j : ι), M i j = 0 ↔ M j i = 0
structure Matrix.IsFiniteCartan E1 #
{ι : Type u_1} → [Fintype ι] → [DecidableEq ι] → Matrix ι ι ℤ → Prop
The proposition that a matrix is a finite-type Cartan matrix.
ctor Matrix.IsFiniteCartan.mk E0 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsGeneralizedCartan →
(∃ d, (∀ (i : ι), 0 < d i) ∧ ∀ (x : ι → ℤ), x ≠ 0 → 0 < x ⬝ᵥ (Matrix.diagonal d * M).mulVec x) → M.IsFiniteCartan
theorem Matrix.IsFiniteCartan.toIsGeneralizedCartan E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → M.IsGeneralizedCartan
theorem Matrix.IsFiniteCartan.exists_posDef' E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∃ d, (∀ (i : ι), 0 < d i) ∧ ∀ (x : ι → ℤ), x ≠ 0 → 0 < x ⬝ᵥ (Matrix.diagonal d * M).mulVec x
theorem Matrix.IsFiniteCartan.mk_of_exists_posDef E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
(∀ (i : ι), M i i = 2) →
(∀ (i j : ι), i ≠ j → M i j ≤ 0) → (∃ d, (∀ (i : ι), 0 < d i) ∧ (Matrix.diagonal d * M).PosDef) → M.IsFiniteCartan
theorem Matrix.IsFiniteCartan.exists_mul_mulVec_pos E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∀ {x : ι → ℤ}, x ≠ 0 → ∃ i, 0 < x i * M.mulVec x i
theorem Matrix.IsFiniteCartan.det_ne_zero E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ}, M.IsFiniteCartan → M.det ≠ 0
theorem Matrix.IsFiniteCartan.submatrix E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan →
∀ {κ : Type u_2} [inst : Fintype κ] [inst_2 : DecidableEq κ] {f : κ → ι},
Function.Injective f → (M.submatrix f f).IsFiniteCartan
theorem Matrix.IsFiniteCartan.exists_apply_ne_zero_and E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∀ [Nonempty ι], ∃ i j, M i j ≠ 0 ∧ ∀ (k : ι), k ≠ i → M i k ≠ 0 → k = j
theorem Matrix.IsFiniteCartan.exists_ne_and_apply_ne_zero_and E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan →
∀ [Nontrivial ι], M.IsIndecomposable → ∃ i j, i ≠ j ∧ M i j ≠ 0 ∧ ∀ (k : ι), k ≠ i → M i k ≠ 0 → k = j
theorem Matrix.IsFiniteCartan.isPosSymmetrizable E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ}, M.IsFiniteCartan → M.IsPosSymmetrizable
theorem Matrix.IsFiniteCartan.exists_pos_and_mulVec_pos E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∃ u, (∀ (i : ι), 0 < u i) ∧ ∀ (i : ι), 0 < M.mulVec u i
theorem Matrix.IsFiniteCartan.exists_posDef E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∃ d, (∀ (i : ι), 0 < d i) ∧ (Matrix.diagonal d * M).PosDef
theorem Matrix.IsFiniteCartan.det_pos E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ}, M.IsFiniteCartan → 0 < M.det
theorem Matrix.IsFiniteCartan.isUnit_map E2 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → ∀ (k : Type u_2) [inst_2 : Field k] [CharZero k], IsUnit (M.map Int.cast)
theorem Matrix.IsFiniteCartan.transpose E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.IsFiniteCartan → M.transpose.IsFiniteCartan
theorem Matrix.IsFiniteCartan.transpose_iff E0 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] {M : Matrix ι ι ℤ},
M.transpose.IsFiniteCartan ↔ M.IsFiniteCartan
Deprecated aliases
| Name | New name | Since |
|---|---|---|
CartanMatrix.E₆ | 2026-07-29 | |
CartanMatrix.E₆_diag | 2026-08-11 | |
CartanMatrix.E₆_isSymm | 2026-08-11 | |
CartanMatrix.E₆_off_diag_nonpos | 2026-08-11 | |
CartanMatrix.E₆_transpose | 2026-08-11 | |
CartanMatrix.E₇ | 2026-07-29 | |
CartanMatrix.E₇_diag | 2026-08-11 | |
CartanMatrix.E₇_isSymm | 2026-08-11 | |
CartanMatrix.E₇_off_diag_nonpos | 2026-08-11 | |
CartanMatrix.E₇_transpose | 2026-08-11 | |
CartanMatrix.E₈ | 2026-07-29 | |
CartanMatrix.E₈_diag | 2026-08-11 | |
CartanMatrix.E₈_isSymm | 2026-08-11 | |
CartanMatrix.E₈_off_diag_nonpos | 2026-08-11 | |
CartanMatrix.E₈_transpose | 2026-08-11 | |
CartanMatrix.isSimplyLaced_E₆ | 2026-08-11 | |
CartanMatrix.isSimplyLaced_E₇ | 2026-08-11 | |
CartanMatrix.isSimplyLaced_E₈ | 2026-08-11 |