The Cayley-Dickson Construction in ACL2
John Cowles (University of Wyoming), Ruben Gamboa

TL;DR
This paper explores the Cayley-Dickson Construction within ACL2(r), examining how to generate higher-dimensional number systems like quaternions and octonions while preserving key algebraic properties.
Contribution
It formalizes the Cayley-Dickson Construction in ACL2(r), analyzing conditions under which constructed vector spaces maintain Euclidean length properties.
Findings
Formalization of Cayley-Dickson Construction in ACL2(r)
Conditions for preserving Euclidean length in constructed vector spaces
Insights into algebraic properties of quaternions and octonions
Abstract
The Cayley-Dickson Construction is a generalization of the familiar construction of the complex numbers from pairs of real numbers. The complex numbers can be viewed as two-dimensional vectors equipped with a multiplication. The construction can be used to construct, not only the two-dimensional Complex Numbers, but also the four-dimensional Quaternions and the eight-dimensional Octonions. Each of these vector spaces has a vector multiplication, v_1*v_2, that satisfies: 1. Each nonzero vector has a multiplicative inverse. 2. For the Euclidean length of a vector |v|, |v_1 * v_2| = |v_1| |v2|. Real numbers can also be viewed as (one-dimensional) vectors with the above two properties. ACL2(r) is used to explore this question: Given a vector space, equipped with a multiplication, satisfying the Euclidean length condition 2, given above. Make pairs of vectors into "new" vectors…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgebraic and Geometric Analysis · Control and Stability of Dynamical Systems
The Cayley-Dickson Construction in ACL2
John Cowles Ruben Gamboa
University of Wyoming
Laramie, WY
(12 January 2017)
Abstract
The Cayley-Dickson Construction is a generalization of the familiar construction of the complex numbers from pairs of real numbers. The complex numbers can be viewed as two-dimensional vectors equipped with a multiplication.
The construction can be used to construct, not only the two-dimensional Complex Numbers, but also the four-dimensional Quaternions and the eight-dimensional Octonions. Each of these vector spaces has a vector multiplication, , that satisfies:
Each nonzero vector, , has a multiplicative inverse . 2. 2.
For the Euclidean length of a vector ,
Real numbers can also be viewed as (one-dimensional) vectors with the above two properties.
ACL2(r) is used to explore this question: Given a vector space, equipped with a multiplication, satisfying the Euclidean length condition 2, given above. Make pairs of vectors into “new” vectors with a multiplication. When do the newly constructed vectors also satisfy condition 2?
1 Cayley-Dickson Construction
Given a vector space, with vector addition, ; vector minus ; a zero vector ; scalar multiplication by real number , ; a unit vector ; and vector multiplication ; satisfying the Euclidean length condition (2).
Define the norm of vector by . Since is equivalent to , the Euclidean length condition is equivalent to
[TABLE]
Recall the dot (or inner) product, of -dimensional vectors, is defined by
[TABLE]
Then Euclidean length and norm of vector are given by
[TABLE]
Except for vector multiplication, it is easy to treat ordered pairs of vectors, , as vectors:
2. 2.
3. 3.
zero vector: 4. 4.
\mbox{ a}\circ(\mathbf{v}_{\_}{1};\mathbf{v}_{\_}{2})=(\!\!\mbox{ a}\circ\mathbf{v}_{\_}{1};\!\mbox{ a}\circ\mathbf{v}_{\_}{2}) 5. 5.
unit vector: 6. 6.
7. 7.
Given that
[TABLE]
the problem is to define multiplication of vector pairs so that
[TABLE]
1.1 Examples
Complex multiplication.
Think of the real numbers as one-dimensional vectors. Interpret ordered pairs of real numbers as complex numbers: For real and , . For reals and , complex multiplication is defined by
[TABLE]
and satisfies
[TABLE]
Quaternion multiplication.
Think of the complex numbers as two-dimensional vectors. Interpret ordered pairs of complex numbers as William Hamilton’s quaternions [2, 4, 3]: For complex and ,
[TABLE]
where .
For complex , is the conjugate of .
For complex numbers , , , and , quaternion multiplication is defined by
[TABLE]
and satisfies
[TABLE]
Quaternion multiplication is completely determined by this table for the multiplication of , , and :
[TABLE]
Quaternion multiplication is not commutative, since and . Quaternion multiplication is associative: .
Octonion multiplication.
Think of the quaternions as four-dimensional vectors. Interpret ordered pairs of quaternions as John Graves’s and Arthur Cayley’s octonions [2, 4, 3]: For quaternions and ,
[TABLE]
where , , and
For quaternion , is the conjugate of .
For quaternions , , , and , octonion multiplication is defined by
[TABLE]
and satisfies
[TABLE]
Octonion multiplication is completely determined by this table for the multiplication of , , , , , , and :
[TABLE]
Since the octonions contain the quaternions, octonion multiplication is also not commutative. Octonian multiplication is not associative, since and .
Complex (1), quaternion (2), and octonion (3) multiplication suggest these possible definitions for vector multiplication:
[TABLE]
When the and are real numbers, all three definitions are equivalent, since real multiplication is commutative and the conjugate of real , , is just .
When the and are complex numbers, the last two definitions are equivalent, since complex multiplication is commutative. However, when , , and , the product given by equation (4) is the zero vector . So a vector product defined by (4) need not satisfy
[TABLE]
for complex inputs.
Since the quaternions contain the complex numbers, a vector product defined by (4) also will not be satisfactory for quaternion inputs. When , , and , the product given by equation (5) is the zero vector . So a vector product defined by either (4) or (5) need not satisfy
[TABLE]
for quaternion inputs.
This leaves (6) as a possible way to define vector multiplication of ordered pairs of vectors. So a vector conjugate, , is also required. Continuing the enumeration of vector pair operations given on page 2:
2. 9.
The enumerated list of items, , defining various operations on ordered pairs of vectors, is called the Cayley-Dickson Construction [5, 3].
1.2 Summary
- •
Start with the real numbers.
Apply the Cayley-Dickson Construction to pairs of real numbers.
Obtain a vector algebra isomorphic to the complex numbers.
- •
Apply the Cayley-Dickson Construction to pairs of complex numbers.
Obtain a vector algebra isomorphic to the quaternions.
- •
Apply the Cayley-Dickson Construction to pairs of quaternions.
Obtain a vector algebra isomorphic to the octonians.
Each of these vector spaces: real numbers, complex numbers, quaternions, and octonians, satisfy
[TABLE]
Futhermore, every vector has a multiplicative inverse:
[TABLE]
2 Composition Algebras
A composition algebra [2, 4] is a real vector space, with vector multiplication, a real-valued norm, and a real-valued dot product, satisfying this composition law
[TABLE]
Use encapsulate to axiomatize, in ACL2(r), composition algebras.
ACL2(r) function symbols are needed for
- •
Vector Predicate. for “ is a vector.”
- •
Zero Vector.
- •
Vector Addition.
- •
Vector Minus.
- •
Scalar Multiplication. For real number ,
- •
Vector Multipication.
- •
Unit Vector.
- •
Vector Norm.
- •
Vector Dot Product.
- •
Predicate with Quantifier.
- •
Skolem Function. Witness function for Predicate with Quantifier
In addition to the usual closure axioms, the encapsulate adds these axioms to ACL2(r):
- •
Real Vector Space Axioms.
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
- •
Real Vector Algebra Axioms.
[TABLE]
[TABLE]
[TABLE]
[TABLE]
- •
Vector Norm and Dot Product Axioms.
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
The ACL2(r) theory of composition algebras includes the following theorems and definitions:
- •
Scaling Laws.
[TABLE]
[TABLE]
- •
Exchange Law.
[TABLE]
- •
Conjugate Definition.
[TABLE]
- •
Conjugate Laws.
[TABLE]
[TABLE]
[TABLE]
[TABLE]
- •
Inverse Definition.
[TABLE]
- •
Inverse Law.
[TABLE]
- •
Alternative Laws. Special versions of associativity.
[TABLE]
[TABLE]
[TABLE]
- •
Other Theorems.
[TABLE]
[TABLE]
[TABLE]
3 Composition Algebra Doubling.
Use encapsulate to axiomatize, in ACL2(r), two composition algebras, with vector predicates and . The vectors satisfying are ordered pairs of elements satisfying . Both algebras, individually, satisfy all the axioms (and also all theorems) of the previous section. These additional axioms connect the various vector operations of the two spaces:
- •
Additional Axioms.
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Since both and are composition algebras,
[TABLE]
Among the consequences of these encapsulated axioms, ACL2(r) verifies:
- •
Dot Product Doubling.
[TABLE]
- •
Conjugation Doubling.
[TABLE]
- •
Product Doubling.
[TABLE]
- •
Norm Doubling.
[TABLE]
- •
Associativity of .
[TABLE]
The above doubling theorems match the definitions used in the Cayley-Dickson Construction for making ordered pairs of vectors into vectors. Furthermore, if both the ordered pairs and the the component vectors form composition algebras, then the component algebra has an associative multiplication.
In addition, ACL2(r) verifies that if the component vectors form a composition algebra with an associative multiplication, then the Cayley-Dickson Construction makes the ordered pairs into a composition algebra.
3.1 Summary
ACL2(r) verifies:
- •
Start with a composition algebra .
- •
Let be the set of ordered pairs of elements from .
- •
Then
-
-
(a)
If is also a composition algebra, then -multiplication is associative. 2. (b)
If -multiplication is associative, then can be made into a composition algebra. 2. 2.
- (a)
If is a composition algebra with associative multiplication, then -multiplication is associative and commutative. 2. (b)
If -multiplication is associative and commutative, then can be made into a composition algebra with associative multiplication. 3. 3.
- (a)
If is a composition algebra with associative and commutative multiplication, then -multiplication is also associative and commutative, and -conjugation is trivial. 2. (b)
If -multiplication is associative and commutative, and
-conjugation is trivial, then can be made into a composition algebra with associative and commutative multiplication.
3.1.1 A last example
Apply the Cayley-Dickson Construction to pairs of octonions. Think of the octonions as eight-dimensional vectors. Interpret ordered pairs of octonions as sixteen-dimensional vectors called Sedenions [6]: For octonians
[TABLE]
[TABLE]
For octonion
[TABLE]
is the conjugate of .
For octonions , , , and , sedenion multiplication is defined by
[TABLE]
Recall the octonians have a non-trivial conjugate and octonian multiplication is not commutative and also not associative. The octonions form a composition algebra, so that for octonions and , .
By item 1(a) listed above about composition algebras, since octonian multiplication is not associative, the sedenions is not a composition algebra. In fact, the sedenion product of nonzero vectors could be the zero vector. For example, let , , , and be these otonions:
[TABLE]
Then
[TABLE]
So
[TABLE]
but
[TABLE]
and
[TABLE]
All nonzero sedenions have multiplicative inverses. For example,
[TABLE]
Appendix A ACL2(r) Books
A.1 cayley1.lisp
The Reals form a (1-dimensional) composition algebra.
A.2 cayley1a.lisp
Cons pairs of Reals form a (2-dimensional) composition algebra.
This algebra is (isomorphic to) the Complex Numbers.
A.3 cayley1b.lisp
Cons pairs of Complex Numbers form a (4-dimensional) composition algebra.
This algebra is (isomorphic to) the Quaternions.
3-Dimensional Vector Cross Product and 3-Dimensional Dot Product are related to 4-Dimensional Quaternion Multiplication.
A.4 cayley1c.lisp
Cons pairs of Quaternions form a (8-dimensional) composition algebra.
This algebra is (isomorphic to) the Octonions.
7-Dimensional Vector Cross Product and 7-Dimensional Dot Product are related to 8-Dimensional Octonion Multiplication.
A.5 cayley1d.lisp
Cons pairs of Octonions form a (16-dimensional) algebra.
This algebra is (isomorphic to) the Sedenions.
This algebra is not a composition algebra, but all nonzero Sedenions have multiplicative inverses.
A.6 cayley2.lisp
Axioms and theory of composition algebras.
A.7 cayley2.lisp
In composition algebras, .
A.8 cayley3.lisp
Start with a composition algebra V1. Let V2 be the set of ordered pairs of elements from V1.
If V2 is also a composition algebra, then V1-multiplication is associative.
A.9 cayley3a.lisp
Start with a composition algebra V. Let V2 be the set of ordered pairs of elements from V.
If V-multiplication is associative, then V2 can be made into a composition algebra.
A.10 cayley4.lisp
Start with a composition algebra V1. Let V2 be the set of ordered pairs of elements from V1.
If V2 is a composition algebra with associative multiplication, then V1-multiplication is associative and commutative.
A.11 cayley4a.lisp
Start with a composition algebra V. Let V2 be the set of ordered pairs of elements from V.
If V-multiplication is associative and commutative, then V2 can be made into a composition algebra with associative multiplication.
A.12 cayley5.lisp
Start with a composition algebra V1. Let V2 be the set of ordered pairs of elements from V1.
If V2 is a composition algebra with associative and commutative multiplication, then V1-multiplication is associative and commutative, and V1-conjugation is trivial.
A.13 cayley5a.lisp
Start with a composition algebra V. Let V2 be the set of ordered pairs of elements from V.
If V-multiplication is associative and commutative, and V-conjugation is trivial, then V2 can be made into a composition algebra with associative and commutative multiplication.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1]
- 2[2] J.H. Conway & D.A. Smith (2003): On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry . AK Peters.
- 3[3] Princeton Companion Group (2008): Quaternions, Octonians, and Normed Division Algebras . In Timothy Gowers, editor: The Princeton Companion to Mathematics , Princeton University Press, 10.1515/9781400830398 . · doi ↗
- 4[4] M. Koecher & R. Remmert (1991): Chapter 7, Hamilton’s Quaternions; Chapter 9, CAYLEY Numbers or Alternative Division Algebras; Chapter 10, Section 1, Composition Algebras . In F. Hirzebruch M. Koecher K. Mainzer J. Neukirch A. Prestel H.-D. Ebbinghaus, H. Hermes & R. Remmert, editors: Numbers , Springer-Verlag, 10.1007/978-1-4612-1005-4 . · doi ↗
- 5[5] Wikipedia (2016): Cayley-Dickson construction: From Wikipedia, the free encyclopedia . Available at https://en.wikipedia.org/wiki/Cayley-Dickson_construction .
- 6[6] Wikipedia (2016): Sedenion: From Wikipedia, the free encyclopedia . Available at https://en.wikipedia.org/wiki/Sedenion .
