在ACL2中形式化矩阵乘法翻转图的连通性定理
Formalizing the Connectivity Theorem for the Matrix Multiplication Flip Graph in ACL2
AI总结:
该研究在ACL2中形式化了F₂上矩阵乘法翻转图的连通性定理,证明其顶点对应双线性矩阵乘法算法,还探索了大语言模型作为ACL2证明助手的应用。
摘要:
矩阵乘法翻转图的顶点是计算矩阵乘积的不同方式,部分方式所需的标量乘法次数少于其他方式。近期多项尽可能减少乘法次数的矩阵乘积计算记录,是通过搜索该翻转图得到的。搜索的一项重要性质是图的连通性:所有未知方案都可从已知方案到达。我们在F₂上给出了翻转图连通性证明的完整ACL2形式化,并证明该图的顶点恰好是自然等价下的双线性矩阵乘法算法。我们还报告了使用大语言模型作为证明工程助手的经验,包括一项模型独立形式化同一定理的实验,以及此类助手对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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。