Correcting matrix products over the ring of integers
Yu-Lun Wu, Hung-Lung Wang
TL;DR
The paper addresses correcting a matrix product over the ring of integers when $C$ differs from $AB$ in at most $k$ entries. It introduces a deterministic, certificate-based approach using a $m=\\sqrt{k}$ Vandermonde-inspired certificate $V$ and row/column indicators to detect and locate erroneous entries, grounded in combinatorial group testing. The resulting algorithm runs in $O(\\sqrt{k}n^2+k^2n)$ time with arithmetic bounded by $O(\\alpha^2 n^3)$, improving upon prior results for integer matrices and avoiding fast matrix multiplication. Overall, the method provides a practical, purely combinatorial alternative to randomized verification and extends Freivalds-type ideas to exact correction for integer matrices.
Abstract
Let $A$, $B$, and $C$ be three $n\times n$ matrices. We investigate the problem of verifying whether $AB=C$ over the ring of integers and finding the correct product $AB$. Given that $C$ is different from $AB$ by at most $k$ entries, we propose an algorithm that uses $O(\sqrt{k}n^2+k^2n)$ operations. Let $α$ be the largest absolute value of an entry in $A$, $B$, and $C$. The integers involved in the computation are of $O(n^3α^2)$.
