Skip to content

<4x4x4:48|201> - #23

Merged
jgdumas merged 1 commit into
jgdumas:mainfrom
gsidebottom:rational-48-201
Oct 22, 2026
Merged

jgdumas merged 1 commit into
jgdumas:mainfrom
gsidebottom:rational-48-201

Conversation

@gsidebottom

Copy link
Copy Markdown
Contributor

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 below 4x4x4_48_202 (Ruchit Patel) and three below 4x4x4_48_204. It is another representative of the same orbit of the rational <4x4x4:48> decomposition (a GL(4, ℤ[1/2])³ image of the 4x4x4_48_202 point), with different L, R, P matrices.

Checks

  • SLPchecker -M: L <53, 2>, R <55, 2>, P <89, 0> (SUCCESS); MMchecker on the three sms files: SUCCESS (repeated).
  • An independent exact check of all 4096 Brent equations over ℚ.
  • The programs contain no negations, so the count is also 201 in a model that charges them (R. Patel's slp.py checker reports Total linear ops: 201, 4096 tensor identities).
  • Lean 4 / Mathlib proof of correctness (pushed to GitHub): proof/Mm/Ring_4x4_48_201.lean (permalink) defines the scheme as a Matrix (Fin 4) (Fin 4) R-valued straight-line program of these 201 operations and proves rank48_op201_scheme h A B = A * B for every commutative ring R with 2 * h = 1 (axioms: propext, Classical.choice, Quot.sound). proof/Mm/Correct48_201.lean is 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's rebuild2.py (Rust reimplementation src/bin/lns48.rs, PLinOpt cost model; the P side through its transpose and transpozer), signs normalized by matmul/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

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]>
@jgdumas
jgdumas merged commit 31de169 into jgdumas:main Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants