Skip to content

Quasilinear multiplication in the Cayley-Dickson tower

Harrison Lemley

math.RA

Abstract

Direct evaluation of the defining product of the Cayley-Dickson algebra AnA_n of rank N:=2nN:=2^n requires a quadratic number of arithmetic operations. This paper gives a uniform bilinear algorithm that computes multiplication in AnA_n over a unital commutative ring RR in which 2∈R×2\in R^\times using O(Nlog⁡N)O(N\log N) arithmetic operations and O(N)O(N) auxiliary storage, given AnA_n is defined with doubling parameters that are units with square roots in a fixed commutative algebra finitely generated as an RR-module admitting a linear surjection onto the base ring preserving the identity. These conditions are satisfied by every Cayley-Dickson tower over R\mathbb{R} and over finite fields of odd characteristic, where the tensor rank of multiplication in AnA_n is at most (36n−69)2n−3+10(36n-69)2^{n-3}+10 for n≥4n\ge4. To the author's knowledge, this is the first uniform subquadratic algorithm for multiplication in AnA_n. In single-core benchmarks over R\mathbb{R}, an open-source implementation in the library fastCD is approximately 1717 times faster than direct multiplication at N=1024N=1024.

Create a lesson

Metadata

Categories
math.RA, cs.NA, cs.SC, math.NA
Comments
43 pages, 7 tables. v5: Updated the abstract; added content to the applications paragraph in the introduction; updated data and fastCD version in Section 5; updated disclosures in Section 7 and added a statement on code availability. Code: https://git.tanuki-cd.com/algebraity/fastCD