Repository navigation
<4x4x4:48|201> - #23
Merged
Merged
Conversation
Rank-48 4x4 matrix multiplication over Z[1/2] with 201 linear operations: L 53 additions + 2 scalings, R 55 + 2, P 89 + 0 (one below 4x4x4_48_202). Lean 4 / Mathlib proof of correctness: https://github.com/gsidebottom/logic/blob/master/proof/Mm/Ring_4x4_48_201.lean Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
data/4x4x4_48_201_{L,R,P}.{sms,slp}: a rank-48 scheme for 4×4 matrix multiplication over ℤ[1/2] (coefficients 0, ±1, ±1/2) whose linear programs use 201 operations: L 53 additions + 2 scalings = 55, R 55 + 2 = 57, P 89 + 0 = 89 — one below4x4x4_48_202(Ruchit Patel) and three below4x4x4_48_204. It is another representative of the same orbit of the rational<4x4x4:48>decomposition (a GL(4, ℤ[1/2])³ image of the4x4x4_48_202point), with different L, R, P matrices.Checks
SLPchecker -M: L<53, 2>, R<55, 2>, P<89, 0>(SUCCESS);MMcheckeron the three sms files: SUCCESS (repeated).slp.pychecker reportsTotal linear ops: 201, 4096 tensor identities).proof/Mm/Ring_4x4_48_201.lean(permalink) defines the scheme as aMatrix (Fin 4) (Fin 4) R-valued straight-line program of these 201 operations and provesrank48_op201_scheme h A B = A * Bfor every commutative ringRwith2 * h = 1(axioms: propext, Classical.choice, Quot.sound).proof/Mm/Correct48_201.leanis the same statement with the operations as hypotheses.How it was found: the orbit point by simulated annealing on an operation-floor proxy (
matmul/dps48/orbit48.py), the programs by a value-set large-neighbourhood search in the manner of R. Patel'srebuild2.py(Rust reimplementationsrc/bin/lns48.rs, PLinOpt cost model; the P side through its transpose andtranspozer), signs normalized bymatmul/dps48/signnorm48.py. Sources and the triple as stored: https://github.com/gsidebottom/logic/tree/master/matmul/dps48 (cand48/p005_201n_*).🤖 Generated with Claude Code