How the search runs
Thousands of independent walks on one GPU, with periodic restarts that copy the best walks over the worst.
One walk per warp
Each walk keeps its scheme as bit masks, one per factor, and a GPU warp applies flips to it; a run holds thousands of walks at once (4,096 on a desktop card).
Islands and restarts
The walks are split into islands. Every few kernel launches, a walk more than a set number of ranks behind the best in its island is replaced by a copy of a leading walk. This is the fork in the search tree.
Lifting and checking
Schemes found over 𝔽₂ or 𝔽₃ are lifted to ℤ or ℚ by Hensel lifting with rational reconstruction. Every published scheme is checked exactly against a tensor rebuilt from its definition by a separate program, and the main results also by the Lean kernel.
Code
The search, the lifting and the checkers are in Rust and CUDA, published with each paper in hipotures/conjectures, for example results/structured-matrix-products-n4-10/src.
Further reading
- M. Kauers, J. Moosbauer, “Flip graphs for matrix multiplication”, ISSAC 2023, 381–388. arXiv:2212.01175
- Y. Arai, Y. Ichikawa, K. Hukushima, “Adaptive flip graph algorithm for matrix multiplication”, ISSAC 2024. arXiv:2312.16960
- K. Khoruzhii, P. Gelß, S. Pokutta, “Faster algorithms for structured matrix multiplication via flip graph search”, ISSAC 2026, 227–236. arXiv:2511.10786