Computing Smith Forms Modulo p2 of Sparse Matrices Faster Than Matrix Multiplication

Abstract

Let p be a prime and R=Z/p2Z the ring of integers modulo p2. Any A∈ Rn× n is unimodularly equivalent to its Smith form \[ S=diag(1,…,1r0, p,…,pr1, 0,…,0r2) ∈ Rn× n, \] i.e., there exist U,V∈ Rn× n such that UAV=S, with U, V∈ R* (where R* is the set of units in R, elements not equivalent to 0 p). Our goal in this paper is to determine r0,r1,r2 quickly when A is sparse or structured. By ``sparse'' we mean A is given by a black box such that for any v∈ Rn× 1 we can compute v Av with O(n) operations in R, which captures having few nonzero elements or a multiplicative structure (e.g., Hankel or Toeplitz matrices). We present a randomized algorithm which requires an expected number of \[ O(n3-1/(ω-1)) \] operations in R to compute the Smith form, where ω is the exponent of dense matrix multiplication. Using standard cubic matrix multiplication (ω=3) our algorithm thus requires O(n2.5) operations in R, while using the current asymptotically fastest matrix multiplication, with ω<2.371339, our algorithm requires O(n2.270786) operations in R. Our algorithm is probabilistic of the Monte Carlo type, meaning it fails on any invocation with controllably small probability. We employ iterative block-Wiedemann-style matrix techniques and structured preconditioners. To our knowledge, this is the first algorithm to compute the modular Smith Normal Form modulo p2 requiring fewer than O(nω) operations in R, i.e., faster than any dense algorithm.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…