The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Matrix.Cartan.Realisation

92 declarations. Mathlib docs · Source

Realisations of Cartan Matrices

Let R be an integral domain of characteristic zero, and let M and N be R-modules in perfect pairing. Then, given vectors r₁, r₂, …, rₗ in M and c₁, c₂, …, cₗ in N, the following two propositions are equivalent:

  1. The vectors rᵢ, cᵢ are the simple roots and coroots of a finite, reduced, crystallographic root pairing (i.e., a reduced root datum except we do not require R = ℤ).
  2. The matrix Aᵢⱼ = ⟨cⱼ, rᵢ⟩ is a finite-type Cartan matrix.

The definition RootPairing formalises item 1 above. Here we introduce CartanMatrix.Realisation to formalise item 2.

Main definitions and statements

  • CartanMatrix.Realisation: the definition of a realisation of a Cartan matrix.
  • CartanMatrix.Realisation.toRootPairing: the root pairing defined by a realisation of a Cartan matrix.
  • Matrix.IsFiniteCartan.toRealisation: a realisation associated to an invertible Cartan matrix.
  • Matrix.IsFiniteCartan.toRootPairing: a reduced, irreducible, crystallographic root system associated to a Cartan matrix, with coefficients in any field of characteristic zero.

theorem CartanMatrix.Realisation.mk.inj E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} {inst : Fintype n} {inst_1 : DecidableEq n}
  {inst_2 : CommRing R} {inst_3 : AddCommGroup M} {inst_4 : Module R M} {inst_5 : AddCommGroup N} {inst_6 : Module R N}
  {sRoot : n → M} {sCoroot : n → N} {matrix : Matrix n n ℤ} {isCartan : matrix.IsFiniteCartan}
  {pairing : M →ₗ[R] N →ₗ[R] R} {isPerfPair : pairing.IsPerfPair}
  {pairingMatrix : ∀ (i j : n), (pairing (sRoot i)) (sCoroot j) = ↑(matrix i j)} {sRoot_1 : n → M} {sCoroot_1 : n → N}
  {matrix_1 : Matrix n n ℤ} {isCartan_1 : matrix_1.IsFiniteCartan} {pairing_1 : M →ₗ[R] N →ₗ[R] R}
  {isPerfPair_1 : pairing_1.IsPerfPair}
  {pairingMatrix_1 : ∀ (i j : n), (pairing_1 (sRoot_1 i)) (sCoroot_1 j) = ↑(matrix_1 i j)},
  { sRoot := sRoot, sCoroot := sCoroot, matrix := matrix, isCartan := isCartan, pairing := pairing,
        isPerfPair := isPerfPair, pairingMatrix := pairingMatrix } =
      { sRoot := sRoot_1, sCoroot := sCoroot_1, matrix := matrix_1, isCartan := isCartan_1, pairing := pairing_1,
        isPerfPair := isPerfPair_1, pairingMatrix := pairingMatrix_1 } →
    sRoot = sRoot_1 ∧ sCoroot = sCoroot_1 ∧ matrix = matrix_1 ∧ pairing = pairing_1

theorem CartanMatrix.Realisation.congr_simp E1 #

∀ (n : Type u_1) (R : Type u_2) (M : Type u_3) (N : Type u_4) [inst : Fintype n] {inst_1 : DecidableEq n}
  [inst_2 : DecidableEq n] [inst_3 : CommRing R] [inst_4 : AddCommGroup M] [inst_5 : Module R M]
  [inst_6 : AddCommGroup N] [inst_7 : Module R N], CartanMatrix.Realisation n R M N = CartanMatrix.Realisation n R M N

theorem RootPairing.Base.mkOfPairwiseLEZero.congr_simp E1 #

∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : CommRing R] [inst_1 : AddCommGroup M]
  [inst_2 : Module R M] [inst_3 : AddCommGroup N] [inst_4 : Module R N] [inst_5 : Finite ι] [inst_6 : CharZero R]
  [inst_7 : IsDomain R] (P : RootPairing ι R M N) [inst_8 : P.IsCrystallographic] {s s_1 : Finset ι} (e_s : s = s_1)
  (h₀ : LinearIndepOn R ⇑P.root ↑s) (h₁ : (↑s).Pairwise fun i j ↦ P.pairingIn ℤ i j ≤ 0)
  (h₂ : ∀ (i : ι), P.coroot i ∈ Submodule.span ℤ (⇑P.coroot '' ↑s))
  (h₃ : ∀ (i : ι), P.root i ∈ Submodule.span ℤ (⇑P.root '' ↑s)),
  RootPairing.Base.mkOfPairwiseLEZero P h₀ h₁ h₂ h₃ = RootPairing.Base.mkOfPairwiseLEZero P ⋯ ⋯ ⋯ ⋯

theorem CartanMatrix.Realisation.toRootPairing.congr_simp E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R],
  rl.toRootPairing = rl.toRootPairing

theorem CartanMatrix.Realisation.mk.injEq E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (sRoot : n → M) (sCoroot : n → N) (matrix : Matrix n n ℤ) (isCartan : matrix.IsFiniteCartan)
  (pairing : M →ₗ[R] N →ₗ[R] R) (isPerfPair : pairing.IsPerfPair)
  (pairingMatrix : ∀ (i j : n), (pairing (sRoot i)) (sCoroot j) = ↑(matrix i j)) (sRoot_1 : n → M) (sCoroot_1 : n → N)
  (matrix_1 : Matrix n n ℤ) (isCartan_1 : matrix_1.IsFiniteCartan) (pairing_1 : M →ₗ[R] N →ₗ[R] R)
  (isPerfPair_1 : pairing_1.IsPerfPair)
  (pairingMatrix_1 : ∀ (i j : n), (pairing_1 (sRoot_1 i)) (sCoroot_1 j) = ↑(matrix_1 i j)),
  ({ sRoot := sRoot, sCoroot := sCoroot, matrix := matrix, isCartan := isCartan, pairing := pairing,
        isPerfPair := isPerfPair, pairingMatrix := pairingMatrix } =
      { sRoot := sRoot_1, sCoroot := sCoroot_1, matrix := matrix_1, isCartan := isCartan_1, pairing := pairing_1,
        isPerfPair := isPerfPair_1, pairingMatrix := pairingMatrix_1 }) =
    (sRoot = sRoot_1 ∧ sCoroot = sCoroot_1 ∧ matrix = matrix_1 ∧ pairing = pairing_1)

theorem IsUnit.invertible.congr_simp E1 #

∀ {α : Type u} [inst : Monoid α] {a : α} (h : IsUnit a), h.invertible = h.invertible

def CartanMatrix.Realisation.ctorIdx E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        {inst : Fintype n} →
          {inst_1 : DecidableEq n} →
            {inst_2 : CommRing R} →
              {inst_3 : AddCommGroup M} →
                {inst_4 : Module R M} →
                  {inst_5 : AddCommGroup N} → {inst_6 : Module R N} → CartanMatrix.Realisation n R M N → ℕ

theorem Matrix.IsFiniteCartan.toRealisation.congr_simp E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : CommRing R] {A : Matrix n n ℤ}
  (hA : A.IsFiniteCartan) (hAI hAI_1 : Invertible (A.map Int.cast)),
  hAI = hAI_1 → hA.toRealisation hAI = hA.toRealisation hAI_1

theorem CartanMatrix.Realisation.mk.congr_simp E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (sRoot sRoot_1 : n → M) (e_sRoot : sRoot = sRoot_1) (sCoroot sCoroot_1 : n → N) (e_sCoroot : sCoroot = sCoroot_1)
  (matrix matrix_1 : Matrix n n ℤ) (e_matrix : matrix = matrix_1) (isCartan : matrix.IsFiniteCartan)
  (pairing pairing_1 : M →ₗ[R] N →ₗ[R] R) (e_pairing : pairing = pairing_1) (isPerfPair : pairing.IsPerfPair)
  (pairingMatrix : ∀ (i j : n), (pairing (sRoot i)) (sCoroot j) = ↑(matrix i j)),
  { sRoot := sRoot, sCoroot := sCoroot, matrix := matrix, isCartan := isCartan, pairing := pairing,
      isPerfPair := isPerfPair, pairingMatrix := pairingMatrix } =
    { sRoot := sRoot_1, sCoroot := sCoroot_1, matrix := matrix_1, isCartan := ⋯, pairing := pairing_1, isPerfPair := ⋯,
      pairingMatrix := ⋯ }

theorem CartanMatrix.Realisation.baseIdx.congr_simp E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R], rl.baseIdx = rl.baseIdx

structure CartanMatrix.Realisation E1 #

(n : Type u_1) →
  (R : Type u_2) →
    (M : Type u_3) →
      (N : Type u_4) →
        [Fintype n] →
          [DecidableEq n] →
            [inst : CommRing R] →
              [inst_1 : AddCommGroup M] →
                [Module R M] → [inst_3 : AddCommGroup N] → [Module R N] → Type (max (max (max u_1 u_2) u_3) u_4)

A realisation of a Cartan matrix indexed by n is a family of vectors v and covectors f, both indexed by n, such that ⟨fⱼ, vᵢ⟩ = Aᵢⱼ for all i j.

ctor CartanMatrix.Realisation.mk E0 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (sRoot : n → M) →
                        (sCoroot : n → N) →
                          (matrix : Matrix n n ℤ) →
                            matrix.IsFiniteCartan →
                              (pairing : M →ₗ[R] N →ₗ[R] R) →
                                pairing.IsPerfPair →
                                  (∀ (i j : n), (pairing (sRoot i)) (sCoroot j) = ↑(matrix i j)) →
                                    CartanMatrix.Realisation n R M N

abbrev CartanMatrix.Realisation.sRoot E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → n → M

The simple roots.

abbrev CartanMatrix.Realisation.sCoroot E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → n → N

The simple coroots.

abbrev CartanMatrix.Realisation.matrix E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → Matrix n n ℤ

The Cartan matrix.

theorem CartanMatrix.Realisation.isCartan E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (self : CartanMatrix.Realisation n R M N), self.matrix.IsFiniteCartan

abbrev CartanMatrix.Realisation.pairing E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → M →ₗ[R] N →ₗ[R] R

The perfect pairing.

theorem CartanMatrix.Realisation.isPerfPair E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (self : CartanMatrix.Realisation n R M N), self.pairing.IsPerfPair

theorem CartanMatrix.Realisation.pairingMatrix E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (self : CartanMatrix.Realisation n R M N) (i j : n),
  (self.pairing (self.sRoot i)) (self.sCoroot j) = ↑(self.matrix i j)

instance CartanMatrix.Realisation.instIsPerfPairPairing E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.pairing.IsPerfPair

def CartanMatrix.Realisation.flip E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → CartanMatrix.Realisation n R N M

The realisation obtained by interchanging the roles of M and N.

theorem CartanMatrix.Realisation.lin_ind_sRoot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], LinearIndependent R rl.sRoot

theorem CartanMatrix.Realisation.lin_ind_sCoroot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], LinearIndependent R rl.sCoroot

theorem CartanMatrix.Realisation.injective_sRoot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], Function.Injective rl.sRoot

theorem CartanMatrix.Realisation.injective_sCoroot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], Function.Injective rl.sCoroot

theorem CartanMatrix.Realisation.pairing_sRoot_sCoroot_self E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), (rl.pairing (rl.sRoot i)) (rl.sCoroot i) = 2

theorem CartanMatrix.Realisation.exist_int_eq_pairing_of_mem_span_int E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {x : M},
  x ∈ Submodule.span ℤ (Set.range rl.sRoot) →
    ∀ {y : N}, y ∈ Submodule.span ℤ (Set.range rl.sCoroot) → ∃ z, (rl.pairing x) y = ↑z

def CartanMatrix.Realisation.reflection E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → n → M ≃ₗ[R] M

The reflection associated to a simple root.

def CartanMatrix.Realisation.coreflection E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → n → N ≃ₗ[R] N

The reflection associated to a simple coroot.

theorem CartanMatrix.Realisation.reflection_apply E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (x : M),
  (rl.reflection i) x = x - (rl.pairing x) (rl.sCoroot i) • rl.sRoot i

theorem CartanMatrix.Realisation.coreflection_apply E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (y : N),
  (rl.coreflection i) y = y - (rl.pairing (rl.sRoot i)) y • rl.sCoroot i

theorem CartanMatrix.Realisation.reflection_same E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (x : M), (rl.reflection i) ((rl.reflection i) x) = x

theorem CartanMatrix.Realisation.coreflection_same E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (y : N), (rl.coreflection i) ((rl.coreflection i) y) = y

theorem CartanMatrix.Realisation.flip_pairing E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.flip.pairing = rl.pairing.flip

theorem CartanMatrix.Realisation.flip_sRoot E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.flip.sRoot = rl.sCoroot

theorem CartanMatrix.Realisation.flip_sCoroot E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.flip.sCoroot = rl.sRoot

theorem CartanMatrix.Realisation.flip_reflection E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), rl.flip.reflection i = rl.coreflection i

theorem CartanMatrix.Realisation.flip_coreflection E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), rl.flip.coreflection i = rl.reflection i

theorem CartanMatrix.Realisation.pairing_reflection_left E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (x : M) (y : N),
  (rl.pairing ((rl.reflection i) x)) y = (rl.pairing x) ((rl.coreflection i) y)

theorem CartanMatrix.Realisation.pairing_reflection_coreflection E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n) (x : M) (y : N),
  (rl.pairing ((rl.reflection i) x)) ((rl.coreflection i) y) = (rl.pairing x) y

def CartanMatrix.Realisation.weylGroup E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → Subgroup ((M ≃ₗ[R] M) × N ≃ₗ[R] N)

The Weyl group of a realisation.

theorem CartanMatrix.Realisation.mem_weyl E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), (rl.reflection i, rl.coreflection i) ∈ rl.weylGroup

instance CartanMatrix.Realisation.instSMulSubtypeProdLinearEquivIdMemSubgroupWeylGroup E0 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] → (rl : CartanMatrix.Realisation n R M N) → SMul (↥rl.weylGroup) (M × N)

theorem CartanMatrix.Realisation.weylGroup_smul_def E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (w : ↥rl.weylGroup) (p : M × N), w • p = ((↑w).1 p.1, (↑w).2 p.2)

instance CartanMatrix.Realisation.instDistribMulActionSubtypeProdLinearEquivIdMemSubgroupWeylGroup E0 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) → DistribMulAction (↥rl.weylGroup) (M × N)

theorem CartanMatrix.Realisation.flip_weyl E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.flip.weylGroup = Subgroup.map MulEquiv.prodComm.toMonoidHom rl.weylGroup

theorem CartanMatrix.Realisation.mem_flip_weyl E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {w : (N ≃ₗ[R] N) × M ≃ₗ[R] M},
  w ∈ rl.flip.weylGroup ↔ (w.2, w.1) ∈ rl.weylGroup

theorem CartanMatrix.Realisation.reflection_inv E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), (rl.reflection i)⁻¹ = rl.reflection i

theorem CartanMatrix.Realisation.coreflection_inv E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), (rl.coreflection i)⁻¹ = rl.coreflection i

theorem CartanMatrix.Realisation.weylGroup.induction E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {pred : (g : (M ≃ₗ[R] M) × N ≃ₗ[R] N) → g ∈ rl.weylGroup → Prop},
  (∀ (i : n), pred (rl.reflection i, rl.coreflection i) ⋯) →
    pred 1 ⋯ →
      (∀ (x y : (M ≃ₗ[R] M) × N ≃ₗ[R] N) (hx : x ∈ rl.weylGroup) (hy : y ∈ rl.weylGroup),
          pred x hx → pred y hy → pred (x * y) ⋯) →
        ∀ {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N} (hw : w ∈ rl.weylGroup), pred w hw

theorem CartanMatrix.Realisation.pairing_apply_apply_of_mem_weyl E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N},
  w ∈ rl.weylGroup → ∀ (x : M) (y : N), (rl.pairing (w.1 x)) (w.2 y) = (rl.pairing x) y

theorem CartanMatrix.Realisation.mapsTo_span_int_range_sRoot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N},
  w ∈ rl.weylGroup → Set.MapsTo ⇑w.1 ↑(Submodule.span ℤ (Set.range rl.sRoot)) ↑(Submodule.span ℤ (Set.range rl.sRoot))

theorem CartanMatrix.Realisation.exists_zsum_eq_of_mem_weylGroup E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {d : n → ℤ},
  (rl.matrix * Matrix.diagonal d).IsSymm →
    ∀ {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N},
      w ∈ rl.weylGroup →
        ∀ (c : n → ℤ),
          ∃ c',
            w.1 (∑ j, c j • rl.sRoot j) = ∑ j, c' j • rl.sRoot j ∧
              c' ⬝ᵥ (rl.matrix * Matrix.diagonal d).mulVec c' = c ⬝ᵥ (rl.matrix * Matrix.diagonal d).mulVec c

theorem CartanMatrix.Realisation.finite_setOf_mem_weylGroup_apply_sRoot E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), {x | ∃ w ∈ rl.weylGroup, ∃ i, w.1 (rl.sRoot i) = x}.Finite

instance CartanMatrix.Realisation.instFiniteSubtypeProdLinearEquivIdMemSubgroupWeylGroupOfCharZeroOfIsDomain E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], Finite ↥rl.weylGroup

def CartanMatrix.Realisation.idx E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] → [inst_6 : Module R N] → CartanMatrix.Realisation n R M N → Set (M × N)

Taking the Weyl-group orbits of all (simple root, simple coroot) pairs, yields a natural indexing set for the roots and coroots for the root pairing corresponding to a realisation.

theorem CartanMatrix.Realisation.idx_eq_smul E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.idx = Set.univ • Set.range (Function.prod rl.sRoot rl.sCoroot)

theorem CartanMatrix.Realisation.mk_mem_idx E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N},
  w ∈ rl.weylGroup → ∀ (i : n), (w.1 (rl.sRoot i), w.2 (rl.sCoroot i)) ∈ rl.idx

theorem CartanMatrix.Realisation.sPair_mem_idx E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) (i : n), (rl.sRoot i, rl.sCoroot i) ∈ rl.idx

theorem CartanMatrix.Realisation.apply_mem_idx E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {w : (M ≃ₗ[R] M) × N ≃ₗ[R] N},
  w ∈ rl.weylGroup → ∀ {p : M × N}, p ∈ rl.idx → (w.1 p.1, w.2 p.2) ∈ rl.idx

theorem CartanMatrix.Realisation.flip_idx E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), rl.flip.idx = Prod.swap '' rl.idx

theorem CartanMatrix.Realisation.pairing_fst_snd E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {p : M × N}, p ∈ rl.idx → (rl.pairing p.1) p.2 = 2

theorem CartanMatrix.Realisation.idx_subset_span_int_sprod_span_int E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N),
  rl.idx ⊆ ↑(Submodule.span ℤ (Set.range rl.sRoot)) ×ˢ ↑(Submodule.span ℤ (Set.range rl.sCoroot))

instance CartanMatrix.Realisation.instFiniteElemProdIdx E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N), Finite ↑rl.idx

def CartanMatrix.Realisation.reflectionPair E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) → {p : M × N} → p ∈ rl.idx → (M ≃ₗ[R] M) × N ≃ₗ[R] N

The (co)reflection determined by a root / coroot pair.

theorem CartanMatrix.Realisation.reflectionPair_mem E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) {p : M × N} (hp : p ∈ rl.idx), rl.reflectionPair hp ∈ rl.weylGroup

theorem CartanMatrix.Realisation.injOn_fst E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], Set.InjOn Prod.fst rl.idx

theorem CartanMatrix.Realisation.injOn_snd E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [CharZero R] [IsDomain R], Set.InjOn Prod.snd rl.idx

def CartanMatrix.Realisation.toRootPairing E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) →
                        [CharZero R] → [IsDomain R] → RootPairing (↑rl.idx) R M N

The root pairing associated to a realisation of a Cartan matrix.

theorem CartanMatrix.Realisation.toRootPairing_root E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R] (i : ↑rl.idx),
  rl.toRootPairing.root i = (↑i).1

theorem CartanMatrix.Realisation.toRootPairing_coroot E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R] (i : ↑rl.idx),
  rl.toRootPairing.coroot i = (↑i).2

theorem CartanMatrix.Realisation.toRootPairing_toLinearMap E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R],
  rl.toRootPairing.toLinearMap = rl.pairing

theorem CartanMatrix.Realisation.toRootPairing_pairing E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R] (i j : ↑rl.idx),
  rl.toRootPairing.pairing i j = (rl.pairing (↑i).1) (↑j).2

instance CartanMatrix.Realisation.instIsCrystallographicElemProdIdxToRootPairing E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R],
  rl.toRootPairing.IsCrystallographic

instance CartanMatrix.Realisation.instIsReducedElemProdIdxToRootPairing E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R], rl.toRootPairing.IsReduced

theorem CartanMatrix.Realisation.isRootSystem_toRootPairing E1 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R],
  Submodule.span R (Set.range rl.sRoot) = ⊤ →
    Submodule.span R (Set.range rl.sCoroot) = ⊤ → rl.toRootPairing.IsRootSystem

theorem CartanMatrix.Realisation.isIrreducible_toRootPairing E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] [Nonempty n] {k : Type u_5} {V : Type u_6} {W : Type u_7}
  [inst_3 : Field k] [inst_4 : CharZero k] [inst_5 : AddCommGroup V] [inst_6 : Module k V] [inst_7 : AddCommGroup W]
  [inst_8 : Module k W] (rl : CartanMatrix.Realisation n k V W),
  Submodule.span k (Set.range rl.sRoot) = ⊤ → rl.matrix.IsIndecomposable → rl.toRootPairing.IsIrreducible

def CartanMatrix.Realisation.baseIdx E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) → [CharZero R] → [IsDomain R] → n ↪ ↑rl.idx

The simple (co)roots are naturally parameterised by the index type of the Cartan matrix.

theorem CartanMatrix.Realisation.baseIdx_apply E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R] (i : n),
  rl.baseIdx i = ⟨(rl.sRoot i, rl.sCoroot i), ⋯⟩

def CartanMatrix.Realisation.rootPairingBase E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) →
                        [inst_7 : CharZero R] → [inst_8 : IsDomain R] → rl.toRootPairing.Base

The base carried by the root pairing associated to a realisation of a Cartan matrix.

def CartanMatrix.Realisation.rootPairingBaseEquiv E1 #

{n : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        [inst : Fintype n] →
          [inst_1 : DecidableEq n] →
            [inst_2 : CommRing R] →
              [inst_3 : AddCommGroup M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommGroup N] →
                    [inst_6 : Module R N] →
                      (rl : CartanMatrix.Realisation n R M N) →
                        [inst_7 : CharZero R] → [inst_8 : IsDomain R] → n ≃ ↥rl.rootPairingBase.support

The indexing type of a Cartan matrix realisation bijects to the support of the base carried by the corresponding root pairing.

theorem CartanMatrix.Realisation.val_rootPairingBaseEquiv_apply E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R] (i : n),
  ↑(rl.rootPairingBaseEquiv i) = ⟨(rl.sRoot i, rl.sCoroot i), ⋯⟩

theorem CartanMatrix.Realisation.rootPairingBase_cartanMatrix_eq E0 #

∀ {n : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Fintype n] [inst_1 : DecidableEq n]
  [inst_2 : CommRing R] [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  (rl : CartanMatrix.Realisation n R M N) [inst_7 : CharZero R] [inst_8 : IsDomain R],
  rl.rootPairingBase.cartanMatrix.submatrix ⇑rl.rootPairingBaseEquiv ⇑rl.rootPairingBaseEquiv = rl.matrix

def Matrix.IsFiniteCartan.toRealisation E1 #

{n : Type u_1} →
  {R : Type u_2} →
    [inst : Fintype n] →
      [inst_1 : DecidableEq n] →
        [inst_2 : CommRing R] →
          {A : Matrix n n ℤ} →
            A.IsFiniteCartan → Invertible (A.map Int.cast) → CartanMatrix.Realisation n R (n → R) (n → R)

If a Cartan matrix is invertible in R then it has a canonical realisation.

def Matrix.IsFiniteCartan.toRootPairing E1 #

{n : Type u_1} →
  [inst : Fintype n] →
    [inst_1 : DecidableEq n] →
      {A : Matrix n n ℤ} →
        (hA : A.IsFiniteCartan) →
          (k : Type u_5) →
            [inst_2 : Field k] →
              [inst_3 : CharZero k] → RootPairing (↑(hA.toRealisation ⋯.invertible).idx) k (n → k) (n → k)

Given a field k of characteristic zero and Cartan matrix A, this is a reduced crystallographic root system over k. It carries a natural base with Cartan matrix A.

instance Matrix.IsFiniteCartan.instIsReducedElemProdForallIdxToRealisationInvertibleToRootPairing E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {A : Matrix n n ℤ} (hA : A.IsFiniteCartan) (k : Type u_5)
  [inst_2 : Field k] [inst_3 : CharZero k], (hA.toRootPairing k).IsReduced

instance Matrix.IsFiniteCartan.instIsCrystallographicElemProdForallIdxToRealisationInvertibleToRootPairing E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {A : Matrix n n ℤ} (hA : A.IsFiniteCartan) (k : Type u_5)
  [inst_2 : Field k] [inst_3 : CharZero k], (hA.toRootPairing k).IsCrystallographic

instance Matrix.IsFiniteCartan.instIsRootSystemElemProdForallIdxToRealisationInvertibleToRootPairing E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {A : Matrix n n ℤ} (hA : A.IsFiniteCartan) (k : Type u_5)
  [inst_2 : Field k] [inst_3 : CharZero k], (hA.toRootPairing k).IsRootSystem

theorem Matrix.IsFiniteCartan.isIrreducible_toRootPairing E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {A : Matrix n n ℤ} (hA : A.IsFiniteCartan) (k : Type u_5)
  [inst_2 : Field k] [inst_3 : CharZero k] [Nonempty n], A.IsIndecomposable → (hA.toRootPairing k).IsIrreducible

def Matrix.IsFiniteCartan.rootPairingBase E1 #

{n : Type u_1} →
  [inst : Fintype n] →
    [inst_1 : DecidableEq n] →
      {A : Matrix n n ℤ} →
        (hA : A.IsFiniteCartan) →
          (k : Type u_5) → [inst_2 : Field k] → [inst_3 : CharZero k] → (hA.toRootPairing k).Base

The base of the root system defined by a Cartan matrix.

def Matrix.IsFiniteCartan.rootPairingBaseEquiv E1 #

{n : Type u_1} →
  [inst : Fintype n] →
    [inst_1 : DecidableEq n] →
      {A : Matrix n n ℤ} →
        (hA : A.IsFiniteCartan) →
          (k : Type u_5) → [inst_2 : Field k] → [inst_3 : CharZero k] → n ≃ ↥(hA.rootPairingBase k).support

The Cartan matrix indexing type indexes the elements of the support of the base.

theorem Matrix.IsFiniteCartan.rootPairingBase_cartanMatrix_eq E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {A : Matrix n n ℤ} (hA : A.IsFiniteCartan) (k : Type u_5)
  [inst_2 : Field k] [inst_3 : CharZero k],
  (hA.rootPairingBase k).cartanMatrix.submatrix ⇑(hA.rootPairingBaseEquiv k) ⇑(hA.rootPairingBaseEquiv k) = A