English

On the probability of generating a primitive matrix

Symbolic Computation 2023-03-17 v2 Data Structures and Algorithms

Abstract

Given a k×nk\times n integer primitive matrix A\bf{A} (i.e., a matrix can be extended to an n×nn\times n unimodular matrix over the integers) with the maximal absolute value of entries A\|\bf{A}\| bounded by {an integer} λ\lambda from above, we study the probability that the m×nm\times n matrix extended from A\bf{A} by appending other mkm-k row vectors of dimension nn with entries chosen randomly and independently from the uniform distribution over {0,1,,λ1}\{0, 1,\ldots, \lambda-1\} is still primitive. We present a complete and rigorous proof of a lower bound on the probability, which is at least a constant for fixed mm in the range [k+1,n4][k+1, n-4]. As an application, we prove that there exists a fast Las Vegas algorithm that completes a k×nk\times n primitive matrix A\bf{A} to an n×nn\times n unimodular matrix within expected O~(nωlogA)\tilde{O}(n^{\omega}\log \|\bf{A}\|) bit operations, where O~\tilde{O} is big-OO but without log factors, ω\omega is the exponent on the arithmetic operations of matrix multiplication.

Keywords

Cite

@article{arxiv.2105.05383,
  title  = {On the probability of generating a primitive matrix},
  author = {Jingwei Chen and Yong Feng and Yang Liu and Wenyuan Wu},
  journal= {arXiv preprint arXiv:2105.05383},
  year   = {2023}
}
R2 v1 2026-06-24T02:01:07.539Z