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. * Parts of this paper were drafted with the assistance of Claude (Anthropic). 1 F 2 is the field with two elements, also written GF(2): its elements are 0 and 1, addition is exclusive or, and multiplication is and.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2026-12-02
DOI
https://doi.org/10.4204/eptcs.459.9
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Panagiotis Manolios, Quan Luu, Zeke Medley
Electronic Proceedings in Theoretical Computer Science
Logic, programming, and type systems
article

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

Panagiotis Manolios, Quan Luu, Zeke Medley
article en

Abstract

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. * Parts of this paper were drafted with the assistance of Claude (Anthropic). 1 F 2 is the field with two elements, also written GF(2): its elements are 0 and 1, addition is exclusive or, and multiplication is and.

Electronic Proceedings in Theoretical Computer ScienceVol. 459
Northeastern University (US)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon