On the expressive power of query languages for matrices
Robert Brijder, Floris Geerts, Jan Van den Bussche, Timmy Weerwag

TL;DR
This paper explores the expressive capabilities of the matrix query language MATLANG, examining how extensions with matrix inversion and eigen-decomposition affect the ability to express graph properties and the computational complexity involved.
Contribution
It demonstrates the expressive power of MATLANG and its extensions, showing how matrix inversion and eigen-decomposition expand the language's capabilities and analyzing the complexity of evaluating such queries.
Findings
MATLANG can simulate relational algebra with arithmetic operations.
Adding inv enables computation of transitive closure.
Evaluation of MATLANG+eigen is complete for exists R.
Abstract
We investigate the expressive power of , a formal language for matrix manipulation based on common matrix operations and linear algebra. The language can be extended with the operation of inverting a matrix. In we can compute the transitive closure of directed graphs, whereas we show that this is not possible without inversion. Indeed we show that the basic language can be simulated in the relational algebra with arithmetic operations, grouping, and summation. We also consider an operation for diagonalizing a matrix, which is defined so that different eigenvectors returned for a same eigenvalue are orthogonal. We show that can be expressed in . We put forward the open question whether there are boolean queries about matrices, or generic queries about graphs,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
