The centre of the Hamilton quaternions #
The Hamilton quaternions ℍ[R] over a commutative ring R are the free R-module on 1, i, j, k
with i² = j² = k² = -1. This file computes their centre, and deduces that ℍ[R] is a central
R-algebra whenever 2 is a regular element of R. Over ℝ this makes ℍ[ℝ] a central simple
ℝ-algebra, since a division ring is a simple ring; the file closes by showing that this central
simple algebra is not split, that is, not isomorphic to a matrix algebra over R.
The computation runs through TauCeti.Quaternion.commute_iff, which says that two quaternions
commute exactly when 2 annihilates the three coordinates of the cross product of their imaginary
parts. That criterion holds over an arbitrary commutative ring, with no regularity assumption: in
characteristic two ℍ[R] really is commutative, and the criterion records that degeneration rather
than excluding it.
Main results #
TauCeti.Quaternion.commute_iff: two quaternions commute iff2annihilates the cross product of their imaginary parts, andTauCeti.Quaternion.commute_iff', its classical form for2regular: two quaternions commute iff the cross product of their imaginary parts vanishes, that is, iff the three2 × 2minors of the pair of imaginary parts all vanish. Over a field that is the statement that the imaginary parts are parallel; over a general commutative ring vanishing minors are weaker than one imaginary part being a scalar multiple of the other.TauCeti.Quaternion.mem_center_iff: a quaternion is central iff2annihilates each of its three imaginary coordinates.TauCeti.Quaternion.center_eq_bot: if2is left regular inR, the centre ofℍ[R]is the image ofR.TauCeti.Quaternion.instIsCentral:ℍ[R]is a centralR-algebra whenRhas no zero divisors and2 ≠ 0inR. This is the roadmap'squaternion_isCentralatR = ℝ.TauCeti.Quaternion.isEmpty_algEquiv_matrix: over a linearly ordered commutative ring,ℍ[R]is not isomorphic to a matrix algebra of size at least two, so over a field its Brauer class is nontrivial.
Implementation notes #
The Hamilton computation here is for Quaternion R = ℍ[R], with i² = j² = k² = -1. The centre
genuinely depends on the structure constants, and the general algebra need not be central even over
ℝ. For instance in
ℍ[ℝ, 0, 0, 0] the products of k with each imaginary unit all vanish (i * k = k * i = 0,
j * k = k * j = 0 and k * k = 0), so k is a central element outside the image of ℝ; the
other products of imaginary units are not all zero there, since i * j = k and j * i = -k.
The regularity hypothesis of center_eq_bot is carried as IsLeftRegular (2 : R), which is exactly
what the proof consumes. instIsCentral restates it with the typeclass assumptions
[NoZeroDivisors R] [NeZero (2 : R)] so that instance search can discharge it; the roadmap's target
R = ℝ is an instance of that form.
References #
This file implements the Hamilton-quaternion worked example of Layer 6 in
TauCetiRoadmap/RepresentationTheory/SemisimpleAlgebras/README.md, whose Suggested.lean pins it
as quaternion_isCentral. The centrality of ℍ and the nonsplitting statement are the two halves
of the classical computation of the Brauer group of ℝ; see for instance P. Gille and
T. Szamuely, Central Simple Algebras and Galois Cohomology, CUP (2006), §1.1 and §2.1.
Two quaternions commute exactly when 2 annihilates the cross product of their imaginary
parts. The real part of a commutator always vanishes, and its three imaginary coordinates are
twice the coordinates of the cross product Im x × Im y.
No regularity assumption on 2 is made, so the statement also covers characteristic two, where
ℍ[R] is commutative and all three conditions hold vacuously.
Two quaternions commute exactly when the cross product of their imaginary parts vanishes,
once 2 is a left regular element of R. This is the classical form of
TauCeti.Quaternion.commute_iff: two quaternions commute precisely when the three 2 × 2 minors
of their imaginary parts vanish. Over a field that says the imaginary parts are parallel, but over
a general commutative ring vanishing minors do not force one imaginary part to be a scalar multiple
of the other.
A quaternion is central exactly when 2 annihilates each of its imaginary coordinates.
Commuting with i and with j already forces all three conditions, and conversely those conditions
make the cross product criterion of TauCeti.Quaternion.commute_iff hold against every
quaternion.
The centre of ℍ[R] is the image of R as soon as 2 is a left regular element of R.
The Hamilton quaternions are a central algebra. Over a commutative ring with no zero
divisors in which 2 ≠ 0, the centre of ℍ[R] is exactly the image of R. Specialized to
R = ℝ this is the centrality half of the statement that ℍ[ℝ] is a central simple ℝ-algebra.
The Hamilton quaternions over a linearly ordered commutative ring are not split: they are
not isomorphic, as an R-algebra, to a matrix algebra of size at least two. Such a matrix algebra
has nonzero zero divisors while ℍ[R] has none, so no isomorphism can exist.
Together with TauCeti.Quaternion.instIsCentral and the simplicity of a division ring this says,
for R a linearly ordered field, that the Brauer class of ℍ[R] is nontrivial; over ℝ it is the
nonidentity element of the Brauer group.