## Introduction

Since P. Hall’s abstract definition of a clone the problem to describe sets of finitary functions from a set A to a set B which satisfy some closure properties has been a fruitful branch of research. E. Post’s characterization of all clones on a two-element set  can be considered as a foundational result in this field, which was developed further, e.g., in [10, 11, 13, 15]. Starting from , clones are used to study the complexity of certain constrain satisfaction problems (CSPs).

The aim of this paper is to describe sets of functions from a finite product of finite fields $$\prod _{j =1}^m\mathbb {F}_{q_j} = {\mathbb K}$$ to a finite product of finite fields $$\prod _{i =1}^n\mathbb {F}_{p_i} = {\mathbb {F}}$$, where $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime. The sets of functions we are interested in are closed under composition from the left and from the right with linear mappings. Thus we consider sets of functions with different domains and codomains; such sets are called clonoids and are investigated, e.g., in . Let $$\mathbf {B}$$ be an algebra, and let A be a non-empty set. For a subset C of $$\bigcup _{n \in {\mathbb {N}}} B^{A^n}$$ and $$k\in {\mathbb {N}}$$, we let $$C^{[k]} :=C \cap B^{A^k}$$. According to Definition 4.1 of  we call C a clonoid with source set A and target algebra $$\mathbf {B}$$ if

1. (1)

for all $$k \in {\mathbb {N}}$$: $$C^{[k]}$$ is a subuniverse of $$\mathbf {B}^{A^k}$$, and

2. (2)

for all $$k,n \in {\mathbb {N}}$$, for all $$(i_1,\dots ,i_k) \in \{1,\dots ,n\}^k$$, and for all $$c \in C^{[k]}$$, the function $$c' :A^n \rightarrow B$$ with $$c'(a_1,\dots ,a_n) := c(a_{i_1},\dots ,a_{i_k})$$ lies in $$C^{[n]}$$.

By (1) every clonoid is closed under composition with operations of $$\mathbf {B}$$ on the left. In particular we are dealing with those clonoids whose target algebra is the ring $$\prod _{i=1}^m\mathbb {F}_{p_i}$$ that are closed under composition with linear mappings from the right side.

### Definition 1.1

Let $$m,s \in {\mathbb {N}}$$ and let $${\mathbb K}= \prod _{j=1}^m\mathbb {K}_{j}$$, $${\mathbb {F}}= \prod _{i=1}^s\mathbb {F}_{i}$$ be products of fields. An $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoid is a non-empty subset C of $$\bigcup _{k \in \mathbb {N}} \prod _{i=1}^s\mathbb {F}_{i}^{{\prod _{j=1}^m\mathbb {K}_{j}^k}}$$ with the following properties:

1. (1)

for all $$n \in {\mathbb {N}}$$, $${\varvec{a}}, {\varvec{b}} \in \prod _{i=1}^s\mathbb {F}_i$$, and $$f,g \in C^{[n]}$$:

\begin{aligned} {\varvec{a}}f + {\varvec{b}}g \in C^{[n]}; \end{aligned}
2. (2)

for all $$l,n \in {\mathbb {N}}$$, $$f \in C^{[n]}$$, $$({\varvec{x}}_1,\dots ,{\varvec{x}}_m) \in \prod _{j=1}^m\mathbb {K}_{j}^l$$, and $$A_j\in \mathbb {K}^{n \times l}_{j}$$:

\begin{aligned} g:({\varvec{x}}_1,\dots ,{\varvec{x}}_m) \mapsto f(A_1\cdot {\varvec{x}}_1^t,\cdots ,A_m\cdot {\varvec{x}}_m^t) \text { is in } C^{[l]}, \end{aligned}

where the juxtaposition $${\varvec{a}}f$$ denotes the Hadamard product of the two vectors (i.e. the component-wise product $$(a_1,\dots ,a_n)\cdot (b_1,\dots ,b_n) = (a_1b_1,\dots ,$$ $$a_nb_n)$$).

Clonoids naturally appear in the study of promise constraint satisfaction problems (PCSPs). These problems are investigated, e.g., in , and in  clonoid theory has been used to provide an algebraic approach to PCSPs. In  A. Sparks investigate the number of clonoids for a finite set A and finite algebra $$\mathbf {B}$$ closed under the operations of $$\mathbf {B}$$. In  S. Kreinecker characterized linearly closed clonoids on $$\mathbb {Z}_p$$, where p is a prime. Furthermore, a description of the set of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids is a useful tool to investigate (polynomial) clones on $${\mathbb {Z}}_n$$, where n is a product of distinct primes or to represent polynomial functions of semidirect products of groups.

In  there is a complete description of the structure of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids in case $${\mathbb {F}}$$ and $${\mathbb K}$$ are fields and the results we will present are a generalization of this description.

The main result of this paper (Theorem 1.2) states that every $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoid is generated by its subset of unary functions.

### Theorem 1.2

Let $${\mathbb K}= \prod _{i=1}^m\mathbb {F}_{q_i}$$, $${\mathbb {F}}= \prod _{i=1}^s\mathbb {F}_{p_i}$$ be products of fields such that $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime. Then every $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoid is generated by a set of unary functions and thus there are finitely many distinct $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids.

The proof of this result is given in Section 3. From this follows that under the assumptions of Theorem 1.2 we can bound the cardinality of the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids.

Furthermore, in Section 4 we find a description of the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids as the direct product of the lattices of all $${\mathbb {F}}_{p_i}[{\mathbb K}^{\times }]$$-submodules of $$\mathbb {F}_{p_i}^{{\mathbb K}}$$, where $${\mathbb K}^{\times }$$ is the multiplicative monoid of $${\mathbb K}= \prod _{i=1}^m {\mathbb {F}}_{q_i}$$. Moreover, we provide a concrete bound for the cardinality of the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids.

### Theorem 1.3

Let $${\mathbb {F}}= \prod _{i=1}^s{\mathbb {F}}_{p_i}$$ and $${\mathbb K}= \prod _{j=1}^m{\mathbb {F}}_{q_j}$$ be products of finite fields such that $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime. Then the cardinality of the lattice of all $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoids $$\mathcal {L}({\mathbb {F}},{\mathbb K})$$ is bounded by:

\begin{aligned} |\mathcal {L}({\mathbb {F}},{\mathbb K})| \le \prod _{i=1}^s\sum _{1 \le r \le n}{{ n}\atopwithdelims (){r}}_{p_i}, \end{aligned}

where $$n = \prod _{j = 1}^mq_i$$ and

\begin{aligned} {{n}\atopwithdelims (){h}}_q = \prod _{i=1}^h \frac{q^{n-h+i}-1}{q^i-1} \end{aligned}

with $$q \in {\mathbb {N}}\backslash \{1\}$$.

## Preliminaries and notation

We use boldface letters for vectors, e.g., $${\varvec{u}} = (u_1,\dots ,u_n)$$ for some $$n \in {\mathbb {N}}$$. Moreover, we will use $$\langle {\varvec{v}}, {\varvec{u}}\rangle$$ for the scalar product of the vectors $${\varvec{v}}$$ and $${\varvec{u}}$$. Let f be an n-ary function from an additive group $$\mathbf {G}_1$$ to a group $$\mathbf {G}_2$$. We say that f is 0-preserving if $$f(0_{\mathbf {G}_1},\dots ,0_{\mathbf {G}_1}) = 0_{\mathbf {G}_2}$$. A non-trivial $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids is the set of all 0-preserving finitary functions from $${\mathbb K}$$ to $${\mathbb {F}}$$. The $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids form a lattice with the intersection as meet and the $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoid generated by the union as join. The top element of the lattice is the $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoid of all functions and the bottom element consists of only the constant zero functions. We write $$\mathrm {Clg}(S)$$ for the $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoid generated by a set of functions S.

In order to prove Theorem 1.2 we introduce the definition of 0-absorbing function. This concept is slightly different from the one in  since we consider the source set to be split into a product of sets. Nevertheless, some of the techniques in  can be used also with our definition of 0-absorbing function.

Let $$A_1, \dots , A_m$$ be sets, let $$0_{A_i} \in A_i$$, and let $$J \subseteq [m]$$. For all $${\varvec{a}} = (a_1,\dots ,a_m) \in \prod _{i=1}^mA_i$$ we define $${\varvec{a}}^{(J)}\in \prod _{i=1}^mA_i$$ by $${\varvec{a}}_i^{(J)} =a_i$$ for $$i \in J$$ and $$({\varvec{a}}^{(J)})_i = 0_{A_i}$$ for $$i \in [m] \backslash J$$.

Let $$A_1, \dots , A_m$$ be sets, let $$0_{A_i} \in A_i$$, let $$\mathbf {G} = \langle G, +, -, 0_G \rangle$$ be an abelian group, let $$f :\prod _{i=1}^mA_i \rightarrow G$$, and let $$I \subseteq [m]$$. By $$\mathrm {Dep}(f)$$ we denote $$\{i \in [m] \mid f \text { depends on its ith set argument}\}$$. We say that f is $$0_{A_j}$$-absorbing in its jth argument if for all $${\varvec{a}} = (a_1, \dots , a_m) \in \prod _{i=1}A_i$$ with $$a_j = 0_{A_j}$$ we have $$f({\varvec{a}}) = 0_G$$. We say that f is 0-absorbing in I if $$\mathrm {Dep}(f) \subseteq I$$ and for every $$i \in I$$ f is $$0_{A_i}$$-absorbing in its ith argument.

Using the same proof of [1, Lemma 3] we can find an interesting property of 0-absorbing functions.

### Lemma 2.1

Let $$A_1, \dots , A_m$$ be sets, let $$0_{A_i}$$ be an element of $$A_i$$ for all $$i \in [m]$$. Let $$B = \langle B, +, -, 0_G\rangle$$ be an abelian group, and let $$f :\prod _{i=1}^mA_{i} \rightarrow B$$. Then there is exactly one sequence $$\{f_I\}_{I \subseteq [m]}$$ of functions from $$\prod _{i=1}^mA_{i}$$ to B such that for each $$I \subseteq [m]$$, $$f_I$$ is 0-absorbing in I and $$f = \sum _{I \subseteq [m]} f_I$$. Furthermore, each function $$f_I$$ lies in the subgroup $$\mathbf {F}$$ of $$\mathbf {B}^{\prod _{i=1}^mA_{i}}$$ that is generated by the functions $${\varvec{x}} \rightarrow f({\varvec{x}}^{(J)})$$, where $$J\subseteq [m]$$.

### Proof

The proof is essentially the same of [1, Lemma 3] substituting $$A^m$$ with $$\prod _{i =1}^mA_i$$. We define $$f_I$$ by recursion on |I|. We define $$f_{\emptyset } ({\varvec{a}}) := f(0_{A_1}, \dots , 0_{A_m})$$ and for all $$I \not =\emptyset$$ and $${\varvec{a}} \in \prod _{i=1}^mA_i$$ and $$f_{I}$$ by:

\begin{aligned} f_I({\varvec{a}}) := f({\varvec{a}}^{(I)}) - \sum _{J \subset I} f_J ({\varvec{a}}), \end{aligned}
(2.1)

for all $${\varvec{a}} \in \prod _{i=1}^mA_i$$. $$\square$$

Furthermore, as in , we can see that the component $$f_I$$ satisfies $$f_I({\varvec{a}})$$ $$= \sum _{J\subseteq I} (-1)^{|I|+|J|}$$ $$f({\varvec{a}}^{(J)} )$$. From now on we will not specify the element that the functions absorb since it will always be the 0 of a finite field.

## Unary generators of $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoid

In this section our aim is to find an analogon of [6, Theorem 4.2] for a generic $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoid C, which will allow us to generate C with a set of unary functions. In general we will see that it is the unary part of an $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoid that determines the clonoid. To this end we shall show the following lemmata. We denote by $${\varvec{e}}_1^{{\mathbb {F}}^n_{q_i}} = (1,0,\dots ,0)$$ the first member of the canonical basis of $${\mathbb {F}}^n_{q_i}$$ as a vector-space over $${\mathbb {F}}_{q_i}$$. Let $$f: \prod _{i=1}^m {\mathbb {F}}^k_{q_i} \rightarrow {\mathbb {F}}_{p}$$. Let $$s \le m$$ and let $${\mathbb K}= \prod _{i=1}^s {\mathbb {F}}_{q_i}$$. Then we denote by $$f\mid _{{\mathbb K}}: \prod _{i=1}^s {\mathbb {F}}^k_{q_i} \rightarrow {\mathbb {F}}_{p}$$ the function such that $$f\mid _{{\mathbb K}}({\varvec{x}}_1,\dots ,{\varvec{x}}_s) = f({\varvec{x}}_1,\dots ,{\varvec{x}}_s,0,\dots ,0)$$.

### Lemma 3.1

Let $$f,g:\prod _{i=1}^m\mathbb {F}_{q_i}^n \rightarrow \mathbb {F}_p$$ be functions, and let $${\varvec{b}}_1, \dots , {\varvec{b}}_m$$ be such that $${\varvec{b}}_i \in \mathbb {F}_{q_i}^n \backslash$$ $$\{(0,\dots ,0)\}$$ for all $$i \in [m]$$. Assume that $$f(\lambda _1{\varvec{b}}_1,\dots ,\lambda _m{\varvec{b}}_m) = g(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^n_{q_1}},\dots ,\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^n_{q_m}})$$, for all $$\lambda _1 \in \mathbb {F}_{q_1},\dots ,\lambda _m \in \mathbb {F}_{q_m}$$, and $$f({\varvec{x}}) = g({\varvec{y}}) = 0$$ for all $${\varvec{x}} \in \prod _{i=1}^m\mathbb {F}_{q_i}^n \backslash \{(\lambda _1{\varvec{b}}_1,\dots$$ $$,\lambda _m{\varvec{b}}_m) \mid (\lambda _1,\dots ,\lambda _m) \in \prod _{i=1}^m\mathbb {F}_{q_i}\}$$ and $${\varvec{y}} \in \prod _{i=1}^m\mathbb {F}_{q_i}^n \backslash \{(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^n_{q_1}},\dots ,\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^n_{q_m}})\mid (\lambda _1,\dots ,$$ $$\lambda _m) \in \prod _{i=1}^m\mathbb {F}_{q_i}\}$$. Then $$f \in \mathrm {Clg}(\{g\})$$.

### Proof

For $$j \le m$$ let $$A_j$$ be any invertible $$n \times n$$-matrix over $${\mathbb K}_j$$ such that $$A_j{\varvec{b}}_j = {\varvec{e}}^{{\mathbb {F}}^n_{q_j}}_1$$. Then is straightforward to check that $$f({\varvec{x}}_1,\dots ,{\varvec{x}}_m) = g(A{\varvec{x}}_1,$$ $$\dots ,A{\varvec{x}}_m)$$. $$\square$$

### Lemma 3.2

Let $$q_1,\dots ,q_m$$ and p be powers of primes and let $${\mathbb K}= \prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Let $$h \le m$$ and let $${\mathbb K}_1 = \prod _{i=1}^h{\mathbb {F}}_{q_i}$$. Let C be an $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoid and let

\begin{aligned} C\mid _{{\mathbb K}_1} := \{g \mid \exists g' \in C :g'\mid _{{\mathbb K}_1} = g\}. \end{aligned}

Let $$\mathrm {Dep}(f) = [h]$$ and let $$f: \prod _{i=1}^m{\mathbb {F}}^s_{q_i} \rightarrow {\mathbb {F}}_p$$. Then $$f \in \mathrm {Clg}(C^{})^{[s]}$$ if and only if $$f \mid _{{\mathbb K}_1} \in \mathrm {Clg}(C\mid _{{\mathbb K}_1}^{})^{[s]}$$.

### Proof

It is clear that if $$f \in \mathrm {Clg}(C^{})$$ then $$f \mid _{{\mathbb K}_1} \in \mathrm {Clg}(C\mid _{{\mathbb K}_1}^{})$$, simply restricting to $${\mathbb K}_1$$ all the unary generators of f. Conversely, let $$S'$$ be a set of unary generators of $$f\mid _{{\mathbb K}_1}$$. Let $$S \subseteq C^{}$$ be defined by

\begin{aligned} S&:= \left\{ g \mid \exists g' \in S' : g(x_1,\dots ,x_h,0,\dots ,0) = g'(x_1,\dots ,x_h),\right. \\&\left. \text { for all } (x_1,\dots ,x_h) \in \prod _{i=1}^h{\mathbb {F}}_{q_i}\right\} . \end{aligned}

From $$\mathrm {Dep}(f) = [h]$$ follows that S is a set of unary generators of f. $$\square$$

### Lemma 3.3

Let $$q_1,\dots ,q_m$$ and p be powers of primes with $$\prod _{i=1}^mq_i$$ and p coprime. Let $${\mathbb K}= \prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Let C be an $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoid, let $$g \in C^{}$$ be 0-absorbing in [m], and let $$t_k:\prod _{i=1}^m\mathbb {F}_{q_i}^k \rightarrow \mathbb {F}_p$$ be defined by:

\begin{aligned}&t_k(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}},\dots ,\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}}) = g(\lambda _1,\dots ,\lambda _m) \text { for all } (\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i} \\ {}&t_k({\varvec{x}}) = 0 \\ {}&\text {for all } {\varvec{x}} \in \prod _{i=1}^m\mathbb {F}^k_{q_i}\backslash \left\{ ( \lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}}, \dots ,\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}}) \mid (\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}\right\} . \end{aligned}

Then $$t_k$$ is 0-absorbing in [m], with $$A_i = {\mathbb {F}}_{q_i}^k$$ and $$0_{A_i} = (0_{{\mathbb {F}}_{q_i}},\dots ,0_{{\mathbb {F}}_{q_i}})$$. Furthermore, $$t_k \in \mathrm {Clg}(C^{})$$ for all $$k \in {\mathbb {N}}$$.

### Proof

Since g is 0-absorbing in [m] then also $$t_k$$ is 0-absorbing in [m]. Moreover ,we prove that $$t_k \in \mathrm {Clg}(C^{})$$ by induction on k.

Case $$k =1$$: if $$k = 1$$, then $$t_1 = g$$ is a unary function of $$C^{}$$.

Case $$k>1$$: we assume that $$t_{k-1} \in \mathrm {Clg}(C^{})$$. For all $$1 \le i \le m$$ we define the two sets of mappings $$T_i^{[k]}$$ and $$R_i^{[k]}$$ from $${\mathbb {F}}_{q_i}^k$$ to $${\mathbb {F}}_{q_i}^{k-1}$$ by:

\begin{aligned} T_i^{[k]}&:=\{u_{a}:(x_1,\dots ,x_k) \mapsto (x_1-ax_2,x_3\dots ,x_k)\mid a \in \mathbb {F}_{q_i}\} \\R_i^{[k]}&:=\{w_{a}:(x_1,\dots ,x_k) \mapsto (ax_2,x_3\dots ,x_k)\mid a \in \mathbb {F}_{q_i}\backslash \{0\}\}. \end{aligned}

Let $$P_i^{[k]} := T_i^{[k]} \cup R_i^{[k]}$$. Furthermore, we define the function $$c ^{[k]}:\bigcup _{i=1}^m P_i^{[k]} \rightarrow {\mathbb {N}}$$ by:

\begin{aligned} c^{[k]}(h)= {\left\{ \begin{array}{ll} 0 &{}\quad \text {if } h \in \bigcup _{i=1}^mT_i^{[k]}, \\ 1 &{}\quad \text {if } h \in \bigcup _{i=1}^mR_i^{[k]}. \end{array}\right. } \end{aligned}

Let us define the function $$r_k:\prod _{i=1}^m\mathbb {F}_{q_i}^k \rightarrow \mathbb {F}_p$$ by:

\begin{aligned}&r_k({\varvec{x}}_1,\dots , {\varvec{x}}_m) \nonumber \\&\quad = \sum _{h_1 \in P_1^{[k]},\dots ,h_m \in P_m^{[k]}} (-1)^{\sum _{i=1}^m \text {c}^{[k]}(h_i)} t_{k-1}(h_1({\varvec{x}}_1), ,\dots ,h_m({\varvec{x}}_m)), \end{aligned}
(3.1)

for all $${\varvec{x}}_i \in \mathbb {F}_{q_i}^k$$.

Claim: $$r_k({\varvec{x}}_1,\dots , {\varvec{x}}_m) = \prod _{i =1}^mq_i \cdot t_{k}({\varvec{x}}_1,\dots , {\varvec{x}}_m)$$ for all $$({\varvec{x}}_1,\dots , {\varvec{x}}_m) \in \prod _{i=1}^m {\mathbb {F}}_{q_i}^k$$

Subcase $$\exists i \in [m], 3 \le j \le k$$ with $$({\varvec{x}}_i)_j \not =0$$:

By definition of $$t_{k-1}$$, we can see that in (3.1) every summand vanishes if there exist $$i \in [m]$$ and $$3 \le j \le k$$ with $$({\varvec{x}}_i)_j \not =0$$. Thus $$r_k({\varvec{x}}_1,\dots , {\varvec{x}}_m) = \prod _{i =1}^mq_i \cdot t_{k}({\varvec{x}}_1,\dots , {\varvec{x}}_m) = 0$$ in this case.

Subcase $$\exists l \in [m]$$ with $$({\varvec{x}}_l)_2 \not =0$$ and $$({\varvec{x}}_i)_j =0$$ for all $$i \in [m], 3 \le j \le k$$:

We prove that $$r_k({\varvec{x}}_1,\dots , {\varvec{x}}_m) = 0$$. We can see that for all $$(x_1,x_2) \in {\mathbb {F}}_{q_l} \times {\mathbb {F}}_{q_l}\backslash \{0\}$$ and for all $$b \in {\mathbb {F}}_{q_l}\backslash \{0\}$$, there exists $$a \in {\mathbb {F}}_{q_l}$$ such that $$bx_2 = x_1-ax_2$$, and clearly $$a = x_1x_2^{-1}-b$$. Conversely, for all $$(x_1,x_2) \in {\mathbb {F}}_{q_l} \times {\mathbb {F}}_{q_l}\backslash \{0\}$$ and for all $$a \in {\mathbb {F}}_{q_l}\backslash \{x_1x_2^{-1}\}$$ there exists $$b \in {\mathbb {F}}_{q_l}\backslash \{0\}$$ such $$bx_2 = x_1-ax_2$$, and clearly $$b = x_1x_2^{-1}-a$$.

With this observation we can see that for all $$h_i \in P_i^{[k]}$$ with $$i \in [m]\backslash \{l\}$$ and for all $$({\varvec{x}}_1,\dots ,{\varvec{x}}_m) \in \prod _{i=1}^m{\mathbb {F}}^k_{q_i}$$ with $$({\varvec{x}}_l)_1 = x_1$$ and $$({\varvec{x}}_l)_2 = x_2$$ we have that if $$a \not = x_1x_2^{-1}$$ then:

\begin{aligned}&t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),u_{a}({\varvec{x}}_l),h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) \\&\quad =t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),w_{x_1x_2^{-1}-a}({\varvec{x}}_l),h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) \end{aligned}

where $$u_{a} \in T_l^{[k]}$$ and $$w_{x_1x_2^{-1}-a}\in R_l^{[k]}$$. Thus they produce summands with different signs in (3.1). Moreover, if $$a = x_1x_2^{-1}$$, then

\begin{aligned}&t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),u_{a}({\varvec{x}}_l),h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) \\ {}&\quad = t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),{\varvec{0}}_{{\mathbb {F}}^{k-1}_{q_l}},h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) = 0, \end{aligned}

since $$t_{k-1}$$ is 0-absorbing in [m]. This implies that all the summands of $$r_k$$ are cancelling if $$({\varvec{x}}_l)_2 \not = 0$$. Thus $$r_k({\varvec{x}}_1,\dots , {\varvec{x}}_m) = \prod _{i =1}^mq_i \cdot t_{k}({\varvec{x}}_1,\dots , {\varvec{x}}_m) = 0$$ in this case.

Subcase $$({\varvec{x}}_1,\dots ,{\varvec{x}}_m) = (\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^{k}_{q_1}},\dots , \lambda _m{\varvec{e}}_1^{{\mathbb {F}}^{k}_{q_m}})$$ for some $$(\lambda _1,\dots ,\lambda _m) \in \prod _{i=1}^m {\mathbb {F}}_{q_i}$$:

We can observe that:

\begin{aligned}&t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),h_l(\lambda _l{\varvec{e}}_1^{{\mathbb {F}}_{q_l}}),h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) = 0 \\ {}&=t_{k-1} (h_1({\varvec{x}}_1),\dots ,h_{l-1}({\varvec{x}}_{l-1}),{\varvec{0}}_{{\mathbb {F}}^{k-1}_{q_l}},h_{l+1}({\varvec{x}}_{l+1}),\dots ,h_m({\varvec{x}}_{m})) = 0, \end{aligned}

for all $$h_i \in P_i^{[k]}$$ with $$i \in [m]\backslash \{l\}$$, for all $$l \le m$$, $$\lambda _l \in {\mathbb {F}}_{q_l}$$, $${\varvec{x}}_i \in {\mathbb {F}}^k_{q_i}$$, and $$h_{l} \in R^{[k]}_l$$, since $$t_{k-1}$$ is 0-absorbing in [n]. Thus we can observe that:

\begin{aligned} \begin{aligned}&r_k(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}},\dots , \lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}})\\&\quad =\sum _{h_i \in P_i^{[k]}} (-1)^{\sum _{i=1}^m \text {c}^{[k]}(h_i)}t_{k-1} (h_1(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}}),\dots , h_m(\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}}))\\&\quad = \sum _{h_i \in T_i^{[k]}} (-1)^{\sum _{i=1}^m \text {c}^{[k]}(h_i)}t_{k-1} (h_1(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}}),\dots , h_m(\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}}))\\&\quad = \sum _{h_i \in T_i^{[k]}} t_{k-1} (h_1(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^k_{q_1}}),\dots , h_m(\lambda _m{\varvec{e}}_1^{{\mathbb {F}}^k_{q_m}}))\\&\quad = \sum _{h_i \in T_i^{[k]}} t_{k-1} (\lambda _1{\varvec{e}}_1^{{\mathbb {F}}_{q_1}^{k-1}},\dots , \lambda _m{\varvec{e}}_1^{{\mathbb {F}}_{q_m}^{k-1}})\\&\quad =\prod _{i=1}^mq_i\cdot t_{k-1} (\lambda _1{\varvec{e}}_1^{{\mathbb {F}}_{q_1}^{k-1}},\dots , \lambda _m{\varvec{e}}_1^{{\mathbb {F}}_{q_m}^{k-1}})\\&\quad = \prod _{i=1}^mq_i\cdot t_k(\lambda _1{\varvec{e}}_1^{{\mathbb {F}}^{k}_{q_1}},\dots , \lambda _m{\varvec{e}}_1^{{\mathbb {F}}^{k}_{q_m}}). \end{aligned} \end{aligned}

Thus $$r_k = \prod _{i =1}^mq_i \cdot t_{k}$$.

Because of (3.1) and the inductive hypothesis, we have $$r_k \in \mathrm {Clg}(\{t_{k-1}\})$$ $$\subseteq \mathrm {Clg}(C^{})$$. Thus $$\prod _{i = 1}^mq_it_{k} \in \mathrm {Clg}(C^{})$$. Since $$\prod _{i = 1}^mq_i \not = 0$$ modulo p we have that $$t_{k} \in \mathrm {Clg}(C^{})$$ and this concludes the induction proof. $$\square$$

### Lemma 3.4

Let $$q_1,\dots ,q_m$$ and p be powers of primes with $$\prod _{i=1}^mq_i$$ and p coprime and let $${\mathbb K}= \prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Let C be an $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoid, let $$I \subseteq [m]$$ and let $$f \in C$$ be 0-absorbing in I. Then $$f \in \mathrm {Clg}(C^{})$$.

### Proof

Let $${\mathbb K}_1 = \prod _{i \in I}{\mathbb {F}}_{q_i}$$ and let $$C_1 := \{g \mid \exists g' \in C :g'\mid _{{\mathbb K}_1} = g\}$$. By Lemma 3.2$$f \in \mathrm {Clg}(C^{})$$ if and only if $$f \mid _{{\mathbb K}_1} \in \mathrm {Clg}(C\mid _{{\mathbb K}_1}^{})$$ and we observe that $$f\mid _{{\mathbb K}_1}$$ is 0-absorbing in I . Thus without loss of generality we fix $$I = [m]$$. The strategy is to interpolate f in all the distinct products of lines of the form $$\{(\lambda _{1}{\varvec{b}}_{1},\dots ,\lambda _m{\varvec{b}}_{m}) \mid (\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}, {\varvec{b}}_i \in {\mathbb {F}}_{q_i}^n\backslash \{(0,\dots ,0)\}$$. To this end let $$R = \{L_j \mid 1 \le j \le \prod _{i = 1}^m(q_i^{n} - 1)/(q_i-1) = s\}$$ be the set of all s distinct products of lines of $$\prod _{i = 1}^m{\mathbb {F}}_{q_i}$$ and let $${\varvec{l}}_{(i,j)} \in \mathbb {F}_{q_i}^n$$ be such that $$({\varvec{l}}_{(1,j)},\dots ,{\varvec{l}}_{(m,j)})$$ generates the products of m lines $$L_j$$, for $$1 \le j \le s$$, $$1 \le i \le m$$. For all $$1 \le j \le s$$, let $$f_{L_j}:\prod _{i=1}^m\mathbb {F}_{q_i}^n \rightarrow \mathbb {F}_p$$ be defined by:

\begin{aligned} f_{L_j}(\lambda _1{\varvec{l}}_{(1,j)},\dots ,\lambda _m{\varvec{l}}_{(m,j)}) = f(\lambda _1{\varvec{l}}_{(1,j)},\dots ,\lambda _m{\varvec{l}}_{(m,j)}) \end{aligned}

for $$(\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}$$ and $$f_{L_j}({\varvec{x}}) = 0$$ for all $${\varvec{x}} \in \prod _{i=1}^m\mathbb {F}^n_{q_i}\backslash \{(\lambda _1{\varvec{l}}_{(1,j)},$$ $$\dots ,\lambda _m{\varvec{l}}_{(m,j)}) \mid (\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}\}$$.

Claim 1: $${f= \sum _{j = 1}^{s} f_{L_j}}$$.

Since f is 0-absorbing in [m] we have that:

\begin{aligned} \sum _{j = 1}^{s} f_{L_j}(\lambda _1{\varvec{l}}_{(1,z)},\dots ,\lambda _m{\varvec{l}}_{(m,z)})&= f_{L_z}(\lambda _1{\varvec{l}}_{(1,z)},\dots ,\lambda _m{\varvec{l}}_{(m,z)}) \\ {}&=f(\lambda _1{\varvec{l}}_{(1,z)},\dots ,\lambda _m{\varvec{l}}_{(m,z)}) \end{aligned}

for all $$(\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}$$ and $$z \in [s]$$, since for all $$j_1,j_2 \in [s]$$, $$L_{j_1}$$ and $$L_{j_2}$$ intersect only in points of the form $$({\varvec{x}}_1,\dots ,{\varvec{x}}_m)$$ $$\in \prod _{i = 1}^m{\mathbb {F}}_{q_i}^n$$ with $${\varvec{x}}_i = (0,\dots ,0)$$ for some $$i \in [m]$$.

Let $$1 \le j \le s$$ and let $$g:\prod _{i=1}^m\mathbb {F}_{q_i} \rightarrow \mathbb {F}_p$$ be a function such that:

\begin{aligned} f_{L_j}(\lambda _1{\varvec{l}}_{(1,j)},\dots ,\lambda _m{\varvec{l}}_{(m,j)}) = g(\lambda _1,\dots ,\lambda _m) = f(\lambda _1{\varvec{l}}_{(1,j)},\dots ,\lambda _m{\varvec{l}}_{(m,j)}) \end{aligned}

for all $$(\lambda _1,\dots ,\lambda _m) \in \prod _{i = 1}^m{\mathbb {F}}_{q_i}$$. Then $$g \in C^{}$$.

Claim 2: $$f_{L_j} \in \mathrm {Clg}(C^{})$$ for all $$L_j \in R$$.

We can observe that $$f_{L_j}(\lambda _1{\varvec{l}}_{(1,j)},\dots , \lambda _m{\varvec{l}}_{(m,j)}) = g(\lambda _1,\dots ,\lambda _m)$$ for all $$(\lambda _1,\dots ,$$ $$\lambda _m) \in \prod _{i=1}^m\mathbb {F}_{q_i}$$, and $$f_{L_j}({\varvec{x}}_1,\dots ,{\varvec{x}}_m) = 0$$ for all $$({\varvec{x}}_1,\dots ,{\varvec{x}}_m) \in \prod _{i=1}^m\mathbb {F}_{q_i}^n \backslash \{(\lambda _1{\varvec{l}}_{(1,j)},$$ $$\dots , \lambda _m{\varvec{l}}_{(m,j)})\mid (\lambda _1,\dots ,\lambda _m) \in \prod _{i=1}^m\mathbb {F}_{q_i} \}$$. Furthermore, g is 0-absorbing in [m]. By Lemmata 3.1 and 3.3, $$f_{L_j} \in \mathrm {Clg}(C^{})$$, which concludes the proof of $$f \in \mathrm {Clg}(C^{})$$. $$\square$$

We are now ready to prove that an $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoid C is generated by its unary part.

### Theorem 3.5

Let $$q_1,\dots ,q_m$$ and p be powers of primes with $$\prod _{i=1}^mq_i$$ and p coprime and let $${\mathbb K}= \prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Then every $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoid C is generated by its unary functions. Thus $$C = \mathrm {Clg}(C^{})$$.

### Proof

The inclusion $$\supseteq$$ is obvious. For the other inclusion let C be an $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoid and let f be an n-ary function in C. By Lemma 2.1 with $$A_i = {\mathbb {F}}_{q_i}^n$$ and $$0_{A_i} = (0_{{\mathbb {F}}_{q_i}},\dots ,0_{{\mathbb {F}}_{q_i}})$$, f can be split in the sum of n-ary functions $$\sum _{I \subseteq [m]}f_I$$ such that for each $$I \subseteq [m]$$, $$f_I$$ is 0-absorbing in I. Furthermore, each function $$f_I$$ lies in the subgroup $$\mathbf {F}$$ of $$\mathbb {F}_p^{{\mathbb K}^n}$$ that is generated by the functions $${\varvec{x}} \rightarrow f({\varvec{x}}^{(I)})$$, where $$I\subseteq [m]$$ and thus each summand $$f_I$$ is in C. By Lemma 3.4 each of these summands is in $$\mathrm {Clg}(C^{})$$. and thus $$f \in \mathrm {Clg}(C^{})$$. $$\square$$

The next corollary of Theorem 3.5 and the following theorem tell us that there are only finitely many distinct $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoids.

### Corollary 3.6

Let $$q_1,\dots ,q_m$$ and p be powers of primes with $$\prod _{i=1}^mq_i$$ and p coprime and let $${\mathbb K}=\prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Let C and D be two $$({\mathbb {F}}_p,{\mathbb K})$$-linearly closed clonoids. Then $$C = D$$ if and only if $$C^{} = D^{}$$.

Let us denote by $$\mathcal {L}({\mathbb {F}},{\mathbb K})$$ the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids. We define the functions $$\rho _i:\mathcal {L}({\mathbb {F}},{\mathbb K}) \rightarrow \mathcal {L}({\mathbb {F}}_{p_i},{\mathbb K})$$ such that for all $$1 \le i \le s$$ and for all $$C \in \mathcal {L}({\mathbb {F}},{\mathbb K})$$:

\begin{aligned} \rho _i(C) := \{f \mid \text { there exists } g \in C :f = \pi _i^{{\mathbb {F}}} \circ g\}, \end{aligned}
(3.2)

where with $$\pi _i^{{\mathbb {F}}}$$ we denote the projection over the i-th component of the product of fields $${\mathbb {F}}$$.

### Theorem 3.7

Let $$\mathbb {F} = \prod _{i =1}^s{\mathbb {F}}_{p_i}$$ and $$\mathbb {K} = \prod _{i =1}^m{\mathbb {F}}_{q_i}$$ be products of finite fields. Then the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids is isomorphic to the direct product of the lattices of all $$({\mathbb {F}}_{p_i},{\mathbb K})$$-linearly closed clonoids with $$1 \le i \le s$$.

### Proof

Let us define the function $$\rho :\mathcal {L}({\mathbb {F}},{\mathbb K}) \rightarrow \prod _{i=1}^s\mathcal {L}({\mathbb {F}}_{p_i},{\mathbb K})$$ such that $$\rho (C) := (\rho _1(C),\dots ,\rho _s(C))$$. Clearly $$\rho$$ is well-defined. Conversely, let $$\psi :$$ $$\prod _{i=1}^s\mathcal {L}$$ $$({\mathbb {F}}_{p_i},{\mathbb K}) \rightarrow \mathcal {L}({\mathbb {F}},{\mathbb K})$$ be defined by:

\begin{aligned} \psi (C_1,\dots ,C_s) = \bigcup _{k \in {\mathbb {N}}}\{f :{\varvec{x}} \mapsto (f_1({\varvec{x}}),\dots ,f_s({\varvec{x}}))\mid f_1\in C_1^{[k]}, \dots , f_s\in C_s^{[k]}\}. \end{aligned}

From this definition it is clear that $$\psi$$ is well defined. Furthermore,

\begin{aligned} \rho \psi (C_1,\dots ,C_s) = (C_1,\dots ,C_s) \end{aligned}

and $$C\subseteq \psi \rho (C)$$ for all $$(C_1,\dots ,C_s) \in \prod _{i=1}^s\mathcal {L}({\mathbb {F}}_{p_i},{\mathbb K})$$ and $$C \in \mathcal {L}({\mathbb {F}},{\mathbb K})$$.

To prove that $$C \supseteq \psi \rho (C)$$ let $$f\in \psi \rho (C)$$. Then there exists $$(f_1,\dots ,f_s) \in \rho (C)$$ such that $$f_i = \pi _i^{{\mathbb {F}}} \circ f$$ for all $$i \in [s]$$. By definition of $$\rho$$, there exist $$g_1,\dots ,g_s \in C$$ such that $$f_i = \pi _i^{{\mathbb {F}}} \circ g_i$$ for all $$i \in [s]$$. Let $${\varvec{a}}_i \in {\mathbb {F}}$$ be such that $${\varvec{a}}_i(j) = 0$$ for $$j \not = i$$ and $${\varvec{a}}_i(i) = 1$$. It is easy to check that the function $$f =\sum _{i=1}^s {\varvec{a}}_ig_i =f$$ and thus $$f \in C$$.

Hence $$\rho$$ is a lattice isomorphism. $$\square$$

### Proof of Theorem 1.2

Let $${\mathbb {F}}= \prod _{i=1}^s{\mathbb {F}}_{p_i}$$ and $${\mathbb K}= \prod _{i=1}^m{\mathbb {F}}_{q_i}$$ be products of finite with $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ coprime. Let $$C \in \mathcal {L}({\mathbb {F}},{\mathbb K})$$. By Theorem 3.7C is uniquely determined by its projections $$C_1 = \rho _1(C),\dots , C_s = \rho _s(C)$$ where $$\rho _i$$ is defined in (3.2). By Theorem 3.5 we have that for all $$i \in [s]$$ every $$({\mathbb {F}}_{p_i},{\mathbb K})$$-linearly closed clonoid $$C_i$$ is uniquely determined by its unary part $$C_i^{}$$. Thus C is uniquely determined by its unary part $$C^{}$$. $$\square$$

## The lattice of all $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoids

In this section we characterize the structure of the lattice $$\mathcal {L}({\mathbb {F}},{\mathbb K})$$ of all $$(\mathbb {F},\mathbb {K})$$-linearly closed clonoids through a description of their unary parts. Let $$\mathbb {F} = \prod _{i=1}^s{\mathbb {F}}_{p_i}$$ and $$\mathbb {K} = \prod _{j=1}^m{\mathbb {F}}_{q_j}$$ be products of finite fields such that $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime numbers.

We will see that $$\mathcal {L}({\mathbb {F}},{\mathbb K})$$ is isomorphic to the product of the lattices of all $${\mathbb {F}}_{p_i}[{\mathbb K}^{\times }]$$-submodules of $$\mathbb {F}_{p_i}^{{\mathbb K}}$$, where $${\mathbb K}^{\times }$$ is the multiplicative monoid of $${\mathbb K}= \prod _{i=1}^m {\mathbb {F}}_{q_i}$$. In order to characterize the lattice of all $$({\mathbb {F}}, {\mathbb K})$$-linearly closed clonoids we need the definition of monoid ring.

### Definition 4.1

Let $$\langle M, \cdot \rangle$$ be a commutative monoid and let $$\langle R, +, \odot \rangle$$ be a commutative ring with identity. Let

\begin{aligned} S := \{f \in R^M \mid f(a) \not = 0 \text { for only finitely many } a \in M\}. \end{aligned}

We define the monoid ring of M over R as the ring $$(S, +, \cdot )$$, where $$+$$ is the point-wise addition of functions and the multiplication is defined as $$f\cdot g : R \rightarrow M$$ which maps each $$m \in M$$ into:

\begin{aligned} \sum _{m_1,m_2 \in M,m_1m_2=m}f(m_1)g(m_2). \end{aligned}

We denote by R[M] the monoid ring of M over R. Following the notation in  for all $$a \in A$$ we define $$\tau _a$$ to be the element of $$R^M$$ with $$\tau _a(a) = 1$$ and $$\tau _a (M\backslash \{a\}) = \{0\}$$. We observe that for all $$f \in R[M]$$ there is an $${\varvec{r}} \in R^M$$ such that $$f = \sum _{a\in M} r_a\tau _a$$ and that we can multiply such expressions with the rule $$\tau _a \cdot \tau _b = \tau _{ab }$$.

### Definition 4.2

Let M be a commutative monoid and let R be a commutative ring. We denote by $$R^M$$ the R[M]-module with the action $$*$$ defined by:

\begin{aligned} (\tau _{a} *f)(x) = f(ax), \end{aligned}

for all $$a \in M$$ and $$f \in R^M$$.

Let $${\mathbb K}^{\times }$$ be the multiplicative monoid of $${\mathbb K}= \prod _{i=1}^m {\mathbb {F}}_{q_i}$$. We can observe that V is an $${\mathbb {F}}_p[{\mathbb K}^{\times }]$$-submodule of $$\mathbb {F}_p^{{\mathbb K}}$$ if and only if it is a subspace of $$\mathbb {F}_p^{{\mathbb K}}$$ satisfying

\begin{aligned} (x_1,\dots ,x_m) \mapsto f(a_1x_1,\dots ,a_mx_m) \in V, \end{aligned}
(4.1)

for all $$f \in V$$ and $$(a_1,\dots ,a_m) \in \prod _{i=1}^m{\mathbb {F}}_{q_i}$$. Clearly the following lemma holds.

### Lemma 4.3

Let $$p, q_1,\dots q_m$$ be powers of primes and let $${\mathbb K}= \prod _{i =1}^m {\mathbb {F}}_{q_i}$$. Let $$V \subseteq \mathbb {F}_p^{{\mathbb K}}$$. Then V is the unary part of an $$(\mathbb {F}_p , {\mathbb K})$$-linearly closed clonoid if and only if is an $${\mathbb {F}}_p[{\mathbb K}^{\times }]$$-submodule of $$\mathbb {F}_p^{{\mathbb K}}$$.

Together with Theorem 3.7 this immediately yields the following.

### Corollary 4.4

Let $${\mathbb K}= \prod _{i =1}^m {\mathbb {F}}_{q_i}$$ and $${\mathbb {F}}= \prod _{i =1}^s {\mathbb {F}}_{p_i}$$ be products of finite fields such that $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime. Then the function $$\pi ^{}$$ that sends an $$({\mathbb {F}}, {\mathbb K})$$-linearly closed clonoid to its unary part is an isomorphism between the lattice of all $$({\mathbb {F}}, {\mathbb K})$$-linearly closed clonoids and the direct product of the lattices of all $${\mathbb {F}}_{p_i}[{\mathbb K}^{\times }]$$-submodules of $$\mathbb {F}_{p_i}^{{\mathbb K}}$$.

With the same strategy of [6, Lemma 5.6] we obtain the following Lemma.

### Lemma 4.5

Let $${\mathbb K}= \prod _{i =1}^m {\mathbb {F}}_{q_i}$$ and $${\mathbb {F}}= \prod _{i =1}^s {\mathbb {F}}_{p_i}$$ be products of finite fields such that $$|{\mathbb K}|$$ and $$|{\mathbb {F}}|$$ are coprime. Then every $$({\mathbb {F}}, {\mathbb K})$$-linearly closed clonoid is finitely related.

The next step is to characterize the lattice of all $${\mathbb {F}}_p[{\mathbb K}^{\times }]$$-submodules of $$\mathbb {F}_p^{{\mathbb K}}$$. To this end we observe that V is an $${\mathbb {F}}_p[{\mathbb K}^{\times }]$$-submodule of $$\mathbb {F}_p^{{\mathbb K}}$$ if and only if is a subspace of $$\mathbb {F}_p^{{\mathbb K}}$$ satisfying (4.1).

We can provide a bound for the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids given by the number of subspaces of $${\mathbb {F}}_{p_i}^{{\mathbb K}}$$.

### Remark 4.6

It is a well-known fact in linear algebra that the number of k-dimensional subspaces of an n-dimensional vector space V over a finite field $${\mathbb {F}}_q$$ is the Gaussian binomial coefficient:

\begin{aligned} {{n}\atopwithdelims (){k}}_q = \prod _{i=1}^k \frac{q^{n-k+i}-1}{q^i-1}. \end{aligned}
(4.2)

From this remark we directly obtain the bound of Theorem 1.3. In order to determine the exact cardinality of the lattice of all $$({\mathbb {F}},{\mathbb K})$$-linearly closed clonoids we have to deal with the problem to find the $${\mathbb {F}}_p[{\mathbb K}^{\times }]$$-submodules of $$\mathbb {F}_p^{{\mathbb K}}$$. We will not study this problem here because we think that this is an interesting problem that deserves an own research.