Storage efficient algorithm for Hermite Normal Form using LLL

Abstract Computing HNF has a long history, but designing a storage efficient algorithm is a challenging issue for matrices of large sizes. One of the main challenges in the design of storage efficient HNF algorithm is to control the rank and the size of the intermediate input. In our proposed algorithm, we use a multiple extended gcd algorithm and show that the rank of the intermediate input matrix decreases as the number of iteration increases. The determinant of the intermediate input matrix of our algorithm is a factor of the determinant d of the input matrix and thus size reduction modulo d can be done in the computations of our algorithm. By using a lattice reduction algorithm and a proven quality of LLL reduced basis, we prove that the storage of the intermediate input matrix B k of our algorithm is less than ( n − k + 1 ) ( ( n − k + 1 ) ( n − k ) 4 + log 2 ⁡ d ) in bits. Therefore, it is expected that a smaller storage for kth iteration is required as k closes to n. We compare the intermediate computations of our algorithm to MW-type algorithm which has an optimal asymptotic space requirement. Our experimental example and results on intermediate size suggest that the intermediate storage of our HNF algorithm is comparable to MW-type algorithm and well controlled by the intermediate input size.

[1]  Damien Stehlé,et al.  Short Bases of Lattices over Number Fields , 2010, ANTS.

[2]  Clément Pernet,et al.  Fast computation of Hermite normal forms of random integer matrices , 2010 .

[3]  Sidi Mohamed Sedjelmaci,et al.  Two Fast Parallel GCD Algorithms of Many Integers , 2017, ISSAC.

[4]  Renzhang Liu,et al.  Computing Hermite Normal Form Faster via Solving System of Linear Equations , 2019, ISSAC.

[5]  George Havas,et al.  Extended GCD and Hermite Normal Form Algorithms via Lattice Basis Reduction , 1998, Exp. Math..

[6]  László Lovász,et al.  Factoring polynomials with rational coefficients , 1982 .

[7]  Damien Stehlé,et al.  LLL on the Average , 2006, ANTS.

[8]  Bogdan Warinschi,et al.  A linear space algorithm for computing the hermite normal form , 2001, ISSAC '01.

[9]  Damien Stehlé,et al.  An LLL-reduction algorithm with quasi-linear time complexity: extended abstract , 2011, STOC '11.

[10]  Brigitte Vallée,et al.  Probabilistic analyses of the plain multiple gcd algorithm , 2016, J. Symb. Comput..

[11]  Leslie E. Trotter,et al.  Hermite Normal Form Computation Using Modulo Determinant Arithmetic , 1987, Math. Oper. Res..

[12]  Murray R. Bremner,et al.  Lattice Basis Reduction: An Introduction to the LLL Algorithm and Its Applications , 2011 .

[13]  Chris Peikert,et al.  Generating Shorter Bases for Hard Random Lattices , 2009, Theory of Computing Systems.

[14]  Vasilios Evangelos Tourloupis Hermite normal forms and its cryptographic applications , 2013 .

[15]  Daniele Micciancio,et al.  Improving Lattice Based Cryptosystems Using the Hermite Normal Form , 2001, CaLC.

[16]  J. Hoffstein,et al.  An introduction to mathematical cryptography , 2008 .