Manuscript Offprint
arXiv:2611.05059Rank-metric intersecting codes
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
ABSTRACT. Intersecting codes are codes in which any two nonzero codewords share a common nonzero coordinate, and they have been extensively studied due to their applications in communication theory, cryptography, and combinatorics. Recently, geometric interpretations have provided new insights into intersecting codes, both in the Hamming metric and, more recently, in the rank metric for linear codes.
In this paper, we introduce and study matrix rank-metric intersecting codes. By defining the support of a matrix as its row space, we extend the notion of intersecting codes to the matrix rank-metric setting. Using the slice space associated with the generator tensor of a rank-metric code, we derive a geometric characterization that is equivalent to the intersecting property. This characterization generalizes the known results for linear rank-metric intersecting codes and highlights both analogies and differences with the linear case. In particular, it yields bounds on the parameters of intersecting codes, one of which is sharp and differs from the one in the linear case, together with first constructions. We then consider codes that are closed under multiplication, i.e. matrix algebras. In this setting, the intersecting property can be read off from the algebraic structure, namely the Jacobson radical and the socle. This provides a simple and flexible way to construct many intersecting codes, including codes that do not satisfy the classical sufficient condition on the minimum distance.
Key Words: Rank-metric codes, intersecting codes, MRD codes, slice spaces, matrix algebras.
INTRODUCTION
Intersecting codes, first introduced in [KS83,Mik84], are codes for which every two nonzero codewords have a nonzero coordinate in common. They have numerous applications, for instance for communication over an AND channel, for digital fingerprinting [SSW01,Bla03], for oblivious transfer [BCS96], and they are related to several combinatorial structures such as (2, 1)-separating systems [Ran13]. In the binary case, they coincide with minimal codes, which have also been intensively studied [AB98,CMP13,ABN22], and have been used by Massey to develop a secret sharing scheme [Mas93]. The theory of intersecting codes was further developed in various works such as [Ret89,CZ94,CELS03,Ran13]. More recently, connections with additive combinatorics and factorization theory have also been explored [PS11,BSS25]. In [BSS25], the authors provide a geometric interpretation of intersecting codes in the Hamming metric: intersecting codes correspond to sets of points in the projective space that are not contained in the union of two hyperplanes. This allows various geometric investigations of intersecting codes.
In the last two decades, rank-metric codes have become a central subject in coding theory, motivated by applications in areas such as network coding and post-quantum cryptography, as well as by their strong links with finite geometry. The geometric interpretation of linear rank-metric codes through q-systems [Ran20] has proved to be a powerful tool for studying extremal classes of codes, including MRD and minimal linear rank-metric codes, and related structures [She19,ZZ21,ABNR22]. Linear intersecting codes in the rank metric have been introduced in [BBMS27] with the authors providing a geometric interpretation of intersecting codes in terms of q-systems, together with bounds on the parameters, constructions, and relations with other combinatorial structures. In particular, in [BBMS27] it is shown that linear rank-metric intersecting codes coincide with 2-rank-frameproof codes and are (2, 1)-separating, which suggests possible applications to digital fingerprinting in the context of network coding. Finally, in [ABN26], the first author et al. investigate the geometry of matrix rank-metric codes.
Building on these previous works, our aim is to propose a definition of matrix rank-metric intersecting codes. In analogy with [BBMS27], we define the support of a matrix to be its row
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
space (one could equally consider the column space, which yields a similar theory by transposition). Our study follows two complementary approaches.
The first one is geometric. Examining the third slice space of a generator tensor of the code, we derive a property of this space, namely column-hyperplane-indecomposability, which is equivalent to the code being row-intersecting. This property specializes to the one developed in [BBMS27] in the -linear case. It allows us to derive bounds on the parameters of intersecting codes, pointing out both the similarities and the differences with [BBMS27]. In particular, a column-nondegenerate row-intersecting code satisfies , and this bound is sharp, whereas it can be improved to in the -linear case. The geometric approach also provides first constructions, obtained by extending MRD codes.
The second approach is algebraic. When the code is closed under multiplication, that is, when it is a matrix algebra, the row-intersecting property can be read off from its structure as a module over itself. We show that a row-intersecting algebra has a field as quotient by its Jacobson radical, and that the property is entirely determined by the socle of the algebra. In particular, every algebra with a simple socle is row-intersecting. This makes it easy to produce many intersecting codes, including codes that do not satisfy the natural sufficient condition on the minimum distance, and to test the property efficiently. We conclude with a complete description of the intersecting codes generated by a single matrix.
Outline: Our work is organized as follows. In Section 1, we give a brief introduction to rank-metric codes, tensors and the basic notions of representation theory that we need, and we introduce intersecting codes in this context, together with a first sufficient condition based on the minimum distance. In Section 2, using the geometric interpretation of matrix rank-metric codes developed in [ABN26], we characterize row-intersecting codes in terms of their slice spaces and derive bounds and constructions. In Section 3, we focus on codes that are matrix algebras and use their algebraic structure to characterize and construct row-intersecting codes.
for any .
Definition 1.1. Let . For each , we define the -th slice space of to be the -span of , that is,
Definition 1.2. An rank-metric code is a subspace of of dimension and minimum distance
A generator tensor for a code is an element such that . The dual of a rank-metric code is the rank-metric code
Remark 1.3. An -linear isometry (with respect to the rank) of is a map sending to , where and . If , transposition is also an isometry, but we avoid using that term in order to prevent confusion later.
Definition 1.4. Two rank-metric codes are equivalent if there is an -linear isometry sending to .
Definition 1.5. The row-support (respectively the column-support) of a matrix is (respectively ).
Theorem 1.6 (Singleton-like bound, [Del78]). Let be an code. Then
Definition 1.7. A code attaining the bound of Theorem 1.6 is called a maximum rank distance (MRD) code.
MRD codes exist for all parameters and : the classical construction is due to Delsarte [Del78] and, independently, Gabidulin [Gab85] (see also [Rot91]). We recall it in the vector setting. Let us assume (otherwise, one can transpose) and fix an ordered -basis of over . For , let be the matrix defined by
that is, the -th column of is the expansion of in the basis . The map is -linear and injective, and . Moreover, for every , and this row space does not depend on the choice of .
Definition 1.8. Let and let be linearly independent over . The Gabidulin code of dimension is
Theorem 1.9 ([Del78,Gab85]). The code is an MRD code with parameters .
Remark 1.10. The proof of Theorem 1.9 relies on the fact that a nonzero -polynomial of -degree at most has a kernel of -dimension at most . Gabidulin codes are -linear. Other families of MRD codes, not necessarily equivalent to Gabidulin codes, are known, for instance the (generalized) twisted Gabidulin codes [LTZ18].
1.2. Basic notions in representation theory. We will now recall some standard definitions and results that will be useful in Section 3 (we refer the reader to [DK94] for their proofs and for further notions in representation theory).
In all that follows, will denote a finite-dimensional unital algebra over a field and a left module over this algebra.
Definition 1.11. A module is said to be simple if its only submodules are and . A module is said to be semisimple if it is a direct sum of simple submodules.
Definition 1.12. The Jacobson radical of a module, denoted by , is the intersection of all maximal submodules of . For the algebra , the radical is the intersection of all maximal (two-sided) ideals of .
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Remark 1.13. For every module , the quotient is semisimple.
Definition 1.14. The socle of a module is the sum of all its simple submodules.
Remark 1.15. It is well-known that
and that the socle is the largest (with respect to inclusion) semisimple submodule of .
Definition 1.16. Let and fix a basis of , so that its elements are identified with row vectors of . For , let denote the matrix of the right multiplication . The map
is an injective morphism of -algebras; its image is called the right regular representation of .
1.3. Rank intersecting codes. We define now the main object of this paper.
Definition 1.17. A code is row-intersecting (respectively column-intersecting) if every pair of nonzero codewords has non-trivially intersecting row-supports (respectively column-supports), that is for all ,
(respectively for all , ).
Remark 1.18. Every -linear rank-metric code of dimension 1 is trivially both row- and column-intersecting, since any two nonzero codewords are -proportional. Note however that this is no longer true for codes which are linear over an extension field: for instance, an -linear code of dimension 1 is always row-intersecting, but not necessarily column-intersecting.
Remark 1.19. Being intersecting is invariant under equivalence. Moreover, the transposition sends row-intersecting codes to column-intersecting ones.
Example 1.20. The code generated by the following matrices
is row-intersecting but not column-intersecting. The code generated by the first four matrices is both row-intersecting and column-intersecting. Both codes are Gabidulin codes (see Definition 1.8).
The following result gives a sufficient condition which is easy to check and which allows one to easily construct examples.
Proposition 1.21. Let be an code. If , then is row-intersecting. If , then is column-intersecting.
Proof. This follows immediately from Grassmann's formula, because
Remark 1.22. Note that Proposition 1.21 allows constructions of rank-metric intersecting codes: in fact, it is enough to consider known constructions of MRD codes (Gabidulin codes, see Theorem 1.9, or their generalizations) with parameters satisfying the hypothesis of the proposition. Let us also remark that this gives examples of rank-metric intersecting codes which are not necessarily linear. However, we stress that the sufficient condition of Proposition 1.21 only involves the minimum rank distance of C, i.e. it is a property of its rank weight distribution, whereas being row- or column-intersecting is a structural property, depending on how the row spaces (resp. column spaces) of the codewords sit inside (resp. ). In particular, this condition is not necessary, and codes with (resp. ) require different arguments.
Roughly speaking, a rank-metric code is row-intersecting if and only if it is intersecting in the Hamming sense with respect to every choice of coordinates in , and similarly for column-intersecting codes and . In order to make this statement precise, we introduce the following notion.
Definition 1.23. A rank-metric code is said to be Hamming row-intersecting (respectively Hamming column-intersecting) if for any , there exists a coordinate for which the -th rows (respectively the -th columns) of and are both nonzero.
Theorem 1.24. A rank-metric code is row-intersecting (respectively column-intersecting) if and only if, for all (respectively ), (respectively ) is Hamming column-intersecting (respectively Hamming row-intersecting).
Proof. Assume that for some , the code is not Hamming column-intersecting. Then there exist 2 codewords such that and do not share a nonzero column. Hence , which implies . Therefore the code is not row-intersecting.
Conversely, assume that there exist two codewords such that . Then there exists such that and have no coordinate for which both and have a nonzero column. Hence is not Hamming column-intersecting.
2. A GEOMETRIC APPROACH: THE THIRD SLICE SPACE OF A ROW-INTERSECTING CODE
We will now concentrate on row-intersecting codes. We do this for the sake of brevity, and an entirely analogous argument applies to column-intersecting codes as well.
For a code of dimension , generated by , let us consider
From now on, we will assume, without loss of generality, that (which means that the code is column-nondegenerate): if this is not the case, can be isometrically embedded in a space of matrices , with , such that .
Definition 2.1. Let , , of full rank, of full rank. The left puncturing of with respect to is
The right puncturing of with respect to R is
Moreover, for a subspace , we define
and for a subspace , we define
The left-shortening of with respect to is . The right-shortening of with respect to is .
Definition 2.2. We say that a (slice) space is column-hyperplane-decomposable if there exist two hyperplanes of such that
We say that a slice space is column-hyperplane-indecomposable if it is not column-hyperplane-decomposable.
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Theorem 2.3. Let be a rank-metric code of dimension with generator tensor and let be the third slice space of . Then
is row-intersecting is column-hyperplane-indecomposable.
Proof. As shown in [ABN26, Lemma 3.5], for all ,
(1)
where
Here the duality is with respect to the standard inner product in the corresponding spaces. The slice space is column hyperplane-decomposable if and only if there exists such that
This is equivalent to
which happens if and only if
The last condition means that C is not row-intersecting.
Remark 2.4. Let , where is an -linear code of dimension , so that . For every , the row space is the rank support of in the sense of [BBMS27]; hence is row-intersecting if and only if is intersecting in the sense of [BBMS27]. In that paper, it is shown that this holds if and only if the associated -system is not 2-spannable, that is, there are no two -hyperplanes of such that [BBMS27, Theorem 3.4]. Therefore, in the -linear case, the column-hyperplane-indecomposability of the third slice space is equivalent to the fact that is not 2-spannable, and the theorem above recovers the geometric characterization of [BBMS27]. Note, however, that column-hyperplane-decomposability involves all pairs of -hyperplanes of , while 2-spannability only involves -hyperplanes of ; the equivalence of the two conditions reflects the fact that, for -linear codes, the row space of a codeword is invariant under multiplication by .
Proposition 2.5. If, for every hyperplane ,
then X is column-hyperplane-indecomposable.
Proof. For any two hyperplanes ,
so .
Theorem 2.6. If , then is column-hyperplane-decomposable.
Proof. Let be an -linear basis of the slice space . For each write , which is a vector subspace of of codimension at most . Setting , we have . Indeed, the codimension of is at most by Grassmann's formula. Therefore there exists a nonzero vector . Similarly, we set . Since , we also have , so that we may also choose a nonzero vector .
Defining the hyperplanes and , for all , we have , while for all , we have . Therefore
meaning that X is column-hyperplane-decomposable, as claimed.
Lemma 2.7. For every subspace of codimension ,
Proof. For every subspace of codimension we have
so that
□
Theorem 2.8. If is column-hyperplane-indecomposable, then
for every hyperplane . Hence, if is a row-intersecting code with , then .
Proof. Let and a basis of . Let be linearly independent matrices in that, with the matrices , form a basis for . If , there exists a hyperplane such that belong to , so that is column-hyperplane-decomposable. For the second statement, let . By (1), since is an isomorphism, . Since every nonzero codeword is of the form , we get .
Theorem 2.9.
Proof. Let be two hyperplanes.
So that, if , then is column-hyperplane-decomposable.
Suppose now . Via an isomorphism , we may consider to be an -subspace of , which corresponds to a set of points in of cardinality at most . Such a set is too small to meet all -subspaces of of codimension 2 (see [BB66, Theorem 2]). Now, such subspaces correspond, via the isomorphism mentioned before, to the subspaces of of type , with a subspace of codimension 2. This means that there exists of codimension 2 such that . Let such that . Then , so that is column-hyperplane-decomposable.
If , it is enough to pick a subspace of of dimension 2m and repeat the argument, as in [BBMS27].
Remark 2.10. Note that the argument used in [BBMS27] to get 2m - 3 instead of 2m - 1 does not work in this setting. Moreover, the bound is sharp: let be an MRD code of parameters . It is row-intersecting by Proposition 1.21, since , and the same holds for any of its subcodes. Its third slice space has dimension 2m - 1: otherwise, would be isometric to a code of with the same dimension and minimum distance, contradicting Theorem 1.6. Finally, in the -linear case, the upper bound has been recently refined in [BPZ26], by showing that the dual of the -system associated with an intersecting code is an evasive subspace. It is not clear whether this machinery extends to the -linear
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
setting by passing to the dual, since it heavily relies on the -linear structure, for instance through the count of the 2-dimensional -subspaces through a given point.
Remark 2.11. Theorem 2.6 and 2.9 summarize as follows, in coding-theoretical terms: let be a rank-metric code of dimension with generator tensor and let be the third slice space of . If is row-intersecting, then
In the theorem, we generalize a result of [BBMS27] to matrix intersecting codes. The result shows that linearity over the extended field is actually superfluous for extending MRD codes and obtaining (row)-intersecting codes. The result is formulated in terms of the third slice space.
Theorem 2.12. Let . There exists a column-hyperplane-indecomposable with
Proof. Let such that for every hyperplane (which corresponds to a square MRD code - e.g. a Gabidulin code - of parameters , see [ABN26]). Let be an -linear subspace of of dimension and such that . Set . Then . We want to prove that is column-hyperplane-indecomposable whenever . Suppose and assume that there exists a hyperplane such that . Then
from which we get , that contradicts the assumption above. It follows that for every hyperplane , so that is column-hyperplane-indecomposable by Proposition 2.5.
Remark 2.13. The above result, together with Remark 1.22, guarantees the existence of (row)-intersecting codes of length between and and dimension , for . Clearly, dimensions that are not multiples of can also be obtained by considering subcodes.
To conclude this section, we want to translate the condition of being column-hyperplane-indecomposable in terms of the dual of the slice space. Let us reformulate in our terms the duality shortening-puncturing which is proved in many previous works on rank-metric codes (see for example [BR17]).
Theorem 2.14. Let and of full rank.
where is such that .
Proof. Let us first examine . We have
Now note that for any we have
Note also that such that , there exists such that . Therefore we can write
and so
which completes the proof.
Corollary 2.15. Let . The following conditions are equivalent:
a) is column-hyperplane-decomposable;
b) There exist two full-rank matrices such that
c) There exist two full-rank matrices such that
d) There exist two full-rank matrices such that
where is such that .
Remark 2.16. The characterizations above provide a dual description of column-hyperplane-indecomposable spaces. Understanding how to exploit them, either for constructions or for bounds, as was done via duality in the -linear case [BPZ26], is an interesting direction for future research.
3. An ALGEBRAIC APPROACH: RANK INTERSECTING MODULES
In the previous section, we have considered the general case: linear spaces of matrices of any size and without any further algebraic structures. In the present section, we focus on the special case where (i.e. all the matrices are square) and we consider rank-metric codes closed under multiplication, i.e., matrix algebras. We shall see how this additional property allows us to construct intersecting codes in an efficient and quite simple manner.
Throughout this section, let be a finite dimensional unital algebra, seen as a left module over itself.
Remark 3.1. As mentioned before, we will be focusing on the rowspan rather than on the columnspan. Let us note that Remark 1.19 no longer holds here because the added structure does not allow us to transpose as easily. However, considering right-modules instead of left ones yields all the analogous results for column-intersecting codes.
Definition 3.2. An equality
where are pairwise orthogonal idempotents (that is, and for all , and for all ) is called a decomposition of the identity.
We now show how these algebraic properties are related to the intersecting property of the code.
Lemma 3.3. Let be idempotents such that . Then .
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Proof. Since , we have : indeed, if then , and the converse is clear. The same holds for . If , then
Lemma 3.4. Let be a simple left -submodule. Then all nonzero elements of have the same row space. In particular, is row-intersecting.
Proof. Let . Since , the submodule is nonzero, hence by simplicity; similarly . Thus there exist with and . Since every row of is a linear combination of the rows of , we get , and symmetrically . Hence , which is nonzero since .
Proposition 3.5. Let be semisimple, and write with simple left -modules. Then
Proof. If , then is a simple left -module, hence it is row-intersecting by Lemma 3.4 applied to .
Conversely, suppose . The decomposition yields a decomposition of the identity
where are nonzero pairwise orthogonal idempotents with (see for example [DK94]). By Lemma 3.3, , so is not row-intersecting.
Remark 3.6. If , then has no nonzero proper left ideals, so it is a finite division algebra, hence a field by Wedderburn's little theorem. Thus a semisimple code is row-intersecting if and only if it is a field.
Example 3.7. (1) Over , consider
One checks that is closed under multiplication, with identity , and that . Hence it is a simple module, and all its nonzero codewords have the same row space, namely the even-weight code .
(2) Over , consider the block-diagonal matrices
As an algebra, , so it is semisimple. As a left -module, it decomposes into three simple modules: the two columns of and . Hence is not row-intersecting by Proposition 3.5. Indeed, the idempotents already have trivially intersecting row spaces.
The aim of what follows is to reduce the problem to the study of simple or semisimple algebras, which are much better understood. To do so, one can take the quotient of by a well-chosen ideal, or look for semisimple submodules within .
Let us start with the first idea.
Lemma 3.8 (Corollary 3.3.9 in [DK94]). Let and let be a decomposition of the identity of into pairwise orthogonal idempotents. Then there exists a decomposition of the identity of into pairwise orthogonal idempotents such that for all .
Proposition 3.9. If is row-intersecting, then is a field.
Proof. Write , which is semisimple by Remark 1.13, and decompose it as
into simple left -modules. As in Proposition 3.5, this gives a decomposition
into nonzero pairwise orthogonal idempotents. Suppose, for a contradiction, that . By Lemma 3.8, it lifts to a decomposition into pairwise orthogonal idempotents of . These are nonzero, since their images are nonzero. By Lemma 3.3, , so are nonzero codewords with trivially intersecting row spaces, contradicting the assumption that is row-intersecting. Hence , and is a field (as in Remark 3.6).
Example 3.10. Over , consider
The code is row-intersecting, because every nonzero satisfies :
• if , then is invertible and ;
• if , then , and the nonzero rows of are all proportional to . Denote by the elementary matrices. The radical is the set of matrices with :
Indeed, this is an ideal of whose square is zero, and the quotient is a field. More precisely, the map induces an isomorphism
which is a field, as stated in Proposition 3.9.
Remark 3.11. By Proposition 3.9, the fact that is a field is a necessary condition for an algebra to be row-intersecting, so we may restrict our search to such algebras. However, the condition is not sufficient. To see this, consider the transpose of the code of Example 3.10:
Transposition is an anti-isomorphism of algebras, so it maps the radical of onto the radical of :
and is still a field. However, is not row-intersecting, since
Let us now turn to the second idea: looking for a semisimple structure within C.
Theorem 3.12. The code C is row-intersecting if and only if is row-intersecting.
Proof. Since , if is row-intersecting then so is .
Conversely, assume that is row-intersecting. We first show that for every there exists such that
Since is unital, , so is a nonzero left ideal of . Being finite-dimensional, it contains a minimal left ideal , and by definition of the socle. Take any . Since , we can write for some . Every row of is a linear combination of the rows of , hence .
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Now let , and let be as above. Since is row-intersecting,
Hence is row-intersecting.
Remark 3.13. Beyond providing constructions, this theorem makes it more efficient to check whether such a code is row-intersecting. Indeed, the socle can be computed effectively (see for example in [BL08]). After doing so, one can list all simple submodules of the socle. By Lemma 3.4, each simple submodule has a constant rowspan among its nonzero matrices. One could then take one representative per submodule and compare their rowspans. The code is row-intersecting if and only if the rowspans of these representatives pairwise intersect.
Corollary 3.14. If Soc() is simple, then is row-intersecting.
Proof. By Lemma 3.4, Soc() is row-intersecting. The conclusion follows from Theorem 3.12.
We list here three examples of row-intersecting codes with different socle structures.
Example 3.15. Let . We have
which is simple, so that the code is row-intersecting.
Example 3.16. Consider again the code of Example 3.10. Since , we have , and since is not semisimple and has codimension 1, we get
The socle has dimension 2 and is not simple: since acts trivially on it, each of its 1-dimensional subspaces is a submodule. However, all its nonzero elements have row space , so it is row-intersecting, and so is by Theorem 3.12.
Example 3.17. Let . This is a commutative
algebra of dimension 3, and
Since , each 1-dimensional subspace of the socle is a submodule, so the socle is not simple. One checks that the row spaces of its nonzero elements pairwise intersect, so is row-intersecting, and so is by Theorem 3.12. Note that has minimum distance (it can be easily checked), so it does not satisfy the condition of Proposition 1.21.
The main difference between the two previous examples is that in Example 3.16 the intersection of the row supports of all nonzero codewords is non-trivial, whereas the code in Example 3.17 does not have this property (that is, the global intersection is trivial). The first situation seems to be quite common: in our computer searches, we considered the algebras generated over by subgroups of , up to conjugacy, for , as well as algebras generated by random matrices, and the global intersection was frequently non-trivial among the row-intersecting ones.
The simplicity of the socle gives us a sufficient condition. There is a particular case in which it can also be necessary.
Proposition 3.18. Let be an algebra of dimension and be its regular representation. Then , seen as a left module over itself, is row-intersecting if and only if is simple.
Proof. If is simple, then is row-intersecting by Corollary 3.14. Conversely, write as a direct sum of simple submodules. Let us assume that and let us show that .
Let be a -basis of . We define
such that .
By construction, the -th row of is given by , we then have:
for all . Since the sum is direct, we have , and since is an isomorphism, we get:
Hence the code is not row-intersecting.
Remark 3.19. Studying row-intersecting codes through the regular representation gives us a strictly algebraic criterion. However, it restricts the dimension of the algebras to be equal to the size of the matrices.
Theorem 3.20. Let be a unital algebra of dimension . If is simple, then .
Proof. Let us assume that k > n. We then have:
since of dimension .
Hence the annihilator of v,
which is the kernel of the -linear map , , is nonzero. Moreover, it is a left ideal of , since for every and . By simplicity and minimality of the socle, we have:
Since this is true for all , we even have:
However , which would mean that .
This would imply that there exists a nonzero matrix whose kernel is equal to , hence the absurdity. We have then proven that .
Remark 3.21. Constructing row-intersecting codes that do not verify the sufficient condition mentioned in Proposition 1.21 is nontrivial.
As mentioned in Remark 1.22, avoiding this condition can be desirable.
The same reasoning applies to a second sufficient condition: that the socle of the module is simple. Again, studying row-intersecting codes through algebras with a simple socle would reveal properties of the simplicity of the socle rather than of the intersecting structure itself. The remaining case is therefore the one where the code is row-intersecting but the socle of the module is not simple. According to Theorem 3.20, it is the only case where we can construct row-intersecting codes with dimension greater than the size of its matrices.
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Let us give an example of a construction avoiding both sufficient conditions.
Example 3.22. Let be an -code.
Let
The code has dimension and minimum distance : its nonzero non-invertible elements are the matrices with and , whose rank is . It is stable through multiplication. Indeed, ,
As a left-module, has a unique maximal ideal, given by . This ideal is the Jacobson radical of . Let us note that
Hence , so by the characterization of the socle recalled in Section 1. Moreover, , since otherwise would be semisimple and would be zero. As has codimension 1 in , we get . Since , Theorem 3.12 gives
For example, if verifies , then it is row-intersecting. To maximize its dimension, one can consider an MRD code. If is even and , then is an -code.
We have constructed , a -code. It does not verify either of the two sufficient conditions.
Remark 3.23. Let us compare the geometric and the algebraic points of view on the parameters. For a row-intersecting algebra of dimension and minimum distance , Theorem 2.8 gives . When is simple, Theorem 3.20 sharpens this to , independently of . On the other hand, the code of Example 3.22 shows that row-intersecting algebras with a non-simple socle can have dimension much larger than the size of their matrices: it has parameters , so that grows quadratically in , while still satisfying the geometric bound .
Remark 3.24. Several results of this section do not require to be closed under multiplication. Let be any code and let be a unital subalgebra of its left idealizer
for instance, for a group of left automorphisms of . Then is a left -module, and in what follows denotes its socle as such. Since for every , the proofs of Lemma 3.4, Theorem 3.12 and Corollary 3.14 carry over, and the proof of Theorem 3.20 gives whenever is simple. On the contrary, Propositions 3.5 and 3.9 rely on the fact that idempotents of are codewords. Note that if is semisimple, e.g. with (see Maschke's Theorem [DK94, Theorem 7.1.1]), then and Theorem 3.12 gives no information; the interesting case is therefore the modular one. A systematic study of this more general setting is left for future work.
Let us end this section by considering a particular case for which the algebraic structure is completely understood.
3.1. The case , .
Proposition 3.25. Let and be its minimal polynomial, where the are distinct irreducible polynomials.
Let , and let , with , be the invariant factors of the restriction of to . Define
Then the code is an -code.
Proof. We have . Since is a -basis of , the dimension of the algebra as an -vector space is equal to .
Let us now express the minimum distance. By the primary decomposition theorem, one can write
Each is -stable so, taking a basis adapted to this decomposition, there exists such that . Since preserves the rank, we may assume that . Then for every ,
Moreover, for all , the minimal polynomial of is . In particular, choosing vanishes on all but . This shows that the minimum distance of is equal to:
We can now express the minimum distance of each . Let and consider the invariant factors of . Since is irreducible, they are
Let denote the companion matrix of . By the Frobenius (rational canonical form) theorem, there exists such that
Each companion matrix can itself be decomposed. Let and denote the companion matrix of . There exists such that
We have:
Note that for all , if then for all such that , . This show that
Furthermore,
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
Hence
To conclude, the minimum distance of is .
Since codes are often considered up to equivalence, the following proposition shows that two codes of the form are equivalent if and only if they are conjugate as subalgebras of .
Proposition 3.26. Let . The codes and are equivalent if and only if there exists such that
Proof. If and are equivalent codes, there exist such that
In this case, since is a unital algebra, . Thus, there exists such that , i.e. .
Moreover,
Hence, there exists , .
Then , and since is a unit of we have . Therefore
We can now conclude by characterizing which of these codes are row-intersecting.
Proposition 3.27. Let and let be its minimal polynomial, where the are distinct irreducible polynomials.
Then the code is row-intersecting if and only if r = 1.
Proof. Let .
Each factor is a local algebra. acts on through the quotient map . This allows us to view as a left -module whose submodules form the chain . Its unique simple submodule is . Since , the simple submodules of are the . Hence, as -modules,
By Corollary 3.14, if has exactly one factor, the socle is simple and the code is row-intersecting.
Suppose that .
There exists such that and .
Setting , we obtain
where the (*) block is in the j-th position and is nonzero by minimality of .
Consequently,
and the code is not row-intersecting.
Remark 3.28. In this case, is row intersecting if and only if its socle is simple.
Example 3.29.
(1) Let . Then
with two distinct irreducible factors. By Proposition 3.25, is a code, and it is not row-intersecting by Proposition 3.27.
(2) Let . Then
so by Proposition 3.25 the code is a code, and it is row-intersecting by Proposition 3.27. Note that , so the condition of Proposition 1.21 is not satisfied. Its socle is
and its three nonzero elements have rank 2 and the same row space , which is contained in the row space of every nonzero codeword.
STATEMENT ON THE USE OF AI TOOLS
The authors used Claude Opus 5.5 (Anthropic) for proofreading, for drafting expository passages on standard material, and for checking the mathematical consistency of the manuscript; in this process it suggested some corrections and the formulation of a few auxiliary statements and short proofs. All suggestions were verified by the authors, who take full responsibility for the content.
REFERENCES
[AB98] Alexei E. Ashikhmin and Alexander Barg. Minimal vectors in linear codes. IEEE Transactions on Information Theory, 44:2010–2017, 1998.
[ABN22] Gianira N. Alfarano, Martino Borello, and Alessandro Neri. A geometric characterization of minimal codes and their asymptotic performance. Advances in Mathematics of Communications, 16(1):115–133, 2022.
[ABN26] Gianira N. Alfarano, Martino Borello, and Alessandro Neri. The geometry of rank-metric codes. arXiv preprint 2605.19691, 2026.
[ABNR22] Gianira N. Alfarano, Martino Borello, Alessandro Neri, and Alberto Ravagnani. Linear cutting blocking sets and minimal codes in the rank metric. Journal of Combinatorial Theory, Series A, 192:105658, 2022.
[BB66] Raj Chandra Bose and RC Burton. A characterization of flat spaces in a finite geometry and the uniqueness of the Hamming and the MacDonald codes. Journal of Combinatorial Theory, 1(1):96–104, 1966.
[BBMS27] Daniele Bartoli, Martino Borello, Giuseppe Marino, and Martin Scotti. Linear rank-metric intersecting codes. to appear in SIAM Journal on Applied Algebra and Geometry, 2027.
[BCS96] Gilles Brassard, Claude Crépeau, and Miklos Santha. Oblivious transfers and intersecting codes. IEEE Transactions on Information Theory, 42(6):1769–1780, 1996.
[BL08] Peter A Brooksbank and Eugene M Luks. Testing isomorphism of modules. Journal of Algebra, 320(11):4020–4029, 2008.
[Bla03] Simon R Blackburn. Frameproof codes. SIAM Journal on Discrete Mathematics, 16(3):499–510, 2003.
[BPZ26] Martino Borello, Olga Polverino, and Ferdinando Zullo. On the existence of linear rank-metric intersecting codes. arXiv preprint arXiv:2604.02004, 2026.
MARTINO BORELLO, MARTIN SCOTTI, AND LUNE VILA
[BR17] Eimear Byrne and Alberto Ravagnani. Covering radius of matrix codes endowed with the rank metric. SIAM Journal on Discrete Mathematics, 31(2):927–944, 2017.
[BSS25] Martino Borello, Wolfgang A. Schmid, and Martin Scotti. The geometry of intersecting codes and applications to additive combinatorics and factorization theory. Journal of Combinatorial Theory, Series A, 214:106023, 2025.
[CELS03] G. D. Cohen, S Encheva, Simon Litsyn, and Hans Georg Schaathun. Intersecting codes and separating codes. Discrete Applied Mathematics, 128(1):75–83, 2003.
[CMP13] Gérard D. Cohen, Sihem Mesnager, and Alain Patey. On minimal and quasi-minimal linear codes. In IMA International Conference on Cryptography and Coding, pages 85–98. Springer, 2013.
[CZ94] Gérard D. Cohen and Gilles Zémor. Intersecting codes and independent families. IEEE Transactions on Information Theory, 40(6):1872–1881, 1994.
[Del78] Philippe Delsarte. Bilinear forms over a finite field, with applications to coding theory. Journal of Combinatorial Theory, Series A, 25(3):226–241, 1978.
[DK94] Yurij A. Drozd and Vladimir V. Kirichenko. Finite Dimensional Algebras. Springer-Verlag, Berlin, 1994.
[Gab85] Ernst M. Gabidulin. Theory of codes with maximum rank distance. Problems of Information Transmission, 21(1):1–12, 1985.
[KS83] Gyula Katona and Jaya Srivastava. Minimal 2-coverings of a finite affine space based on GF(2). Journal of Statistical Planning and Inference, 8(3):375–388, 1983.
[LTZ18] Guglielmo Lunardon, Rocco Trombetti, and Yue Zhou. Generalized twisted Gabidulin codes. Journal of Combinatorial Theory, Series A, 159:79–106, 2018.
[Mas93] James L Massey. Minimal codewords and secret sharing. In Proceedings of the 6th joint Swedish-Russian international workshop on information theory, pages 276–279, 1993.
[Mik84] D Miklós. Linear binary codes with intersection properties. Discrete Applied Mathematics, 9(2):187–196, 1984.
[PS11] Alain Plagne and Wolfgang A. Schmid. An application of coding theory to estimating Davenport constants. Designs, Codes and Cryptography, 61:105–118, 2011.
[Ran13] Hugues Randriambololona. (2, 1)-separating systems beyond the probabilistic bound. Israel Journal of Mathematics, 195:171–186, 2013.
[Ran20] Tovohery H. Randrianarisoa. A geometric approach to rank metric codes and a classification of constant weight codes. Designs, Codes and Cryptography, 88:1331–1348, 2020.
[Ret89] Charles T. Retter. Intersecting Goppa codes. IEEE Transactions on Information Theory, 35(4):822–828, 1989.
[Rot91] Ron M. Roth. Maximum-rank array codes and their application to crisscross error correction. IEEE Transactions on Information Theory, 37(2):328–336, 1991.
[She19] John Sheekey. Linear sets are to rank-metric codes as arcs are to Hamming-metric codes. In Contemporary Coding Theory, Oberwolfach Reports. 2019. Report No. 13/2019.
[SSW01] Jessica N. Staddon, Douglas R. Stinson, and Ruizhong Wei. Combinatorial properties of frameproof and traceability codes. IEEE Transactions on Information Theory, 47(3):1042–1049, 2001.
[ZZ21] Giovanni Zini and Ferdinando Zullo. Scattered subspaces and related codes. Designs, Codes and Cryptography, 89(8):1853–1873, 2021.
UNIVERSITÉ PARIS 8, LABORATOIRE DE GÉOMÉTRIE, ANALYSE ET APPLICATIONS, LAGA, UNIVERSITÉ SORBONNE PARIS NORD, CNRS, UMR 7539, FRANCE
Email address: martino.borello@univ-paris8.fr
AALBORG UNIVERSITY, DEPARTMENT OF MATHEMATICAL SCIENCES, DENMARK
Email address: msco@math.aau.dk
INRIA AND LIX, ÉCOLE POLYTECHNIQUE, INSTITUT POLYTECHNIQUE DE PARIS, FRANCE
Email address: lune.vila@inria.fr