arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.14831math.NAcs.NAmath.RAmath.RT
收藏

利用带对合的结合代数自动推导数值线性代数中的高级算法

Automating the Derivation of Advanced Algorithms in Numerical Linear Algebra using Associative Algebras with Involution

Imperial College London(帝国理工学院)

Ran Gutin

AI总结:

本论文通过重载数值线性代数的七种运算,利用带对合的结合代数推导高级算法,证明加布里埃尔定理类似结论,实现多种经典算法的统一,并开发Python库及可视化工具。

摘要:

数值线性代数的标准算法通过七种运算使用其标量:加、减、乘、除、伴随、*平方根和(i,j)索引。本论文如同自动微分重载算术一样,重载这些运算,允许标量属于带对合的结合代数。由此产生的许多分解和算法都可归结为这些*代数上的埃尔米特特征分解。这些分解由双符号箭图组织,其顶点记录实数、复数或四元数标量以及对合的作用。我们证明了加布里埃尔定理的一个类似结论:每个有限维实*代数都是矩阵代数,其大小和符号由其箭图的路径*代数的商决定。谱定理、奇异值分解、高木分解、西尔维斯特惯性定律和实若尔当形都作为埃尔米特矩阵的酉相似问题出现。除法和平方根在完成的局部化中进行,该局部化对箭头求逆。对于奇异值分解,豪斯霍尔德三对角化变为戈卢布-卡汉双对角化。在分裂复数上,QR算法一次两步变为鲁蒂绍尔的LR算法,且乔列斯基分解变为杜利特尔的LU分解。这些识别需要合适的*平方根,且只要步骤有定义就成立。无穷小将算法的极限变为精确计算:格拉姆-施密特方法产生布吕阿分解,且按数量级选择主元的高斯消元法在主导项中产生迪克斯特拉最短路径算法。一个Python库实现了这七种运算和算法,附录可视化了2×2实矩阵上的QR算法。

英文摘要:

Standard algorithms of numerical linear algebra are written against seven operations: addition, subtraction, multiplication, division, the adjoint and the $*$-square root of scalars, and $(i,j)$ indexing of matrices. This thesis overloads them, as forward-mode automatic differentiation overloads arithmetic, so that the scalars may lie in a $*$-algebra, an associative algebra with an involution. One program then becomes different classical algorithms over different $*$-algebras, and several classical decompositions become one: the Hermitian eigendecomposition, a tridiagonal, block-diagonal canonical form under unitary similarity. Over a $*$-algebra, indexing must say what the entries of a matrix are. We prove an analogue of Gabriel's theorem: every finite-dimensional real $*$-algebra consists of matrices over a quotient of the path $*$-algebra of its doubly-signed quiver. Each doubly-signed quiver encodes a classical problem as unitary similarity of Hermitian matrices. The spectral theorems, the singular value decomposition, the Takagi factorisation, Sylvester's law of inertia and the real Jordan form arise in this way. For the real singular value decomposition, Householder tridiagonalisation becomes Golub-Kahan bidiagonalisation. Over the split-complex numbers (over which the Hermitian eigendecomposition is the real Jordan form), the QR algorithm becomes Rutishauser's LR algorithm, two steps at a time. There the Cholesky factorisation becomes Doolittle's $LU$ factorisation. These hold for suitable $*$-square roots, whenever the steps are defined. Infinitesimals make limits of algorithms exact computations: the Gram-Schmidt process yields the Bruhat decomposition, and Gaussian elimination, with pivots chosen by orders of magnitude, yields Dijkstra's shortest-path algorithm to leading order. A Python library implements the seven operations and these algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑