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.Reflection

27 declarations. Mathlib docs · Source

Reflections in linear algebra

Given an element x in a module M together with a linear form f on M such that f x = 2, the map y ↦ y - (f y) • x is an involutive endomorphism of M, such that:

  1. the kernel of f is fixed,
  2. the point x maps to -x.

Such endomorphisms are often called reflections of the module M. When M carries an inner product for which x is perpendicular to the kernel of f, then (with mild assumptions) the endomorphism is characterised by properties 1 and 2 above, and is a linear isometry.

Main definitions / results:

  • Module.preReflection: the definition of the map y ↦ y - (f y) • x. Its main utility lies in the fact that it does not require the assumption f x = 2, giving the user freedom to defer discharging this proof obligation.
  • Module.reflection: the definition of the map y ↦ y - (f y) • x. This requires the assumption that f x = 2 but by way of compensation it produces a linear equivalence rather than a mere linear map.
  • Module.reflection_mul_reflection_pow_apply: a formula for $(r_1 r_2)^m z$, where $r_1$ and $r_2$ are reflections and $z \in M$. It involves the Chebyshev polynomials and holds over any commutative ring. This is used to define reflection representations of Coxeter groups.
  • Module.Dual.eq_of_preReflection_mapsTo: a uniqueness result about reflections that preserve finite spanning sets. It is useful in the theory of root data / systems.

TODO

Related definitions of reflection exist elsewhere in the library. These more specialised definitions, which require an ambient InnerProductSpace structure, are reflection (of type LinearIsometryEquiv) and EuclideanGeometry.reflection (of type AffineIsometryEquiv). We should connect (or unify) these definitions with Module.reflection defined here.

Powers of the product of two reflections

Let $M$ be a module over a commutative ring $R$. Let $x, y \in M$ and $f, g \in M^*$ with $f(x) = g(y) = 2$. The corresponding reflections $r_1, r_2 \colon M \to M$ (Module.reflection) are given by $r_1z = z - f(z) x$ and $r_2 z = z - g(z) y$. These are linear automorphisms of $M$.

To define reflection representations of a Coxeter group, it is important to be able to compute the order of the composition $r_1 r_2$.

Note that if $M$ is a real inner product space and $r_1$ and $r_2$ are both orthogonal reflections (i.e. $f(z) = 2 \langle x, z \rangle / \langle x, x \rangle$ and $g(z) = 2 \langle y, z\rangle / \langle y, y\rangle$ for all $z \in M$), then $r_1 r_2$ is a rotation by the angle $$\cos^{-1}\left(\frac{f(y) g(x) - 2}{2}\right)$$ and one may determine the order of $r_1 r_2$ accordingly.

However, if $M$ does not have an inner product, and even if $R$ is not $\mathbb{R}$, then we may instead use the formulas in this section. These formulas all involve evaluating Chebyshev $S$-polynomials (Polynomial.Chebyshev.S) at $t = f(y) g(x) - 2$, and they hold over any commutative ring.

Lemmas used to prove uniqueness results for root data

theorem Module.reflection.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x x_1 : M}
  (e_x : x = x_1) {f f_1 : Module.Dual R M} (e_f : f = f_1) (h : f x = 2), Module.reflection h = Module.reflection ⋯

def Module.preReflection E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → M → Module.Dual R M → Module.End R M

Given an element x in a module M and a linear form f on M, we define the endomorphism of M for which y ↦ y - (f y) • x.

One is typically interested in this endomorphism when f x = 2; this definition exists to allow the user defer discharging this proof obligation. See also Module.reflection.

theorem Module.preReflection_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (x : M)
  (f : Module.Dual R M) (y : M), (Module.preReflection x f) y = y - f y • x

theorem Module.preReflection_apply_self E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M}, f x = 2 → (Module.preReflection x f) x = -x

theorem Module.involutive_preReflection E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M}, f x = 2 → Function.Involutive ⇑(Module.preReflection x f)

theorem Module.preReflection_preReflection E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (y : M) (g : Module.Dual R M),
  f x = 2 →
    Module.preReflection ((Module.preReflection x f) y) ((Module.preReflection f ((Module.Dual.eval R M) x)) g) =
      Module.preReflection x f ∘ₗ Module.preReflection y g ∘ₗ Module.preReflection x f

def Module.reflection E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → {x : M} → {f : Module.Dual R M} → f x = 2 → M ≃ₗ[R] M

Given an element x in a module M and a linear form f on M for which f x = 2, we define the endomorphism of M for which y ↦ y - (f y) • x.

It is an involutive endomorphism of M fixing the kernel of f for which x ↦ -x.

theorem Module.reflection_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (y : M) (h : f x = 2), (Module.reflection h) y = y - f y • x

theorem Module.reflection_apply_self E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (h : f x = 2), (Module.reflection h) x = -x

theorem Module.involutive_reflection E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (h : f x = 2), Function.Involutive ⇑(Module.reflection h)

theorem Module.reflection_inv E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (h : f x = 2), (Module.reflection h)⁻¹ = Module.reflection h

theorem Module.reflection_symm E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (h : f x = 2), (Module.reflection h).symm = Module.reflection h

theorem Module.invOn_reflection_of_mapsTo E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} {Φ : Set M} (h : f x = 2), Set.InvOn (⇑(Module.reflection h)) (⇑(Module.reflection h)) Φ Φ

theorem Module.bijOn_reflection_of_mapsTo E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} {Φ : Set M} (h : f x = 2),
  Set.MapsTo (⇑(Module.reflection h)) Φ Φ → Set.BijOn (⇑(Module.reflection h)) Φ Φ

theorem Submodule.mem_invtSubmodule_reflection_of_mem E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} (h : f x = 2) (p : Submodule R M), x ∈ p → p ∈ Module.End.invtSubmodule ↑(Module.reflection h)

theorem Submodule.mem_invtSubmodule_reflection_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} [IsDomain R] [NeZero 2] [Module.IsTorsionFree R M] (h : f x = 2) {p : Submodule R M},
  Disjoint p (R ∙ x) → (p ∈ Module.End.invtSubmodule ↑(Module.reflection h) ↔ p ≤ LinearMap.ker f)

theorem Module.reflection_mul_reflection_pow_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℕ) (z : M) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_pow_apply._auto_1 →
    ((Module.reflection hf * Module.reflection hg) ^ m) z =
      z +
          (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 2) / 2)) *
              (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 1) / 2)) +
                Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 3) / 2)))) •
            ((g x * f z - g z) • y - f z • x) +
        (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 1) / 2)) *
            (Polynomial.eval t (Polynomial.Chebyshev.S R (↑m / 2)) +
              Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 2) / 2)))) •
          ((f y * g z - f z) • x - g z • y)

A formula for $(r_1 r_2)^m z$, where $m$ is a natural number and $z \in M$.

theorem Module.reflection_mul_reflection_pow E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℕ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_pow._auto_1 →
    ↑((Module.reflection hf * Module.reflection hg) ^ m) =
      LinearMap.id +
          (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 2) / 2)) *
              (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 1) / 2)) +
                Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 3) / 2)))) •
            (LinearMap.smulRight (g x • f - g) y - LinearMap.smulRight f x) +
        (Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 1) / 2)) *
            (Polynomial.eval t (Polynomial.Chebyshev.S R (↑m / 2)) +
              Polynomial.eval t (Polynomial.Chebyshev.S R ((↑m - 2) / 2)))) •
          (LinearMap.smulRight (f y • g - f) x - LinearMap.smulRight g y)

A formula for $(r_1 r_2)^m$, where $m$ is a natural number.

theorem Module.reflection_mul_reflection_zpow_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℤ) (z : M) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_zpow_apply._auto_1 →
    ((Module.reflection hf * Module.reflection hg) ^ m) z =
      z +
          (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 2) / 2)) *
              (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 1) / 2)) +
                Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 3) / 2)))) •
            ((g x * f z - g z) • y - f z • x) +
        (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 1) / 2)) *
            (Polynomial.eval t (Polynomial.Chebyshev.S R (m / 2)) +
              Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 2) / 2)))) •
          ((f y * g z - f z) • x - g z • y)

A formula for $(r_1 r_2)^m z$, where $m$ is an integer and $z \in M$.

theorem Module.reflection_mul_reflection_zpow E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℤ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_zpow._auto_1 →
    ↑((Module.reflection hf * Module.reflection hg) ^ m) =
      LinearMap.id +
          (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 2) / 2)) *
              (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 1) / 2)) +
                Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 3) / 2)))) •
            (LinearMap.smulRight (g x • f - g) y - LinearMap.smulRight f x) +
        (Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 1) / 2)) *
            (Polynomial.eval t (Polynomial.Chebyshev.S R (m / 2)) +
              Polynomial.eval t (Polynomial.Chebyshev.S R ((m - 2) / 2)))) •
          (LinearMap.smulRight (f y • g - f) x - LinearMap.smulRight g y)

A formula for $(r_1 r_2)^m$, where $m$ is an integer.

theorem Module.reflection_mul_reflection_zpow_apply_self E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℤ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_zpow_apply_self._auto_1 →
    ((Module.reflection hf * Module.reflection hg) ^ m) x =
      (Polynomial.eval t (Polynomial.Chebyshev.S R m) + Polynomial.eval t (Polynomial.Chebyshev.S R (m - 1))) • x +
        (Polynomial.eval t (Polynomial.Chebyshev.S R (m - 1)) * -g x) • y

A formula for $(r_1 r_2)^m x$, where $m$ is an integer. This is the special case of Module.reflection_mul_reflection_zpow_apply with $z = x$.

theorem Module.reflection_mul_reflection_pow_apply_self E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℕ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_pow_apply_self._auto_1 →
    ((Module.reflection hf * Module.reflection hg) ^ m) x =
      (Polynomial.eval t (Polynomial.Chebyshev.S R ↑m) + Polynomial.eval t (Polynomial.Chebyshev.S R (↑m - 1))) • x +
        (Polynomial.eval t (Polynomial.Chebyshev.S R (↑m - 1)) * -g x) • y

A formula for $(r_1 r_2)^m x$, where $m$ is a natural number. This is the special case of Module.reflection_mul_reflection_pow_apply with $z = x$.

theorem Module.reflection_mul_reflection_mul_reflection_zpow_apply_self E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℤ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_mul_reflection_zpow_apply_self._auto_1 →
    (Module.reflection hg * (Module.reflection hf * Module.reflection hg) ^ m) x =
      (Polynomial.eval t (Polynomial.Chebyshev.S R m) + Polynomial.eval t (Polynomial.Chebyshev.S R (m - 1))) • x +
        (Polynomial.eval t (Polynomial.Chebyshev.S R m) * -g x) • y

A formula for $r_2 (r_1 r_2)^m x$, where $m$ is an integer.

theorem Module.reflection_mul_reflection_mul_reflection_pow_apply_self E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M}
  {f g : Module.Dual R M} (hf : f x = 2) (hg : g y = 2) (m : ℕ) (t : optParam R (f y * g x - 2)),
  autoParam (t = f y * g x - 2) Module.reflection_mul_reflection_mul_reflection_pow_apply_self._auto_1 →
    (Module.reflection hg * (Module.reflection hf * Module.reflection hg) ^ m) x =
      (Polynomial.eval t (Polynomial.Chebyshev.S R ↑m) + Polynomial.eval t (Polynomial.Chebyshev.S R (↑m - 1))) • x +
        (Polynomial.eval t (Polynomial.Chebyshev.S R ↑m) * -g x) • y

A formula for $r_2 (r_1 r_2)^m x$, where $m$ is a natural number.

theorem Module.reflection_reflection_iterate E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} {y : M} {g : Module.Dual R M} (hfx : f x = 2) (hgy : g y = 2),
  f y * g x = 4 → ∀ (n : ℕ), (⇑(Module.reflection hgy ≪≫ₗ Module.reflection hfx))^[n] y = y + n • (f y • x - 2 • y)

Composite of reflections in "parallel" hyperplanes is a shear (special case).

theorem Module.infinite_range_reflection_reflection_iterate_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : M}
  {f : Module.Dual R M} {y : M} {g : Module.Dual R M} [HasUniqueDiv M] (hfx : f x = 2) (hgy : g y = 2),
  f y * g x = 4 →
    ((Set.range fun n ↦ (⇑(Module.reflection hgy ≪≫ₗ Module.reflection hfx))^[n] y).Infinite ↔ f y • x ≠ 2 • y)

theorem Module.injOn_dualMap_subtype_span_range_range E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_3}
  [HasUniqueDiv M] {r : ι ↪ M} {c : ι → Module.Dual R M},
  (Set.range ⇑r).Finite →
    (∀ (i : ι), (c i) (r i) = 2) →
      (∀ (i : ι), Set.MapsTo (⇑(Module.preReflection (r i) (c i))) (Set.range ⇑r) (Set.range ⇑r)) →
        Set.InjOn (⇑(Submodule.span R (Set.range ⇑r)).subtype.dualMap) (Set.range c)