English

Complexity of Linear Operators

Computational Complexity 2019-01-07 v2

Abstract

Let A{0,1}n×nA \in \{0,1\}^{n \times n} be a matrix with zz zeroes and uu ones and xx be an nn-dimensional vector of formal variables over a semigroup (S,)(S, \circ). How many semigroup operations are required to compute the linear operator AxAx? As we observe in this paper, this problem contains as a special case the well-known range queries problem and has a rich variety of applications in such areas as graph algorithms, functional programming, circuit complexity, and others. It is easy to compute AxAx using O(u)O(u) semigroup operations. The main question studied in this paper is: can AxAx be computed using O(z)O(z) semigroup operations? We prove that in general this is not possible: there exists a matrix A{0,1}n×nA \in \{0,1\}^{n \times n} with exactly two zeroes in every row (hence z=2nz=2n) whose complexity is Θ(nα(n))\Theta(n\alpha(n)) where α(n)\alpha(n) is the inverse Ackermann function. However, for the case when the semigroup is commutative, we give a constructive proof of an O(z)O(z) upper bound. This implies that in commutative settings, complements of sparse matrices can be processed as efficiently as sparse matrices (though the corresponding algorithms are more involved). Note that this covers the cases of Boolean and tropical semirings that have numerous applications, e.g., in graph theory. As a simple application of the presented linear-size construction, we show how to multiply two n×nn\times n matrices over an arbitrary semiring in O(n2)O(n^2) time if one of these matrices is a 0/1-matrix with O(n)O(n) zeroes (i.e., a complement of a sparse matrix).

Keywords

Cite

@article{arxiv.1812.11772,
  title  = {Complexity of Linear Operators},
  author = {Alexander S. Kulikov and Ivan Mikhailin and Andrey Mokhov and Vladimir Podolskii},
  journal= {arXiv preprint arXiv:1812.11772},
  year   = {2019}
}

Comments

28 pages

R2 v1 2026-06-23T06:59:43.080Z