Documentation

Lightlike.Spin4.SO4

Spin(4) = SU(2) × SU(2) is the double cover of SO(4) #

Spin4 is defined in Lightlike/Spin4/Rep.lean as SU2 × SU2. Here we prove that it is the double cover of the rotation group of ℝ⁴, modelled as the quaternions ℍ with Mathlib's Euclidean inner product ⟪a, b⟫ = Re(a b̄) (Quaternion.linearIsometryEquivTuple identifies ℍ with EuclideanSpace ℝ (Fin 4)).

Construction #

Proven here (standard axioms only) #

References #

A. Quaternions as 2 × 2 complex matrices #

The matrix of the quaternion a + bi + cj + dk: [[a + bi, c + di], [-c + di, a - bi]].

Equations
Instances For

    The quaternions as complex 2 × 2 matrices, an injective ℝ-algebra homomorphism.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Quaternion conjugation is the conjugate transpose.

      The determinant is the squared norm.

      B. Unit quaternions and SU(2) #

      A unit quaternion has |q|² = 1.

      A quaternion with |q|² = 1 is unitary.

      A unit quaternion gives an element of SU(2).

      theorem Lightlike.Spin4.exists_toMat_eq (g : ↥SU2) :
      ∃ (q : ↥(unitary (Quaternion ℝ))), toMat ↑q = ↑g

      Every element of SU(2) is the matrix of a unit quaternion: g = [[α, β], [-β̄, ᾱ]].

      SU(2) is the group of unit quaternions.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        C. Determinants #

        @[reducible, inline]

        The basis 1, i, j, k of ℍ over ℝ.

        Equations
        Instances For
          theorem Lightlike.Spin4.basisH_apply (i : Fin 4) :
          basisH i = ![1, { re := 0, imI := 1, imJ := 0, imK := 0 }, { re := 0, imI := 0, imJ := 1, imK := 0 }, { re := 0, imI := 0, imJ := 0, imK := 1 }] i
          theorem Lightlike.Spin4.det_fin_four (a b c d e f g h i j k l m n o p : ℝ) :
          !![a, b, c, d; e, f, g, h; i, j, k, l; m, n, o, p].det = a * (f * (k * p - l * o) - g * (j * p - l * n) + h * (j * o - k * n)) - b * (e * (k * p - l * o) - g * (i * p - l * m) + h * (i * o - k * m)) + c * (e * (j * p - l * n) - f * (i * p - l * m) + h * (i * n - j * m)) - d * (e * (j * o - k * n) - f * (i * o - k * m) + g * (i * n - j * m))

          Cofactor expansion of a 4 × 4 determinant.

          Left multiplication by q has determinant |q|⁴.

          Right multiplication by q has determinant |q|⁴.

          Quaternion conjugation as a real-linear map.

          Equations
          Instances For

            Conjugation reverses orientation: determinant -1.

            D. Reflections of ℍ #

            v x̄ v = 2⟪v, x⟫ v - |v|² x.

            The reflection of ℍ in the hyperplane v^⊥ is x ↦ -v x̄ v / |v|².

            E. The double cover Spin(4) → SO(4) #

            The rotation group SO(4) of ℝ⁴ ≅ ℍ: linear isometries of ℍ with determinant 1.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              x ↦ p x q̄ for unit quaternions p, q: a linear isometry of ℍ.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem Lightlike.Spin4.rotIso_apply (p q : ↥(unitary (Quaternion ℝ))) (x : Quaternion ℝ) :
                (rotIso p q) x = ↑p * x * star ↑q
                noncomputable def Lightlike.Spin4.toSO4 :

                The double-cover homomorphism Spin(4) → SO(4), (g₊, g₋) ↦ (x ↦ p x q⁻¹) where p, q are the unit quaternions of g₊, g₋.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem Lightlike.Spin4.toSO4_apply (g : Spin4) (x : Quaternion ℝ) :
                  ↑(toSO4 g) x = ↑(quatEquiv.symm g.1) * x * star ↑(quatEquiv.symm g.2)
                  theorem Lightlike.Spin4.prod_reflections (l : List (Quaternion ℝ)) :
                  (∃ (P : Quaternion ℝ) (Q : Quaternion ℝ), ∀ (x : Quaternion ℝ), (List.map (fun (v : Quaternion ℝ) => (ℝ ∙ v)ᗮ.reflection) l).prod x = P * x * Q) ∨ ∃ (P : Quaternion ℝ) (Q : Quaternion ℝ), ∀ (x : Quaternion ℝ), (List.map (fun (v : Quaternion ℝ) => (ℝ ∙ v)ᗮ.reflection) l).prod x = P * star x * Q

                  A product of reflections of ℍ is x ↦ P x Q or x ↦ P x̄ Q.

                  Every rotation of ℝ⁴ ≅ ℍ is x ↦ p x q⁻¹ for unit quaternions p, q: the double cover Spin(4) → SO(4) is surjective.

                  The unit quaternion of -1 ∈ SU(2) is -1.

                  theorem Lightlike.Spin4.eq_coe_of_commute {p : Quaternion ℝ} (hi : p * { re := 0, imI := 1, imJ := 0, imK := 0 } = { re := 0, imI := 1, imJ := 0, imK := 0 } * p) (hj : p * { re := 0, imI := 0, imJ := 1, imK := 0 } = { re := 0, imI := 0, imJ := 1, imK := 0 } * p) :
                  p = ↑p.re

                  A quaternion commuting with i and j is real.

                  The kernel of Spin(4) → SO(4) is {(1, 1), (-1, -1)}.

                  The kernel has two elements: (-1, -1) ≠ (1, 1).

                  theorem Lightlike.Spin4.quatEquiv_symm_coe (g : ↥SU2) :
                  ↑(quatEquiv.symm g) = { re := (↑g 0 0).re, imI := (↑g 0 0).im, imJ := (↑g 0 1).re, imK := (↑g 0 1).im }

                  The unit quaternion of g ∈ SU(2): g = [[a + bi, c + di], …] ↦ a + bi + cj + dk.

                  F. Topology: Spin(4) is a compact topological group #

                  SU(2) is a topological group (inversion is the conjugate transpose).

                  SU(2) is compact: it is closed, and its entries have modulus at most 1.

                  G. SO(4) as Mathlib's matrix group #

                  @[reducible, inline]

                  SO(4) as matrices: Mathlib's group of real orthogonal 4 × 4 matrices of determinant 1.

                  Equations
                  Instances For

                    In the orthonormal basis 1, i, j, k, the inner product of ℍ is the dot product.

                    The matrix of a linear isometry of ℍ in the basis 1, i, j, k is orthogonal.

                    noncomputable def Lightlike.Spin4.SO4MatEquiv :

                    Isometries of ℍ of determinant one are the matrix group SO(4).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      The double cover onto the matrix group SO(4).

                      Equations
                      Instances For

                        The kernel of toSO4Mat is {(1, 1), (-1, -1)}.

                        H. The covering map #

                        theorem Lightlike.Spin4.continuous_quatEquiv_symm {X : Type u_1} [TopologicalSpace X] {u : X → ↥SU2} (hu : Continuous u) :
                        Continuous fun (x : X) => ↑(quatEquiv.symm (u x))

                        The unit quaternion of u x ∈ SU(2) depends continuously on x.

                        Spin(4) → SO(4) is a covering map (a continuous surjective homomorphism from a compact group with finite kernel, hence a quotient map with discrete kernel).