1 Introduction

The concept of a q-matroid may be traced back to Crapo’s PhD thesis [10]. More recently, the relation between rank-metric codes and q-matroids has led to these combinatorial objects getting a lot of attention from researchers; see for instance [5,6,7, 9, 14, 15, 18, 23]. Indeed, it is well-known that q-matroids generalize \(\mathbb {F}_{q^m}\)-linear rank-metric codes, just as classical matroids generalize linear codes in the Hamming metric.

As in traditional matroid theory, there are many equivalent ways to describe a q-matroid axiomatically, which are called q-cryptomorphisms. A full exposition of these is given in [7], in terms of rank function, independent spaces, flats, circuits, bases, spanning spaces, the closure function, hyperplanes, open spaces etc.

In matroid theory, one of the most crucial objects is the lattice of flats \(\mathcal {F}(M)\) of a matroid M, which uniquely determines the matroid. Another lattice with the same property is the lattice of cyclic sets. This led many researchers to investigate the intersection between these lattices, namely the collection of cyclic flats of the matroid. Cyclic flats have also played several important roles such as in the work of Brylawski, who showed in [4] that the cyclic flats of a matroid, together with their ranks uniquely determine the matroid. Moreover, Eberhardt showed that they provide the Tutte polynomial in [12], and Bonin and de Mier showed in [2] that every lattice is isomorphic to the lattice of cyclic flats of some matroid. Applications to coding theory have been recently investigated: it has been proved that many central invariants in coding theory can be naturally described in terms of the lattice of cyclic flats of the associated matroid; see [13, 25]. Furthermore, the lattice of cyclic flats of classical polymatroids has also been studied; see [11, 26, 27].

In this paper we consider a q-analogue of this theory: we define the lattice of cyclic flats of a q-matroid and show that it, along with the ranks of its elements, determines the q-matroid. We furthermore propose a new cryptomorphism of q-matroids based on cyclic flat axioms. We consider the codes associated with representable q-matroids and show that the cyclic spaces of a q-matroid are supports of elements of the corresponding dual code.

The outline of this paper is as follows. In Sect. 3, a cyclic flat is defined along with a cyclic operator and, as for a flat, with a closure operator. We use the two operators to show that the collection of cyclic flats of a q-matroid is a lattice that is not induced by its lattice of flats, nor its cyclic spaces, nor the lattice of subspaces of the ground space. We show that the lattice of cyclic flats, together with their ranks, fully determines the q-matroid. In Sect. 4, we exploit the theory of cyclic flats to establish a new q-cryptomorphism and we provide a necessary and sufficient condition for a lattice \(\mathcal {Z}\) of subspaces endowed with a function \(r_\mathcal {Z}:\mathcal {Z}\rightarrow \mathbb {Z}\) to be the lattice of cyclic flats of a q-matroid. In Sect. 5, we further investigate the connection between rank-metric codes and q-matroids. We introduce the notion of \(\mathbb {F}_{q^m}\)-independence of an \(\mathbb {F}_q\)-subspace of \(\mathbb {F}_q^n\) and we show that q-matroids generalize this concept, in the same way that matroids generalize the notion of linear independence of vectors over a given field. We conclude with a short discussion in Sect. 6 on the q-polymatroid case.

Notation: Throughout this paper, n denotes a fixed positive integer, q is a prime power, and \(\mathbb {F}_q\) denotes the finite field of order q. We denote by E a fixed n-dimensional vector space over \(\mathbb {F}_q\) and by \(\mathcal {L}(E)\) the lattice of subspaces of E, ordered with respect to inclusion. We write \(A\le B\) to indicate that A is a subspace of B. If a subspace is to be understood as being 1-dimensional, we represent it by a lowercase letter, so for instance, \(x\le A\) means that x is a one-dimensional subspace of A. For every \(A \in \mathcal {L}(E)\), we write \(\mathcal {P}(A)\) to denote its collection of 1-dimensional subspaces. For every \(A\in \mathcal {L}(E)\), we denote by \(\textrm{Hyp}(A)\) the set of hyperplanes of A, i.e. the set of codimension-1 subspaces of A. These are not to be confused with hyperplanes in the sense of matroids/q-matroids. The standard basis of the space \(\mathbb {F}_q^n\) is denoted by \(\{e_1,\ldots , e_n\}\). Finally, for a space \(A\le E\), we denote by \(A^\perp \) the orthogonal complement of A in E, with respect to a fixed non-degenerate symmetric bilinear form.

2 Background

In this section, we recall some preliminary notions on q-matroids and rank-metric codes. The following definition of q-matroid is given in terms of a rank function; see [18]. Notice that this definition does not require E to be a vector space over a finite field, however, we will assume that a q-matroid is an object defined with respect to an \(\mathbb {F}_q\)-vector space.

Definition 2.1

A q-matroid M is a pair (Er) where r is an integer-valued function defined on \(\mathcal {L}(E)\) with the following properties:

  1. (R1)

    Boundedness: \(0\le r(A) \le \dim A\), for all \(A\in \mathcal {L}(E)\).

  2. (R2)

    Monotonicity: \(A\le B \Rightarrow r(A)\le r(B)\), for all \(A,B\in \mathcal {L}(E)\).

  3. (R3)

    Submodularity: \(r(A+ B)+r(A\cap B)\le r(A)+r(B)\), for all \(A,B\in \mathcal {L}(E)\).

The function r is called the rank function of the q-matroid.

Given a q-matroid (Er), we define the nullity function \(\nu \) to be

$$\begin{aligned} \nu : \mathcal {L}(E)\rightarrow \mathbb {Z}, \ A \mapsto \dim (A)-r(A). \end{aligned}$$

From Definition 2.1, it follows that the nullity has the following properties:

  1. (n1)

    \(\nu (A)\ge 0\), for all \(A\in \mathcal {L}(E)\).

  2. (n2)

    \(A\le B \Rightarrow \nu (A)\le \nu (B)\), for all \(A,B\in \mathcal {L}(E)\).

  3. (n3)

    \(\nu (A+B)+\nu (A\cap B) \ge \nu (A)+\nu (B)\), for all \(A,B\in \mathcal {L}(E)\).

Definition 2.2

Let (Er) be a q-matroid. A subspace \(A\in \mathcal {L}(E)\) is called an independent space of (Er) if \(r(A)=\dim A\). We write \(\mathcal {I}_r\) to denote the set of independent spaces of the q-matroid (Er):

$$\begin{aligned}\mathcal {I}_r:=\{ I \in \mathcal {L}(E) \mid \dim (I) = r(I) \}. \end{aligned}$$

If \(x\le E\) and \(r(x)=0\), then x is called loop of (Er). A subspace of E that is not an independent space of (Er) is called a dependent space of (Er). We call \(C \in \mathcal {L}(E)\) a circuit if it is itself a dependent space and every proper subspace of C is independent. We write \(\mathcal {D}_r\) and \(\mathcal {C}_r\) to denote the sets of dependent spaces and the circuits of the q-matroid (Er), respectively. A subspace of E is called an open space of (Er) if it is a (vector space) sum of circuits. We write \({{\mathcal {O}}}_r\) to denote the set of open spaces of (Er).

We define a closure operator as follows (c.f. [6, Definition 5]).

Definition 2.3

Let (Er) be a q-matroid. For each \(A \in \mathcal {L}(E)\), define

$$\begin{aligned} {{\,\textrm{Cl}\,}}_r(A):=\{x \in \mathcal {L}(E)\mid r(A+x)=r(A)\}. \end{aligned}$$

The closure function of (Er) is the function defined by

$$\begin{aligned}{{\,\textrm{cl}\,}}_r:\mathcal {L}(E) \rightarrow \mathcal {L}(E), \ A \mapsto {{\,\textrm{cl}\,}}_r(A)=\sum _{x \in {{\,\textrm{Cl}\,}}_r(A)} x. \end{aligned}$$

Definition 2.4

A subspace A of (Er) is called a flat or closed space if for all \(x \in \mathcal {L}(E)\) such that \(x\nleq A\), we have

$$\begin{aligned} r(A+x)>r(A). \end{aligned}$$

We write \(\mathcal {F}_r\) to denote the set of flats of the q-matroid (Er), that is

$$\begin{aligned} \mathcal {F}_r:= \{ A \in \mathcal {L}(E) \mid r(A+x)>r(A) \,\,\forall x \in \mathcal {L}( E), \ x \nleq A \}. \end{aligned}$$

If it is clear from the context, we will simply write \(\mathcal {I},\mathcal {D},\mathcal {C},{\mathcal {O}}, {{\,\textrm{cl}\,}}\) in place of \(\mathcal {I}_r,\mathcal {D}_r,\mathcal {C}_r, {\mathcal {O}}_r,{{\,\textrm{cl}\,}}_r\).

In [7], several cryptomorphisms of q-matroids have been established, which give equivalent ways of defining a q-matroid. Here, we recall the closure function axioms. The closure function of a q-matroid (Er) necessarily satisfies the closure function axioms; see [18, Theorem 68].

Definition 2.5

Let \({{\,\textrm{cl}\,}}:\mathcal {L}(E)\rightarrow \mathcal {L}(E)\) be a map. We define the following closure axioms.

  1. (Cl1)

    \(A\le {{\,\textrm{cl}\,}}(A)\), for all \(A\in \mathcal {L}(E)\).

  2. (Cl2)

    \(A\le B\Rightarrow {{\,\textrm{cl}\,}}(A)\le {{\,\textrm{cl}\,}}(B)\), for all \(A,B\in \mathcal {L}(E)\).

  3. (Cl3)

    \({{\,\textrm{cl}\,}}(A)={{\,\textrm{cl}\,}}({{\,\textrm{cl}\,}}(A))\), for all \(A\in \mathcal {L}(E)\).

  4. (Cl4)

    For all \(x,y,A \in \mathcal {L}(E)\), if \(y\le {{\,\textrm{cl}\,}}(A+x)\) and , then \(x\le {{\,\textrm{cl}\,}}(A+y)\).

If \({{\,\textrm{cl}\,}}:\mathcal {L}(E)\rightarrow \mathcal {L}(E)\) satisfies the closure axioms (Cl1)–(Cl4), then we call it a closure function.

Similar to the matroid case, for any \(A\in \mathcal {L}(E)\), we have that \(r(A)=r({{\,\textrm{cl}\,}}(A))\).

Finally, we define the restriction and the contraction operations for q-matroids; see [6, 18].

Definition 2.6

Let \(M=(E,r)\) be a q-matroid and \(A\le E\) be any subspace of E. For every space \(T\le A\), we define \(r_{M|_{A}}(T):=r(T)\). The q-matroid \(M|_{A}:=(A,r_{M|_{A}})\) is called the restriction of M to A. Define a map

$$\begin{aligned} r_{M/A}: \mathcal {L}(E/A) \rightarrow \mathbb {Z}, \ T\mapsto r(\pi ^{-1}(T))-r(A), \end{aligned}$$

where \(\pi : E \rightarrow E/A\) is the canonical projection. Then the q-matroid \(M/A:=(E/A,r_{M/A})\) is called the contraction of M from A.

We conclude with the notion of dual matroid [18], which we will use in Sects. 3 and 5.

Definition 2.7

Let \(M=(E,r)\) be a q-matroid and consider the function

$$\begin{aligned} r^*: \mathcal {L}(E)\rightarrow \mathbb {Z}, \ A \mapsto \dim (A)-r(E)+r(A^\perp ). \end{aligned}$$

Then \(r^*\) is a rank function and \(M^*=(E,r^*)\) is a q-matroid, called the dual q-matroid of M.

3 Cyclic spaces and cyclic flats

This section is devoted to the introduction of the q-analogue of cyclic flats and to present some of the properties of these objects. This will be the starting point for establishing a description of q-matroids in terms of cyclic flats. For the remainder, \(M=(E,r)\) will denote an arbitrary but fixed q-matroid with ground space E and rank function r.

3.1 Cyclic spaces

We first define what it means for a space to be a cyclic subspace of a q-matroid.

Definition 3.1

We say that \(A\in \mathcal {L}(E)\) is cyclic if \(A=\langle 0 \rangle \) or \(r(A)=r(B)\) for all \(B\in \textrm{Hyp}(A)\).

Equivalently, a space \(A \in \mathcal {L}(E)\) is cyclic if \({{\,\textrm{cl}\,}}(A)={{\,\textrm{cl}\,}}(B)\) for every \(B \in \textrm{Hyp}(A)\).

Example 3.2

A trivial example of a cyclic space is given by a circuit of M. Indeed, if C is a circuit and \(D\in \textrm{Hyp}(C)\), then \(r(D)=\dim (D)=\dim (C)-1=r(C).\)

Definition 3.3

For each \(A \in \mathcal {L}(E)\), define the set:

$$\begin{aligned}{{\,\textrm{Cyc}\,}}_r(A):=\{x \le A\mid r(B+x) = r(B) \; \text { for all }\; B \in \textrm{Hyp}(A)\}.\end{aligned}$$

If it is clear from the context, we will write \({{\,\textrm{Cyc}\,}}:={{\,\textrm{Cyc}\,}}_r\) for the q-matroid \(M=(E,r)\).

Lemma 3.4

Let \(A \in \mathcal {L}(E)\). Then

$$\begin{aligned} {{\,\textrm{Cyc}\,}}(A)= \mathcal {P}\left( \sum _{x \in {{\,\textrm{Cyc}\,}}(A)} x \right) = \mathcal {P}\left( \bigcap _{H \in \textrm{Hyp}(A)} {{\,\textrm{cl}\,}}(H) \cap A\right) . \end{aligned}$$

Proof

Let \(x,y \in {{\,\textrm{Cyc}\,}}(A)\) and let \(z\le x+y\). Let \(D\in \textrm{Hyp}(A)\). If \(z\le D\) then \(r(z+D)=r(D)\). Further, this will occur if both x and y are subspaces of D. Suppose that \(z \nleq D\). Then we may assume that \(x \nleq D\) and so \(r(z+D)=r(A)=r(x+D) = r(D)\). It follows that \(z \in {{\,\textrm{Cyc}\,}}(A)\) and so \({{\,\textrm{Cyc}\,}}(A)= \mathcal {P}\left( \sum _{x \in {{\,\textrm{Cyc}\,}}(A)} x \right) \). To see that the second equality holds, note that for any \(x \in \mathcal {L}(E)\), we have \(x \in {{\,\textrm{Cyc}\,}}(A)\) if and only if x is contained A and in the closure of every member of \(\textrm{Hyp}(A)\), which holds if and only if \(x \le \displaystyle { \bigcap _{H \in \textrm{Hyp}(A)} {{\,\textrm{cl}\,}}(H) \cap A}\). \(\square \)

Note that if x is a loop contained in \(A\in \mathcal {L}(E)\), then \(x\in {{\,\textrm{Cyc}\,}}(A)\).

Proposition 3.5

Let \(A \in \mathcal {L}(E)\). The following are equivalent.

  1. (1)

    A is cyclic.

  2. (2)

    For all \(x \le A\), we have that \(r(x+B)=r(B)\) for all \(B \in \textrm{Hyp}(A)\).

  3. (3)

    \({{\,\textrm{Cyc}\,}}(A)= \mathcal {P}(A)\).

  4. (4)

    \(\displaystyle A = \sum _{x \in {{\,\textrm{Cyc}\,}}(A)} x\).

  5. (5)

    \(\displaystyle { A \le \bigcap _{H \in \textrm{Hyp}(A)} {{\,\textrm{cl}\,}}(H)}\).

Proof

The equivalence of (1) and (2) is immediate from the Definition 3.1 and the equivalence of (2) and (3) from Definition 3.3. If (3) holds then \(\displaystyle A = \sum _{x \in \mathcal {P}(A)} x=\sum _{x \in {{\,\textrm{Cyc}\,}}(A)} x\), and so we have (4). Conversely, if (4) holds, then we see that (3) holds by Lemma 3.4. That (1) and (5) are equivalent follows immediately from Definition 3.1. \(\square \)

Lemma 3.6

[6, Lemma 3.2] Let \(A,B,x\in \mathcal {L}(E)\), with \(B \le A\). If \(r(B+x)=r(B)\) then \(r(A+x)=r(A)\).

Lemma 3.7

Let \(C_1,C_2,\ldots ,C_\ell \) be a collection of cyclic subspaces of E. Then \(C_1+\cdots + C_\ell \) is also cyclic.

Proof

Let \(C=C_1+C_2\) and let \(X\in \textrm{Hyp}(C)\). We claim that \(r(C)=r(X)\). Clearly, either \(X \cap C_1=C_1\), or \(X\cap C_1\) has codimension 1 in \(C_1\). Suppose the latter case, so there exists \(y \le C_1\) such that \(y+X = C\). Therefore, since \(C_1\) is cyclic, we have that \(r(y+(X \cap C_1))=r(X \cap C_1)\) and hence by Lemma 3.6 we have \(r(X)=r(y+X)=r(C)\). On the other hand, if \(X \cap C_1 = C_1\) then \(X \cap C_2 \in \textrm{Hyp}(C_2)\), since otherwise we arrive at the contradiction:

$$\begin{aligned} C=C_1+C_2 = (X \cap C_1) + (X \cap C_2) \le X \cap (C_1 + C_2) = X \cap C = X. \end{aligned}$$

As before, \(X \cap C_2 \in \textrm{Hyp}(C_2)\) implies that \(r(C)=r(X)\). It follows that \(C_1+C_2\) is a cyclic space. Now apply the same argument, iteratively, to arrive at the required result. \(\square \)

Consider the following operator.

Definition 3.8

The cyclic operator of M is the function defined by

$$\begin{aligned} {{\,\textrm{cyc}\,}}_r:\mathcal {L}(E) \rightarrow \mathcal {L}(E), \ A \mapsto {{\,\textrm{cyc}\,}}_r(A):=\sum _{\begin{array}{c} C \le A \\ C \text { is cyclic} \end{array}} C. \end{aligned}$$

If it is clear from the context, we will write \({{\,\textrm{cyc}\,}}:={{\,\textrm{cyc}\,}}_r\) for the q-matroid M. We say that \(A\in \mathcal {L}(E)\) is cyclically closed if

$$\begin{aligned} {{\,\textrm{cyc}\,}}(A) = A. \end{aligned}$$

From Lemma 3.7, we see that \({{\,\textrm{cyc}\,}}(A)\) is cyclic and is the unique maximal cyclic subspace of A.

One well-known construction of a q-matroid arises from the generator matrix of an \(\mathbb {F}_{q^m}\)-linear rank-metric code; see [15, 18]. Let G be a \(k \times n\) matrix over \(\mathbb {F}_{q^m}\) and for every \(U\in \mathcal {L}(\mathbb {F}_q^n)\), let \(A^U\) be a matrix whose columns form a basis of U. Then the map

$$\begin{aligned} r:\mathcal {L}(\mathbb {F}_q^n) \rightarrow \mathbb {Z}, \ U\mapsto \text {rk}(G A^U), \end{aligned}$$
(1)

is the rank function of a q-matroid, which we denote by M[G].

Example 3.9

Consider \(\mathbb {F}_8=\mathbb {F}_{2^3}\) and let \(\alpha \in \mathbb {F}_8\) be a primitive element satisfying \(\alpha ^3=\alpha +1\). Let G be the following matrix with entries in \(\mathbb {F}_8\),

$$\begin{aligned} G:= \begin{pmatrix} 1 &{} \alpha &{} \alpha ^2 &{} 1 \\ 0 &{} 1 &{} \alpha &{} 0 \\ \end{pmatrix}\in \mathbb {F}_8^{2\times 4}. \end{aligned}$$

Let r be the rank function of M[G] and let \(A_1:=\langle e_2,e_3\rangle \in \mathcal {L}(\mathbb {F}_2^4)\). Then \(r(A_1)=1\) and for all \(B\in \textrm{Hyp}(A_1)\), we have that \(r(B)=1\) and hence \(A_1\) is cyclically closed. On the other hand, \(A_2:=\langle e_1+e_2,e_3,e_4\rangle \) is not cyclically closed, indeed \({{\,\textrm{cyc}\,}}(A_2)=\langle e_1+e_2+e_4,e_3 \rangle \).

We now list some basic properties of the cyclic operator.

Theorem 3.10

For every \(A,B\in \mathcal {L}(E)\), the cyclic operator satisfies the following properties.

(cyc1):

\({{\,\textrm{cyc}\,}}(A)\le A\).

(cyc2):

\(A\le B\Rightarrow {{\,\textrm{cyc}\,}}(A)\le {{\,\textrm{cyc}\,}}(B)\).

(cyc3):

\({{\,\textrm{cyc}\,}}({{\,\textrm{cyc}\,}}(A))={{\,\textrm{cyc}\,}}(A)\).

Proof

It is immediate by Definition 3.8 that (cyc1) holds. Let \(A,B \in \mathcal {L}(E)\). From (cyc1), \({{\,\textrm{cyc}\,}}(A) \le A \le B\) and hence \({{\,\textrm{cyc}\,}}(A)\) is a cyclic subspace of B, which must therefore be contained in \({{\,\textrm{cyc}\,}}(B)\), by definition of the cyclic closure. From (cyc1) and (cyc2), we have that \({{\,\textrm{cyc}\,}}({{\,\textrm{cyc}\,}}(A)) \le {{\,\textrm{cyc}\,}}(A)\). Since \({{\,\textrm{cyc}\,}}(A)\) is itself cyclic and contained in \({{\,\textrm{cyc}\,}}(A)\), we have

$$\begin{aligned} {{\,\textrm{cyc}\,}}(A) \le \sum _{\begin{array}{c} C \le {{\,\textrm{cyc}\,}}(A)\\ C \text { is cyclic } \end{array}} C = {{\,\textrm{cyc}\,}}({{\,\textrm{cyc}\,}}(A)). \end{aligned}$$

Therefore, (cyc3) holds. \(\square \)

Corollary 3.11

Let \(A\in \mathcal {L}(E)\) and let \({{\,\textrm{cyc}\,}}(A) \le X \le A\). Then \({{\,\textrm{cyc}\,}}(X)={{\,\textrm{cyc}\,}}(A)\).

Remark 3.12

Every nonzero cyclic space is dependent. Indeed, if \(A\ne \langle 0 \rangle \) is cyclic and independent, then all its subspaces have to be independent, so, clearly, A cannot have the same rank as its hyperplanes.

Lemma 3.7 shows that every open space (every sum of circuits) is cyclic. We will shortly see a converse. First, recall the following result.

Lemma 3.13

[7, Proposition 86] The flats of the q-matroid \(M = (E, r)\) are the orthogonal spaces of the open spaces of the dual q-matroid \(M^*\). That is, F is a flat of M if and only if \(F^\perp \) is an open space of \(M^*\).

In Proposition 3.14 we characterize the cyclic spaces of M. In order to do this, for every integer i consider the following set

$$\begin{aligned} N_i:= \{A \in \mathcal {L}(E) \mid \nu (A)=i\}, \end{aligned}$$

i.e., the set of subspaces of E with nullity equal to i.

The equivalence of (1) and (3) of the following proposition was shown in [16, Lemma 13]. Note that in [16, Definition 11], a cyclic space is defined as being minimal with respect to inclusion in \(N_a\) for some a.

Proposition 3.14

Let \(A\in \mathcal {L}(E)\) with \(\nu (A)=a\). The following are equivalent.

  1. (1)

    A is cyclic in M.

  2. (2)

    A is minimal with respect to inclusion in \(N_a\).

  3. (3)

    \(A^\perp \) is a flat of the dual q-matroid \(M^*\).

  4. (4)

    A is the vector space sum of the circuits contained in A.

Proof

\((1) \Leftrightarrow (2)\): Let \(D\in \textrm{Hyp}(A)\). Then \(\nu (D) = \dim (A)-1 - r(D) \ge \dim (A)-1 - r(A) = a-1.\) If A is cyclic, then \(r(D)=r(A)\) and so \(\nu (D)=a-1\), which implies that \(D \notin N_a\). Conversely, if A is minimal in \(N_a\), then \(D \notin N_a\) and so \(r(D)=r(A)\). Since this holds for arbitrary D we obtain the equivalence of (1) and (2).

\((1) \Leftrightarrow (3)\): \(A^\perp \) is a flat in \(M^*\) if and only if for all \(x \nleq A^\perp \) we have \(r^*(A^\perp +x) = r^*(A^\perp ) +1.\) For any \(x \nleq A^\perp \), we have

$$\begin{aligned} r^*(A^\perp +x) = r^*(A^\perp ) +1\Leftrightarrow & {} \dim (A^\perp +x) + r(A \cap x^\perp ) = \dim (A^\perp )+r(A)+1 \\\Leftrightarrow & {} r(A\cap x^\perp ) = r(A). \end{aligned}$$

In particular, since every hyperplane in A has the form \(A \cap x^\perp \) for \(x \nleq A^\perp \), it follows that \(A^\perp \) is a flat of \(M^*\) if and only if A is a cyclic space of M.

\((3) \Leftrightarrow (4)\): This follows directly from Lemma 3.13. \(\square \)

Clearly, the properties of being a cyclic, a cyclically closed, or an open space of M all coincide.

The following corollary immediately follows from Proposition 3.14.

Corollary 3.15

E is cyclic in M if and only if the dual q-matroid \(M^*\) does not contain a loop. In particular, \(A\in \mathcal {L}(E)\) is cyclic if and only if \((M|_A)^*\) does not contain a loop.

Lemma 3.16

Let \(A \in \mathcal {L}(E)\) and let \(X \le A\) such that \(A = {{\,\textrm{cyc}\,}}(A)\oplus X\). Then X is independent.

Proof

Suppose that X is not independent. Then X contains a circuit C. Since C is cyclic in M, by Lemma 3.7\({{\,\textrm{cyc}\,}}(A)+C\) is cyclic. Since \({{\,\textrm{cyc}\,}}(A)\) is the unique maximal cyclic subspace of A it follows that \(C \le {{\,\textrm{cyc}\,}}(A)\), which yields a contradiction. \(\square \)

The following result will be crucial for establishing a q-cryptomorphism based on cyclic flats.

Lemma 3.17

Let \(A \in \mathcal {L}(E)\). Then \(r(A)-r({{\,\textrm{cyc}\,}}(A)) = \dim (A) - \dim ({{\,\textrm{cyc}\,}}(A))\).

Proof

Let \(\nu (A) = a\), thus \(A \in N_a\). We claim that \({{\,\textrm{cyc}\,}}(A) \in N_a\). If A is not cyclic, then there exists a subspace \(Y< A\), \(Y\in N_a\) such that Y is cyclic, by Proposition 3.14. From Theorem 3.10, it follows that \(Y={{\,\textrm{cyc}\,}}(Y)\le {{\,\textrm{cyc}\,}}(A)\) and so \(a\le \nu ({{\,\textrm{cyc}\,}}(A))\le a\), which implies that \({{\,\textrm{cyc}\,}}(A)\in N_a\). \(\square \)

Proposition 3.18

Let \(A \in \mathcal {L}(E)\). Then \(\displaystyle {{\,\textrm{cyc}\,}}(A)=\sum _{x \in {{\,\textrm{Cyc}\,}}(A)} x\).

Proof

The statement clearly holds if A is cyclic, so assume that \({{\,\textrm{cyc}\,}}(A) < A\). Let \(x \in {{\,\textrm{Cyc}\,}}(A)\) such that \(x \nleq {{\,\textrm{cyc}\,}}(A)\). Let \(H \in \textrm{Hyp}(A)\) such that \({{\,\textrm{cyc}\,}}(A) \le H\) and \(x \nleq H\). By the definition of \({{\,\textrm{Cyc}\,}}(A)\), we have that \(r(x+H)=r(H)\). By Lemma 3.17, \(A/{{\,\textrm{cyc}\,}}(A)\) is independent in \(M/{{\,\textrm{cyc}\,}}(A)\). Therefore, \(r(V)-r({{\,\textrm{cyc}\,}}(A)) = \dim (V)-\dim ({{\,\textrm{cyc}\,}}(A))\) for every subspace V satisfying \({{\,\textrm{cyc}\,}}(A) \le V \le A\) and so we have that

$$\begin{aligned} r(x+H)-r(H)= & {} r(x+H)-r({{\,\textrm{cyc}\,}}(A))-r(H)+r({{\,\textrm{cyc}\,}}(A))\\= & {} \dim (x+H)-\dim (H)=1, \end{aligned}$$

which yields a contradiction. It follows that \({{\,\textrm{Cyc}\,}}(A) \subseteq \mathcal {P}({{\,\textrm{cyc}\,}}(A)).\) Conversely, since \({{\,\textrm{cyc}\,}}(A)\) is cyclic, by Proposition 3.5 for any \(x \le {{\,\textrm{cyc}\,}}(A)\) and any \(H \in \textrm{Hyp}({{\,\textrm{cyc}\,}}(A))\) we have that \(r(x+H)=r(H)\) and so \(r(x+H')=r(H')\) for any \(H' \in \textrm{Hyp}(A)\). It follows that \(\mathcal {P}({{\,\textrm{cyc}\,}}(A)) \subseteq {{\,\textrm{Cyc}\,}}(A)\) and \({{\,\textrm{Cyc}\,}}({{\,\textrm{cyc}\,}}(A))={{\,\textrm{Cyc}\,}}(A)\). The result now follows from Proposition 3.5. \(\square \)

The collection of cyclic spaces of M forms a lattice, such that for every pair of cyclic spaces \(C_1, C_2\), the join is defined by \(C_1\vee C_2:=C_1+C_2\) and the meet is defined by \(C_1\wedge C_2:={{\,\textrm{cyc}\,}}(C_1\cap C_2)\). Indeed, by Lemma 3.7, the sum of two cyclic spaces \(C_1,C_2\) is cyclic. However, the intersection of a pair of cyclic spaces is not cyclic in general: for example the intersection of two circuits is independent and hence not cyclic. In Example 3.19, we provide a specific counterexample.

Example 3.19

Consider \(\mathbb {F}_8=\mathbb {F}_{2^3}\) and let \(\alpha \in \mathbb {F}_8\) be a primitive element satisfying \(\alpha ^3=\alpha +1\). Let G be the following matrix with entries in \(\mathbb {F}_8\),

$$\begin{aligned} G:= \begin{pmatrix} 1 &{} \alpha &{} 1 &{} \alpha ^2 &{} \alpha ^4 \\ \alpha ^3 &{} \alpha ^4 &{} \alpha ^4 &{} 1 &{} 1\\ \end{pmatrix}\in \mathbb {F}_8^{2\times 5}. \end{aligned}$$

Let \({M}[G]=(\mathbb {F}_2^5,r)\) be the q-matroid associated to G. With the aid of the computer algebra system Magma [3], we have checked that M[G] contains 102 cyclic spaces. Among these, consider for instance \(U=\langle e_2, e_3, e_4, e_5 \rangle \) and \(V=\langle e_1+e_4, e_2+e_5, e_3+e_5 \rangle \). We have that \(V\cap U=\langle e_2+e_5, e_3+e_5 \rangle \) is independent and hence cannot be cyclic by Remark 3.12.

3.2 Cyclic flats

In this subsection, we focus on cyclic flats, which are simultaneously cyclic spaces and flats, i.e. spaces that are both open and closed in the q-matroid M. We show that also the collection of cyclic flats of a q-matroid forms a lattice and we prove that this lattice, together with the rank values of the cyclic flats, uniquely determines the q-matroid.

Definition 3.20

\(F\in \mathcal {L}(E)\) is a cyclic flat if \({{\,\textrm{cyc}\,}}(F)=F\) and \({{\,\textrm{cl}\,}}(F)=F\). In terms of the rank function, a cyclic flat F satisfies the following two properties:

  1. 1.

    \(r(F+x)>r(F)\) for any \(x\in \mathcal {L}(E),\) such that \(x\not \le F\).

  2. 2.

    \(r(D)=r(F)\) for any \(D \in \textrm{Hyp}(F)\).

We write \(\mathcal {Z}_r\) to denote the collection of cyclic flats of M. If it is clear from the context, we will simply write \(\mathcal {Z}\).

The cyclic operator and the closure operator are closely related. Their interaction is also expressed by the following preliminary results.

Lemma 3.21

Let \(X\in \mathcal {L}(E)\) be cyclic. Then \({{\,\textrm{cl}\,}}(X)\in \mathcal {Z}\).

Proof

Since \({{\,\textrm{cl}\,}}(X)\) is a flat, we need only to show that it is cyclic. Assume that \(V\in \textrm{Hyp}({{\,\textrm{cl}\,}}(X))\). If \(X< V< {{\,\textrm{cl}\,}}(X)\), then \({{\,\textrm{cl}\,}}(X) = {{\,\textrm{cl}\,}}(V)\) and in particular \(r(V)=r({{\,\textrm{cl}\,}}(X))\). On the other hand, if X is not contained in V, then \(X\cap V\in \textrm{Hyp}(X)\) and, since X is cyclic, \(r(X\cap V)=r(X)\). This shows that \(r(X)=r(X\cap V)\le r(V)\), which implies that \(r({{\,\textrm{cl}\,}}(X))=r(V)\), hence \({{\,\textrm{cl}\,}}(X)\) is cyclic. \(\square \)

Lemma 3.22

Let \(F\in \mathcal {L}(E)\) be a flat of M. Then \({{\,\textrm{cyc}\,}}(F) \in \mathcal {Z}\).

Proof

We need to show that for every flat F, \({{\,\textrm{cyc}\,}}(F)\) is also a flat. Let \(H=\textrm{Hyp}(F)\). For any \(A\in H\) and any \(x \le {{\,\textrm{cyc}\,}}(F)\) we have \(r(x+A)=r(A)\), i.e. \(x \le {{\,\textrm{cl}\,}}(A)\). It follows that \({{\,\textrm{cyc}\,}}(F) \subseteq \bigcap _{A \in H} {{\,\textrm{cl}\,}}(A).\) On the other hand, if \(x \le \bigcap _{A \in H} {{\,\textrm{cl}\,}}(A)\) then \(x \le F\) such that \(r(x+A)=r(A)\) for every hyperplane A in F. It follows that \({{\,\textrm{cyc}\,}}(F) = \bigcap _{A \in H} {{\,\textrm{cl}\,}}(A)\), and in particular is an intersection of flats of M. Then \({{\,\textrm{cyc}\,}}(F)\) is itself a flat. \(\square \)

It follows immediately from Lemmas 3.21 and 3.22 that for every subspace \(X \le E\), we have

$$\begin{aligned} {{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(X)) \in \mathcal {Z}\text { and }{{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}(X)) \in \mathcal {Z}. \end{aligned}$$
(2)

Moreover, the following properties hold.

Lemma 3.23

Let \({{\,\textrm{cl}\,}}^*\) and \({{\,\textrm{cyc}\,}}^*\) denote the closure and cyclic operators with respect to the dual matroid \(M^*=(E,r^*)\). For every \(A\in \mathcal {L}(E)\) we have that

  1. (1)

    \({{\,\textrm{cyc}\,}}^*(A)^\perp = {{\,\textrm{cl}\,}}(A^\perp )\) and \({{\,\textrm{cyc}\,}}(A)^\perp = {{\,\textrm{cl}\,}}^*(A^\perp )\).

  2. (2)

    \({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A ={{\,\textrm{cyc}\,}}(A)\).

  3. (3)

    \({{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}(A))+A = {{\,\textrm{cl}\,}}(A)\).

Proof

  1. (1)

    Since \({{\,\textrm{cyc}\,}}(A)\le A\), we have that \(A^\perp \le {{\,\textrm{cyc}\,}}(A)^\perp \). From Proposition 3.14, we have that \({{\,\textrm{cyc}\,}}(A)^\perp \) is a flat in \(M^*\), hence \({{\,\textrm{cl}\,}}^*(A^\perp ) \le {{\,\textrm{cyc}\,}}(A)^\perp \). Moreover, as \(A\le {{\,\textrm{cl}\,}}(A)\), then \({{\,\textrm{cl}\,}}(A)^\perp \le A^\perp \). Again from Proposition 3.14, we have that \({{\,\textrm{cl}\,}}(A)^\perp \) is a cyclic space in \(M^*\) and hence \({{\,\textrm{cl}\,}}(A)^\perp = {{\,\textrm{cyc}\,}}^*({{\,\textrm{cl}\,}}(A)^\perp )\le {{\,\textrm{cyc}\,}}^*(A^\perp )\). Therefore,

    $$\begin{aligned} {{\,\textrm{cyc}\,}}^*(A^\perp )^\perp \le {{\,\textrm{cl}\,}}(A) \le {{\,\textrm{cyc}\,}}^*(A^\perp )^\perp , \end{aligned}$$

    showing that \({{\,\textrm{cyc}\,}}^*(A)^\perp = {{\,\textrm{cl}\,}}(A^\perp )\). By duality, we obtain that \({{\,\textrm{cyc}\,}}(A)^\perp = {{\,\textrm{cl}\,}}^*(A^\perp )\).

  2. (2)

    Clearly, \({{\,\textrm{cyc}\,}}(A)\le {{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A \le {{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\). Therefore, \({{\,\textrm{cyc}\,}}(A)\) and \({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A\) have the same rank and so \(\nu ({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A)=a+s\), where \(a=\nu ({{\,\textrm{cyc}\,}}(A))\) and \(s=\dim (({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A)/{{\,\textrm{cyc}\,}}(A))\). Let \(B={{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A)\). By Theorem 3.10, since \({{\,\textrm{cyc}\,}}(A) \le {{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\cap A \le A\) then \({{\,\textrm{cyc}\,}}(A) \le B \le {{\,\textrm{cyc}\,}}(A)\) and so \(B={{\,\textrm{cyc}\,}}(A)\). By Proposition 3.14, \(a=\nu ({{\,\textrm{cyc}\,}}(A))=\nu (B)=a+s\) and hence \(s=0\). The result now follows.

  3. (3)

    By taking the orthogonal complements on both sides of Part (2) and applying Part (1) we get the desired result.

\(\square \)

The next proposition shows that the collection of cyclic flats of a q-matroid forms a lattice under inclusion, which is not induced by the lattice of subspaces of the q-matroid nor the one of flats.

Proposition 3.24

The set \(\mathcal {Z}\) of cyclic flats of a q-matroid forms a lattice under inclusion, where for any two cyclic flats \(F_1, F_2\) the meet is defined by \(F_1\wedge F_2:={{\,\textrm{cyc}\,}}(F_1\cap F_2)\) and the join is defined as \(F_1\vee F_2:={{\,\textrm{cl}\,}}(F_1 + F_2)\).

Proof

\(F_1\cap F_1\) is a flat and \({{\,\textrm{cyc}\,}}(F_1\cap F_2)\) is a cyclic flat by Lemma 3.22. If F is a cyclic flat contained in \(F_1 \cap F_2\) then by Theorem 3.10, (cyc2), we have that \(F \le {{\,\textrm{cyc}\,}}(F_1\cap F_2)\). By Lemma 3.7 and Lemma 3.21, it immediately follows that \({{\,\textrm{cl}\,}}(F_1 + F_2)\) is a cyclic flat. If \(F \in \mathcal {Z}\) such that \(F_1,F_2 \le F\), then \(F_1+F_2 \le F\) and so \({{\,\textrm{cl}\,}}(F_1 +F_2) \le F\), by (Cl2) and (Cl3). Finally note that the flat \({{\,\textrm{cl}\,}}(\langle 0\rangle )\) is cyclic and it is the unique minimal element of \(\mathcal {Z}\) while \({{\,\textrm{cyc}\,}}(E)\) is the unique maximal element of \(\mathcal {Z}\). \(\square \)

Combining Proposition 3.24 with Lemma 3.17, we get that for every pair of cyclic flats \(X,Y \in \mathcal {Z}\),

$$\begin{aligned} r(X\vee Y)&=r({{\,\textrm{cl}\,}}(X+ Y)) = r(X+ Y),\\ r(X\wedge Y)&=r({{\,\textrm{cyc}\,}}(X\cap Y))=r (X\cap Y) - \dim ((X\cap Y)/(X\wedge Y)). \end{aligned}$$

Brylowski outlined in [4, Proposition 2.1] an algorithm for constructing the lattice of flats of a matroid from its lattice of cyclic flats, along with the ranks of the cyclic flats. In [13, Section 5], the authors also showed how to reconstruct the lattice of flats from the lattice of cyclic flats, along with their ranks. The same construction given in [13] applies in the q-analogue and we give a brief sketch. For each \(X\in \mathcal {L}(E)\), define two cyclic flats

$$\begin{aligned} X^\vee :=\bigvee _{\begin{array}{c} Z:Z \in \mathcal {Z},\\ Z \le X \end{array}} Z = {{\,\textrm{cl}\,}}\left( \sum _{\begin{array}{c} Z:Z \in \mathcal {Z},\\ Z \le X \end{array}} Z\right) \le {{\,\textrm{cl}\,}}(X) \ \ \text { and } \ \ X^\wedge :=\bigwedge _{\begin{array}{c} Z:Z \in \mathcal {Z},\\ X \le Z \end{array}} Z ={{\,\textrm{cyc}\,}}\left( \bigcap _{\begin{array}{c} Z:Z \in \mathcal {Z},\\ X \le Z \end{array}} Z\right) , \end{aligned}$$

where \(\vee \) and \(\wedge \) denote the join and meet, respectively of the lattice \(\mathcal {Z}\) and where the intersection of an empty set of spaces is equal to the whole space E.

The following Lemma for matroids can be read in [13]. We include a proof of the q-analogue for the convenience of the reader.

Lemma 3.25

Let \(A\in \mathcal {L}(E)\) and \(Z\in \mathcal {L}(E)\) be a cyclic flat of the q-matroid M satisfying \(r(Z) + \dim (A/(A\cap Z)) = r(A)\). Then \({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\le Z \le {{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}(A))\).

Proof

For every \(A,Z\in \mathcal {L}(E)\) we have that

$$\begin{aligned} r(A)-r(A\cap Z)=r_{M/(A\cap Z)}(A/(A\cap Z)) \le \dim (A/(A\cap Z)). \end{aligned}$$

Hence

$$\begin{aligned} r(A)\le r(A\cap Z) + \dim (A/(A\cap Z))\le r(Z)+\dim (A/(A\cap Z)). \end{aligned}$$

Claim 1: \(r(A)= r(A\cap Z) + \dim (A/(A\cap Z))\) if and only if \({{\,\textrm{cyc}\,}}(A)\le A\cap Z\). Indeed, having the equality means that \(\nu ({{\,\textrm{cyc}\,}}(A\cap Z)=\nu (A\cap Z) = \nu (A)=\nu ({{\,\textrm{cyc}\,}}(A))\), where the first and last equalities follow from Lemma 3.17. Since \({{\,\textrm{cyc}\,}}(A)\) and \({{\,\textrm{cyc}\,}}(A\cap Z)\) are minimal with respect to inclusion in \(N_{\nu (A)}\) and \({{\,\textrm{cyc}\,}}(A\cap Z)\le {{\,\textrm{cyc}\,}}(A)\), we must have that \({{\,\textrm{cyc}\,}}(A)= {{\,\textrm{cyc}\,}}(A\cap Z)\le A\cap Z\). Conversely, if \({{\,\textrm{cyc}\,}}(A)\le A\cap Z\), then we have that \({{\,\textrm{cyc}\,}}(A)={{\,\textrm{cyc}\,}}(A\cap Z)\), hence, by Lemma 3.17, we have that \(\nu (A)=\nu (A\cap Z)\), from which the claim follows.

Claim 2: \(r(A\cap Z) + \dim (A/(A\cap Z))= r(Z)+\dim (A/(A\cap Z))\) only if \(Z\le {{\,\textrm{cl}\,}}(A)\). Assume that \(Z\not \le {{\,\textrm{cl}\,}}(A)\). Let \(z\le Z\), such that \(z\not \le {{\,\textrm{cl}\,}}(A)\). Then \(r(A)<r(A+z)\) and by submodularity we have that

$$\begin{aligned} r(A\cap Z) < r((A\cap Z)+z)\le r(Z). \end{aligned}$$

The two claims show that for any AZ satisfying \(r(Z) + \dim (A/(A\cap Z)) = r(A)\), we must have \({{\,\textrm{cyc}\,}}(A)\le Z\le {{\,\textrm{cl}\,}}(A)\). So, \({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\le {{\,\textrm{cl}\,}}(Z)\) and \({{\,\textrm{cyc}\,}}(Z)\le {{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}(A))\). If Z is a cyclic flat, then \(Z = {{\,\textrm{cl}\,}}(Z) = {{\,\textrm{cyc}\,}}(Z)\), and it follows that \({{\,\textrm{cl}\,}}({{\,\textrm{cyc}\,}}(A))\le Z \le {{\,\textrm{cyc}\,}}({{\,\textrm{cl}\,}}(A))\). \(\square \)

Clearly, if X is a cyclic flat then \(X^\vee =X\). It can be shown, using an argument identical to that of [13, Proposition 6, (i) \(\Leftrightarrow \) (iii)], which depends on Lemma 3.25, that if \(X^\vee \le X\), then X is a flat if and only if for every cyclic flat A satisfying \(X^\vee < A \le X^\wedge \),

$$\begin{aligned} \dim (X \cap A)-r(A)<\nu (X^\vee ). \end{aligned}$$
(3)

This property can be checked if \(\mathcal {Z}\) and the ranks of its elements are known. Note that if this is the case, that is if X is a flat, then \(X^\vee = {{\,\textrm{cyc}\,}}(X)\).

Hence, we draw the following conclusion.

Proposition 3.26

Every q-matroid M is uniquely determined by its lattice of cyclic flats along with their rank values.

Proof

By the algorithm outlined above, the lattice of cyclic flats along with their ranks uniquely determines the lattice of flats of M. By [6], M is uniquely determined by its lattice of flats. \(\square \)

The next example illustrates how the reconstruction algorithm works.

Example 3.27

Consider the finite field \(\mathbb {F}_{2^3}=\mathbb {F}_2[\alpha ]\), where \(\alpha ^3=\alpha +1\). Let \(G\in \mathbb {F}_{2^3}^{2\times 4}\) be the matrix

$$\begin{aligned} G =\begin{pmatrix} 1 &{} 0 &{} 0 &{} 0\\ 0 &{} 1 &{} \alpha &{} \alpha ^2 \end{pmatrix}. \end{aligned}$$

Let \(M[G]=(\mathbb {F}_2^4,r)\) be the q-matroid associated to G. The only cyclic flat except for \(\langle 0\rangle \) is \(\langle e_2, e_3, e_4\rangle \); see Fig. 1. We have \({{\,\textrm{cyc}\,}}(E) = \langle e_2,e_3,e_4 \rangle \), which means that \((M[G])^*\) has a loop, by Corollary 3.15.

Fig. 1
figure 1

Lattice of cyclic flats of the matroid M[G] from Example 3.27

We may apply the reconstruction result from the above discussion to obtain all the flats of M[G]. Take for instance the space \(F=\langle e_1\rangle \). Then \(F^\vee = \langle 0\rangle \le F\) and \(F^\wedge = {{\,\textrm{cyc}\,}}(E) =\langle e_2,e_3, e_4\rangle \). The only cyclic flat A, satisfying \(F^\vee < A \le F^\wedge \) is \({{\,\textrm{cyc}\,}}(E)\). We can then verify that (3) is satisfied, i.e.

$$\begin{aligned} 0-1 = \dim (\langle e_1\rangle \cap \langle e_2,e_3,e_4\rangle ) - r(\langle e_2,e_3,e_4\rangle ) < \nu (\langle 0\rangle )=0. \end{aligned}$$

Hence, we conclude that \(F=\langle e_1 \rangle \) is a flat and \(\langle 0\rangle =F^\vee ={{\,\textrm{cyc}\,}}(F)\). Moreover, by applying Lemma 3.17, we have that \(r(F)=1\).

For another example, let \(B=\langle e_2,e_3\rangle \). Then, as above, \(B^\vee = \langle 0\rangle \) and \(B^\wedge = {{\,\textrm{cyc}\,}}(E) =\langle e_2,e_3, e_4\rangle \). The only cyclic flat A, satisfying \(B^\vee < A \le B^\wedge \) is \({{\,\textrm{cyc}\,}}(E)\). However, this time we have that

$$\begin{aligned} 1=2-1 = \dim (\langle e_2,e_3 \rangle \cap \langle e_2,e_3,e_4\rangle ) - r(\langle e_2,e_3,e_4\rangle ) > \nu (\langle 0\rangle )=0, \end{aligned}$$

hence, B is not a flat. With this procedure we can reconstruct the flats of M[G]. We list them below, together with their ranks.

$$\begin{aligned} \text {rank } r=0: \quad&\langle 0\rangle . \\ \text {rank } r=1: \quad&\langle e_1\rangle , \langle e_1 + e_2\rangle ,\langle e_1 + e_3\rangle , \langle e_1 + e_4\rangle , \langle e_1 + e_2 +e_3\rangle ,\\ \quad&\langle e_1 + e_2 +e_4\rangle , \langle e_1 + e_3 +e_4\rangle ,\langle e_1+e_2+e_3 +e_4\rangle ,\langle e_2,e_3,e_4\rangle . \\ \text {rank } r=2: \quad&E. \end{aligned}$$

We conclude this section by providing a characterization in terms of cyclic flats of a well-known family of q-matroids, namely the family of uniform q-matroids (c.f [18]). To this end, we denote by \(0_{\mathcal {Z}}:={{\,\textrm{cl}\,}}(\langle 0\rangle )\) the minimal element and by \(1_{\mathcal {Z}}:={{\,\textrm{cyc}\,}}(E)\) the maximal element of the lattice of cyclic flats of M.

The following result characterizes the independent spaces and the circuits of a q-matroid in terms of its cyclic flats.

Lemma 3.28

Let \(M=(E,r)\) be a q-matroid, then the following hold.

  1. 1.

    \(I\in \mathcal {L}(E)\) is independent if and only if for every cyclic flat X, \(\dim (I\cap X) \le r(X)\).

  2. 2.

    \(C\in \mathcal {L}(E)\) is a circuit if and only if C is a minimal space such that there exists a cyclic flat X satisfying \(C\le X\) and \(\dim (C)=r(X)+1\).

Proof

  1. 1.

    I is independent if and only if \(r(I)=\dim (I)\), in which case every subspace of I is independent. In particular, if I is independent then \(r(I\cap X) =\dim (I\cap X)\) for every cyclic flat X. Then \(\dim (I\cap X)\le r(X)\) by (R2). Assume now that I is not independent. We will construct a cyclic flat X such that \(r(X)<\dim (I \cap X)\). There exists a circuit \(C\le I\). Let \(X:={{\,\textrm{cl}\,}}(C)\), which is a cyclic flat by Lemma 3.21. Clearly, \(C \le I \cap X\) and so

    $$\begin{aligned} X = {{\,\textrm{cl}\,}}(C) \le {{\,\textrm{cl}\,}}(I \cap X) \le X, \end{aligned}$$

    which implies that \({{\,\textrm{cl}\,}}(I\cap X)=X\). In particular, \(r(X)=r(I\cap X)\le \dim (I\cap X)\). Furthermore, as \(I\cap X\) contains the circuit C, we have that \(r(I\cap X) < \dim (I \cap X)\).

  2. 2.

    A circuit C is a minimal dependent space with \(r(C)=\dim (C)-1\). Moreover, by Lemma 3.21, the closure \({{\,\textrm{cl}\,}}(C)\) is a cyclic flat with the property that \(r({{\,\textrm{cl}\,}}(C))=r(C)\). Hence, by setting \(X={{\,\textrm{cl}\,}}(C)\), we get the statement.

\(\square \)

Definition 3.29

Let \(1\le k\le n\). For each \(U\in \mathcal {L}(E)\), define \(r(U):=\min \{k,\dim (U)\}\). Then (Er) is a q-matroid. It is called the uniform q -matroid on E of rank k and is denoted by \(U_{k,n}\).

Proposition 3.30

Let \(M=(E,r)\) be a q-matroid of rank k, with \(0<k<n\). Then the following are equivalent.

  1. (1)

    \(M=U_{k,n}\).

  2. (2)

    \(\mathcal {Z}_r\) contains only two elements, \(0_{\mathcal {Z}_r}=\langle 0 \rangle \) and \(1_{\mathcal {Z}_r}=E\). Moreover \(r(1_{\mathcal {Z}_r})=k\).

Proof

That (1) implies (2) is immediate from the definition of the uniform q-matroid: the only proper flats of \(U_{k,n}\) are the subspaces of E of dimension less than k, which are all independent and hence cannot be cyclic by Remark 3.12. Then \(0_{\mathcal {Z}_r}=\langle 0\rangle \) and \(1_{\mathcal {Z}_r}={{\,\textrm{cyc}\,}}(E) = E\), the vector space sum of its subspaces of dimension \(k+1\).

Suppose now that (2) holds and assume that M is not the uniform q-matroid. Then there is a subspace \(I\le E\) of dimension k that is not independent. Since I is not independent, it contains a circuit C, with \(\dim (C)\le \, k\). By Lemma 3.28, there exists a cyclic flat X, such that \(\langle 0 \rangle < C\le X\) and \(\dim (C)=r(X)+1\), which implies that \(r(X)\le k-1\). In particular, there exists a cyclic flat \(X \notin \{0_\mathcal {Z}, 1_{\mathcal {Z}}\}\), which contradicts (2). Therefore, \(M=U_{k,n}\). \(\square \)

4 The rank function and cyclic flats

In this section, we propose a q-cryptomorphism based on cyclic flats. To this end, we consider a q-matroid (Er), a lattice \(\mathcal {Z}\) of subspaces of E and a function \(r_{\mathcal {Z}}\) on \(\mathcal {L}(E)\), which satisfies the axioms (R1)-(R3) of a rank function. Next, we show that \(r(F)=r_{\mathcal {Z}}(F)\) for every \(F \in \mathcal {Z}\) and we observe that the spaces in \(\mathcal {Z}\) are exactly the cyclic flats of the q-matroid \((E,r_{\mathcal {Z}})\). This section is inspired by Sims’ work [24], who proved that any finite lattice is isomorphic to the lattice of cyclic flats of a finite matroid. The same result for matroids was also independently proved by Bonin and de Mier in [2], with a different approach.

Definition 4.1

Let \(\mathcal {Z}\) be a collection of subspaces of E and suppose that \((\mathcal {Z},\le ,\vee ,\wedge )\) is a lattice with join and meet operations \(\vee \) and \(\wedge \), such that for every \(Z_1,Z_2\in \mathcal {Z}\), we have that \(Z_1+Z_2\le Z_1\vee Z_2\) and \(Z_1\wedge Z_2\le Z_1\cap Z_2\), respectively. Let \(f:\mathcal {Z}\rightarrow \mathbb {Z}\) be a map. We define the following cyclic flat axioms.

  1. (Z1)

    We have that \(f(0_\mathcal {Z})=0\), where \(0_\mathcal {Z}\) is the minimal element of \(\mathcal {Z}\).

  2. (Z2)

    For every \(F,G\in \mathcal {Z}\) such that \(G< F\), we have:

    $$\begin{aligned} 0<f(F)-f(G)<\dim (F) -\dim (G). \end{aligned}$$
  3. (Z3)

    For every \(F,G\in \mathcal {Z}\) we have:

    $$\begin{aligned} f(F)+f(G)\ge f(F \vee G) + f(F\wedge G) + \dim ((F\cap G)/(F\wedge G)). \end{aligned}$$

If \((\mathcal {Z},f)\) satisfies the cyclic flat axioms, we say that \(\mathcal {Z}\) is a lattice of cyclic flats with respect to f.

The following preliminary result will be used to show that the lattice of cyclic flats of a q-matroid satisfies (Z1)–(Z3).

Lemma 4.2

Let F be a cyclic flat of M and let \(G<F\). Then F/G is a cyclic flat of the q-matroid \(M/G = (E/G, r_{M/G})\).

Proof

Let \(z\le E\) such that \(z\not \le F\). Since F is a flat of M, we have

$$\begin{aligned} r_{M/G}((z+G)/G+F/G)= & {} r_{M/G}((z+F)/G) =r(z+F)-r(G) > r(F)-r(G)\\= & {} r_{M/G}(F/G), \end{aligned}$$

and hence F/G is a flat of M/G.

It remains to show that F/G is cyclic. Every hyperplane in F/G can be written as D/G, where \(D\in \textrm{Hyp}(F)\) such that D contains G. Since F is cyclic, we have:

$$\begin{aligned} r_{M/G}(D/G) = r(D) - r(G) = r(F)-r(G) = r_{M/G}(F/G), \end{aligned}$$

i.e. F/G is cyclic in M/G. \(\square \)

Theorem 4.3

Let \(\mathcal {Z}\) be the lattice of cyclic flats of M and let \(f:\mathcal {Z}\rightarrow \mathbb {Z}\), be the map defined by \(f(F)=r(F)\) for all \(F\in \mathcal {Z}\). Then \((\mathcal {Z},f)\) is a lattice of cyclic flats with respect to f, i.e. \((\mathcal {Z},f)\) satisfies (Z1)–(Z3).

Proof

(Z1) holds because \(0_\mathcal {Z}={{\,\textrm{cl}\,}}(\langle 0\rangle )\), i.e. it is the vector space sum of the loops of E.

To show that (Z2) holds, assume that F and G are two cyclic flats with \(G<F\). We clearly have that \(f(F)-f(G)=r(F)-r(G)>0\), since G is a flat and G is strictly contained in F. By the definition of the rank function \(r_{M/G}\), we have:

$$\begin{aligned} f(F)-f(G) = r(F)-r(G)=r_{M/G}(F/G)\le \dim (F/G)=\dim (F)-\dim (G). \end{aligned}$$

By Lemma 4.2, F/G is a cyclic flat in M/G and by Remark 3.12, it must be dependent, forcing the inequality to be strict.

(Z3) follows from Lemma 3.17 applied to \(F\cap G\), combined with submodultarity:

$$\begin{aligned} f(F) + f(G)&= r(F) + r(G) \ge r(F+G) +r(F\cap G) \\&= r(F \vee G) + r(F\wedge G) + \dim ((F\cap G)/(F\wedge G)) \\&=f(F \vee G)+ f(F\wedge G) + \dim ((F\cap G)/(F\wedge G)). \end{aligned}$$

\(\square \)

As an immediate consequence of Theorem 4.3, we have the following.

Corollary 4.4

Let FG be two distinct cyclic flats of M, then

$$\begin{aligned} r(F)-r(G)<\dim (F)-\dim (F\cap G). \end{aligned}$$
(4)

Proof

Assume that \(F\nleq G\). Clearly \(r(F\cap G)\le r(G)\) and so by (R2), we have \(r(F)-r(G) \le r(F)-r(F\cap G)\). By Lemma 4.2, \(F/(F\cap G)\) is a cyclic flat in \(M/(F\cap G)\), and is therefore dependent, as observed in Remark 3.12. It follows that

$$\begin{aligned} r(F)-r(G)\le r_{M/(F\cap G)}(F/(F\cap G))<\dim (F/(F\cap G))=\dim (F)-\dim (F\cap G). \end{aligned}$$

If \(F\le G\), then \(F\cap G=F\) and \(r(F)<r(G)\), since F is a flat. Hence we have that

$$\begin{aligned} r(F)-r(G)< 0 = \dim (F) - \dim (F\cap G). \end{aligned}$$

\(\square \)

We introduce the following function.

Definition 4.5

Let \(\mathcal {Z}\) be a collection of subspaces of E. For every map \(h: \mathcal {L}(E) \longrightarrow \mathbb {N}_0\), we define \(h_\mathcal {Z}: \mathcal {L}(E) \longrightarrow \mathbb {N}_0\) to be the function:

$$\begin{aligned} h_{\mathcal {Z}}(A) := \min \{h(F) + \dim ((A+F)/F) \mid F\in \mathcal {Z}\}, \text { for all } A \in \mathcal {L}(E). \end{aligned}$$
(5)

The remainder of this section will be devoted to proving that if \(\mathcal {Z}\) is the lattice of cyclic flats of the q-matroid (Er), then \((E,r_\mathcal {Z})\) is a q-matroid, whose lattice of cyclic flats is equal to \(\mathcal {Z}\) and for which \(r_\mathcal {Z}=r\) as functions on \(\mathcal {L}(E)\).

We will need to first prove a number of preliminary results.

Lemma 4.6

Let \((\mathcal {Z},f)\) be a lattice of cyclic flats. Then, for every \(F,G\in \mathcal {Z}\), we have

$$\begin{aligned} f(F\vee G) \le f(G) + \dim (F/(F\cap G)). \end{aligned}$$
(6)

Proof

We distinguish three cases. If \(F\le G\), then \(F\vee G=G\) and Equation (6) clearly holds.

If \(G\le F\), then the result directly follows from (Z2).

Finally, assume that \(F\nleq G\) and \(G\nleq F\). Then apply (Z2) to \(F\wedge G\) and F and apply (Z3) to F and G to obtain:

$$\begin{aligned} f(F) \le f(F\wedge G) + \dim (F/(F\wedge G)),\\ f(F\vee G) + f(F\wedge G) \le f(F)+f(G)- \dim ((F\cap G)/(F\wedge G)). \end{aligned}$$

Combining these inequalities we get the desired result. \(\square \)

It is straightforward to check that if \((\mathcal {Z},f)\) is a lattice of cyclic flats of E then f and \(f_\mathcal {Z}\) both agree on \(\mathcal {Z}\), as we show in the following proposition.

Proposition 4.7

Let \((\mathcal {Z},f)\) be a lattice of cyclic flats. Then, for every \(A\in \mathcal {Z}\), we have \(f_\mathcal {Z}(A) =f(A)\).

Proof

Let \(A\in \mathcal {Z}\). By definition, \(f_\mathcal {Z}(A)=\min \{f(F) + \dim ((A+F)/F)\mid F\in \mathcal {Z}\}\). In particular,

$$\begin{aligned} f_\mathcal {Z}(A) \le f(A) + \dim (A/A)=f(A). \end{aligned}$$

For the opposite inequality, by applying Lemma 4.6, we have:

$$\begin{aligned} f(A)\le f(A\vee G) \le f(G) + \dim ((A+G)/G), \end{aligned}$$

for every \(G\in \mathcal {Z}\). In particular, \(f(A)\le f_\mathcal {Z}(A)\). \(\square \)

The following inequalities will be very useful for the next propositions.

Lemma 4.8

Let \(X,Y, V, W \le E\). The following inequalities hold:

$$\begin{aligned} \dim (X/(X\cap V))\le \dim (X/(X\cap Y)) + \dim (Y/(Y\cap V)). \end{aligned}$$
(7)
$$\begin{aligned} \dim ((X+Y+V+W)/(V+W)) +\dim (((X\cap Y)+(V\cap W))/(V\cap W)) \nonumber \\ \le \dim ((X+V)/V) + \dim ((Y+W)/W). \end{aligned}$$
(8)

Proof

The inequality (7) holds if and only if

$$\begin{aligned} \dim (X \cap V) + \dim (Y) -(\dim (X \cap Y) + \dim (Y \cap V)) \ge 0. \end{aligned}$$

However, this holds since

$$\begin{aligned} \dim (X \cap Y) + \dim (Y \cap V)= & {} \dim (X \cap Y + Y \cap V)-\dim (X \cap Y \cap V) \\\le & {} \dim (Y) - \dim (X \cap Y \cap V). \end{aligned}$$

To see that (8) holds, we note the following:

$$\begin{aligned}&\dim ((X+V)/V) + \dim ((Y+W)/W) \\&\quad =\dim (X+Y + V+ W) + \dim ((X+V) \cap (Y+W)) - \dim (V+W) -\dim (V \cap W)\\&\quad =\dim ((X+Y + V+ W)/(V+W))+ \dim ((X+V) \cap (Y+W)) -\dim (V \cap W) \\&\quad \ge \dim ((X+Y + V+ W)/(V+W))+\dim (((X\cap Y)+(V\cap W))/(V\cap W)), \end{aligned}$$

where the last inequality holds since \((X\cap Y)+(V\cap W)\le (X+V)\cap (Y+W)\). \(\square \)

Proposition 4.9

Let \((\mathcal {Z},f)\) be a lattice of cyclic flats. Then \(f_{\mathcal {Z}}\) satisfies the axioms (R1)–(R3). In particular, \((E,f_{\mathcal {Z}})\) is a q-matroid.

Proof

  1. (R1)

    For every \(A\in \mathcal {L}(E)\), we have \(f_\mathcal {Z}(A)\ge 0\) being the sum of two non-negative integers. Moreover, since \(f(0_\mathcal {Z})=0\), by (Z1), we have that

    $$\begin{aligned} f_\mathcal {Z}(A) \le f(0_\mathcal {Z})+ \dim (A/(A\cap 0_{\mathcal {Z}})) \le \dim A. \end{aligned}$$
  2. (R2)

    Let \(A\le B\) and let \(F\in \mathcal {Z}\) be such that \(f_\mathcal {Z}(B)=f(F)+\dim (B/(B\cap F))\). Then (R2) follows by the definition of \(f_\mathcal {Z}\), since,

    $$\begin{aligned} f_\mathcal {Z}(B)=f(F)+\dim (B/(B\cap F)){\mathop {\ge }\limits ^{(7)}}f(F)+\dim (A/(A\cap F))\ge f_\mathcal {Z}(A). \end{aligned}$$
  3. (R3)

    Let \(A,B\le E\) and \(F_A,F_B\in \mathcal {Z}\) be such that \(f_{\mathcal {Z}}(A) = f(F_A)+\dim (A/A \cap F_A)\) and \(f_{\mathcal {Z}}(B) = f(F_B)+\dim (B/B \cap F_B)\). Using the fact that \(F_A+F_B\le F_A \vee F_B\) and \(F_A \wedge F_B \le F_A \cap F_B\), we have that

    $$\begin{aligned} f_{\mathcal {Z}}(A+B)+f_{\mathcal {Z}}(A\cap B)&\le f(F_A\vee F_B) + \dim ((A+B+(F_A\vee F_B))/(F_A\vee F_B)) + (F_A\wedge F_B) \\ {}&\ \ \ \ + \dim (((A\cap B)+(F_A\wedge F_B))/(F_A\wedge F_B)) \\ {}&{\mathop {\le }\limits ^{(Z3)}}f(F_A) + f(F_B) - \dim ((F_A \cap F_B)/(F_A \wedge F_B)) \\ {}&\ \ \ \ + \dim ((A+B+F_A+ F_B)/(F_A+ F_B)) \\ {}&\ \ \ \ + \dim (((A\cap B)+(F_A\cap F_B))/(F_A\wedge F_B)) \\ {}&{\mathop {\le }\limits ^{(8)}}f(F_A)+f(F_B) + \dim ((A+F_A)/F_A) + \dim ((B+F_B)/F_B) \\ {}&=f_{\mathcal {Z}}(A) + f_{\mathcal {Z}}(B). \end{aligned}$$

    This establishes the submodularity of \(f_\mathcal {Z}\).

Since (R1), (R2) and (R3) hold, we conclude that \((E,f_\mathcal {Z})\) is a q-matroid. \(\square \)

Remark 4.10

A function that satisfies (R3) with equality is called modular. Let S be a set and let \(2^S\) be the collection of subsets of S. In [19, Theorem 2.5], Lovász showed that if fg are two functions defined on \(2^S\) such that f is submodular and g is modular, the convolution defined as

$$\begin{aligned} f*g (B) = \min \{f(A) +g(B-A) \mid A\subseteq B\} \end{aligned}$$

is submodular. It is straightforward to check that the same can be said when the two functions are defined on \(\mathcal {L}(E)\), and \(g(A)=\dim (A)\) for all \(A\in \mathcal {L}(E)\); see [9, Theorem 24]. In Proposition 4.9, we showed that submodularity is also satisfied when the convolution is not taken over all the spaces, as in (5). Thus if f is submodular on \(\mathcal {L}(E)\), then \(f_\mathcal {Z}\) is obtained as a convolution of f with the dimension function and so inherits the submodularity property from f.

Theorem 4.11

Let \((\mathcal {Z},f)\) be a lattice of cyclic flats. Then \(\mathcal {Z}\) is the lattice of cyclic flats of the q-matroid \(M_\mathcal {Z}:=(E,f_\mathcal {Z})\).

Proof

From Proposition 4.9, we have that \(M_\mathcal {Z}\) is a q-matroid. Let \(F\in \mathcal {Z}\). We show that F is a flat of \(M_{\mathcal {Z}}\). Let \(x\in \mathcal {L}(E)\) be such that \(x\nleq F\). Then there exists \(G\in \mathcal {Z}\) such that

$$\begin{aligned} f_{\mathcal {Z}}(F+x)&= f(G) + \dim ((F+x)+G)/G). \end{aligned}$$

If \(F=G\), then \(f_{\mathcal {Z}}(F+x)=f(F)+1=f_\mathcal {Z}(F)+1\).

If \(F\ne G\), then \(F < F \vee G\) and so by (Z2) and Lemma 4.6, we have that

$$\begin{aligned} f(F)-f(G) < f(F \vee G) - f(G)\le \dim (F+G) -\dim (G). \end{aligned}$$

Therefore,

$$\begin{aligned} f_{\mathcal {Z}}(F+x)&= f(G) + \dim ((x+F+G)/G) \\&> f(F) -\dim (F+G) +\dim (G) + \dim (x+F+G) -\dim (G) \\&= f_\mathcal {Z}(F) -\dim (F+G) + \dim (F+G)+1 -\dim (x \cap (F+G))\\&= f_\mathcal {Z}(F) +1 -\dim (x \cap (F+G))\\&=f_\mathcal {Z}(F). \end{aligned}$$

In both cases we see that \(f_\mathcal {Z}(F+x)>f_{\mathcal {Z}}(F)\), so F is a flat of \(M_\mathcal {Z}\).

Now, let \(D\in \textrm{Hyp}(F)\) and let \(G\in \mathcal {Z}\) be such that

$$\begin{aligned} f_\mathcal {Z}(D) = f(G) + \dim ((D+G)/G). \end{aligned}$$

If \(F=G\), then \(f_\mathcal {Z}(D) = f(F) = f_\mathcal {Z}(F)\), so F is cyclically closed in \(M_\mathcal {Z}\).

If \(F\ne G\), then again by (Z2) and Lemma 4.6, we have that

$$\begin{aligned} f_\mathcal {Z}(D)&= f(G) + \dim ((D+G)/G) \\&> f(F)-\dim ((F+G)/G) + \dim ((D+G)/G) \\&= f_\mathcal {Z}(F) - \dim (F+G)+\dim (D+G) \\&\ge f_\mathcal {Z}(F)-1. \end{aligned}$$

We conclude that \(f_\mathcal {Z}(D)=f_\mathcal {Z}(F)\) and hence F is cyclic in \(M_{\mathcal {Z}}\).

Finally, we show that every cyclic flat of \(M_\mathcal {Z}\) is in \(\mathcal {Z}\). Let \(F\in \mathcal {L}(E)\) be a cyclic flat. Let \(G\in \mathcal {Z}\) be such that \( f_\mathcal {Z}(F) = f(G)+\dim ((F+G)/G).\) Since F is cyclic, for every subspace \(D\in \textrm{Hyp}(F)\), we have

$$\begin{aligned} f_\mathcal {Z}(D) = f_\mathcal {Z}(F) \ge f(G)+\dim ((D+G)/G)\ge f_\mathcal {Z}(D). \end{aligned}$$

This implies that \(F\le G\). Since F is also a flat, for every \(x\nleq F\), we have that

$$\begin{aligned} f_\mathcal {Z}(F)<f_\mathcal {Z}(F+x) \le f(G)+\dim ((F+x+G)/G), \end{aligned}$$

which implies that \(x\nleq G\). These together show that \(F=G\) and, in particular, \(F\in \mathcal {Z}\). \(\square \)

We summarize the previous results in the following corollary, which gives in turn a new q-cryptomorphism.

Corollary 4.12

Let (Er) be a q-matroid and \((\mathcal {Z},\le ,\vee ,\wedge )\) be a lattice of subspaces of E.

  1. (1)

    If \(\mathcal {Z}\) is the lattice of cyclic flats of (Er) then \((\mathcal {Z},r)\) satisfies the cyclic flat axioms (Z1)–(Z3). In particular, \((E,r_{\mathcal {Z}})\) is a q-matroid satisfying \(r_{\mathcal {Z}}(A)=r(A)\) for all \(A \in \mathcal {Z}\).

  2. (2)

    If \((\mathcal {Z},f)\) satisfies the cyclic flat axioms (Z1)-(Z3) then \(\mathcal {Z}\) is the collection of cyclic flats of the q-matroid \((E,f_\mathcal {Z})\). In particular, \(\mathcal {Z}=\mathcal {Z}_{f_\mathcal {Z}}\).

  3. (3)

    If \(\mathcal {Z}\) is the lattice of cyclic flats of E, then \((E,r)=(E,r_\mathcal {Z})\).

Proof

The first statement of Part (1) follows from Theorem 4.3. The next statement is a consequence of Proposition 4.7 and Theorem 4.9. Part (2) is the statement of Theorem 4.11. Part (3) can be deduced by Parts (1) and (2) combined with Proposition 3.26. \(\square \)

5 Rank-metric codes and q-matroids

In this section we focus on representable q-matroids and establish a connection between the supports of the codewords of a rank-metric code and the open spaces of its associated q-matroid. In the classical theory, matroids were introduced by Whitney in [28] in order to generalize the notion of independence in linear algebra. Similarly, we show how the concept of q-matroidal independence generalizes a notion of independence for an \(\mathbb {F}_q\)-subspace over \(\mathbb {F}_{q^m}\). In our approach, we will refer to the concept of an \([n,k]_{q^m/q}\)-system, introduced in [1, 22], which interprets an \(\mathbb {F}_{q^m}\)-linear rank-metric code as a geometrical object.

We start by briefly recalling some basic notions on rank-metric codes and explaining a link to q-matroids; see [18].

Consider the vector space \(\mathbb {F}_{q^m}^{n}\), endowed with the following rank distance, defined as \(\textrm{d}_{\textrm{rk}}(u,v):=\text {rk}(u-v)\) for every \(u,v\in \mathbb {F}_{q^m}^n\), where given \(v = (v_1,\ldots ,v_n)\in \mathbb {F}_{q^m}^n\), we have

$$\begin{aligned} \text {rk}(v):=\dim _{\mathbb {F}_q}\langle v_1, \ldots , v_n\rangle _{\mathbb {F}_q}. \end{aligned}$$

Definition 5.1

An \(\mathbb {F}_{q^m}\)-linear subspace \(\mathcal {C}\) of the metric space \(\mathbb {F}_{q^m}^n\) is called a rank-metric code. We say that \(\mathcal {C}\) is an \([n,k]_{q^m/q}\) code, if k is the dimension of \(\mathcal {C}\) over \(\mathbb {F}_{q^m}\). A matrix \(G\in \mathbb {F}_{q^m}^{k\times n}\) of rank k whose rows generate \(\mathcal {C}\) is called a generator matrix. The dual code \(\mathcal {C}^\perp \) of \(\mathcal {C}\) is the \([n,n-k]_{q^m/q}\) rank-metric code comprising vectors orthogonal to all the vectors in \(\mathcal {C}\) with respect to the standard dot product defined by \(x \cdot y = \sum _{j=1}^n x_j y_j\) for all \(x,y \in \mathbb {F}_{q^m}^n\). Finally, we say that an \([n,k]_{q^m/q}\) rank-metric code \(\mathcal {C}\) is non-degenerate if the columns of any generator matrix for \(\mathcal {C}\) are linearly independent over \(\mathbb {F}_q\).

For a vector \(v \in \mathbb {F}_{q^m}^n\) and an ordered basis \(\Gamma =\{\gamma _1,\ldots ,\gamma _m\}\) of the field extension \(\mathbb {F}_{q^m}/\mathbb {F}_q\), let \(\Gamma (v) \in \mathbb {F}_q^{n \times m}\) be the matrix defined by

$$\begin{aligned} v_i= \sum _{j=1}^m \Gamma (v)_{ij} \gamma _j. \end{aligned}$$

The support of v is the column space of \(\Gamma (v)\) for any basis \(\Gamma \); we denote it by \(\sigma (v)\).

Let \(\mathcal {C}\) be an \([n,k]_{q^m/q}\) rank-metric code and let G be a generator matrix of \(\mathcal {C}\). For every \(U\le \mathbb {F}_q^n\), define the space

$$\begin{aligned} \mathcal {C}_U:=\{v\in \mathcal {C}\mid \sigma (v)\le U^\perp \}. \end{aligned}$$

Moreover, consider the following function:

$$\begin{aligned} r : \mathcal {L}(\mathbb {F}_q^n)\rightarrow \mathbb {Z}, \ U \mapsto k - \dim _{\mathbb {F}_{q^m}}(\mathcal {C}_U). \end{aligned}$$
(9)

Note that for any \(U\le \mathbb {F}_q^n\), \(r(U) = \text {rk}(G A^U)\), where \(A^U\) is a matrix whose columns form a basis of U. In fact, r is the same rank function as defined in (1) and it is independent of the choice of generator matrix G. \((\mathbb {F}_q^n,r)\) is called the q-matroid associated to \(\mathcal {C}\) and is denoted by \(M_\mathcal {C}\).

Definition 5.2

A q-matroid \(M=(\mathbb {F}_q^n,r)\) of rank k is representable if there exists some positive integer m and an \([n,k]_{q^m/q}\) rank-metric code \(\mathcal {C}\) such that \(M=M_\mathcal {C}\).

Non-degenerate rank-metric codes have an equivalent geometric description as q-systems; see [1, 22].

Definition 5.3

An \([n,k]_{q^m/q}\) system is an n-dimensional \(\mathbb {F}_q\)-subspace \(\mathcal {U}\) of \(\mathbb {F}_{q^m}^k\) with the property that \(\langle \mathcal {U}\rangle _{\mathbb {F}_{q^m}}=\mathbb {F}_{q^m}^k\). When the parameters are not relevant, we simply call such an object a q-system. Moreover, two \([n,k]_{q^m/q}\) systems \(\mathcal {U}\) and \(\mathcal {U}^\prime \) are equivalent if there exists an \(\mathbb {F}_{q^m}\)-isomorphism \(\phi \in {{\,\textrm{GL}\,}}(k,q^m)\) such that \(\phi (\mathcal {U})=\mathcal {U}^\prime \).

There is a correspondence between equivalence classes of non-degenerate \([n,k]_{q^m/q}\) rank-metric codes and equivalence classes of \([n,k]_{q^m/q}\) systems. We briefly explain this connection; for more details we refer the interested reader to [1, 22].

Let \(\mathcal {C}\) be an \([n,k]_{q^m/q}\) non-degenerate rank-metric code with generator matrix G. Then the \(\mathbb {F}_q\)-span \(\mathcal {U}\) of the columns of G is an \([n,k]_{q^m/q}\) system, it is isomorphic to \(\mathbb {F}_q^n\) and we call it the q-system associated to \(\mathcal {C}\). Conversely, if \(\mathcal {U}\le \mathbb {F}_{q^m}^k\) is an \([n,k]_{q^m/q}\)-system and \(G\in \mathbb {F}_{q^m}^{k\times n}\) is a matrix whose columns form a basis of \(\mathcal {U}\), then clearly, the rows of G generate an \([n,k]_{q^m/q}\) rank-metric code.

We recall the following result which provides a natural description of the supports of codewords of \(\mathcal {C}\) in the q-system \(\mathcal {U}\) associated to \(\mathcal {C}\).

Theorem 5.4

[20, Theorem 3.1] Let \(\mathcal {C}\) be an \([n,k]_{q^m/q}\) non-degenerate rank-metric code and let \(\mathcal {U}\) be the \(\mathbb {F}_q\)-span of the columns of a generator matrix G. Consider the isomorphism

$$\begin{aligned} \psi _G: \mathbb {F}_q^n \rightarrow \mathcal {U}, \quad v \mapsto vG^\top . \end{aligned}$$
(10)

For every \(u\in \mathbb {F}_{q^m}^k\) we have that

$$\begin{aligned} \psi _G^{-1}(\mathcal {U}\cap \langle u \rangle ^\perp )=\sigma (uG)^\perp . \end{aligned}$$

In the following, we use the terminology “linear basis" of a subspace \(V\le \mathbb {F}_q^n\) to refer to a basis of V as a vector space. This is to distinguish to the notion of basis in the q-matroid  sense.

Definition 5.5

Let \(\mathcal {C}\) be an \([n,k]_{q^m/q}\) rank-metric code with generator matrix G and \(\mathcal {U}\) be the \(\mathbb {F}_q\)-span of the columns of G. An \(\mathbb {F}_q\)-subspace \(V\le \mathcal {U}\) is called \(\mathbb {F}_{q^m}\)-independent if

$$\begin{aligned} \dim _{\mathbb {F}_{q^m}}(V\otimes _{\mathbb {F}_q} \mathbb {F}_{q^m}) = \dim _{\mathbb {F}_q}(V), \end{aligned}$$

i.e. the vectors in one (and hence in any) linear basis of V are linearly independent over \(\mathbb {F}_{q^m}\).

Thanks to Definition 5.5, we immediately obtain the q-analogue of a well-known result in classical matroid theory; see for instance [21, Theorem 1.1.1].

Theorem 5.6

Let \(G\in \mathbb {F}_{q^m}^{k\times n}\) be a full rank matrix whose columns are linearly independent over \(\mathbb {F}_q\) and let \(\mathcal {U}\) be the \(\mathbb {F}_q\)-span of the columns of G. Let \(\psi _G: \mathbb {F}_q^n \rightarrow \mathcal {U},\ v \mapsto vG^\top \). Let \(M[G]=(\mathbb {F}_q^n,r)\) and let \(\mathcal {I}_r\) be the collection of independent spaces of M[G]. Let \(\mathcal {I}:=\{I\le \mathcal {U}\mid I \text { is } \mathbb {F}_{q^m}\text {-independent}\}\). We have that

  1. 1.

    \((\mathcal {U},\mathcal {I})\) is a q-matroid,

  2. 2.

    \(\{\psi _G(I)\le \mathcal {U}\mid I \in \mathcal {I}_r \} = \mathcal {I}.\)

Proof

Since the columns of G are linearly independent over \(\mathbb {F}_q\), we have that \(\psi _G(\mathbb {F}_q^n) = \mathcal {U}\) and so \(\psi _G\) is an isomorphism. Let \(r':\mathcal {U}\rightarrow \mathbb {Z}, \ U\rightarrow \text {rk}\left( GA^{\psi _G^{-1}(U)}\right) \), so \(r' = r \circ \psi _G^{-1} \). Clearly, \((\mathcal {U},r')\) is a q-matroid and indeed is equivalent to M[G]. The fact that \(\mathcal {I}\) is the collection of independent spaces of \((\mathcal {U},r')\) follows from the observation that for every \(U\le \mathcal {U}\), we have that

$$\begin{aligned} \text {rk}\left( GA^{\psi _G^{-1}(U)}\right) = \dim _{\mathbb {F}_{q^m}}(U \otimes _{\mathbb {F}_q} \mathbb {F}_{q^m}). \end{aligned}$$

\(\square \)

Let \(\mathcal {C}\) be the \([n,k]_{q^m/q}\) non-degenerate rank-metric code generated by a matrix \(G\in \mathbb {F}_q^{k\times n}\), and let \(M_\mathcal {C}=(\mathbb {F}_q^n,r)\) be its associated q-matroid. Recall that \(M_\mathcal {C}^*=M_{\mathcal {C}^\perp }\), where \(\mathcal {C}^\perp \) is the dual code of \(\mathcal {C}\); see [18]. The rest of this section is devoted to establishing the connection between the supports of the codewords of \(\mathcal {C}\) and \(M_\mathcal {C}^*\).

Definition 5.7

A nonzero codeword \(c\in \mathcal {C}\) is called minimal if for every \(c^\prime \in \mathcal {C}\) we have that

$$\begin{aligned} \sigma (c^\prime )\le \sigma (c) \Leftrightarrow c=\lambda c^\prime , \ \text { for some } \lambda \in \mathbb {F}_{q^m}^*. \end{aligned}$$

Lemma 5.8

For every codeword \(v\in \mathcal {C}^\perp \), the support \(\sigma (v)\le \mathbb {F}_q^n\) is a dependent space of \(M_\mathcal {C}\).

Proof

Let \(v=(v_1,\ldots ,v_n)\in \mathcal {C}^\perp \) and let \(N \in \mathbb {F}_q^{t\times n}\) have rowspace \(\sigma (v)\). Let \(A\in {{\,\textrm{GL}\,}}(n,q)\) be a suitable invertible matrix such that \(\sigma (vA) = \langle e_1,\ldots ,e_t\rangle _{\mathbb {F}_q}\), in which case vA belongs to the dual of the code generated by \(G(A^\top )^{-1}\). From basic linear algebra, we have that \(\sigma (vA) = A^\top \sigma (v)\). Then

$$\begin{aligned} r(\sigma (v)) = \text {rk}(G N^\top ) = \text {rk}(G (A^T)^{-1} (NA)^T) = \text {rk}\left( G(A^\top )^{-1}\left( \begin{array}{c} \textrm{Id}_t \\ 0 \end{array} \right) \right) <t. \end{aligned}$$

Hence, \(\sigma (v)\) is a dependent space in the q-matroid \(M_{\mathcal {C}}\). \(\square \)

A different proof for Lemma 5.8 has been provided in [5], which makes use of the characteristic polynomial of the q-matroid \(M_{\mathcal {C}}\).

Remark 5.9

The converse of Lemma 5.8 is in general not true. For example, let \(v\in \mathcal {C}^\perp \) such that \(\text {rk}_{\mathbb {F}_q}(v)\) is maximal over all members of \(\mathcal {C}^\perp \). Let U be any subspace of \(\mathbb {F}_q^n\) that properly contains \(\sigma (v)\). Then U is a dependent space of \(M_{\mathcal {C}}\) since it contains \(\sigma (v)\), which is dependent by Lemma 5.8. But by our choice of v, there is no word \(u \in \mathcal {C}^\perp \) with \(\sigma (u)=U.\)

However, we can say that every dependent space D of \(M_\mathcal {C}\) contains the support of a codeword of \(\mathcal {C}^\perp \). In particular, we have the following result, which immediately follows from Lemma 5.8 and the definitions of circuit and minimal codeword.

Lemma 5.10

A subspace \(C\le \mathbb {F}_q^n\) is a circuit of \(M_{\mathcal {C}}\) if and only if C is the support of a minimal codeword in \(\mathcal {C}^\perp \).

Recall also the following useful result.

Lemma 5.11

[17, Lemma 3.3] For every \(U\le \mathbb {F}_q^n\), \(c \in \mathcal {C}_U\) if and only if \(c \cdot x= 0\) for all \(x\in U\).

Theorem 5.12

Let \(c\in \mathcal {C}^\perp \) and let \(V=\sigma (c)\). Then V is a cyclic space in \(M_{\mathcal {C}}\).

Proof

Let \(c=(c_1,\ldots , c_n)\in \mathcal {C}^\perp \) and assume that \(\dim _{\mathbb {F}_q}\sigma (c)=t\). Up to multiplying the code \(\mathcal {C}\) by an invertible matrix, as in the proof of Lemma 5.8, we may assume that \(V=\langle e_1,\ldots ,e_t\rangle _{\mathbb {F}_q}\). By Lemma 5.8, V is a dependent space of M. To show that V is cyclic, we need to prove that

$$\begin{aligned} \dim _{\mathbb {F}_{q^m}}(\mathcal {C}_V) = \dim _{\mathbb {F}_{q^m}}(\mathcal {C}_U), \end{aligned}$$

for every \(U\in \textrm{Hyp}(V)\). Clearly, for any such hyperplane U we have \(\mathcal {C}_V\subseteq \mathcal {C}_U\), since \(V^\perp \le U^\perp \). We will show that we have equality.

Let \(U=\langle u_1,\ldots , u_{t-1}\rangle _{\mathbb {F}_q}\) and choose an isomorphism \(\varphi : U \mapsto \langle e_1,\ldots , e_{t-1}\rangle _{\mathbb {F}_q}\). Notice that \(\varphi \) extends to an isomorphism of \(\mathbb {F}_q^n\), that fixes V. Since \(\mathcal {C}_U=\mathcal {C}_V\) if and only if \(\mathcal {C}_{\varphi (U)}=\mathcal {C}_{\varphi (V)} = \mathcal {C}_V\), we may assume that \(U=\langle e_1,\ldots , e_{t-1}\rangle _{\mathbb {F}_q}\). Assume, towards a contradiction, that there exists a codeword g in \(\mathcal {C}\), whose support \(\sigma (g)\) is contained in \(U^\perp \) but not in \(V^\perp \). By Lemma 5.11, this implies that for every \(u\in U\), we have that \(g\cdot u=0\) and there exists a vector \(v\in V\), \(v\not \in U\) such that \(g\cdot v\ne 0\). Write such a vector v as \(v=u+ae_t\), where \(u\in U\) and \(a\in \mathbb {F}_q^*\), in which case, we have:

$$\begin{aligned} 0\ne g\cdot v = g\cdot (u+ae_t) = g\cdot u+g\cdot ae_t = ag_t. \end{aligned}$$
(11)

Since \(c\in \mathcal {C}^\perp \) and \(g\in \mathcal {C}\), we have that

$$\begin{aligned} 0=g\cdot c = \sum _{i=1}^n g_ic_i = \sum _{i=1}^t g_ic_i = g_tc_t+\sum _{i=1}^{t-1}g_ic_i = g_tc_t, \end{aligned}$$

where the last equality follows from the assumption that \(g\in \mathcal {C}_U\). Since \(\mathcal {C}\) is non-degenerate, from (11) we have that \(ag_t\ne 0\) and so we arrive at a contradiction. This shows that the \(\mathcal {C}_V = \mathcal {C}_U\) for every subspace \(U\in \textrm{Hyp}(V)\) and, in other words, the support of every codeword in the dual code of \(\mathcal {C}\) is a cyclic space in the matroid M.

\(\square \)

Corollary 5.13

Let \(c\in \mathcal {C}\) be any codeword and let \(\{c_1,\ldots ,c_t\}\subseteq \mathcal {C}\) be the set of all minimal codewords in \(\mathcal {C}\) whose supports are contained in \(\sigma (c)\). Then

$$\begin{aligned} \sigma (c) = \sum _{i=1}^t\sigma (c_i). \end{aligned}$$

Proof

Let \(c\in \mathcal {C}\) be a codeword. Then, by Theorem 5.12, we have that \(\sigma (c)\) is a cyclic space in \(M_{\mathcal {C}^\perp }\). Hence, by Proposition 3.14, \(\sigma (c)\) is the sum of the circuits of \(M_{\mathcal {C}^\perp }\) contained in it. Finally, by Lemma 5.10, we have that each circuit in \(M_{\mathcal {C}^\perp }\) is the support of a minimal codeword in \(\mathcal {C}\). \(\square \)

Note that the converse of Theorem 5.12 is not true in general, as Example 5.14 shows.

Example 5.14

Let \(\mathcal {C}\) be the \([5,3]_{2^3/2}\) rank-metric code with generator matrix

$$\begin{aligned} G=\begin{pmatrix} 1&{} \alpha &{} 1&{}0&{} \alpha ^2 \\ 0 &{} 1 &{} \alpha ^5 &{} \alpha ^2 &{} \alpha \\ 0 &{} 0 &{} 1 &{} \alpha ^4 &{} \alpha \end{pmatrix}, \end{aligned}$$

where \(\alpha ^3=\alpha +1\). The dual code \(\mathcal {C}^\perp \) is a \([5,2]_{2^3/2}\) code. Let \({M}_\mathcal {C}=(\mathbb {F}_2^5,r)\) be the q-matroid associated to \(\mathcal {C}\). Note that if \(c,c'\in \mathcal {C}^\perp \) and \(c=\lambda c'\) for some \(\lambda \in \mathbb {F}_{2^3}^*\), then \(\sigma (c)=\sigma (c^\prime )\). Hence, there are at most 9 different supports for the nonzero codewords of \(\mathcal {C}^\perp \). Here, we can check that there are indeed 9 distinct supports for the codewords of \(\mathcal {C}^\perp \) and those are all cyclic spaces in \({M}_\mathcal {C}\), by Theorem 5.12. Moreover, there are 11 cyclic spaces in \({M}_\mathcal {C}\), which are listed below according to their dimension.

$$\begin{aligned} \text {Dimension } 0: \quad&A_0:=0. \\ \text {Dimension } 2: \quad&A_1:=\langle e_1+e_4+e_5, e_2+e_4\rangle , \ A_2:=\langle e_1+e_3,e_4\rangle , \\&A_3:=\langle e_3+e_5, e_1+e_2+e_4+e_5\rangle . \\ \text {Dimension } 3: \quad&A_4:=\langle e_3+e_5, e_2, e_4 \rangle , \ A_5:=\langle e_2, e_1+e_5, e_3+e_4+e_5 \rangle , \\&A_6:=\langle e_1+e_5, e_2+e_4, e_3+e_4+e_5\rangle , \ A_7:=\langle e_1+e_5, e_2, e_3+e_5\rangle , \\&A_8:=\langle e_1+e_4+ e_5, e_2, e_3+e_4+e_5\rangle , \ A_9:=\langle e_1+e_5, e_2+e_3+e_5, e_4 \rangle . \\ \text {Dimension } 4: \quad&A_{10}:=\langle e_1+e_5, e_2, e_3+e_5, e_4\rangle . \end{aligned}$$
Fig. 2
figure 2

The lattice of cyclic spaces of \({M}_\mathcal {C}\) from Example 5.14

In Fig. 2, the space \(A_{10}\) has been highlighted because it is the only cyclic space that is not the support of any codeword in \(\mathcal {C}^\perp \). Finally, note that the all the cyclic spaces except from \(A_0\) and \(A_{10}\) are circuits. Indeed, one can easily observe that all the codewords in \(\mathcal {C}^\perp \) are minimal and their support is exactly one of the spaces \(A_1,\ldots ,A_{9}\). With the aid of Magma, we checked that the q-matroid \({M}_\mathcal {C}\) has 88 flats and that among these only 5 are also cyclic, namely \(A_0, A_1, A_2, A_3\) and \(A_{10}\).

Now, consider the matroid \({M}_{\mathcal {C}^\perp }\), associated to the code \(\mathcal {C}^\perp \) and denote its rank function by \(r^*\). First of all note that \({M}_{\mathcal {C}^\perp }\) contains the loop \(L:=\langle e_1+e_3+e_5\rangle \), which is itself cyclic. In \({M}_{\mathcal {C}^\perp }\) there are in total 88 cyclic spaces and among them 65 are also supports of codewords in \(\mathcal {C}\). Finally, there are 11 flats in \({M}_{\mathcal {C}^\perp }\), which are listed below.

$$\begin{aligned} \text {Dimension } 1: \quad&F_0:=\langle e_1+e_3+e_5\rangle . \\ \text {Dimension } 2: \quad&F_1:=\langle e_1+e_3+e_5, e_4\rangle , \ F_2:=\langle e_1+e_3+e_5,e_4+e_5\rangle , \\&F_3:=\langle e_1+e_3+e_5, e_2+e_3\rangle , \ F_4:=\langle e_3+e_5, e_1 \rangle ,\\&F_5:=\langle e_1+e_3+e_5, e_2+e_3+e_4 \rangle , \ F_6:=\langle e_1+e_4+e_5, e_3+e_4, e_3+e_4\rangle . \\ \text {Dimension } 3: \quad&F_7:=\langle e_1+e_5, e_2+e_4+e_5, e_3\rangle , \ F_8:=\langle e_1+e_3, e_2, e_5 \rangle , \\ {}&F_9:=\langle e_1+e_4, e_2+e_4, e_3+e_4+e_5\rangle . \\ \text {Dimension } 5: \quad&F_{10}:=\mathbb {F}_2^5. \end{aligned}$$

The lattice of flats of \({M}_{\mathcal {C}^\perp }\) can be found in Fig. 3.

Fig. 3
figure 3

Lattice of flats of the matroid \({M}_{\mathcal {C}^\perp }\) from Example 5.14

It is not difficult to see that all the flats in Fig. 3 are the orthogonal complements of the cyclic spaces of Fig. 2, as Proposition 3.14 states. Clearly, the cyclic flats of \(M_{\mathcal {C}^\perp }\) are the orthogonal complement of the cyclic flats in \({M}_\mathcal {C}\); see Fig. 4. In particular, \(A_{10}^\perp = F_0\), \(A_1^\perp =F_7\), \(A_2^\perp =F_8\) and \(A_3^\perp =F_9\).

Finally, using Magma, we found that there are exactly 33 minimal codewords in \(\mathcal {C}\). The supports of these codewords are circuits in \({M}_{\mathcal {C}^\perp }\). Consider \(Z:=\langle e_1+e_5, e_2+e_5, e_3+e_5, e_4+e_5\rangle \) and observe that Z is a cyclic space that is not a circuit (since its rank is 2 and it is not the support of a minimal codeword of \(\mathcal {C}\)). Z contains exactly 3 circuits, namely \(\langle e_1+e_3, e_2+e_5 \rangle \), \(\langle e_2+e_3+e_4+e_5, e_1+e_5 \rangle \) and \(\langle e_1+e_4, e_2+e_4 \rangle \). It is easy to see that Z is actually equal to the sum of the circuits it contains, as stated in Corollary 5.13.

Fig. 4
figure 4

The lattices of the cyclic flats of the q-matroids \({M}_\mathcal {C}\) and \({M}_{\mathcal {C}^\perp }\) from Example 5.14

6 Final remarks

q-Polymatroids and their connections to rank-metric codes were introduced in [15] and [23]. In [11], it was shown that knowledge of the lattice of cyclic flats, along with the ranks of its elements, is sufficient to determine a polymatroid. It is a natural question to ask whether or not a q-analogue of this result holds. We propose that an answer to this question may require more than a straightforward extension of the results presented here. Indeed, since the results of this paper were first completed both of these questions were answered in the affirmative; see [8]. Below we give a hint as to why establishing the q-cryptomorphism in the q-polymatroid case requires some different ideas than those used here.

Definition 6.1

[23] A (qr)-polymatroid is a pair \(M=(E, \rho )\) for which \(r \in \mathbb {Z}\) and \(\rho \) is an integer-valued function on the subspaces of E, satisfying the following axioms.

(\(\rho \)1):

\(0\le \rho (A) \le r\dim A\), for all \(A\in \mathcal {L}(E)\).

(\(\rho \)2):

\(A\le B \Rightarrow \rho (A)\le \rho (B)\), for all \(A,B\in \mathcal {L}(E)\).

(\(\rho \)3):

\(\rho (A+B)+\rho (A\cap B)\le \rho (A)+\rho (B)\), for all \(A,B\in \mathcal {L}(E)\).

Note that a (q, 1)-polymatroid is a q-matroid.

We can define cyclic spaces along with the cyclic operator as follows.

Definition 6.2

For each \(A\in \mathcal {L}(E)\), define

$$\begin{aligned} {{\,\textrm{Cyc}\,}}_\rho (A):=\{&x \le A: \rho (x)=0 \text { or } \rho (B+x)-\rho (B) <\rho (x),\text { for all } B\in \textrm{Hyp}(A)\}, \end{aligned}$$

and \({{\,\textrm{cyc}\,}}_\rho (A)\) as the vector space sum of the cyclic spaces contained in A.

In [11] a rank function on the lattice of cyclic flats is defined via a convolution of the rank function of the polymatroid with a modular function on the underlying Boolean lattice (see Remark 4.10), which is an important device in obtaining the cryptomorphism in the polymatroid case. It is known that a function \(\mu : \mathcal {L}(E) \rightarrow \mathbb {Z}\) is modular if and only if \(\mu (\langle 0\rangle )=0\) and \(\mu \) is additive on \(\mathcal {L}(E)\), that is, if \(\mu (X+Y)=\mu (X)+\mu (Y)\) for all \(X,Y\in \mathcal {L}(E)\) satisfying \(X\cap Y=\{0\}\). However, as the following result shows, the only additive function on \(\mathcal {L}(E)\) is a constant multiple of the dimension function.

Proposition 6.3

Let \(\mu :\mathcal {L}(E) \rightarrow \mathbb {Z}\) be an additive function. Then there exists an integer \(\ell \in \mathbb {Z}\) such that \(\mu (A)=\ell \dim (A)\) for all \(A \in \mathcal {L}(E) \).

Proof

Let \(x,y\in \mathcal {L}(E)\) and choose \(A\in \textrm{Hyp}(E)\) that contains neither x nor y. Clearly, \(E=A+x=A+y\) and by the additivity of \(\mu \) we have

$$\begin{aligned} \mu (A)+\mu (x) = \mu (A+x)= \mu (E)=\mu (A+y) = \mu (A)+\mu (y), \end{aligned}$$

which implies that \(\mu \) is constant on all the one-dimensional subspaces of E. Hence there exists a constant \(\ell \in \mathbb {Z}\), such that \(\mu (A)=\ell \dim (A)\), for every \(A\in \mathcal {L}(E)\). \(\square \)

Note that modular functions defined on a boolean lattice are not necessarily constant multiples of the cardinality function. Generalizing the results of Sect. 4 to the q-polymatroid case would be possible if an analogue of [11, Lemma 1] could be obtained. Proposition 6.3 implies that a q-analogue would be given by showing that for every \(A\in \mathcal {L}(E)\) we have that

$$\begin{aligned} \rho (A) - \rho ({{\,\textrm{cyc}\,}}_\rho (A)) = r\cdot (\dim (A)-\dim ({{\,\textrm{cyc}\,}}_\rho (A)). \end{aligned}$$

However, the following example shows that this is not always the case.

Example 6.4

Let \(\mathcal {C}\le \mathbb {F}_3^{3\times 3}\) be the space of \(3\times 3\) matrices generated by

$$\begin{aligned} M_1:=\begin{pmatrix} 1 &{} 2 &{}1 \\ 1&{} 2 &{} 2 \\ 1 &{} 1 &{} 1 \end{pmatrix}, \ M_2:=\begin{pmatrix} 0 &{} 2 &{}1 \\ 2&{} 1 &{} 1 \\ 0 &{} 1 &{} 2 \end{pmatrix}, \ M_3:=\begin{pmatrix} 2 &{} 2 &{}0 \\ 1&{} 1 &{} 1 \\ 0 &{} 1 &{} 2 \end{pmatrix}, \ M_4:=\begin{pmatrix} 0 &{} 2 &{}2 \\ 0&{} 0 &{} 0 \\ 2 &{} 0 &{} 1 \end{pmatrix}. \end{aligned}$$

Consider the function

$$\begin{aligned} \rho : \mathcal {L}(\mathbb {F}_3^3) \rightarrow \mathbb {Z}, \ A\mapsto 4-\dim _{\mathbb {F}_3}(\mathcal {C}_A), \end{aligned}$$

where \(\mathcal {C}_A\) is the subspace of \(\mathcal {C}\) made of the matrices whose column span is contained in \(A^\perp \). From [23], \(M=(\mathbb {F}_3^3,\rho )\) is a (q, 3)-polymatroid. Consider the 1-dimensional space \( c=\langle (1,1,2) \rangle \) whose rank is 2. It is easy to see that

$$\begin{aligned} 2 = \rho (c) - \rho ({{\,\textrm{cyc}\,}}_\rho (c)) \ne 3(\dim (c) - \dim ({{\,\textrm{cyc}\,}}_\rho (c)) = 3. \end{aligned}$$