Let \(\kappa \) be a cardinal number. We say that a variety \(\mathcal {V}\) is residually\(\kappa \)-bounded if every carrier of a subdirectly irreducible algebra in \(\mathcal {V}\) has cardinality smaller than \(\kappa \). If \(\kappa \) is finite, by Proposition 1 Point 3, it is equivalent to say that \(\mathcal {V}\) is generated, as a quasivariety, by its members with the carriers of cardinality less than \(\kappa \). (For infinite \(\kappa \) it is not true. Indeed, every quasivariety is generated by its finitely generated members. Their carriers have cardinalities at most \(\lambda =\aleph _0+\)the cardinality of the language. Hence, as a counterexample one may take any variety which is not \(\lambda ^+\)-bounded, where \(\lambda ^+\) is the successor cardinal for \(\lambda \) [38].)
Proposition 8
[1, Theorem 2.9]. Let \(\mathbf {A}\) be a finite algebra and \(\mathcal {V}={{\textsf {V}}}(\mathbf {A})\). If \(\mathcal {V}\) is SC, then \(\mathcal {V}\) is residually \((|A|+1)\)-bounded.
Proof
By Proposition 2 Point 2, \(\mathbf {F}_\mathcal {V}\in {\textsf {Q}}(\mathbf {A})\). By SC of \(\mathcal {V}\), \(\mathcal {V}=\textsf {Q}(\mathbf {F}_\mathcal {V})\). Thus, \(\mathcal {V}=\textsf {Q}(\mathbf {A})\) and, by Proposition 1 Point 5, \(\mathcal {V}_{SI}\subseteq \textsf {S}(\mathbf {A})\). \(\square \)
Lemma 9
Let \(\mathcal {G}\) be a class of algebras, \(\mathcal {V}={{\textsf {V}}}(\mathcal {G})\) and \(\mathbf {M}\) be a subalgebra of \(\mathbf {F}_\mathcal {V}(1)\). If \(\mathcal {V}\) is ASC, then \({\textsf {Q}}(\mathbf {F}_\mathcal {V})={\textsf {Q}}(\{\mathbf {B}\times \mathbf {M}:\mathbf {B}\in \mathcal {G}\})\).
Outline of proof
The inclusion \(\supseteq \) follows from [15, Corollary 3.2], see also Theorem 7 and the following remark. For the opposite inclusion, observe that \({\mathcal {G}}\subseteq \textsf {H}(\{\mathbf {B}\times \mathbf {M}:\mathbf {B}\in \mathcal {G}\})\). Hence, by Proposition 1 Point 1, we have \(\mathcal {V}={{\textsf {V}}}(\{\mathbf {B}\times \mathbf {M}: \mathbf {B}\in {\mathcal {G}}\})\). This, by Proposition 2 Point 2, yields that \(\mathbf {F}_\mathcal {V}\in {\textsf {Q}}(\{\mathbf {B}\times \mathbf {M}: \mathbf {B}\in {\mathcal {G}}\})\). Also, one may extract the proof from the proof of [30, Theorem 10] together with Proposition 2 Point 2.
\(\square \)
Our main contribution in this paper is the following fact.
Theorem 10
Let \(\mathbf {A}\) be a finite n-element algebra and \(\mathcal {V}={{\textsf {V}}}(\mathbf {A})\). If \(\mathcal {V}\) is ASC, then \(\mathcal {V}\) is residually \(\left( n^{(n+1)\cdot n^{2\cdot n}}+1\right) \)-bounded. If there is a constant in the language, then \(\mathcal {V}\) is residually \(\left( n^{2\cdot n^2}+1\right) \)-bounded.
Proof
Let \(\mathbf {M}\) be a subalgebra of \(\mathbf {F}_\mathcal {V}(1)\). Let us use Lemma 9 two times: when \(\mathcal {G}=\{\mathbf {A}\}\) and when \(\mathcal {G}=\mathcal {V}_{SI}\). The second case is justified by Proposition 1 Point 3. We obtain that
Let us now consider an algebra \(\mathbf {S}\in \mathcal {V}_{SI}\). Our aim is to find a bound on the cardinality of S. Assume that the least nontrivial congruence on \(\mathbf {S}\) is generated by a pair (r, s). For \(a,b\in M\) let \(\theta _{a,b}\) be a maximal \({\textsf {Q}}(\mathbf {A}\times \mathbf {M})\)-congruence on \(\mathbf {S}\times \mathbf {M}\) such \(((r,a),(s,b))\not \in \theta _{a,b}\). The existence of \(\theta _{a,b}\) follows from Zorn’s Lemma, the fact that a union of a chain of \({\textsf {Q}}(\mathbf {A}\times \mathbf {M})\)-congruences is a \({\textsf {Q}}(\mathbf {A}\times \mathbf {M})\)-congruence and, most importantly, the fact that there exists at least one \({\textsf {Q}}(\mathbf {A}\times \mathbf {M})\)-congruence on \(\mathbf {S}\times \mathbf {M}\) not containing ((r, a), (s, b)), namely the identity relation. This follows from (\(*\)). Let
$$\begin{aligned} \pi =\{((p,a),(p,b)) : p\in S \text { and } a,b\in M\}. \end{aligned}$$
The relation \(\pi \) is the kernel of the projection on the first coordinate of \(\mathbf {S}\times \mathbf {M}\).
We claim that
$$\begin{aligned} \bigcap _{a,b\in M} \theta _{a,b}\subseteq \pi . \end{aligned}$$
Indeed, assume that \(((p,c),(q,d))\in \theta _{a,b}\) for some distinct \(p,q\in S\). Then (r, s) is in the congruence of \(\mathbf {S}\) generated by (p, q). Let us consider Mal’cev’s scheme witnessing it [5, Theorem V.3.3]. It is given by terms \(t_0(x,\bar{y}),\ldots ,t_l(x,\bar{y})\), elements \(u_0,v_0,\ldots , u_l,v_l\in \{p,q\}\), and a tuple \(\bar{w}\) of elements of S such that in \(\mathbf {S}\) we have
$$\begin{aligned} r=t_0(u_0,\bar{w})\,\quad s=t_l(v_l,\bar{w}),\quad t_i(v_i,\bar{w})=t_{i+1}(u_{i+1},\bar{w})\quad \text { for all }i<l. \end{aligned}$$
Let \(\bar{g}\) be an arbitrary tuple of elements of M of the same lenght as \(\bar{w}\). Let
$$\begin{aligned} e= {\left\{ \begin{array}{ll} t_0(c,\bar{g})&{}\text { if } u_0=p\\ t_0(d,\bar{g})&{}\text { if } u_0=q \end{array}\right. } ,\quad f= {\left\{ \begin{array}{ll} t_l(c,\bar{g})&{}\text { if } v_l=p\\ t_l(d,\bar{g})&{}\text { if } v_l=q \end{array}\right. }. \end{aligned}$$
Then, ((r, e), (s, f)) is in the congruence on \(\mathbf {S}\times \mathbf {M}\) generated by ((p, c), (q, d)). Since \(((r,e),(s,f))\not \in \theta _{e,f}\), we have \(((p,c),(q,d))\not \in \theta _{e,f}\). This establishes the claim.
We conclude that there is a surjective homomorphism
$$\begin{aligned} \mathbf {S}\times \mathbf {M}/\bigcap _{a,b\in M}\theta _{a,b} \rightarrow \mathbf {S}. \end{aligned}$$
This yields that
$$\begin{aligned} |S|\le |S\times M/\bigcap _{a,b\in M}\theta _{a,b}|. \end{aligned}$$
Moreover, \(\mathbf {S}\times \mathbf {M}/\bigcap \theta _{a,b}\) embeds into \(\prod \mathbf {S}\times \mathbf {M}/\theta _{a,b}\). Thus
$$\begin{aligned} |S\times M/\bigcap _{a,b\in M}\theta _{a,b}| \le \prod _{a,b\in M} |S\times M/\theta _{a,b\in M}|. \end{aligned}$$
Further, Since every algebra \(\mathbf {S}\times \mathbf {M}/\theta _{a,b}\) is \({\textsf {Q}}(\mathbf {A}\times \mathbf {M})\)-subdirectly irreducible, by Proposition 1 Point 5, \(\mathbf {S}\times \mathbf {M}/\theta _{a,b}\) embeds into \(\mathbf {A}\times \mathbf {M}\). In particular,
$$\begin{aligned} |S\times M/\theta _{a,b}|\le |A|\cdot |M|. \end{aligned}$$
Combining all these facts, we obtain that
$$\begin{aligned} |S|\le (|A|\cdot |M|)^{|M|^2}= |A|^{|M|^2}\cdot |M|^{|M|^2} \end{aligned}$$
If we have a constant in the language, we may take \(\mathbf {M}=\mathbf {F}_\mathcal {V}(0)\). Then, by Proposition 2 Point 2, \(|M|\le |A|=n\) and
$$\begin{aligned} |S|\le n^{2\cdot n^2}. \end{aligned}$$
In general, as \(\mathbf {M}\) we may take a subalgebra of \(\mathbf {F}_\mathcal {V}(1)\). Then, also by Proposition 2 Point 2, \(|M|\le n^{n}\). Thus
$$\begin{aligned} |S|\le n^{(n+1)\cdot n^{2\cdot n}}. \end{aligned}$$
\(\square \)