Automating the Derivation of Advanced Algorithms in Numerical Linear Algebra using Associative Algebras with Involution
Abstract
Standard algorithms of numerical linear algebra use their scalars through seven operations: addition, subtraction, multiplication, division, the adjoint, the *-square root and (i,j) indexing. This thesis overloads these operations, as automatic differentiation overloads arithmetic, allowing scalars in associative algebras with involution. Many of the resulting decompositions and algorithms reduce to Hermitian eigendecomposition over these *-algebras. The decompositions are organised by doubly-signed quivers, whose vertices record real, complex or quaternionic scalars and the action of the involution. We prove an analogue of Gabriel's theorem: every finite-dimensional real *-algebra is a matrix algebra, with sizes and signs, over a quotient of its quiver's path *-algebra. Spectral theorems, the singular value decomposition, Takagi factorisation, Sylvester's law of inertia and the real Jordan form arise as unitary similarity problems for Hermitian matrices. Division and square roots take place in a completed localisation which inverts the arrows. For the singular value decomposition, Householder tridiagonalisation becomes Golub--Kahan bidiagonalisation. Over split-complex numbers, the QR algorithm becomes Rutishauser's LR algorithm, two steps at a time, and Cholesky factorisation becomes Doolittle's LU factorisation. These identifications require suitable *-square roots and hold whenever the steps are defined. Infinitesimals make limits of algorithms exact computations: Gram--Schmidt yields the Bruhat decomposition, and Gaussian elimination with pivots chosen by orders of magnitude yields Dijkstra's shortest-path algorithm in leading terms. A Python library implements the seven operations and algorithms. An appendix visualises the QR algorithm on 2×2 real matrices.
Related
- Derivation and Numerical Characterization of a Fractional Quasi-steady-state Approximation for Target-Mediated Drug Disposition Models with History-Dependent Binding.
- Support in the domain of numerical algorithms in the education of future secondary school mathematics teachers
- Randomized algorithms in numerical linear algebra for scientific computing
- GRAFT-ATHENA: Self-Improving Agentic Teams for Autonomous Discovery and Evolutionary Numerical Algorithms
- Soft-constrained Schrödinger bridge for generative AI: numerical algorithms and approximation guarantees
BibTeX
@misc{gutin2026automating,
title = {{Automating the Derivation of Advanced Algorithms in Numerical Linear Algebra using Associative Algebras with Involution}},
author = {Ran Gutin},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.14831},
eprint = {2611.14831},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.14831},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Automating the Derivation of Advanced Algorithms in Numerical Linear Algebra using Associative Algebras with Involution
AU - Ran Gutin
PY - 2026
DA - 2026/11/10
PB - arXiv
DO - 10.48550/arxiv.2611.14831
UR - https://arxiv.org/abs/2611.14831
AB - Standard algorithms of numerical linear algebra use their scalars through seven operations: addition, subtraction, multiplication, division, the adjoint, the *-square root and (i,j) indexing. This thesis overloads these operations, as automatic differentiation overloads arithmetic, allowing scalars in associative algebras with involution. Many of the resulting decompositions and algorithms reduce to Hermitian eigendecomposition over these *-algebras. The decompositions are organised by doubly-signed quivers, whose vertices record real, complex or quaternionic scalars and the action of the involution. We prove an analogue of Gabriel's theorem: every finite-dimensional real *-algebra is a matrix algebra, with sizes and signs, over a quotient of its quiver's path *-algebra. Spectral theorems, the singular value decomposition, Takagi factorisation, Sylvester's law of inertia and the real Jordan form arise as unitary similarity problems for Hermitian matrices. Division and square roots take place in a completed localisation which inverts the arrows. For the singular value decomposition, Householder tridiagonalisation becomes Golub--Kahan bidiagonalisation. Over split-complex numbers, the QR algorithm becomes Rutishauser's LR algorithm, two steps at a time, and Cholesky factorisation becomes Doolittle's LU factorisation. These identifications require suitable *-square roots and hold whenever the steps are defined. Infinitesimals make limits of algorithms exact computations: Gram--Schmidt yields the Bruhat decomposition, and Gaussian elimination with pivots chosen by orders of magnitude yields Dijkstra's shortest-path algorithm in leading terms. A Python library implements the seven operations and algorithms. An appendix visualises the QR algorithm on 2×2 real matrices.
ER -