Manuscript Offprint
arXiv:2610.11823The rank of matrix multiplication over is 23
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
THE RANK OF MATRIX MULTIPLICATION OVER IS 23
TEJASVI SINGH TOMAR
ABSTRACT. The rank of the tensor of matrix multiplication over the field with two elements is at most 23 by Laderman's algorithm, and Rudich and Rousseau recently proved that it is at least 22. We prove that it equals 23. Hence Laderman's algorithm uses the fewest multiplications among all bilinear algorithms over and among all bilinear algorithms with integer coefficients. The proof uses the substitution method in the form developed in recent work of D'Ambrosio, Wang and Yang et al.: a subspace of the space of first factors contains at most first factors of a decomposition of length , where is the rank of the tensor modulo . We raise the known lower bounds on for 111 of Wang's 496 symmetry classes of subspaces. One of these bounds, for a point spanned by a matrix of rank one, forces the 22 first factors of a decomposition of length 22 to be distinct. A flattening of the tensor gives further constraints on the ranks of the first factors, and a separate enumeration shows that, when at least 14 first factors have rank one, no line in a certain orbit of lines contains two first factors. A computer search then lists, up to symmetry, all sets of 22 matrices that satisfy these constraints, and an exact completion search shows that none of them is the set of first factors of a decomposition. The computation emits certificates, which are checked in the Lean 4 proof assistant by checkers whose soundness is proved in Lean. The largest checks are evaluated as compiled code, so the proof relies on the Lean compiler in addition to its kernel.
Over the lower bound has risen several times in 2026. C. Wang proved with an automated method that splits the problem into 496 classes of subspaces [Wan26a], and Beuchert checked his certificate independently [Beu26]. Wang [Wan26b] and, independently, Yang et al. [Yan26] then proved , and Yang et al. formalized their proof in Lean. Tahir independently obtained 21 conditionally on bounds from Wang's table [Tah26]. Rudich and Rousseau proved , also in Lean [RR26]. This left the question whether 22 multiplications suffice over , and we show that they do not.
Theorem 1.1. .
A bilinear algorithm with integer coefficients becomes a bilinear algorithm over with the same number of multiplications when its coefficients are reduced modulo 2. An algorithm with
2020 Mathematics Subject Classification. 68Q17, 15A69; 68V05, 68V15.
Key words and phrases. Matrix multiplication, tensor rank, bilinear complexity, lower bounds, finite fields, substitution method, computer-assisted proof, formal verification, Lean.
TEJASVI SINGH TOMAR
integer constants that can be applied to blocks of matrices cannot use commutativity, and by the argument of Hopcroft and Kerr [HK71] a lower bound over applies to it as well. Rudich and Rousseau explain this reduction and formalize it in Lean [RR26]. Theorem 1.1 therefore has the following consequence.
Corollary 1.2. A bilinear algorithm over or with integer coefficients that multiplies two matrices uses at least 23 multiplications. In particular , and no recursive algorithm with integer constants has an exponent below .
Over fields of characteristic zero the rank of is still unknown. It lies between 19 and 23.
The method. The proof is a computation organized by the substitution method [Pan66, AFT11, LM17, Blä03, Blä13]. Let be the space of first factors. For a subspace let be the rank of modulo , that is, the rank of the problem in which the first input is restricted to the annihilator of . In a decomposition of length at most terms have their first factor in (Lemma 2.1). For this bounds the number of first factors that each subspace can contain, the capacity of the subspace. Wang bounded for representatives of the 496 orbits of subspaces under the symmetries of [Wan26a], and Rudich and Rousseau improved these bounds [RR26].
In Section 3 we raise the lower bound for 111 classes of their table. For most of them we enumerate the possible first factors of a hypothetical shorter decomposition of the quotient and refute each candidate. The others follow from these by monotonicity. The most useful new bound is for a point spanned by a matrix of rank one. With the bounds of [RR26] for the other two classes of points it shows that the 22 first factors of a decomposition of length 22 are distinct.
Section 4 constrains the numbers , , of first factors of rank 1, 2 and 3. These constraints come from a flattening of to which each term contributes the rank of its first factor, so that . A Gram-matrix form of this identity excludes eight types , three of them by short arguments and five by an exhaustive computation. Section 5 shows that, if at least 14 first factors have rank one, no line in a certain orbit of 441 lines contains two first factors. These lines have capacity 2. The proof enumerates the possible projections of the other 20 terms and shows that none of them lifts back to a decomposition of .
With these constraints we enumerate, up to the symmetry group of order 56,448, all sets of 22 nonzero matrices in that satisfy them (Section 6). An exact search then tries to complete each set to a decomposition (Section 7), and fails for every one of them.
Relation to earlier work. Capacities, coset profiles, the symmetry-reduced enumeration of first factors and the deduction that the first factors are distinct come from the work of D'Ambrosio [D'Am26], Wang [Wan26a, Wan26b] and Yang et al. [Yan26], and the split flattening is due to Yang et al. In the proofs of the conditions on the first factors alone exclude all cases. At they do not, and most of the work lies in refuting the sets of first factors that survive, by an exhaustive search for the second and third factors (Section 7). Certificates that branch on these factors also occur in the Lean proof of [RR26]. What is new here is this refutation step, applied to all 75,327,600 sets that survive the search at (Table 3), the new lower bounds of Table 1, the type exclusions of Proposition 4.5 and Theorem 5.1.
Verification. Section 8 describes the verification. The searches emit certificates, which are verified by checkers written in Lean. The soundness of each checker is a theorem of Lean proved with its three standard axioms. The checks for the search at r = 22 and for the largest enumerations are evaluated as compiled code through native_decide, which adds one axiom for each evaluation, and the other checks are evaluated by the kernel. The proof therefore depends on the Lean compiler and runtime as well as on the kernel (see Section 8). Laderman's algorithm is also checked in Lean, so that the equality is a theorem there, and the bound of Corollary 1.2 for algorithms with integer constants that can be applied to blocks is derived in the formulation of [RR26]. Statements marked with † rest on a computation.
2. PRELIMINARIES
2.1. The tensor. Let and let be the matrix units. We write
A decomposition of length is an expression , and the rank of is the least such . We call the first factors. When has a decomposition of length it also has one of length : replace a term by with . In a decomposition of length 22 all factors are nonzero, since otherwise would have a decomposition of length 21, contrary to [RR26].
For a first factor we write and for the second and third factors read as matrices in the index order of . Thus and , and the triple is identified with .
2.2. Symmetries. For the map
(2.1)
fixes , because and cancel on the index shared by the first two factors, and and cancel in the same way on and . So does , which permutes the terms of . Both maps send decompositions to decompositions of the same length. On first factors they generate the group of maps and with . It has order and preserves the rank of a matrix. The space contains 511 nonzero matrices, of which 49 have rank one, 294 rank two and 168 rank three. The group acts transitively on each of these three sets.
2.3. Quotients and capacities. For a subspace let be the projection and . We write for the rank of . If then , and for .
Lemma 2.1 ([D'Am26, §4], [Wan26b, Lemma 2.1], [Yan26, Lemma 2.2]). If , then for every subspace
Proof. Applying removes the terms with and leaves a decomposition of of length .
We call a subspace of dimension 1 a point and one of dimension 2 a line. Wang sorted the subspaces of A into 496 classes up to the action of G [Wan26a]. A table assigns to each class a number . At the capacity of S is , and Lemma 2.1 says that a subspace contains at most first factors of a decomposition of length 22. We start from the table of Rudich and Rousseau, which gives exactly for 359 classes and lower bounds for the others [RR26]. In this table , and for the points spanned by matrices of rank two and three. In the accompanying data the classes are numbered as in the Lean table of [RR26], which lists a basis of a representative of each class.
TEJASVI SINGH TOMAR
The case of a hyperplane will be used often. Here is a nonzero linear form, which we write as with a matrix , and we set . Contracting with gives the matrix . It consists of three copies of , one for each value of , and so has rank 3 rank . Hence , and Lemma 2.1 becomes the statement that at least 3 rank first factors satisfy .
3. LOWER BOUNDS FOR QUOTIENTS
3.1. Coset profiles. Let be a subspace and an integer. To prove we assume that has a decomposition of length , which we may take with all factors nonzero (Section 2). Its first factors are nonzero cosets of . Let be the number of with . Applying Lemma 2.1 to the decomposition of and a superspace gives (compare [Yan26, Lemma 2.2])
(3.1)
We call a function with that satisfies (3.1) for all a coset profile. The coset profiles are the integer points of a polytope with one coordinate per nonzero coset. We enumerate them up to the stabilizer of in , or for six classes up to a subgroup of it, by an orderly branch and bound in which linear-programming bounds prune the branches. We then refute each coset profile by the completion search of Section 7 with target . If all coset profiles are refuted, then . The bounds used in (3.1) belong to strict superspaces of , so we establish new bounds in decreasing order of .
3.2. Points
Theorem 3.1 (†). If S is spanned by a matrix of rank one, then .
Here A/S has 255 nonzero cosets and the stabilizer of S in G has order 1152. The enumeration of coset profiles of size 20 has 809,336,049 nodes and 7,409,768 leaves, and all leaves are refuted.
Corollary 3.2 (†). The 22 first factors of a decomposition of length 22 are pairwise distinct.
Proof. A repeated first factor would put two first factors in the point . By Theorem 3.1 and [RR26] all points have and therefore capacity at most 1.
3.3. The other classes. Table 1 lists the new bounds by dimension. We proved 88 of them, among them Theorem 3.1, by the method of Section 3.1. The other 23 follow by monotonicity: for each of them some with is contained in a subspace of larger dimension whose new bound is at least as large, and . These are the bound for one class of dimension 2, the bound for eight classes of dimension 3, and the bounds and for three and eleven classes of dimension 4. For 106 of the 111 classes the new bound equals the upper bound of [RR26], so that is now known exactly for these classes.
Proposition 3.3 (†). The lower bounds of Table 1 hold.
4. THE RANKS OF THE FIRST FACTORS
In this section we consider a decomposition with all factors nonzero. Its type is , where is the number of first factors of rank . We write and .
TABLE 1. New lower bounds on , by . A class is listed under the bound of [RR26] and the new bound. The number in parentheses in the second column counts the classes whose new bound follows by monotonicity. The last two columns give the size of the enumerations of Section 3.1.
| dim S | classes | bounds | enumeration nodes | leaves |
|---|---|---|---|---|
| 1 | 1 | 20 → 21 | 809,336,049 | 7,409,768 |
| 2 | 4 (1) | 19 → 20 (1), 20 → 21 (3) | 26,301,783,827 | 5,211,895,431 |
| 3 | 35 (8) | 18 → 19 (17), 19 → 20 (18) | 3,654,254,117 | 969,245,867 |
| 4 | 50 (14) | 16 → 17 (8), 17 → 18 (23), 18 → 19 (19) | 46,041,278 | 15,998,835 |
| 5 | 21 | 16 → 17 (5), 16 → 18 (1), 17 → 18 (15) | 1,089,004 | 349,120 |
4.1. The split flattening. Index the rows of a matrix by pairs and the columns by pairs , where and run over the nine matrix positions. For , , let be the matrix with entries . Its rank is when , since is the Kronecker product of and up to the order of indices. Let . By linearity depends only on , and its only nonzero entries are . Thus is a permutation matrix.
Lemma 4.1 ([Yan26, (4.2)]). , that is, .
Proof.
For a decomposition of length 22 we have , so Lemma 4.1 gives .
4.2. The Gram form. The inequality of Lemma 4.1 does not use how the terms fit together. The following factorization of records this information as equations between pairs of terms. Factor each first factor as with . Let and be the matrices whose column blocks are and , with rows indexed like the rows and the columns of . Then , so .
Lemma 4.2. The matrix is idempotent of rank 27, and is idempotent of rank . Its blocks are
(4.1)
Proof. . The rank of is at most 27, and has rank 27, so . Over the matrix is the complementary idempotent, of rank . For (4.1), and exactly when and for some . Hence the entry of is .
Write with of size and let be their row blocks. Multiplying (4.1) by on the left and by on the right, and setting and , we obtain (4.2)
with whose columns lie in the column spaces of and . For this is the rank-additive saturation lemma of Yang et al. [Yan26, Lemma 5.1]. Note that (4.2) is a condition on pairs of terms. This is what makes the computation at the end of this section feasible. Its solutions are invariant under the symmetries (2.1), and under the change with .
TEJASVI SINGH TOMAR
4.3. Excess zero
Lemma 4.3. If and some first factor is invertible, then . In particular, a decomposition of length 22 with has type .
Proof. For , (4.2) reads . Let be invertible. Then gives , so is invertible. For the equation shows that vanishes on , a space of dimension . Hence . The equation gives . Therefore , that is , for all . Then . For there is therefore no invertible first factor, and , give (17, 5, 0).
Lemma 4.3 sharpens [Yan26, Proposition 5.3 and Corollary 6.1], by which a decomposition with has at most one invertible first factor. The same argument for shows that a decomposition with and an invertible first factor has length 7 and all other first factors of rank one, as in Strassen's algorithm.
4.4. Three invertible first factors
Lemma 4.4. A decomposition with three distinct invertible first factors has .
Proof. By Lemma 4.3 we may assume , so that with . Let range over the indices of the three invertible terms, take and , and let be the blocks of and . Since , (4.1) gives
The matrix is the product of the block column and the block row , so its rank is at most 3.
(i) Each is singular. Otherwise, for , the submatrix on the blocks has rank , because has rank at least 2 and the correction has rank at most 1. This contradicts the bound 3. Hence , so , and .
(ii) rank . Both ranks are at least rank . If were invertible, then would have rank at least 2 for , but has rank at most 1. The same argument applies to .
(iii) . By (i) and (ii), . For the matrix is nonzero and its image lies in , so .
(iv) Let be the row space of , of dimension at most 3. Each block row has its rows in . For the row has in block , in block , and 0 in the third block. Call it .
(v) Fix a block and let be the other two indices. The projection of to block contains for both , and these are independent. Hence the vectors of that vanish on block form a space of dimension at most 1. It contains the nonzero vectors and , which are therefore equal. This gives and .
(vi) Over the three choices of we get for all , where are the three indices. The form a basis by (iii), so the three first factors are equal, a contradiction.
4.5. An exhaustive computation. For larger configurations we solve (4.2) by computer. Fix a type and a value of . Using (2.1) and the action of we bring one term, the anchor, to (or to a fixed matrix of rank two when there is no invertible term) and its data to one of finitely many orbit representatives: 7 for and 36 for with an invertible anchor, and 4 for with an anchor of rank two. The other terms become vertices: tuples that satisfy (4.2) with themselves and with the anchor. For fixed these conditions are linear in once is fixed and linear in once and are fixed, so the vertices are found by solving linear systems. Two vertices are adjacent when their first factors differ and (4.2) holds for the pair. A decomposition of the given type yields a clique with the prescribed number of vertices of each rank. We first list the cliques formed by the anchor's companions of rank two and three (the cores). For each core we then bound the largest set of pairwise adjacent rank-one vertices compatible with the core and having distinct first factors, using a colouring of the compatibility graph as the certificate.
Proposition 4.5 (†). No decomposition of length 22 has type (17, 5, 0), (18, 2, 2), (17, 4, 1), (17, 3, 2) or (18, 1, 3).
TABLE 2. The computation behind Proposition 4.5. The last column is the number of rank-one terms by which a core would have to be extended, and no core extends that far.
| type | Δ | anchor orbits | cores | needed |
|---|---|---|---|---|
| (17,5,0) | 0 | 4 | 23,175 | 17 |
| (18,2,2) | 1 | 7 | 0 | 18 |
| (17,4,1) | 1 | 7 | 708 | 17 |
| (17,3,2) | 2 | 36 | 96,717 | 17 |
| (18,1,3) | 2 | 36 | 68 | 18 |
Lemmas 4.3 and 4.4 exclude (18, 3, 1), (19, 1, 2) and (19, 0, 3). Since forces one of the types (17, 5, 0), (18, 3, 1), (19, 1, 2), we obtain the following.
Corollary 4.6 (†). Every decomposition of length 22 satisfies , and none has type (19, 0, 3), (18, 2, 2), (17, 4, 1), (17, 3, 2) or (18, 1, 3).
5. TWO FIRST FACTORS ON A LINE
We now lower the capacity of the lines in one orbit from 2 to 1, under an assumption that holds in case (II) of Section 6. Let be the line spanned by and . Its orbit under consists of 441 lines, each containing one matrix of rank one and two of rank two. By Table 1 we have , and Rudich and Rousseau prove in Lean [RR26]. The capacity of is therefore 2, and Lemma 2.1 allows two first factors of a decomposition of length 22 in a line of this orbit. We show that this does not happen when at least 14 first factors have rank one.
Theorem 5.1 (†). In a decomposition of length 22 with at least 14 first factors of rank one, each line in the -orbit of contains at most one first factor.
The proof rests on a criterion for lifting a decomposition of a quotient to a decomposition of . Let be a line with nonzero elements and , and choose linear forms on with , , and . Let
be a decomposition with nonzero factors. For a linear form on put
TEJASVI SINGH TOMAR
a set of matrices, where is the contraction of Section 2.
Lemma 5.2 (Lifting criterion). The following are equivalent.
(a) There are and two further terms with distinct first factors in that together with the terms form a decomposition of of length 22.
(b) At least two of the sets , and contain a matrix of rank one.
Proof. Fix representatives and write with . As runs through , the pair takes each value in once. For a choice of the the tensor maps to 0 in , so it equals for some matrices and . Contracting with , and shows that , and are the elements of , and given by this choice. Two terms with distinct first factors and nonzero second and third factors have the form with rank . Since
the two terms exist for this choice exactly when two of , and have rank one. The element of depends only on the bits , that of only on the bits , and that of only on their sums. Any two of these three families of bits can be chosen independently. Hence two of the three matrices can be made of rank one by the same choice if and only if each of them can be made of rank one by some choice.
For a single term whose slice has rank one, a related statement is part of [LM17, Proposition 3.1], and Wang's forced-product technique [Wan26a] also enumerates the free coefficients of a residual and tests its rank. To test whether , an affine space of matrices, contains a matrix of rank one, we solve for each of the 511 nonzero vectors b a linear system in c and the coefficients.
Proof of Theorem 5.1. By symmetry it suffices to treat . Suppose two first factors lie in . They are distinct by Corollary 3.2, and the capacity of is 2, so the third nonzero matrix of is not a first factor. The other 20 terms project to a decomposition of of length 20 with nonzero factors, and its coset profile satisfies (3.1) with . At most one of the two first factors in has rank one, so at least 13 of the other 20 have rank one. Only 39 of the 127 nonzero cosets of contain a matrix of rank one, which gives the additional inequality
where is the set of these 39 cosets. We enumerate the coset profiles that satisfy these inequalities, as in Section 3.1, and run the completion search with target on each. When it finds decompositions of with a given profile, we list all of them and check that for each at most one of the three sets in Lemma 5.2(b) contains a matrix of rank one. By Lemma 5.2 no profile comes from a decomposition of of length 22. The enumeration has 737,787,637,822 nodes and 189,298,650,178 leaves. For 10 of the profiles the completion search finds decompositions of , 540 in all, and none of them lifts.
The reduction to coset profiles works for any subspace in place of and any number of first factors in it, with the inequality for adjusted to the matrices of rank one in the subspace. The formalization proves it in this generality, together with the refutation of profiles that admit no decomposition of the quotient.
6. THE SEARCH AT r = 22
6.1. Admissible sets. By Corollary 3.2 the first factors of a decomposition of length 22 form a set with . Let be the number of elements of rank one in . We split the proof into three cases: (I) , (I') and (II) , which is the range of Theorem 5.1.
Definition 6.1. A set with is admissible if
(a) for every subspace in the family described below, and
(b) for every nonzero linear form on ,
and, in case (II), in addition
(c) the type of F is not excluded by Corollary 4.6, and
(d) each line in the G-orbit of (Section 5) contains at most one element of F.
The family consists of the subspaces whose capacity is not implied by the capacity of another subspace, about of them. For a subspace of dimension at most 4 the capacity can be lowered further. Since the elements of are distinct, whenever no nonzero elements of respect the capacities of all subspaces of . We use the bound obtained in this way for five classes of subspaces, for which it is smaller than . By Lemma 2.1, Corollary 4.6 and Theorem 5.1, the set of first factors of a decomposition of length 22 is admissible, and so are its images under .
6.2. Orderly generation. We order the 511 nonzero matrices by rank, and matrices of equal rank by the integer . In case (II) the order is rank one, rank two, rank three. In cases (I) and (I') it is rank three, rank two, rank one, which keeps the search tree small when there are few elements of rank one. For finite sets of the same size we write if the smallest element of the symmetric difference belongs to . A set is canonical if it is the smallest set in its G-orbit. The search follows the design of Wang's profile enumerator [Wan26b, §3.3]. Orderly generation goes back to Read [Rea78] (see also [McK98]).
Lemma 6.2. Every G-orbit of sets contains a canonical set, and every initial segment of a canonical set is canonical.
Proof. The first claim is clear, since orbits are finite. For the second, let be canonical and . Suppose that for some , and let be the smallest element of . Then . If , every element of is smaller than and therefore lies in , so because both have the same size. This is impossible, so . Every element of smaller than then lies in , hence in , while . Hence the smallest element of lies in , that is, . This contradicts the choice of .
The search builds sets in increasing order. A node is a canonical set of size less than 22 that satisfies all constraints restricted to . Its children are the sets with larger than all elements of . By Lemma 6.2 the search reaches each canonical admissible set through its initial segments. It may therefore discard any child that has no canonical admissible completion.
6.3. Discarding children. A child is discarded if one of the following holds. Each condition shows that no admissible canonical set has as an initial segment.
(i) violates a capacity in .
(ii) For some nonzero , the elements of with , together with all larger matrices with that can still be added, number fewer than 3 rank .
(iii) The case condition on k cannot be met by the matrices that can still be added.
(iv) In case (II), every type that a completion can have is excluded by Corollary 4.6.
(v) Fewer than matrices larger than remain that can still be added.
TEJASVI SINGH TOMAR
(vi) No set of further matrices can be added without violating a capacity in . The search proves this by a small branch and bound over the remaining candidates. When such a tree would be large, the child is kept as a node instead.
(vii) is not canonical, as witnessed by an element with . The same tests applied to a node itself may discard all of its children at once. The leaves of the search are the canonical admissible sets.
6.4. Results. Table 3 gives the size of the search in each case.
TABLE 3. Size of the search at .
| case | nodes | admissible sets | refuted |
|---|---|---|---|
| (I) | 629,424 | 3,580 | all |
| (I') | 19,547,416 | 146,319 | all |
| (II) | 3,377,202,242 | 75,177,701 | all |
Proposition 6.3 (†). Every canonical admissible set appears as a leaf of the search, and no leaf is the set of first factors of a decomposition of .
Proof of Theorem 1.1. Suppose has a decomposition of length 22. By Corollary 3.2 its first factors form a set of size 22, admissible by the remark after Definition 6.1. By Lemma 6.2 some with is canonical, and is the set of first factors of a decomposition because extends to a symmetry of . This contradicts Proposition 6.3. Hence , and Laderman's algorithm gives equality.
7. THE COMPLETION SEARCH
Given nonzero first factors and a target tensor (either or a quotient , written in suitable coordinates), the completion search decides whether there are nonzero with . For a linear form on the space of first factors let be the contraction, a matrix.
The search assigns the pairs one term at a time. For a partial assignment and each nonzero it keeps the residual
and the number of unassigned terms with . A completion exists only if for all , since the unassigned terms with decompose . When all terms are assigned, the decomposition identity holds exactly when for all .
The candidates for the next term are restricted by necessary conditions only, so the search is exhaustive.
-
If and is tight, that is , then the unassigned terms of give a decomposition of into matrices of rank one. Their vectors form a basis of the column space and their vectors a basis of the row space. Hence lies in the column space of , and lies in the row space and satisfies for every with .
-
If and , then lies in the column space or lies in the row space of .
These rules are dynamic versions of the restriction lemmas of [D'Am26, Lemmas 2 and 3] and [Wan26b, Lemma 4.1]. The maps , with fix all first factors, and the quotient targets we use. We may therefore restrict the first term to one representative of each orbit, and its third factor to one representative of each orbit of the stabilizer of .
8. VERIFICATION
8.1. The formal statement. The final theorem states that whenever maps , and from to satisfy . The factors are arbitrary matrices, is the field ZMod 2 of Mathlib, and the definitions of the matrices, of and of a decomposition are the elementary ones, written out in a short file. Further theorems show that the statement does not change when is replaced by the tensor of the bilinear map , and that Laderman's algorithm reduced modulo 2 is a decomposition of length 23, so that is a theorem in Lean. Rudich and Rousseau formalized the reduction from algorithms with integer constants that can be applied to blocks [RR26]. Through their formalization the final theorem gives that such an algorithm for matrices uses at least 23 multiplications, which is their result with 23 in place of 22.
8.2. Two layers. The first layer consists of theorems proved in Lean 4 [dMU21] with Mathlib [mC20], using only the axioms propext, Classical.choice and Quot.sound. For each kind of certificate it defines a checker, a function with Boolean values, and proves that the checker is sound: if it returns true on some data, the statement that the data certify holds. There are checkers for the nodes of the search at and the reasons for discarding their children, for canonicality, for the enumerations of coset profiles, for the refutation of profiles by the completion search, and for the type exclusions of Section 4. The same layer contains the arguments of Sections 2–6: Lemma 4.2 and its use in Proposition 4.5, Lemma 4.3 for decompositions of length 22, the implication (a) (b) of Lemma 5.2 for the line and the deduction of Theorem 5.1 from its enumeration, the capacity table from the bounds of [RR26], the 23 bounds of Table 1 that follow by monotonicity, and the deduction of Theorem 1.1 from Proposition 6.3. Lemma 4.4 is not formalized; instead, the type (19, 0, 3) is excluded by the computation behind Proposition 4.5, with and the seven anchor orbits. The formal proof thus excludes six types by computation and two, (18, 3, 1) and (19, 1, 2), by Lemma 4.3.
The second layer evaluates the checkers on the certificates. The certificates are checked as the search programs produce them. At about 13 terabytes in total they are too large to keep, and apart from small samples they are discarded once checked. The kernel evaluates the checks for the type exclusions of Proposition 4.5, for the enumerations of 64 classes of Table 1, for the top levels of all other enumerations, and for the branch of the search in cases (I) and (I') whose sets begin with a matrix of rank one, which contains no set with . The other checks are evaluated as compiled code: those for the rest of the search at and, below their top levels, those for the enumerations of the point, of 23 further classes and of Section 5. In the enumeration of Section 5 the compiled checks leave out the 10 profiles that admit decompositions of , and for each of them a kernel proof shows that none of these decompositions lifts. Each such evaluation is a call of native Decide. It runs the compiled checker on the data and adds to the environment an axiom stating that the checker returns true on these data. There is one such call, and one such axiom, for each of the 4,381,024 batches of certificates and for each of 23 further evaluations in the enumerations. The bounds of 24 classes thus rest on compiled evaluations, and so, through monotonicity, do seven further bounds of Table 1.
The batches are combined through Lean’s module system. Each batch is checked in its own module. Its data and its axiom are private to that module, which exports only a statement about the interface of the batch: the part of the search it covers and the subtrees it leaves
TEJASVI SINGH TOMAR
to other batches. Further modules import these statements and prove in the kernel that the batches together cover the whole search and all enumerations. A theorem of the first layer turns this covering statement into Theorem 1.1. For this purpose the first layer is written in module form, and each of its more than two million constants that also occur in the non-module development has the same statement and the same axioms there. The covering statement and the final theorem are therefore in one environment, and #print axioms for the final theorem lists the three standard axioms and the 4,381,047 axioms of these evaluations. Each of them is tied by name to a batch and to the checker that the batch evaluates. For all but 187,578 batches the checker is recorded with the result of the batch. For those it is determined by the kernel-checked statement that the batch exports, since exactly one soundness theorem in the build of the final theorem concludes that statement. For the 23 evaluations outside the batches we checked directly that each axiom states that the intended checker returns true. The search programs and the programs that distribute the batches over the machines are not trusted: a wrong or missing batch makes a check or a covering proof fail.
8.3. What the proof relies on. The proof relies on the Lean kernel and, in addition, on the Lean compiler and runtime, the C compiler that builds the compiled checkers, and the arithmetic library they use, because native Decide accepts the result of a compiled evaluation without a kernel check. For this reason Mathlib does not accept proofs that use native Decide. Moreover, the compiled checkers are found by name, and Lean does not check that the library of compiled code was built from the definitions to which the statement of a batch refers. With a library left over from an earlier build, a false evaluation would become an axiom that looks like any other, and with a toy checker whose library had been compiled from an earlier version of its definition we did obtain in this way a proof of False that Lean accepted. We therefore build each library into a directory named by a hash of its contents. Each batch records the SHA-256 hashes of the library and of the compiled checker modules that it loaded, and the script that generates the combining modules accepts a batch only if these hashes are those of the build used for the final theorem. As a further check, about one percent of the batches of each kind, selected by a hash of their names, are evaluated again by Lean's interpreter, which runs the compiled code stored in the checker modules and does not use the library. Such a re-check succeeds only if it reproduces the module of the batch byte for byte. The interpreter is 45 to 200 times slower than compiled code, so each re-check takes much longer than the original check of its batch. Table 4 gives the number finished when the final theorem was assembled, mostly smaller batches. All of them succeeded, and the repository will report the others. This check does not depend on the library or on the C compiler, but it still depends on Lean's compiler, which produced the code that the interpreter runs. An independent kernel replay, as carried out in [RR26], re-checks the first layer and the covering proofs but not the evaluations. This is a weaker basis than that of the proofs by Yang et al. [Yan26] and by Rudich and Rousseau [RR26], which use only the kernel. Checking a large finite computation by compiled evaluation of a checker proved sound is the method of the Coq proof of the four colour theorem [Gon08] and of the enumeration of tame graphs in the formal proof of the Kepler conjecture [Hal17]. The same proofs with every check evaluated by the kernel would give a proof that uses only the three standard axioms. We estimate its cost at vCPU-hours and leave it for future work.
8.4. The computation. Compiled, the checkers handle a node of the search at r = 22 in about 1–2 ms, a node of an enumeration in 0.004–0.03 ms and a leaf in about 0.02 ms. This is between one hundred and one thousand times faster than evaluation by the kernel. We carried out the computation with Lean v4.30.0 on 139 machines with 80 to 384 virtual CPUs each. It took 20.95 hours of wall time and 478,076 vCPU-hours of machine time. A batch that is missing or empty exports no statement and so cannot contribute to the covering proof, and batches lost to machine failures could simply be run again. The repository lists them.
8.5. Further checks. Table 4 lists checks that are not part of the proof. Their programs and outputs are in the accompanying data.
TABLE 4. Independent checks.
| check | result |
|---|---|
| The completion search on the first factors of a known decomposition of length 23, with target T, and on its quotients by 12 subspaces of ASix decompositions of length 23 (listed in the data): the system (4.2) and its analogues for the second and third factors, 18 cases in allBatches selected by a hash of their names, evaluated again by Lean's interpreter without the library (Section 8) | a completion is found in all 13 casessatisfied, with re-checked by the time the final theorem was assembled, all successfully: case (II) 240/602, case (I) 1/1, case (I') 1/1, enumerations 140/140; parts of the search kept as a sample of about one in a thousand, re-checked in small batches 89/89 |
8.6. Data and code. The programs, the tables, the certificate formats, the Lean development and a list of all batches of the computation with their hashes are available at https://github.com/tejasvi/rank333-f2 and archived at https://doi.org/10.5281/zenodo.23236154.
9. REMARKS
The constraints of Section 4 hold for all decompositions of length 22, independently of the search. The Gram system (4.2) applies to decompositions of any length, and the computation behind Proposition 4.5 can be applied to other types. It would be interesting to know whether the method says anything about the structure of decompositions of length 23, of which there are many inequivalent ones over [CBH11, HKS21].
The rank of over , over and over remains open, as does its border rank over . Our method rests on enumerating finite sets of first factors over , and it does not extend to fields of characteristic zero.
USE OF AI TOOLS
Generative AI tools were used to find and prove the results, to write the programs and the Lean formalization, and to draft the text.
REFERENCES
[AFT11] B. Alexeev, M. A. Forbes and J. Tsimerman, Tensor rank: some lower and upper bounds, in: 26th Annual IEEE Conference on Computational Complexity (CCC 2011), 2011, 283–291.
[BCS97] P. Bürgisser, M. Clausen and M. A. Shokrollahi, Algebraic Complexity Theory, Grundlehren der mathematischen Wissenschaften 315, Springer, 1997.
[Beu26] S. Beuchert, Independent verification of the Wang -certificate for , Zenodo, 2026, https://doi.org/10.5281/zenodo.20691957.
TEJASVI SINGH TOMAR
[Blä03] M. Bläser, On the complexity of the multiplication of matrices of small formats, J. Complexity 19 (2003), 43–60.
[Blä13] M. Bläser, Fast matrix multiplication, Theory of Computing Library, Graduate Surveys 5, 2013.
[CBH11] N. T. Courtois, G. V. Bard and D. Hulme, A new general-purpose method to multiply matrices using only 23 multiplications, arXiv:1108.2830, 2011.
[D'Am26] I. D'Ambrosio, The exact -rank of by matrix multiplication, Zenodo, 2026, https://doi.org/10.5281/zenodo.21895176.
[dMU21] L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, in: Automated Deduction – CADE 28, Lecture Notes in Comput. Sci. 12699, Springer, 2021, 625–635.
[Gon08] G. Gonthier, Formal proof—the four-color theorem, Notices Amer. Math. Soc. 55 (2008), 1382–1393.
[Hal17] T. Hales et al., A formal proof of the Kepler conjecture, Forum Math. Pi 5 (2017), e2.
[HK71] J. E. Hopcroft and L. R. Kerr, On minimizing the number of multiplications necessary for matrix multiplication, SIAM J. Appl. Math. 20 (1971), 30–36.
[HKS21] M. J. H. Heule, M. Kauers and M. Seidl, New ways to multiply -matrices, J. Symbolic Comput. 104 (2021), 899–916.
[Lad76] J. D. Laderman, A noncommutative algorithm for multiplying matrices using 23 multiplications, Bull. Amer. Math. Soc. 82 (1976), 126–128.
[LM17] J. M. Landsberg and M. Michałek, Abelian tensors, J. Math. Pures Appl. 108 (2017), 333–371.
[mC20] The mathlib Community, The Lean mathematical library, in: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), 2020, 367–381.
[McK98] B. D. McKay, Isomorph-free exhaustive generation, J. Algorithms 26 (1998), 306–324.
[Pan66] V. Y. Pan, Methods of computing values of polynomials, Russian Math. Surveys 21 (1966), 105–136.
[Rea78] R. C. Read, Every one a winner, or how to avoid isomorphism search when cataloguing combinatorial configurations, Ann. Discrete Math. 2 (1978), 107–120.
[RR26] I. Rudich and L.-M. Rousseau, Lower bound of 22 for matrix multiplication over Z, arXiv:2610.01639, 2026; Lean proof at https://doi.org/10.5281/zenodo.23047901.
[Str69] V. Strassen, Gaussian elimination is not optimal, Numer. Math. 13 (1969), 354–356.
[Tah26] B. Tahir, A certificate-based conditional lower bound of 21 for matrix multiplication over , public review draft, 2026, https://github.com/btahir/rank21-f2-review.
[Wan26a] C. Wang, Automated lower bounds for bilinear complexity over finite fields, arXiv:2603.07280, 2026.
[Wan26b] C. Wang, A lower bound of 21 for matrix multiplication over , arXiv:2609.06725, 2026.
[Win71] S. Winograd, On multiplication of matrices, Linear Algebra Appl. 4 (1971), 381–388.
[Yan26] S. Yang et al., A structural proof of the lower bound 21 for matrix multiplication over , arXiv:2609.18722, 2026.
INDEPENDENT RESEARCHER