arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06685cs.DScs.DMmath.AG
收藏

欧几里得算法的自然推广:更快的格基计算

Faster Lattice Basis Computation via a Natural Generalization of the Euclidean Algorithm

Kim-Manuel Klein, Janina Reuter

AI总结:

本文提出欧几里得算法的自然推广,用于计算一般格的基,运行时间优于现有最快算法,是近30年首次一般性改进。

摘要:

欧几里得算法是人类已知最古老的算法。给定两个整数$a_1$和$a_2$,它以非常优雅的方式计算$a_1$和$a_2$的最大公约数(gcd)。从格的角度来看,它计算两个一维格$a_1 \mathbb{Z}$和$a_2 \mathbb{Z}$的和的基为$\gcd(a_1,a_2) \mathbb{Z} = a_1 \mathbb{Z} + a_2 \mathbb{Z}$。在本文中,我们表明经典欧几里得算法可以以非常自然的方式推广,用于计算一般格$L(A_1, \ldots , A_n)$的基,其中给定向量$A_1, \ldots , A_n \in \mathbb{Z}^d$满足$n> \mathrm{rank}(a_1, \ldots ,a_d)$。与欧几里得算法类似,我们的算法非常易于描述和实现,可以用12行伪代码编写。作为我们的主要结果,我们获得了一个算法,用于在时间(计算比特操作)$LS + \tilde{O}((n-d)d^2 \cdot \log(||A||)$内计算给定向量$A_1, \ldots , A_n \in \mathbb{Z}^d$的格基,其中$LS$是获得某个线性等式组的精确分数解所需的时间。我们算法的运行时间分析依赖于关于线性方程组解的分数性的基本陈述。到目前为止,最快的格基计算算法是Storjohann和Labhan [SL96]提出的,其运行时间为$\tilde{O}(nd^ω\log ||A||)$。对于当前$LS$的上界,我们的算法相对于[SL96]的运行时间改进因子至少为$d^{0.12}$。因此,我们的算法是近30年来对该经典问题的第一个一般性算法改进。最后,我们提出了一个后处理过程,为所得基矩阵的向量产生改进的尺寸界$\sqrt{d} ||A||$。

英文摘要:

The Euclidean algorithm is the oldest algorithms known to mankind. Given two integral numbers $a_1$ and $a_2$, it computes the greatest common divisor (gcd) of $a_1$ and $a_2$ in a very elegant way. From a lattice perspective, it computes a basis of the sum of two one-dimensional lattices $a_1 \mathbb{Z}$ and $a_2 \mathbb{Z}$ as $\gcd(a_1,a_2) \mathbb{Z} = a_1 \mathbb{Z} + a_2 \mathbb{Z}$. In this paper, we show that the classical Euclidean algorithm can be adapted in a very natural way to compute a basis of a general lattice $L(A_1, \ldots , A_n)$ given vectors $A_1, \ldots , A_n \in \mathbb{Z}^d$ with $n> \mathrm{rank}(a_1, \ldots ,a_d)$. Similar to the Euclidean algorithm, our algorithm is very easy to describe and implement and can be written within 12 lines of pseudocode. As our main result, we obtain an algorithm to compute a lattice basis for given vectors $A_1, \ldots , A_n \in \mathbb{Z}^d$ in time (counting bit operations) $LS + \tilde{O}((n-d)d^2 \cdot \log(||A||)$, where $LS$ is the time required to obtain the exact fractional solution of a certain system of linear equalities. The analysis of the running time of our algorithms relies on fundamental statements on the fractionality of solutions of linear systems of equations. So far, the fastest algorithm for lattice basis computation was due to Storjohann and Labhan [SL96] having a running time of $\tilde{O}(nd^ω\log ||A||)$. For current upper bounds of $LS$, our algorithm has a running time improvement of a factor of at least $d^{0.12}$ over [SL96]. Our algorithm is therefore the first general algorithmic improvement to this classical problem in nearly 30 years. At last, we present a postprocessing procedure which yields an improved size bound of $\sqrt{d} ||A||$ for vectors of the resulting basis matrix.

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

↑