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 / V29. Representation theory and Lie theory

Mathlib.LinearAlgebra.RootSystem.Defs

134 declarations. Mathlib docs · Source

Root data and root systems

This file contains basic definitions for root systems and root data.

Main definitions

  • RootPairing: Given two perfectly-paired R-modules M and N (over some commutative ring R) a root pairing with indexing set ι is the data of an ι-indexed subset of M ("the roots") an ι-indexed subset of N ("the coroots"), and an ι-indexed set of permutations of ι such that each root-coroot pair evaluates to 2, and the permutation attached to each element of ι is compatible with the reflections on the corresponding roots and coroots.
  • RootDatum: A root datum is a root pairing for which the roots and coroots take values in finitely-generated free Abelian groups.
  • RootSystem: A root system is a root pairing for which the roots span their ambient module.

Implementation notes

A root datum is sometimes defined as two subsets: roots and coroots, together with a bijection between them, subject to hypotheses. However the hypotheses ensure that the bijection is unique and so the question arises of whether this bijection should be part of the data of a root datum or whether one should merely assert its existence. For root systems, things are even more extreme: the coroots are uniquely determined by the roots. Furthermore a root system induces a canonical non-degenerate bilinear form on the ambient space and many informal accounts even include this form as part of the data.

We have opted for a design in which some of the uniquely-determined data is included: the bijection between roots and coroots is (implicitly) included and the coroots are included for root systems. Empirically this seems to be by far the most convenient design and by providing extensionality lemmas expressing the uniqueness we expect to get the best of both worlds.

Furthermore, we require roots and coroots to be injections from a base indexing type ι rather than subsets of their codomains. This design was chosen to avoid the bijection between roots and coroots being a dependently-typed object. A third option would be to have the roots and coroots be subsets but to avoid having a dependently-typed bijection by defining it globally with junk value 0 outside of the roots and coroots. This would work but lacks the convenient symmetry that the chosen design enjoys: by introducing the indexing type ι, one does not have to pick a direction (roots → coroots or coroots → roots) for the forward direction of the bijection. Besides, providing the user with the additional definitional power to specify an indexing type ι is a benefit and the junk-value pattern is a cost.

As a final point of divergence from the classical literature, we make the reflection permutation on roots and coroots explicit, rather than specifying only that reflection preserves the sets of roots and coroots. This is necessary when working with infinite root systems, where the coroots are not uniquely determined by the roots, because without it, the reflection permutations on roots and coroots may not correspond. For this purpose, we define a map from ι to permutations on ι, and require that it is compatible with reflections and coreflections.

theorem RootPairing.mk.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] (toLinearMap toLinearMap_1 : M →ₗ[R] N →ₗ[R] R)
  (e_toLinearMap : toLinearMap = toLinearMap_1) [isPerfPair_toLinearMap : toLinearMap.IsPerfPair] (root root_1 : ι ↪ M)
  (e_root : root = root_1) (coroot coroot_1 : ι ↪ N) (e_coroot : coroot = coroot_1)
  (root_coroot_two : ∀ (i : ι), (toLinearMap (root i)) (coroot i) = 2) (reflectionPerm reflectionPerm_1 : ι → ι ≃ ι)
  (e_reflectionPerm : reflectionPerm = reflectionPerm_1)
  (reflectionPerm_root : ∀ (i j : ι), root j - (toLinearMap (root j)) (coroot i) • root i = root ((reflectionPerm i) j))
  (reflectionPerm_coroot :
    ∀ (i j : ι), coroot j - (toLinearMap (root i)) (coroot j) • coroot i = coroot ((reflectionPerm i) j)),
  { toLinearMap := toLinearMap, isPerfPair_toLinearMap := isPerfPair_toLinearMap, root := root, coroot := coroot,
      root_coroot_two := root_coroot_two, reflectionPerm := reflectionPerm, reflectionPerm_root := reflectionPerm_root,
      reflectionPerm_coroot := reflectionPerm_coroot } =
    { toLinearMap := toLinearMap_1, isPerfPair_toLinearMap := ⋯, root := root_1, coroot := coroot_1,
      root_coroot_two := ⋯, reflectionPerm := reflectionPerm_1, reflectionPerm_root := ⋯, reflectionPerm_coroot := ⋯ }

theorem RootPairing.mk.inj 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} {toLinearMap : M →ₗ[R] N →ₗ[R] R}
  {isPerfPair_toLinearMap : toLinearMap.IsPerfPair} {root : ι ↪ M} {coroot : ι ↪ N}
  {root_coroot_two : ∀ (i : ι), (toLinearMap (root i)) (coroot i) = 2} {reflectionPerm : ι → ι ≃ ι}
  {reflectionPerm_root : ∀ (i j : ι), root j - (toLinearMap (root j)) (coroot i) • root i = root ((reflectionPerm i) j)}
  {reflectionPerm_coroot :
    ∀ (i j : ι), coroot j - (toLinearMap (root i)) (coroot j) • coroot i = coroot ((reflectionPerm i) j)}
  {toLinearMap_1 : M →ₗ[R] N →ₗ[R] R} {isPerfPair_toLinearMap_1 : toLinearMap_1.IsPerfPair} {root_1 : ι ↪ M}
  {coroot_1 : ι ↪ N} {root_coroot_two_1 : ∀ (i : ι), (toLinearMap_1 (root_1 i)) (coroot_1 i) = 2}
  {reflectionPerm_1 : ι → ι ≃ ι}
  {reflectionPerm_root_1 :
    ∀ (i j : ι), root_1 j - (toLinearMap_1 (root_1 j)) (coroot_1 i) • root_1 i = root_1 ((reflectionPerm_1 i) j)}
  {reflectionPerm_coroot_1 :
    ∀ (i j : ι), coroot_1 j - (toLinearMap_1 (root_1 i)) (coroot_1 j) • coroot_1 i = coroot_1 ((reflectionPerm_1 i) j)},
  { toLinearMap := toLinearMap, isPerfPair_toLinearMap := isPerfPair_toLinearMap, root := root, coroot := coroot,
        root_coroot_two := root_coroot_two, reflectionPerm := reflectionPerm,
        reflectionPerm_root := reflectionPerm_root, reflectionPerm_coroot := reflectionPerm_coroot } =
      { toLinearMap := toLinearMap_1, isPerfPair_toLinearMap := isPerfPair_toLinearMap_1, root := root_1,
        coroot := coroot_1, root_coroot_two := root_coroot_two_1, reflectionPerm := reflectionPerm_1,
        reflectionPerm_root := reflectionPerm_root_1, reflectionPerm_coroot := reflectionPerm_coroot_1 } →
    toLinearMap = toLinearMap_1 ∧ root = root_1 ∧ coroot = coroot_1 ∧ reflectionPerm = reflectionPerm_1

def RootPairing.ctorIdx 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} → RootPairing ι R M N → ℕ

theorem RootPairing.mk.injEq E0 #

∀ {ι : 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] (toLinearMap : M →ₗ[R] N →ₗ[R] R)
  [isPerfPair_toLinearMap : toLinearMap.IsPerfPair] (root : ι ↪ M) (coroot : ι ↪ N)
  (root_coroot_two : ∀ (i : ι), (toLinearMap (root i)) (coroot i) = 2) (reflectionPerm : ι → ι ≃ ι)
  (reflectionPerm_root : ∀ (i j : ι), root j - (toLinearMap (root j)) (coroot i) • root i = root ((reflectionPerm i) j))
  (reflectionPerm_coroot :
    ∀ (i j : ι), coroot j - (toLinearMap (root i)) (coroot j) • coroot i = coroot ((reflectionPerm i) j))
  (toLinearMap_1 : M →ₗ[R] N →ₗ[R] R) (isPerfPair_toLinearMap_1 : toLinearMap_1.IsPerfPair) (root_1 : ι ↪ M)
  (coroot_1 : ι ↪ N) (root_coroot_two_1 : ∀ (i : ι), (toLinearMap_1 (root_1 i)) (coroot_1 i) = 2)
  (reflectionPerm_1 : ι → ι ≃ ι)
  (reflectionPerm_root_1 :
    ∀ (i j : ι), root_1 j - (toLinearMap_1 (root_1 j)) (coroot_1 i) • root_1 i = root_1 ((reflectionPerm_1 i) j))
  (reflectionPerm_coroot_1 :
    ∀ (i j : ι), coroot_1 j - (toLinearMap_1 (root_1 i)) (coroot_1 j) • coroot_1 i = coroot_1 ((reflectionPerm_1 i) j)),
  ({ toLinearMap := toLinearMap, isPerfPair_toLinearMap := isPerfPair_toLinearMap, root := root, coroot := coroot,
        root_coroot_two := root_coroot_two, reflectionPerm := reflectionPerm,
        reflectionPerm_root := reflectionPerm_root, reflectionPerm_coroot := reflectionPerm_coroot } =
      { toLinearMap := toLinearMap_1, isPerfPair_toLinearMap := isPerfPair_toLinearMap_1, root := root_1,
        coroot := coroot_1, root_coroot_two := root_coroot_two_1, reflectionPerm := reflectionPerm_1,
        reflectionPerm_root := reflectionPerm_root_1, reflectionPerm_coroot := reflectionPerm_coroot_1 }) =
    (toLinearMap = toLinearMap_1 ∧ root = root_1 ∧ coroot = coroot_1 ∧ reflectionPerm = reflectionPerm_1)

structure RootPairing E3 #

Type u_1 →
  (R : Type u_2) →
    (M : Type u_3) →
      (N : Type u_4) →
        [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)

Given two perfectly-paired R-modules M and N, a root pairing with indexing set ι is the data of an ι-indexed subset of M ("the roots"), an ι-indexed subset of N ("the coroots"), and an ι-indexed set of permutations of ι, such that each root-coroot pair evaluates to 2, and the permutation attached to each element of ι is compatible with the reflections on the corresponding roots and coroots.

It exists to allow for a convenient unification of the theories of root systems and root data.

abbrev RootPairing.toLinearMap 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] → RootPairing ι R M N → M →ₗ[R] N →ₗ[R] R

ctor RootPairing.mk E0 #

{ι : 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] →
                  (toLinearMap : M →ₗ[R] N →ₗ[R] R) →
                    [isPerfPair_toLinearMap : toLinearMap.IsPerfPair] →
                      (root : ι ↪ M) →
                        (coroot : ι ↪ N) →
                          (∀ (i : ι), (toLinearMap (root i)) (coroot i) = 2) →
                            (reflectionPerm : ι → ι ≃ ι) →
                              (∀ (i j : ι),
                                  root j - (toLinearMap (root j)) (coroot i) • root i = root ((reflectionPerm i) j)) →
                                (∀ (i j : ι),
                                    coroot j - (toLinearMap (root i)) (coroot j) • coroot i =
                                      coroot ((reflectionPerm i) j)) →
                                  RootPairing ι R M N

instance RootPairing.isPerfPair_toLinearMap E0 #

∀ {ι : 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] (self : RootPairing ι R M N), self.IsPerfPair

abbrev RootPairing.root 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] → RootPairing ι R M N → ι ↪ M

A parametrized family of vectors, called roots.

abbrev RootPairing.coroot 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] → RootPairing ι R M N → ι ↪ N

A parametrized family of dual vectors, called coroots.

theorem RootPairing.root_coroot_two 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] (self : RootPairing ι R M N) (i : ι),
  (self.toLinearMap (self.root i)) (self.coroot i) = 2

abbrev RootPairing.reflectionPerm 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] → RootPairing ι R M N → ι → ι ≃ ι

A parametrized family of permutations, induced by reflections. This corresponds to the classical requirement that the symmetry attached to each root (later defined in RootPairing.reflection) leave the whole set of roots stable: as explained above, we formalize this stability by fixing the image of the roots through each reflection (whence the permutation); and similarly for coroots.

theorem RootPairing.reflectionPerm_root 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] (self : RootPairing ι R M N) (i j : ι),
  self.root j - (self.toLinearMap (self.root j)) (self.coroot i) • self.root i = self.root ((self.reflectionPerm i) j)

theorem RootPairing.reflectionPerm_coroot 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] (self : RootPairing ι R M N) (i j : ι),
  self.coroot j - (self.toLinearMap (self.root i)) (self.coroot j) • self.coroot i =
    self.coroot ((self.reflectionPerm i) j)

abbrev RootDatum E3 #

Type u_1 →
  (X₁ : Type u_5) → (X₂ : Type u_6) → [AddCommGroup X₁] → [AddCommGroup X₂] → Type (max (max (max u_1 0) u_5) u_6)

Informally a root datum is a root pairing with coefficients in the integers, for which the root and coroot spaces are finitely-generated free Abelian groups.

Formally RootDatum does not demand the finite generation hypotheses. Thus to capture the informal concept one must supply the two assumptions [Module.Finite ℤ X₁] [Module.Finite ℤ X₂].

Finally note that if [Module.Finite ℤ X₁] [Module.Finite ℤ X₂] are supplied, one does not need to assume freeness since it follows automatically. Moreover Mathlib knows this via Module.IsReflexive.of_isPerfPair, Module.IsReflexive.to_isTorsionFree, Module.free_of_finite_type_torsion_free'.

class RootPairing.IsRootSystem 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] → RootPairing ι R M N → Prop

A root system is a root pairing for which the roots and coroots span their ambient modules.

ctor RootPairing.IsRootSystem.mk E0 #

∀ {ι : 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] {P : RootPairing ι R M N},
  Submodule.span R (Set.range ⇑P.root) = ⊤ → Submodule.span R (Set.range ⇑P.coroot) = ⊤ → P.IsRootSystem

theorem RootPairing.IsRootSystem.span_root_eq_top E0 #

∀ {ι : 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} {P : RootPairing ι R M N}
  [self : P.IsRootSystem], Submodule.span R (Set.range ⇑P.root) = ⊤

theorem RootPairing.IsRootSystem.span_coroot_eq_top E0 #

∀ {ι : 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} {P : RootPairing ι R M N}
  [self : P.IsRootSystem], Submodule.span R (Set.range ⇑P.coroot) = ⊤

def RootPairing.flip 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] → RootPairing ι R M N → RootPairing ι R N M

If we interchange the roles of M and N, we still have a root pairing.

theorem RootPairing.flip_root E0 #

∀ {ι : 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] (P : RootPairing ι R M N),
  P.flip.root = P.coroot

theorem RootPairing.flip_reflectionPerm E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (a : ι),
  P.flip.reflectionPerm a = P.reflectionPerm a

theorem RootPairing.flip_toLinearMap E0 #

∀ {ι : 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] (P : RootPairing ι R M N),
  P.flip.toLinearMap = P.flip

theorem RootPairing.flip_coroot E0 #

∀ {ι : 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] (P : RootPairing ι R M N),
  P.flip.coroot = P.root

theorem RootPairing.flip_flip E0 #

∀ {ι : 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] (P : RootPairing ι R M N), P.flip.flip = P

def RootPairing.flipEquiv 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] → RootPairing ι R N M ≃ RootPairing ι R M N

RootPairing.flip as an equivalence.

theorem RootPairing.flipEquiv_apply E0 #

∀ (ι : 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] (P : RootPairing ι R N M),
  (RootPairing.flipEquiv ι R M N) P = P.flip

theorem RootPairing.flipEquiv_symm_apply E0 #

∀ (ι : 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] (P : RootPairing ι R M N),
  (RootPairing.flipEquiv ι R M N).symm P = P.flip

instance RootPairing.instIsRootSystemFlip E0 #

∀ {ι : 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] (P : RootPairing ι R M N) [P.IsRootSystem],
  P.flip.IsRootSystem

theorem RootPairing.ne_zero 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] (P : RootPairing ι R M N) (i : ι) [NeZero 2],
  P.root i ≠ 0

theorem RootPairing.ne_zero' 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] (P : RootPairing ι R M N) (i : ι) [NeZero 2],
  P.coroot i ≠ 0

theorem RootPairing.zero_notMem_range_root 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] (P : RootPairing ι R M N) [NeZero 2],
  0 ∉ Set.range ⇑P.root

theorem RootPairing.zero_notMem_range_coroot 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] (P : RootPairing ι R M N) [NeZero 2],
  0 ∉ Set.range ⇑P.coroot

theorem RootPairing.exists_ne_zero 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] (P : RootPairing ι R M N) [Nonempty ι]
  [NeZero 2], ∃ i, P.root i ≠ 0

theorem RootPairing.exists_ne_zero' 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] (P : RootPairing ι R M N) [Nonempty ι]
  [NeZero 2], ∃ i, P.coroot i ≠ 0

theorem RootPairing.nontrivial 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] (P : RootPairing ι R M N) [Nonempty ι]
  [NeZero 2], Nontrivial M

theorem RootPairing.nontrivial' 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] (P : RootPairing ι R M N) [Nonempty ι]
  [NeZero 2], Nontrivial N

abbrev RootPairing.root' 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] → RootPairing ι R M N → ι → Module.Dual R N

Roots written as functionals on the coweight space.

abbrev RootPairing.coroot' 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] → RootPairing ι R M N → ι → Module.Dual R M

Coroots written as functionals on the weight space.

theorem RootPairing.root'_ne_zero 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] (P : RootPairing ι R M N) (i : ι) [NeZero 2],
  P.root' i ≠ 0

theorem RootPairing.coroot'_ne_zero 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] (P : RootPairing ι R M N) (i : ι) [NeZero 2],
  P.coroot' i ≠ 0

def RootPairing.pairing E3 #

{ι : 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] → RootPairing ι R M N → ι → ι → R

This is the pairing between roots and coroots.

theorem RootPairing.pairing_flip E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.flip.pairing i j = P.pairing j i

theorem RootPairing.root_coroot_eq_pairing E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  (P.toLinearMap (P.root i)) (P.coroot j) = P.pairing i j

theorem RootPairing.root'_coroot_eq_pairing E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  (P.root' i) (P.coroot j) = P.pairing i j

theorem RootPairing.root_coroot'_eq_pairing E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  (P.coroot' i) (P.root j) = P.pairing j i

theorem RootPairing.coroot_root_eq_pairing 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] (P : RootPairing ι R M N) (i j : ι),
  (P.flip (P.coroot i)) (P.root j) = P.pairing j i

theorem RootPairing.pairing_same E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.pairing i i = 2

theorem RootPairing.pairing_eq_add_of_root_eq_add 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] {P : RootPairing ι R M N} {i j k l : ι},
  P.root k = P.root i + P.root j → P.pairing k l = P.pairing i l + P.pairing j l

theorem RootPairing.pairing_eq_add_of_root_eq_smul_add_smul 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] {P : RootPairing ι R M N} {i j k l : ι}
  {x y : R}, P.root k = x • P.root i + y • P.root l → P.pairing k j = x • P.pairing i j + y • P.pairing l j

theorem RootPairing.coroot_root_two 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] (P : RootPairing ι R M N) (i : ι),
  (P.flip (P.coroot i)) (P.root i) = 2

def RootPairing.reflection 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] → RootPairing ι R M N → ι → M ≃ₗ[R] M

The reflection associated to a root.

theorem RootPairing.root_reflectionPerm E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.root ((P.reflectionPerm i) j) = (P.reflection i) (P.root j)

theorem RootPairing.mapsTo_reflection_root 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] (P : RootPairing ι R M N) (i : ι),
  Set.MapsTo (⇑(P.reflection i)) (Set.range ⇑P.root) (Set.range ⇑P.root)

theorem RootPairing.reflection_apply E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι) (x : M),
  (P.reflection i) x = x - (P.coroot' i) x • P.root i

theorem RootPairing.reflection_apply_root 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] (P : RootPairing ι R M N) (i j : ι),
  (P.reflection i) (P.root j) = P.root j - P.pairing j i • P.root i

theorem RootPairing.reflection_apply_self E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.reflection i) (P.root i) = -P.root i

theorem RootPairing.reflection_same E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι) (x : M),
  (P.reflection i) ((P.reflection i) x) = x

theorem RootPairing.reflection_inv E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.reflection i)⁻¹ = P.reflection i

theorem RootPairing.reflection_sq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.reflection i ^ 2 = 1

theorem RootPairing.reflectionPerm_sq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.reflectionPerm i ^ 2 = 1

theorem RootPairing.reflectionPerm_inv E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.reflectionPerm i)⁻¹ = P.reflectionPerm i

theorem RootPairing.reflectionPerm_self E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  (P.reflectionPerm i) ((P.reflectionPerm i) j) = j

theorem RootPairing.reflectionPerm_involutive 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] (P : RootPairing ι R M N) (i : ι),
  Function.Involutive ⇑(P.reflectionPerm i)

theorem RootPairing.reflectionPerm_symm E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.reflectionPerm i).symm = P.reflectionPerm i

theorem RootPairing.bijOn_reflection_root 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] (P : RootPairing ι R M N) (i : ι),
  Set.BijOn (⇑(P.reflection i)) (Set.range ⇑P.root) (Set.range ⇑P.root)

theorem RootPairing.reflection_image_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  ⇑(P.reflection i) '' Set.range ⇑P.root = Set.range ⇑P.root

def RootPairing.coreflection 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] → RootPairing ι R M N → ι → N ≃ₗ[R] N

The reflection associated to a coroot.

theorem RootPairing.coroot_reflectionPerm E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.coroot ((P.reflectionPerm i) j) = (P.coreflection i) (P.coroot j)

theorem RootPairing.mapsTo_coreflection_coroot 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] (P : RootPairing ι R M N) (i : ι),
  Set.MapsTo (⇑(P.coreflection i)) (Set.range ⇑P.coroot) (Set.range ⇑P.coroot)

theorem RootPairing.coreflection_apply E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι) (f : N),
  (P.coreflection i) f = f - (P.root' i) f • P.coroot i

theorem RootPairing.coreflection_apply_coroot 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] (P : RootPairing ι R M N) (i j : ι),
  (P.coreflection i) (P.coroot j) = P.coroot j - P.pairing i j • P.coroot i

theorem RootPairing.coreflection_apply_self E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.coreflection i) (P.coroot i) = -P.coroot i

theorem RootPairing.coreflection_same E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι) (x : N),
  (P.coreflection i) ((P.coreflection i) x) = x

theorem RootPairing.coreflection_inv E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  (P.coreflection i)⁻¹ = P.coreflection i

theorem RootPairing.coreflection_sq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.coreflection i ^ 2 = 1

theorem RootPairing.bijOn_coreflection_coroot 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] (P : RootPairing ι R M N) (i : ι),
  Set.BijOn (⇑(P.coreflection i)) (Set.range ⇑P.coroot) (Set.range ⇑P.coroot)

theorem RootPairing.coreflection_image_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  ⇑(P.coreflection i) '' Set.range ⇑P.coroot = Set.range ⇑P.coroot

theorem RootPairing.coreflection_eq_flip_reflection 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] (P : RootPairing ι R M N) (i : ι),
  P.coreflection i = P.flip.reflection i

theorem RootPairing.reflection_reflectionPerm 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] (P : RootPairing ι R M N) {i j : ι},
  P.reflection ((P.reflectionPerm j) i) = P.reflection j * P.reflection i * P.reflection j

theorem RootPairing.reflection_dualMap_eq_coreflection 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] (P : RootPairing ι R M N) (i : ι),
  ↑(P.reflection i).dualMap ∘ₗ P.flip = P.flip ∘ₗ ↑(P.coreflection i)

theorem RootPairing.coroot_eq_coreflection_of_root_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {i j k : ι},
  P.root k = (P.reflection i) (P.root j) → P.coroot k = (P.coreflection i) (P.coroot j)

theorem RootPairing.coroot'_reflectionPerm 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] (P : RootPairing ι R M N) {i j : ι},
  P.coroot' ((P.reflectionPerm i) j) = P.coroot' j ∘ₗ ↑(P.reflection i)

theorem RootPairing.coroot'_reflection 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] (P : RootPairing ι R M N) {i j : ι} (y : M),
  (P.coroot' j) ((P.reflection i) y) = (P.coroot' ((P.reflectionPerm i) j)) y

theorem RootPairing.pairing_reflectionPerm 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] (P : RootPairing ι R M N) (i j k : ι),
  P.pairing j ((P.reflectionPerm i) k) = P.pairing ((P.reflectionPerm i) j) k

theorem RootPairing.toPerfPair_conj_reflection E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.toPerfPair.conj ↑(P.reflection i) = (↑(P.coreflection i)).dualMap

theorem RootPairing.toPerfPair_flip_conj_coreflection E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  P.flip.toPerfPair.conj ↑(P.coreflection i) = (↑(P.reflection i)).dualMap

theorem RootPairing.pairing_reflectionPerm_self_left E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.pairing ((P.reflectionPerm i) i) j = -P.pairing i j

theorem RootPairing.pairing_reflectionPerm_self_right E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.pairing i ((P.reflectionPerm j) j) = -P.pairing i j

def RootPairing.indexNeg 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] → RootPairing ι R M N → InvolutiveNeg ι

The indexing set of a root pairing carries an involutive negation, corresponding to the negation of a root / coroot.

theorem RootPairing.indexNeg_neg E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i : ι),
  -i = (P.reflectionPerm i) i

theorem RootPairing.ne_neg 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] (P : RootPairing ι R M N) (i : ι) [NeZero 2]
  [IsDomain R], i ≠ -i

theorem RootPairing.root_eq_neg_iff E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {i j : ι},
  P.root i = -P.root j ↔ i = (P.reflectionPerm j) j

theorem RootPairing.coroot_eq_neg_iff E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {i j : ι},
  P.coroot i = -P.coroot j ↔ i = (P.reflectionPerm j) j

theorem RootPairing.neg_mem_range_root_iff E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {x : M},
  -x ∈ Set.range ⇑P.root ↔ x ∈ Set.range ⇑P.root

theorem RootPairing.neg_mem_range_coroot_iff E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {x : N},
  -x ∈ Set.range ⇑P.coroot ↔ x ∈ Set.range ⇑P.coroot

theorem RootPairing.neg_root_mem 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] (P : RootPairing ι R M N) (i : ι),
  -P.root i ∈ Set.range ⇑P.root

theorem RootPairing.neg_coroot_mem 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] (P : RootPairing ι R M N) (i : ι),
  -P.coroot i ∈ Set.range ⇑P.coroot

theorem RootPairing.smul_coroot_eq_of_root_eq_smul 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] {P : RootPairing ι R M N} [Finite ι]
  [HasUniqueDiv N] (i j : ι) (t : R), P.root j = t • P.root i → t • P.coroot j = P.coroot i

theorem RootPairing.coroot_eq_smul_coroot_iff E0 #

∀ {ι : 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] {P : RootPairing ι R M N} [Finite ι]
  [HasUniqueDiv M] [HasUniqueDiv N] {i j : ι} {t : R}, P.coroot i = t • P.coroot j ↔ P.root j = t • P.root i

theorem RootPairing.mem_range_root_of_mem_range_reflection_of_mem_range_root E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {r : M ≃ₗ[R] M}
  {α : M}, r ∈ Set.range P.reflection → α ∈ Set.range ⇑P.root → r • α ∈ Set.range ⇑P.root

theorem RootPairing.mem_range_coroot_of_mem_range_coreflection_of_mem_range_coroot E0 #

∀ {ι : 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] (P : RootPairing ι R M N) {r : N ≃ₗ[R] N}
  {α : N}, r ∈ Set.range P.coreflection → α ∈ Set.range ⇑P.coroot → r • α ∈ Set.range ⇑P.coroot

theorem RootPairing.pairing_smul_root_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j k : ι),
  P.reflectionPerm i = P.reflectionPerm j → P.pairing k i • P.root i = P.pairing k j • P.root j

theorem RootPairing.pairing_smul_coroot_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j k : ι),
  P.reflectionPerm i = P.reflectionPerm j → P.pairing i k • P.coroot i = P.pairing j k • P.coroot j

theorem RootPairing.two_nsmul_reflection_eq_of_perm_eq E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.reflectionPerm i = P.reflectionPerm j → 2 • ⇑(P.reflection i) = 2 • ⇑(P.reflection j)

theorem RootPairing.reflectionPerm_eq_reflectionPerm_iff_of_isSMulRegular 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] (P : RootPairing ι R M N) (i j : ι),
  IsSMulRegular M 2 → (P.reflectionPerm i = P.reflectionPerm j ↔ P.reflection i = P.reflection j)

theorem RootPairing.reflectionPerm_eq_reflectionPerm_iff_of_span 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] (P : RootPairing ι R M N) (i j : ι),
  P.reflectionPerm i = P.reflectionPerm j ↔
    ∀ x ∈ Submodule.span R (Set.range ⇑P.root), (P.reflection i) x = (P.reflection j) x

theorem RootPairing.reflectionPerm_eq_reflectionPerm_iff E0 #

∀ {ι : 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] (P : RootPairing ι R M N) [P.IsRootSystem]
  (i j : ι), P.reflectionPerm i = P.reflectionPerm j ↔ P.reflection i = P.reflection j

theorem RootPairing.toPerfPair_comp_root E0 #

∀ {ι : 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] (P : RootPairing ι R M N),
  ⇑P.toPerfPair ∘ ⇑P.root = P.root'

theorem RootPairing.toPerfPair_flip_comp_coroot E0 #

∀ {ι : 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] (P : RootPairing ι R M N),
  ⇑P.flip.toPerfPair ∘ ⇑P.coroot = P.coroot'

def RootPairing.coxeterWeight 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] → RootPairing ι R M N → ι → ι → R

The Coxeter Weight of a pair gives the weight of an edge in a Coxeter diagram, when it is finite. It is 4 cos² θ, where θ describes the dihedral angle between hyperplanes.

theorem RootPairing.coxeterWeight_flip E0 #

∀ {ι : 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] (P : RootPairing ι R M N) (i j : ι),
  P.flip.coxeterWeight i j = P.coxeterWeight i j

theorem RootPairing.coxeterWeight_swap 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] (P : RootPairing ι R M N) (i j : ι),
  P.coxeterWeight i j = P.coxeterWeight j i

def RootPairing.IsOrthogonal 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] → RootPairing ι R M N → ι → ι → Prop

Two roots are orthogonal when they are fixed by each others' reflections.

theorem RootPairing.isOrthogonal_symm 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] (P : RootPairing ι R M N) (i j : ι),
  P.IsOrthogonal i j ↔ P.IsOrthogonal j i

theorem RootPairing.isOrthogonal_comm 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] (P : RootPairing ι R M N) (i j : ι),
  P.IsOrthogonal i j → Commute (P.reflection i) (P.reflection j)

theorem RootPairing.IsOrthogonal.flip 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal i j → P.flip.IsOrthogonal i j

theorem RootPairing.IsOrthogonal.symm 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal i j → P.IsOrthogonal j i

theorem RootPairing.IsOrthogonal.reflection_apply_left 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal i j → (P.reflection j) (P.root i) = P.root i

theorem RootPairing.IsOrthogonal.reflection_apply_right 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal j i → (P.reflection j) (P.root i) = P.root i

theorem RootPairing.IsOrthogonal.coreflection_apply_left 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal i j → (P.coreflection j) (P.coroot i) = P.coroot i

theorem RootPairing.IsOrthogonal.coreflection_apply_right 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] {P : RootPairing ι R M N} {i j : ι},
  P.IsOrthogonal j i → (P.coreflection j) (P.coroot i) = P.coroot i

theorem RootPairing.isFixedPt_reflection_of_isOrthogonal 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] {P : RootPairing ι R M N} {j : ι} {s : Set ι},
  (∀ i ∈ s, P.IsOrthogonal j i) →
    ∀ {x : M}, x ∈ Submodule.span R (⇑P.root '' s) → Function.IsFixedPt (⇑(P.reflection j)) x

theorem RootPairing.reflectionPerm_eq_of_pairing_eq_zero 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] {P : RootPairing ι R M N} {i j : ι},
  P.pairing j i = 0 → (P.reflectionPerm i) j = j

theorem RootPairing.reflectionPerm_eq_of_pairing_eq_zero' 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] {P : RootPairing ι R M N} {i j : ι},
  P.pairing i j = 0 → (P.reflectionPerm i) j = j

theorem RootPairing.reflectionPerm_eq_iff_smul_root 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] {P : RootPairing ι R M N} {i j : ι},
  (P.reflectionPerm i) j = j ↔ P.pairing j i • P.root i = 0

theorem RootPairing.reflectionPerm_eq_iff_smul_coroot 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] {P : RootPairing ι R M N} {i j : ι},
  (P.reflectionPerm i) j = j ↔ P.pairing i j • P.coroot i = 0

theorem RootPairing.pairing_eq_zero_iff E0 #

∀ {ι : 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] {P : RootPairing ι R M N} {i j : ι} [NeZero 2]
  [IsDomain R] [Module.IsTorsionFree R M], P.pairing i j = 0 ↔ P.pairing j i = 0

theorem RootPairing.pairing_eq_zero_iff' 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] {P : RootPairing ι R M N} {i j : ι} [NeZero 2]
  [IsDomain R], P.pairing i j = 0 ↔ P.pairing j i = 0

theorem RootPairing.coxeterWeight_zero_iff_isOrthogonal 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] {P : RootPairing ι R M N} {i j : ι} [NeZero 2]
  [IsDomain R], P.coxeterWeight i j = 0 ↔ P.IsOrthogonal i j

theorem RootPairing.isOrthogonal_iff_pairing_eq_zero 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] {P : RootPairing ι R M N} {i j : ι} [NeZero 2]
  [IsDomain R] [Module.IsTorsionFree R M], P.IsOrthogonal i j ↔ P.pairing i j = 0

theorem RootPairing.isFixedPt_reflectionPerm_iff E0 #

∀ {ι : 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] {P : RootPairing ι R M N} {i j : ι} [NeZero 2]
  [IsDomain R] [Module.IsTorsionFree R M], Function.IsFixedPt (⇑(P.reflectionPerm i)) j ↔ P.pairing i j = 0

def RootPairing.map 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] →
                  {P : RootPairing ι R M N} →
                    {ι₂ : Type u_5} →
                      {M₂ : Type u_6} →
                        {N₂ : Type u_7} →
                          [inst_5 : AddCommGroup M₂] →
                            [inst_6 : Module R M₂] →
                              [inst_7 : AddCommGroup N₂] →
                                [inst_8 : Module R N₂] → ι ≃ ι₂ → (M ≃ₗ[R] M₂) → (N ≃ₗ[R] N₂) → RootPairing ι₂ R M₂ N₂

Push forward a root pairing along linear equivalences, also reindexing the (co)roots.

instance RootPairing.instIsRootSystemMap E0 #

∀ {ι : 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] {P : RootPairing ι R M N} {ι₂ : Type u_5}
  {M₂ : Type u_6} {N₂ : Type u_7} [inst_5 : AddCommGroup M₂] [inst_6 : Module R M₂] [inst_7 : AddCommGroup N₂]
  [inst_8 : Module R N₂] [P.IsRootSystem] (e : ι ≃ ι₂) (f : M ≃ₗ[R] M₂) (g : N ≃ₗ[R] N₂),
  (RootPairing.map e f g).IsRootSystem