Search arXiv⌕ Search

arXiv subjects

Zeke Medley

Publications and source records attributed to Zeke Medley.

3 recordsLinked to original sources

Formalizing the Connectivity Theorem for the Matrix Multiplication Flip Graph in ACL2

The vertices of the matrix multiplication flip graph are ways to compute the product of matrices; some ways require fewer scalar multiplications than others. Several recent records for computing the matrix product with as few multiplications as possible have been found by searching the flip graph. One important property for search is that the graph is connected: all unknown schemes are reachable from known ones. We give a complete ACL2 formalization of a proof of flip graph connectivity over F_2, and prove that the vertices of the graph are exactly the bilinear matrix multiplication algorithms up to a natural equivalence. We also report our experience using a large language model as a proof-engineering assistant, including an experiment in which a model formalized the same theorem unassisted, and what makes such assistance effective for ACL2 developments.

cs.LO↗

GPU-Accelerated Search for Fast Matrix Multiplication over $\mathbb{F}_2$

We present a GPU-accelerated algorithm for searching for ways to multiply matrices with few scalar multiplications. Our algorithm searches the matrix multiplication flip graph and, on an NVIDIA H200, performs over a billion search steps per second for matrix sizes up to $7\times7$, a roughly $380\times$ improvement over previous GPU-accelerated search on the tensor for $7\times7$ matrix multiplication. We also prove that, over \(\mathbb{F}_2\), the directed matrix multiplication flip graph is strongly connected with only flip and plus edges. This removes the need for computationally expensive reduction edges in the connectivity argument used by previous work. Using this GPU-accelerated search procedure on our simplified flip graph, we find a way to multiply $7\times 7$ matrices over $\mathbb{F}_2$ using 245 multiplications, a three-multiplication improvement over the previous record.

cs.SC↗