1 Introduction and main results

Let \(X\) be an arbitrary changing alphabet, i.e., an infinite sequence \((X_i)_{i\ge 1}=(X_1, X_2, \ldots )\) of non-empty finite sets (sets of letters) and let \(X^*\) be the rooted tree defined by \(X\). The tree \(X^*\) consists of finite words which are sequences from finite cartesian products of the form \(X^t:=X_1\times \cdots \times X_t (t\ge 1)\) including the empty sequence as a root. The automorphism group \(Aut(X^*)\) is an example of a topological group equipped with its natural profinite topology induced by a metric in which two elements \(f, g\in Aut(X^*)\) are close if they act in the same way on the set \(X^t\) for a large value of \(t\) (see Sect. 2). Let \(H_i (i\ge 1)\) be a transitive permutation group on the set \(X_i\). In the present paper, we consider the corresponding inverse limit

$$\begin{aligned} W_\infty =\ldots \wr H_2\wr H_1 \end{aligned}$$
(1)

of iterated permutational wreath products of the groups \(H_i\) as a closed subgroup in the group \(Aut(X^*)\) which consists of all automorphisms \(g\) such that for every vertex \(w\in X^*\), the restriction of \(g\) to the subtree \(\{wx:x\in X_{|w|+1}\}\subseteq X^*\) (the so-called label of \(g\) at the vertex \(w\), denoted further by \(g(w)\)) coincides with some element from \(H_{|w|+1}\), where \(|w|\) denotes the length of a word \(w\). According to [22] if each \(H_i\) is a non-Abelian simple transitive group, then \(W_\infty \) is topologically 2-generated. The methods used in [22] are of probabilistic nature and do not provide any explicit construction of a finite topological generating set for \(W_\infty \). On the other hand, there are such constructions in the particular cases of the groups \(H_i\). They turned out to be fruitful in providing interesting properties of the groups generated by these sets, or the corresponding inverse limits. For example, in the case when each \(H_i (i\ge 1)\) is the alternating group \(A_{n_i}\) of degree \(n_i\ge 5\) with its natural action on the set \(X_i=\{1,2, \ldots , n_i\}\), a finite topological generating set was constructed by Bhattacharjee [4] to show that the corresponding inverse limit \(\ldots \wr A_{n_2}\wr A_{n_1}\) is generated by 2 elements even with positive probability.

Definition 1

A generating set of a group \(G\) (topological generating set if \(G\) is a closed subgroup of a topological group) is called minimal if it contains exactly \(d(G)\) elements, where \(d(G)\) denotes the (topological) rank of \(G\), i.e., the minimal number of elements in a (topological) generating set.

The generating set from [4] is minimal; however, its inductive description, which is based on some specific generators of alternating groups \(A_{n_i}\) depending on the divisibility by 4 of the degree \(n_i\), seems to be complex and difficult in handling. More convenient to study is the recent example due to Brieussel [6] providing a minimal topological generating set for the group \(\ldots \wr A_{n_2}\wr A_{n_1}\), where the two generators are of finite order and generate a group of intermediate growth. This construction originates from the concept of Wilson [26] of the so-called eligible pairs of elements in the alternating groups \(A_{n_i}\), and it assumes that \(n_i\ge 29\) for every \(i\ge 1\). In [31], we constructed a minimal topological generating set for infinite wreath powers \(\ldots \wr H\wr H\), where \(H\) is a finite transitive perfect group generated by 2 elements one of which has a fixed point and the other decomposes into disjoint cycles of the same length. In [31], we realized the generating set by a 3-state Mealy automaton and showed that we can take as \(H\) the alternating group of degree \(n\ge 5\) or the projective special linear group \(PSL_2(p)\) with any prime \(p>3\). In some particular cases of the groups \(H_i\), certain finite topological generating sets for the inverse limit (1) can also be obtained by using the notions of rooted and directed automorphisms. These generating sets are not minimal, but they provide known examples of finitely generated branch groups—the concept introduced by Grigorchuk in [13] and used by Bartholdi [1], Bondarenko [5], Gupta and Sidki [15], Segal [23], and others to discover extraordinary properties of these groups.

In this paper, we introduce a different construction of automorphisms, which provides minimal topological generating sets for inverse limits of the form (1). Our construction, in contrast to the above mentioned, is universal in the sense that it works with an arbitrary sequence \((H_i)_{i\ge 1}\) of non-Abelian finite simple transitive permutation groups. We base it on the observation that for each \(i\ge 1\), there is a triple

$$\begin{aligned} (\alpha _i, \beta _i, x_i)\in H_i\times H_i\times X_i \end{aligned}$$

(further called a hooked triple of \(H_i\)) such that the following two conditions hold:

  • the permutations \(\alpha _i, \beta _i\) generate the group \(H_i\),

  • there are two non-trivial cycles in decompositions of \(\alpha _i\) and \(\beta _i\) into the products of disjoint cycles, the first cycle from the decomposition of \(\alpha _i\) and the second cycle from the decomposition of \(\beta _i\), such that \(x_i\) is the only element which belongs to the both supports of these cycles.

If the number of letters in the set \(X_i\) is even, then the existence of such a triple directly follows from the result settled definitely by Stein [24] and concerning the so-called \(1\frac{1}{2}\)-generation of non-Abelian finite simple groups. If \(|X_i|\) is odd, we use Feit–Jones [11, 17] results classifying all finite primitive permutation groups containing a regular cyclic subgroup. Next, we define two automorphisms \(a, b\in Aut(X^*)\) such that the labels of both \(a\) and \(b\) at any word \(w\in X^*\) are trivial, unless \(w\) is a beginning (maybe empty) of the infinite sequence \(x_1x_2\ldots \in \partial X^*\) of letters from the above hooked triples and in this case we take: \(a(w)=\alpha _{|w|+1}, b(w)=\beta _{|w|+1}\).

Further, we find it convenient to use the combinatorial language of a time-varying automaton and define the group generated by the set \(\{a, b\}\) as an automaton group generated by a 3-state time-varying automaton \({\mathcal {A}}\) with the set

$$\begin{aligned} Q=\{a, b, id\} \end{aligned}$$
(2)

as a set of states, where \(id\) denotes the identity automorphism of the corresponding tree. We define the automaton \({\mathcal {A}}\) by the following system of wreath recursions of the so-called \(i\)-th transitions \(a_i, b_i (i\ge 1)\) of the states:

$$\begin{aligned} \left\{ \begin{array}{lll} a_i&{}=&{}(a_{i+1}, id, \ldots , id)\alpha _i,\\ b_i&{}=&{}(b_{i+1}, id, \ldots , id)\beta _i,\\ \end{array}\right. \;\;\;\;i\ge 1. \end{aligned}$$
(3)

In above equations, we assume an ordering of letters in the set \(X_i\) (\(i\ge 1\)) such that the letter \(x_i\) occurs in the first position. We obtain the following

Theorem 1

The inverse limit \(W_\infty =\ldots \wr H_2\wr H_1\) is topologically generated by the time-varying automaton \({\mathcal {A}}\) defined by (2)–(3).

In the regular case, we deal with an infinite wreath power \(\ldots \wr H\wr H\) of an arbitrary non-Abelian finite simple transitive permutation group \(H\) on a set \(X\) and we take an arbitrary hooked triple

$$\begin{aligned} (\alpha , \beta , x)\in H\times H\times X \end{aligned}$$

of the group \(H\). In this case, the above construction brings a Mealy automaton over the alphabet \(X\) with the set of states (2) and the following system of wreath recursions:

$$\begin{aligned} \left\{ \begin{array}{lll} a&{}=&{}(a, id, \ldots , id)\alpha ,\\ b&{}=&{}(b, id, \ldots , id)\beta .\\ \end{array}\right. \end{aligned}$$
(4)

Corollary 1

The infinite wreath power \(\ldots \wr H\wr H\) is topologically generated by the Mealy automaton with the set of states (2) and the wreath recursions (4).

Further, we derive some algebraic and geometric properties of the group generated by the time-varying automaton \({\mathcal {A}}\) defined by (2)–(3). In Sect. 3, we introduce the notion of a nearly finitary automorphism and a nearly finitary group of automorphisms. Namely, an automorphism \(g\in Aut(X^*)\) is called nearly finitary if there is a finite subset \(U\) (perhaps empty) of the boundary \(\partial X^*\) and a number \(n\) such that for every word \(w\in X^*\) of length \(|w|\ge n\) which is not a beginning of any sequence from \(U\) the label \(g(w)\) is trivial and for every sequence \(u\in U\) we have \(u^g\ne u\). We call a subgroup of \(Aut(X^*)\) in which every element is a nearly finitary automorphism a nearly finitary group. Every nearly finitary automorphism is an example of a bounded automorphism (for the definition of a bounded automorphism see [21]). Nekrashevych showed ([21], Theorem 4.4) that if the tree \(X^*\) has a bounded degree of vertices, then the group of bounded automorphisms does not contain non-Abelian free subgroups. In the present paper, by using the characterization of groups acting faithfully on rooted trees due to Nekrashevych ([21], Theorem 3.3), we show that in the case of nearly finitary groups, there is no need for the above restriction on the degree of vertices and we obtain the following:

Proposition 1

Let \(X=(X_i)_{i\ge 1}\) be an arbitrary changing alphabet (with a bounded or unbounded degree of vertices) and let \(G\le Aut(X^*)\) be a nearly finitary group. Then \(G\) does not contain non-Abelian free subgroups.

In Sect. 6, we introduce the notion of an automaton with a nucleus as well as the notion of an automaton with a path-active nucleus and show (Proposition 4) that every automaton with a path-active nucleus generates a nearly finitary group. In Proposition 8, we show that the automaton \({\mathcal {A}}\) is an automaton with a path-active nucleus, which gives the following result.

Theorem 2

The group \(G({\mathcal {A}})=\langle a, b\rangle \) generated by the automaton \({\mathcal {A}}\) does not contain non-Abelian free subgroups.

On the other hand, we see that the semigroup generated by the states \(a, b\in Q\) of the automaton \({\mathcal {A}}\) is free (Proposition 9).

In Sect. 5, we introduce the notion of a disappearing group word of a time-varying automaton \(A\) and the notion of the depth of a disappearing group word. Every disappearing group word defines the neutral element in the group \(G(A)\) generated by the automaton \(A\). We consider the case when the set of disappearing group words coincides with the set of all group words defining the neutral element. In this case, we show that if the depths of disappearing group words are not uniformly bounded, then the group \(G(A)\) is not finitely presented. The automaton \({\mathcal {A}}\), as we show, satisfies both these conditions, and hence, we obtain the following

Theorem 3

The group \(G({\mathcal {A}})\) is not finitely presented.

The case when every group word defining the neutral elemental is a disappearing group word was also studied by Erschler [10], where the author restricted the study to a fixed alphabet and called the corresponding groups as piecewise automatically presented groups. In [10], A. Erschler showed that if such a group satisfies the property T of Kazhdan, then it must be finite and if this is an amenable finitely presented group, then it must be virtually Abelian.

In the present paper, we also derive some geometric properties of the group \(G({\mathcal {A}})\) related to fractalness, branches and contraction. Namely, in Sect. 4, we introduce the notion of a self-replicating time-varying automaton as well as the notion of a branching automaton \(A\) over an infinite sequence \((K_i)_{i\ge 1}\) of subgroups \(K_i\le G(A_i)\), where \(G(A_i)\) is the group generated by the \(i\)-th transition of \(A\). These notions constitute some natural generalization of the concepts of a self-replicating group (sometimes called a fractal group) and a regular weakly branch group, which are well known in branch group theory and concern the so-called self-similar groups acting on regular rooted trees. Also, the item (i) in Definition 12 means that every Mealy automaton \(A\) which is an automaton with a nucleus generates a self-similar contracting group (for the corresponding definitions see, for example, [2] or [20]). We derive the following

Theorem 4

The automaton \({\mathcal {A}}\) is self-replicating and branching over the sequence \((K_i)_{i\ge 1}\) of commutator subgroups \(K_i=G({\mathcal {A}}_i)'\). In particular, the group \(G({\mathcal {A}})\) is weakly branch and in the regular case, this is a self-replicating contracting group which is regular weakly branch over the commutator subgroup.

Note that in the regular case, our construction gives a bounded Mealy automaton. Due to the main result in [3], the groups generated by bounded automata are amenable. Consequently, our construction gives the following

Corollary 2

The infinite permutational wreath power \(\ldots \wr H\wr H\) of an arbitrary non-Abelian finite simple transitive permutation group \(H\) on a set \(X\) contains a dense 2-generated not finitely presented amenable subgroup of exponential growth, which is generated by a 3-state Mealy automaton over the alphabet \(X\). The group generated by this automaton is self-replicating, contracting and regular weakly branch over the commutator subgroup.

2 The tree \(X^*\) and the group \(Aut(X^*)\)

The tree \(X^*\) of finite words over a changing alphabet \(X=(X_i)_{i\ge 1}\) consists of all finite sequences of the form \(x_1x_2\ldots x_t (t\ge 1)\), where \(x_i\in X_i\) for \(i=1,\ldots , t\). For a given \(t\ge 1\), we obtain the set \(X^t=\{w\in X^*:|w|=t\}\) of words of the length \(t\). We also include the empty word \(\epsilon \) of zero length. In the tree \(X^*\), two words are adjacent if and only if one of these words is obtained by adding a single letter to the end of the other word. Hence, we see that \(X^*\) is a spherically homogeneous rooted tree with the empty word \(\epsilon \) as a root and the set \(X^t\) as a \(t\)-th level (\(t\ge 0\)), i.e., the set of vertices with the distance \(t\) from the root. By \(X^*_{(i)} (i\ge 1)\), we denote the tree of finite words over the changing alphabet \(X_{(i)}=(X_{i+j})_{j\ge 0}\). In particular, we have: \(X^*=X^*_{(1)}\). If \(w\in X^*_{(i)}\) and \(v\in X^*_{(i+|w|)}\) for some \(i\ge 1\), then we denote by \(wv\) the concatenation of the words \(w, v\); obviously \(wv\in X^*_{(i)}\).

We will also consider the boundary \(X^\omega =\partial X^*\) of the tree \(X^*\), i.e., the set of all infinite paths starting at the root: \(X^\omega =\{x_1x_2\ldots :\;x_i\in X_i,\;i\ge 1\}\).

If \((X_i)_{i\ge 1}\) is a constant sequence, then we identify the changing alphabet \(X\) with the set \(X_1\) and call a fixed alphabet. In this case, we obtain the so-called regular rooted tree.

The group \(Aut(X^*)\) of automorphisms of the tree \(X^*\) is a subgroup in the symmetric group \(Sym(X^*)\) on the set of vertices which consists of all permutations that preserve the adjacency relation in the tree \(X^*\). Directly from this definition, one can see that given an automorphism \(g\in Aut(X^*)\) and a word \(w\in X^*\) with \(|w|=i (i\ge 0)\), there is a unique automorphism \(h\in Aut(X^*_{(i+1)})\) which satisfies: \((wv)^g=w^gv^h\) for every \(v\in X^*_{(i+1)}\). We denote this automorphism by \(g_{\{w\}}\) and call it the section of the automorphism \(g\) at the word \(w\). By \(g(w)\), we denote the restriction of the section \(g_{\{w\}}\) to the set of one-letter words and call this the label of the automorphism \(g\) at the word \(w\). Obviously, we have: \(g(w)\in Sym(X_{i+1})\). The label of the automorphism \(g\) at the empty word is called the root permutation of \(g\). Note that the labels \(g(w), w\in X^*\) of an automorphism \(g\in Aut(X^*)\) define \(g\) uniquely, as for any word \(w=x_1x_2\ldots x_t\) we have

$$\begin{aligned} w^g=x_1^{g(\epsilon )}x_2^{g(x_1)}x_3^{g(x_1x_2)}\ldots x_t^{g(x_1\ldots x_{t-1})}. \end{aligned}$$

Note that the above formulas also allow to define in a natural way the action of any \(g\in Aut(X^*)\) on the boundary \(X^\omega \).

For every \(i\ge 1\), let us fix an ordering of letters in the set \(X_i\):

$$\begin{aligned} X_i=\{x_{i,1}, x_{i,2}, \ldots , x_{i,m_i}\}. \end{aligned}$$

Then the mapping

$$\begin{aligned} g\mapsto \left( (g_{\{x_{i,1}\}},\ldots ,g_{\{x_{i,m_i}\}}), g(\epsilon )\right) , \end{aligned}$$
(5)

defines an isomorphism of the group \(Aut(X^*_{(i)})\) with the permutational wreath product \(Aut(X^*_{(i+1)})\wr Sym(X_i)\), which, by definition, is the semidirect product

$$\begin{aligned} Aut\left( X^*_{(i+1)}\right) ^{m_i}\rtimes Sym(X_i) \end{aligned}$$

with the action of the symmetric group \(Sym(X_i)\) on the corresponding direct power by permutation of the factors. From this isomorphism, we see that the group \(Aut(X^*)\) is a profinite group equipped with its natural profinite topology and it can be identified with the inverse limit of iterated permutational wreath products of symmetric groups on the corresponding sets of letters:

$$\begin{aligned} Aut(X^*)=\ldots \wr Sym(X_2)\wr Sym(X_1). \end{aligned}$$

In general, given a sequence \((H_i)_{i\ge 1}\) of permutation groups on the sets \(X_i\), we consider the closed subgroup \(W_\infty \) of \(Aut(X^*)\) that consists of all automorphisms \(g\in Aut(X^*)\) satisfying: \(g(w)\in H_{|w|+1}\) for all \(w\in X^*\); we identify \(W_\infty \) with the inverse limit of iterated permutational wreath products of the groups \(H_i\):

$$\begin{aligned} W_\infty =\ldots \wr H_2\wr H_1. \end{aligned}$$

We usually write the isomorphism (5) in the form

$$\begin{aligned} g=\left( g_{\{x_{i,1}\}},\ldots ,g_{\{x_{i,m_i}\}}\right) g(\epsilon ) \end{aligned}$$

and call this equality the wreath recursion of the automorphism \(g\). Note that if \(h\in Aut(X^*_{(i)})\) is an automorphism with the wreath recursion

$$\begin{aligned} h=\left( h_{\{x_{i,1}\}},\ldots ,h_{\{x_{i,m_i}\}}\right) h(\epsilon ), \end{aligned}$$

then the wreath recursion of the product \(gh\) satisfies:

$$\begin{aligned} gh=\left( g_{\{x_{i,1}\}}h_{\{z_{1}\}}, \ldots , g_{\{x_{i,m_i}\}}h_{\{z_{m_i}\}}\right) g(\epsilon )h(\epsilon ), \end{aligned}$$
(6)

where \(z_{r}=x_{i,r}^{g}\) for \(1\le r\le m_i\). In particular, for the wreath recursion of the inverse to \(g\), we have

$$\begin{aligned} g^{-1}=\left( (g_{\{y_{1}\}})^{-1}, \ldots , (g_{\{y_{m_i}\}})^{-1}\right) (g(\epsilon ))^{-1}, \end{aligned}$$
(7)

where \(y_{r}=x_{i,r}^{g^{-1}} (1\le r\le m_i)\).

Remark 1

Further, to simplify notation, we use the common notation and write \(id\) for the identity permutation of an arbitrary non-empty set. Also, if \(g(\epsilon )=id\), we simply write \(g=(g_{\{x_{i,1}\}},\ldots ,g_{\{x_{i,m_i}\}})\). Similarly, if \(g_{\{x\}}=id\) for every \(x\in X_i\), then we identify \(g\) with the root permutation \(g(\epsilon )\) and write \(g=g(\epsilon )\).

For every \(i\ge 1\) and every subgroup \(G\le Aut(X^*_{(i)})\), let us denote by \(St_{G}(1)\) the first-level stabilizer in \(G\), i.e., the subgroup of \(G\) which consists of automorphisms \(g\) such that the root permutation \(g(\epsilon )\) is trivial. This subgroup is normal in \(G\), and it has a finite index and the mapping

$$\begin{aligned} \varPsi _i:St_{G}(1)\rightarrow (Aut(X^*_{(i+1)}))^{m_i},\;\;\;\varPsi _i(g)=(g_{\{x_{i,1}\}},\ldots , g_{\{x_{i,m_i}\}}) \end{aligned}$$

is a homomorphism. For every \(1\le r\le m_i\), the homomorphism \(\varPsi _i\) defines the canonical projection \(\varPhi _{i, r}\) on the \(r\)-th coordinate:

$$\begin{aligned} \varPhi _{i, r}:St_{G}(1)\rightarrow Aut(X^*_{(i+1)}),\;\;\;\varPhi _{i,r}(g)=g_{\{x_{i,r}\}}. \end{aligned}$$

3 Nearly finitary automorphisms and nearly finitary groups

Definition 2

An automorphism \(g\in Aut(X^*)\) is called nearly finitary if there is a finite subset \(U\subseteq \partial X^*\) (perhaps empty) and a number \(n\) such that for every word \(w\in X^*\) of  length \(|w|\ge n\) which is not a beginning of any sequence from \(U\), the label \(g(w)\) is trivial and for every sequence \(u\in U\), we have: \(u^g\ne u\).

Note that the inverse of a nearly finitary automorphism is a nearly finitary automorphism. Directly by the above definition, we also see that if \(g\in Aut(X^*)\) is a nearly finitary automorphism and \(u\in \partial X^*\) is an infinite path such that the labels of \(g\) are not trivial for infinitely many beginnings of \(u\), then \(u\) cannot be a fixed point of \(g\). This implies that the composition of two nearly finitary automorphisms is not necessarily a nearly finitary automorphism. Indeed, let \(X=\{1,2,3\}\) be a fixed alphabet and let us define the automorphism \(a\in Aut(X^*)\) by its wreath recursion as follows: \(a=(id, id, a)(1,2)\). Then the infinite path \(3^\infty =33\ldots \) is a fixed point of \(a\), and for every \(i\ge 1\), the label \(a(3^i)\) is equal to the transposition \((1,2)\). Hence, the automorphism \(a\) is not nearly finitary, but \(a\) is the composition of the automorphisms \(b, c\in Aut(X^*)\), where \(b=(id, id, b)(1,3)\) and \(c=(c, id, id)(1,3,2)\). We verify directly by the definition that the automorphisms \(b\) and \(c\) are nearly finitary.

In the present paper, we provide naturally defined examples of groups which have the property that every element of such a group is a nearly finitary automorphism of the corresponding rooted tree.

Definition 3

A subgroup of the group \(Aut(X^*)\) of which every element is a nearly finitary automorphism of the tree \(X^*\) is called a nearly finitary group.

Below, we recall some terminology and results due to Nekrashevych [21]. We use them to prove that nearly finitary groups do not contain non-Abelian free subgroups.

Theorem 5

([21], Theorem 3.3) Let G be a group acting faithfully on an infinite locally finite one-rooted tree \(T\). Then one of the following holds.

  1. (1)

    \(G\) has no free non-Abelian subgroups,

  2. (2)

    there is \(u\in \partial T\) and a free non-Abelian subgroup \(F\le G\) which is contained in the stabilizer of \(u\) and such that \(F\) acts faithfully on the neighborhood \(wX^\omega _{(|w|+1)}\) of \(u\), where \(w\in T\) is an arbitrary beginning of the sequence \(u\),

  3. (3)

    there is \(u\in \partial T\) and a free non-Abelian subgroup \(F\le G\) such that the stabilizer of \(u\) in the group \(F\) is trivial.

Let \(X=(X_i)_{i\ge 1}\) be a changing alphabet and let \(X^*\) be the corresponding rooted tree. A subtree \(T\subseteq X^*\) containing the root of \(X^*\) is called a rooted subtree of \(X^*\). Let \(L_n=T\cap X^{n}\) be the \(n\)-th level of the tree \(T\). An automorphism \(g\in Aut(X^*)\) is said to be almost finitary on \(T\) if

$$\begin{aligned} \lim \limits _{n\rightarrow \infty }\frac{\theta _{g,T}(n)}{|L_n|}=0, \end{aligned}$$

where \(\theta _{g,T}(n)\) is the number of all vertices \(w\in L_n\) such that the section \(g_{\{w\}}\) is a non-trivial automorphism of the tree \(X^*_{(|w|+1)}\).

Definition 4

A locally finite graph is said to be amenable if for every \(\epsilon >0\), there is a finite set \(F_\epsilon \) of vertices such that \(|\partial F_\epsilon |/|F_\epsilon |<\epsilon \), where \(\partial F_\epsilon \) is the set of edges beginning in \(F_\epsilon \) and ending outside of \(F_\epsilon \). Regular trees are examples of non-amenable graphs.

Let \(G\) be a group generated by a finite set \(S\) which is symmetric (i.e., \(S=S^{-1}\)) and let \(T\) be a locally finite rooted tree such that \(G\) acts faithfully on \(T\). The Schreier graph of this action is defined as an undirected graph with the boundary \(\partial T\) as a set of vertices and the set \(\partial T\times S\) as a set of edges, where an edge \((u, s)\in \partial T\times S\) connects the vertex \(u\) with the vertex \(u^s\).

Proposition 2

([21], Proposition 2.2) Let \(G\) be a finitely generated subgroup of the group \(Aut(X^*)\) and let \(T\subseteq X^*\) be a \(G\)-invariant rooted subtree on which \(G\) acts level transitively. If all elements of \(G\) are almost finitary on \(T\), then all components of every Schreier graph of the action of \(G\) on \(T\) are amenable.

Based on the above results, we can prove Proposition 1 from the introduction.

Proposition 1 Let \(X=(X_i)_{i\ge 1}\) be an arbitrary changing alphabet (with a bounded or unbounded degree of vertices) and let \(G\le Aut(X^*)\) be a nearly finitary group. Then \(G\) does not contain non-Abelian free subgroups.

Proof

Suppose contrary that \(F\) is a non-Abelian free subgroup of \(G\). Then by Theorem 5, there is \(u\in X^\omega \) such that one of the following holds:

  1. (i)

    the group \(F\) is contained in the stabilizer of \(u\) and for every beginning \(w\) of \(u\) the group \(F\) acts faithfully on the neighborhood \(wX^\omega _{(|w|+1)}\) of \(u\),

  2. (ii)

    the stabilizer of \(u\) in the group \(F\) is trivial.

Let \(g\in F\) be an arbitrary non-trivial element. Let \(U\subseteq X^\omega \) and \(n\ge 0\) be, respectively, the subset and the number corresponding to \(g\) (see Definition 2). Suppose that the case (i) holds. Then \(u\notin U\) and, since \(U\) is finite, there is a beginning \(w\) of \(u\) such that \(|w|\ge n\) and \(w\) is not a beginning of any sequence from \(U\). But then the section \(g_{\{w\}}\) is trivial, which contradicts the assumption that \(F\) acts faithfully on the neighborhood \(wX^\omega _{(|w|+1)}\). Thus, case (ii) must hold. In this case, the set \(T=\{w^g:w\in X^*,\; w\le u,\;g\in F\}\) is an \(F\)-invariant rooted subtree of \(X^*\) on which \(F\) acts level transitively. For every non-trivial \(g\in F\), we have \(u^g\ne u\) and \(u^g\in \partial T\). Thus, the boundary \(\partial T\) is infinite and the sequence \((|L_i|)_{i\ge 1}\) is divergent, where \(L_i=T\cap X^i\). Further, the sequence \((\theta _{g, T}(i))_{i\ge 1}\) is bounded, as for all \(i\ge n\), we have \(\theta _{g, T}(i)\le \theta _{g, X^*}(i)\le |U|\). Thus, the automorphism \(g\) is almost finitary on \(T\). Since \(g\in F\) was chosen arbitrarily, we have by Proposition 2 that all components of the Schreier graph of the action of \(F\) on \(T\) are amenable. But the stabilizer of \(u\) in the group \(F\) is trivial and the component containing \(u\) is a regular rooted tree, which is a non-amenable graph. This contradiction finishes the proof of Proposition 1.\(\square \)

4 Time-varying automata and groups generated by automata

The combinatorial language of Mealy automata became fruitful in the study of groups acting on regular rooted trees, and it provides various examples of groups having rare and extraordinary geometric, combinatorial and algebraic properties. For more about Mealy automata, groups generated by them and for many problems around this topic see the survey paper [14]. The concept of defining groups by time-varying automata over a changing alphabet is quite new, and it constitutes a natural extension to groups acting on arbitrary (not necessarily regular) spherically homogeneous rooted trees. Note that previously the notion of a time-varying automaton was used only to study structural properties of transducers and concerned automata with the changing transition and output functions but having a fixed alphabet (see [19]). For some explicit and naturally defined representations of groups by time-varying automata and their properties see [2730, 32]. See also [9] where this concept is used to study growth function and Fölner function of groups, as well as the previously mentioned results from [10] .

In the present paper, we refer to time-varying automata over a changing alphabet \(X=(X_i)_{i\ge 1}\) as particular finite subsets of the group \(Aut(X^*)\).

Definition 5

A time-varying automaton \(A\) over a changing alphabet \(X\) is a non-empty finite set \(Q\subseteq Aut(X^*)\) (set of states) together with the automorphisms \(q_i\in Aut(X^*_{(i)}) (q\in Q, i\ge 1)\) such that the following two conditions are satisfied:

  1. (i)

    \(q_1=q\) for every \(q\in Q\),

  2. (ii)

    for every \(q\in Q, i\ge 1\) and \(x\in X_i\) there is a unique state \(q'\in Q\) (denoted further by \(\varphi _i(q, x)\)) such that the section of the automorphism \(q_i\) at the letter \(x\) is equal to \(q'_{i+1}\):

    $$\begin{aligned} (q_i)_{\{x\}}=q'_{i+1}. \end{aligned}$$

The automorphism \(q_i\) is called the \(i\) -th transition of the state \(q\). For a given \(i\ge 1\) the set \(Q_i=\{q_i:q\in Q\}\) together with the automorphisms \(q_j\in Aut(X^*_{(j)})\) for \(j\ge i\) forms a time-varying automaton \(A_i\) over the changing alphabet \(X_{(i)}=(X_j)_{j\ge i}\), which is called the \(i\) -th transition of the automaton \(A\). If the changing alphabet \(X\) is fixed (i.e., \(X=X_1\) by our identification) and for every \(i\ge 1\) and every state \(q\in Q\) we have \(q_i=q\), then the automaton \(A\) is called a Mealy automaton over the alphabet \(X\) (in this case we have: \(\varphi _i(q, x)=\varphi _1(q, x)\) for all \(q\in Q, i\ge 1\) and \(x\in X\) and to simplify we denote \(\varphi (q, x):=\varphi _1(q, x)\)). We call a state \(q\in Aut(X^*)\) of a time-varying automaton \(A\) a neutral state if \(q\) is the identity automorphism.

Another convenient way to define a time-varying automaton \(A\) is via its diagram, which is a labeled, directed, locally finite graph with the set

$$\begin{aligned} \{(i, q):i\ge 1,\; q\in Q\} \end{aligned}$$

of vertices. Two vertices are connected with an arrow if and only if they are of the form \((i, q)\) and \((i+1, \varphi _i(q, x))\) for some \(i\ge 1, q\in Q\) and \(x\in X_i\). This arrow is labeled by \(x\), starts from the vertex \((i, q)\) and goes to the vertex \((i+1, \varphi _i(q, x))\). Each vertex \((i, q)\) is labeled by the permutation

$$\begin{aligned} \sigma _{i,q}=q_i(\epsilon ), \end{aligned}$$

which is called the labeling of the state \(q\) in the \(i\) -th transition of \(A\). To make the graph of the automaton clear, we will substitute a large number of arrows connecting two given vertices and having the same direction by a one multi-arrow labeled by suitable letters and if the labeling of such a multi-arrow is obvious we will omit this labeling. In the case of a Mealy automaton \(A\) over the alphabet \(X\), we obtain the Moore diagram of \(A\) in which the set of vertices coincides with the set of states and we connect two vertices with an arrow if and only if they are of the form \(q\) and \(\varphi (q,x)\) for some \(q\in Q\) and \(x\in X\). Such an arrow is labeled by \(x\), starts from the vertex \(q\) and goes to the vertex \(\varphi (q, x)\). Each vertex \(q\) is labeled by its labeling \(\sigma _{q}=q_1(\epsilon )\). The diagram of the time-varying automaton \({\mathcal {A}}\) from the introduction is depicted in Fig. 1. In the regular case, the Moore diagram of the corresponding Mealy automaton presents Fig. 2.

Fig. 1
figure 1

The time-varying automaton \({\mathcal {A}}\) from the introduction

Fig. 2
figure 2

\(\ldots \) and the corresponding Mealy automaton (the regular case)

The above notions arise in a natural way by the mechanical interpretation of a time-varying automaton \(A\), where \(A\) is considered as a machine which being at a moment \(i\ge 1\) in a state \(q\in Q\) and reading from the input tape a letter \(x\in X_i\) goes to the state \(\varphi _i(q, x)\), types on the output tape the letter \(x^{\sigma _{i,q}}\), moves both tapes to the next position and then proceeds further to the next moment \(i+1\). This interpretation suggests for every word \(w=x_1x_2\ldots x_t\in X^*\) and \(q\in Q\) a very convenient way of computing the image \(w^q\) from the diagram of \(A\). One must find a directed path starting in the vertex \((1, q)\) and having the consecutive labels \(x_1, x_2,\ldots , x_t\). Such a path exists and is unique. If \(\pi _1, \pi _2,\ldots , \pi _t\) are labelings of consecutive vertices in this path, then \(x_i^{\pi _i}\) is the \(i\)-th letter (\(1\le i\le t\)) of the image \(w^q\).

Definition 6

Let \(A\) be a time-varying automaton over a changing alphabet \(X\) and let \(Q\subseteq Aut(X^*)\) be the set of states. The group generated by the set \(Q\) is denoted by \(G(A)\) and is called the group generated by the automaton \(A\):

$$\begin{aligned} G(A)=\langle q:q\in Q\rangle . \end{aligned}$$

Definition 7

Let \(X\) be a changing alphabet and let \(G\le Aut(X^*)\) be an arbitrary group. We call \(G\) an automaton group (over \(X\)) if \(G=G(A)\) for some time-varying automaton \(A\) over \(X\). If there is an automaton \(A\) over the changing alphabet \(X\) such that \(G\) is topologically generated by the set of states of \(A\), then we say that \(G\) is topologically generated by the automaton \(A\).

Let \(A\) be a time-varying automaton over a changing alphabet \(X=(X_i)_{i\ge 1}\) in which \(X_i=\{x_{i,1}, x_{i,2},\ldots , x_{i, m_i}\}\) for every \(i\ge 1\). For a given \(i\ge 1\), we can write the wreath recursions of the generators \(q_i (q\in Q)\) of the group \(G(A_i)\) generated by the \(i\)-th transition of the automaton \(A\) as follows:

$$\begin{aligned} q_i=\left( \varphi _i(q, x_{i,1})_{i+1}, \varphi _i(q, x_{i,2})_{i+1}, \ldots , \varphi _i(q, x_{i, m_i})_{i+1}\right) q_i(\epsilon ). \end{aligned}$$

The above wreath recursions induce an embedding of the group \(G(A_i)\) into the permutational wreath product \(G(A_{i+1})\wr Sym(X_i)\).

Definition 8

A time-varying automaton \(A\) is called self-replicating if for every \(i\ge 1\) and every \(1\le r\le m_i\) we have

$$\begin{aligned} \varPhi _{i,r}(St_{G(A_i)}(1))=G(A_{i+1}), \end{aligned}$$

where \(\varPhi _{i,r}\) is the canonical projection defined in Sect. 2.

Definition 9

Let \((K_i)_{i\ge 1}\) be a sequence of non-trivial subgroups \(K_i\le G(A_i)\). We call an automaton \(A\) a branching automaton over \((K_i)_{i\ge 1}\) if for every \(i\ge 1\) the preimage

$$\begin{aligned} \varPsi _i^{-1}\left( K_{i+1}^{m_i}\right) =\varPsi _i^{-1}(\underbrace{K_{i+1}\times \ldots \times K_{i+1}}_{m_i}) \end{aligned}$$

is a subgroup of \(K_i\), where \(\varPsi _i\) is a homomorphism defined in Sect. 2.

Let

$$\begin{aligned} Q=\{s_1, s_2, \ldots , s_k\} \end{aligned}$$
(8)

be the set of states in the automaton \(A\). The group \(G(A)\) can be uniquely determined by the following system of wreath recursions of the automorphisms \((s_j)_i\in Aut(X^*_{(i)}) (1\le j\le k, i\ge 1)\):

$$\begin{aligned} \left\{ \begin{array}{lll} (s_1)_i&{}=&{}((q_{i,1,1})_{i+1}, (q_{i,1,2})_{i+1},\ldots , (q_{i,1,m_i})_{i+1})\pi _{i,1},\\ (s_2)_i&{}=&{}((q_{i,2,1})_{i+1}, (q_{i,2,2})_{i+1},\ldots , (q_{i,2,m_i})_{i+1})\pi _{i,2},\\ \vdots &{}&{}\vdots \\ (s_k)_i&{}=&{}((q_{i,k,1})_{i+1}, (q_{i,k,2})_{i+1},\ldots , (q_{i,k,m_i})_{i+1})\pi _{i,k},\\ \end{array} \right. \;\;\;\;\;i\ge 1, \end{aligned}$$
(9)

where

$$\begin{aligned} q_{i,j,r}=\varphi _i(s_j, x_{i, r}),\;\;\;\pi _{i,j}=(s_j)_i(\epsilon ),\;\;\;1\le j\le k,\;\;\;1\le r\le m_i. \end{aligned}$$

Conversely, we can consider the set (8) as a set of \(k\) symbols. Then an arbitrary system of equations of the form (9), where \(\pi _{i,j}\in Sym(X_i)\) and \(q_{i,j,r}\in Q\) for all \(i\ge 1, 1\le j\le k, 1\le r\le m_i\), uniquely defines automorphisms \((s_j)_i\in Aut(X^*_{(i)})\) in the following recursive way:

$$\begin{aligned} \epsilon ^{(s_j)_i}=\epsilon ,\;\;\;i\ge 1,\;\;\;1\le j\le k, \end{aligned}$$

and if \(w=xv\in X^*_{(i)}\), where \(x=x_{i, r}\in X_i\) for some \(1\le r\le m_i\) and \(v\in X^*_{(i+1)}\), then

$$\begin{aligned} w^{(s_j)_i}=x^{\pi _{i,j}}v^{(q_{i,j,r})_{i+1}}. \end{aligned}$$

Note that if we identify the symbols \(s_j (1\le j\le k)\) from the set \(Q\) with the automorphisms \((s_j)_1\in Aut(X^*)\), then we obtain a time-varying automaton over the changing alphabet \(X\) and with the set \(Q_1=\{(s_j)_1:1\le j\le k\}\) as a set of states. If the automaton \(A\) is a Mealy automaton, then the system of wreath recursions defining the group \(G(A)\) consists of a finite number of equations:

$$\begin{aligned} \left\{ \begin{array}{lll} s_1&{}=&{}(q_{11}, q_{12},\ldots , q_{1m})\pi _{1},\\ s_2&{}=&{}(q_{21}, q_{22},\ldots , q_{2m})\pi _{2},\\ \vdots &{}&{}\vdots \\ s_k&{}=&{}(q_{k1}, q_{k2},\ldots , q_{km})\pi _{k},\\ \end{array} \right. \end{aligned}$$

where

$$\begin{aligned} q_{jr}=\varphi (s_j, x_{1, r}),\;\;\;\pi _{j}=s_j(\epsilon ),\;\;\;1\le j\le k,\;\;\;1\le r\le m_1. \end{aligned}$$

5 Disappearing group words of an automaton

Let \(A\) be an arbitrary time-varying automaton over a changing alphabet \(X=(X_i)_{i\ge 1}\) in which \(X_i=\{x_{i,1}, x_{i, 2}, \ldots , x_{i, m_i}\}\) for every \(i\ge 1\). We can define the automaton \(A\) by a \((k+1)\)-element (\(k\ge 1\)) set of symbols

$$\begin{aligned} Q=\{s_1, \ldots , s_k\}\cup \{id\}, \end{aligned}$$
(10)

representing the states of \(A\) with the symbol \(id\) representing a neutral state together with the system of equations:

$$\begin{aligned} \left\{ \begin{array}{lll} (s_1)_i&{}=&{}\left( (q_{i,1,1})_{i+1}, (q_{i,1,2})_{i+1},\ldots , (q_{i,1,m_i})_{i+1}\right) \pi _{i,1},\\ (s_2)_i&{}=&{}\left( (q_{i,2,1})_{i+1}, (q_{i,2,2})_{i+1},\ldots , (q_{i,2,m_i})_{i+1}\right) \pi _{i,2},\\ \vdots &{}&{}\vdots \\ (s_k)_i&{}=&{}\left( (q_{i,k,1})_{i+1}, (q_{i,k,2})_{i+1},\ldots , (q_{i,k,m_i})_{i+1}\right) \pi _{i,k},\\ \end{array} \right. \;\;\;\;\;i\ge 1, \end{aligned}$$
(11)

where \(q_{i,j,r}\in Q\) and \(\pi _{i,j}\in Sym(X_i)\) for \(i\ge 1, 1\le j\le k, 1\le r\le m_i\). The equations (11) are wreath recursions of the corresponding automorphisms \((s_j)_i\in Aut(X^*_{(i)})\) for \(i\ge 1\) and \(1\le j\le k\) (in (11), we omit the wreath recursion \(id_i=(id_{i+1}, \ldots , id_{i+1})\) of the identity automorphism \(id_i\in Aut(X^*_{(i)})\) corresponding to the symbol \(id\)).

For each \(i\ge 1\), we deal with the generating set

$$\begin{aligned} Q_i=\{(s_1)_i, \ldots , (s_k)_i\}\cup \{id_i\} \end{aligned}$$
(12)

of the group \(G(A_i)\) generated by the \(i\)-th transition of the automaton \(A\) as a basis of a free group \(F=F(Q_i)\) of rank \(k+1\). We call an arbitrary group word \(W\in F(Q_i)\) reduced if it does not contain the trivial subwords, i.e., the subwords of the form:

$$\begin{aligned} id_i,\;\;\;id_i^{-1},\;\;\;(s_j)_i(s_j)_i^{-1},\;\;\;(s_j)_i^{-1}(s_j)_i\;\;\;1\le j\le k. \end{aligned}$$
(13)

Otherwise we call \(W\) reducible. If \(W\) is reducible, then by consecutive deletion of trivial subwords, we can obtain a unique reduced group word, which we call a reduced form of \(W\) and denote it by \(\overline{W}\). By using the system (11), for every letter \(x=x_{i,r}\in X_i (1\le r\le m_i)\), we can define in the recursive way the section \(W_{\{x\}}\) of the group word \(W\) at \(x\). Namely, if \(W=\varepsilon \), the empty group word, or \(W\in \{id_i, id_i^{-1}\}\), then \(W_{\{x\}}=\varepsilon \); if \(W=(s_j)_i\), or \(W=(s_j)_i^{-1}\) for some \(1\le j\le k\), then

$$\begin{aligned} W_{\{x\}}=(q_{i,j, r})_{i+1},\;\;\; \mathrm{or}\;\;\;W_{\{x\}}=(q_{i, j, r'})_{i+1}^{-1}, \end{aligned}$$

respectively, where \(r'\in \{1,2,\ldots , m_i\}\) is the unique element such that \(x_{i,r'}=x_{i,r}^{\pi _{i,j}^{-1}}\); if \(W=UV\), where \(V\in F(Q_i)\) and \(U\in \{id_i, id_i^{-1}, (s_j)_i, (s_j)^{-1}_i\}\) for some \(1\le j\le k\), then

$$\begin{aligned} W_{\{x\}}=\overline{U_{\{x\}}V_{\{x'\}}}, \end{aligned}$$

where

$$\begin{aligned} x'=\left\{ \begin{array}{ll} x,&{} U\in \{id_i, id_i^{-1}\},\\ x^{\pi _{i,j}},&{} U=(s_j)_i,\\ x^{\pi _{i,j}^{-1}}, &{}U=(s_j)^{-1}_i. \end{array} \right. \end{aligned}$$

Finally, we define recursively the section \(W_{\{w\}}\) of \(W\) at any vertex \(w\in X^*_{(i)}\): \(W_{\epsilon }=\overline{W}\), and if \(w=vx\) for some \(v\in X^*_{(i)}\) and \(x\in X_{|v|+i}\), then \(W_{\{w\}}=(W_{\{v\}})_{\{x\}}\). In particular, we see that the section \(W_{\{w\}}\) is a reduced group word over the set \(Q_{i+|w|}\), i.e., \(W_{\{w\}}\in F(Q_{i+|w|})\) and if \(W\) defines an element \(g\in G(A_i)\), then the section \(W_{\{w\}}\) defines the element \(g_{\{w\}}\in G(A_{i+|w|})\).

Remark 2

Further, we will use the following notation. If \(W\in F(Q_i)\) for some \(i\ge 1\) and \(g\in G(A_i)\) is the element defined by \(W\), then for every word \(w\in X^*_{(i)}\), we will write \(w^W\) for the image \(w^g\); by \(W(\epsilon )\), we will denote the root permutation of the automorphism \(g\).

Since the group words (13) define the identity automorphism, we obtain by the above construction as well as in view of the formulas (6)–(7) the following properties of the section \(W_{\{w\}}\):

  • \(W_{\{w\}}=(\overline{W})_{\{w\}}\),

  • \((WW')_{\{w\}}=\overline{W_{\{w\}}W'_{\{w'\}}}\), where \(w'=w^W\),

  • \((W^{-1})_{\{w\}}=(W_{\{w''\}})^{-1}\), where \(w''=w^{W^{-1}}\),

  • if \(v\) is a prefix of \(w\), then \(|W_{\{w\}}|\le |W_{\{v\}}|\)

for all \(i\ge 1, W, W'\in F(Q_i)\) and \(w,v\in X^*_{(i)}\).

Definition 10

A group word \(W\in F(Q_1)\) defining the neutral element in the group \(G(A_1)\) is called a disappearing group word of the automaton \(A\) if there is a number \(n_0\) such that \(W_{\{w\}}=\varepsilon \) for every word \(w\in X^{n_0}\). We call the smallest number \(n_0\) with the above property the depth of \(W\) and denote it by \(\lambda (W)\).

Obviously, not every group word defining the neutral element must be disappearing. However, in the next section, we introduce the class of time-varying automata \(A\) such that every group word \(W\in F(Q_1)\) defining the neutral element in \(G(A_1)\) is also a disappearing group word (see Proposition 5).

Directly by the above properties of the section \(W_{\{w\}}\), we see that if group words \(W,V\in F(Q_1)\) are disappearing, then the following group words:

$$\begin{aligned} WV,\;\;\;W^{-1},\;\;\;U^{-1}WU \end{aligned}$$

are also disappearing, where \(U\in F(Q_1)\) is arbitrary. Moreover, for their depths, we have:

  • \(\lambda (W)=\lambda \left( \overline{W}\right) \),

  • \(\lambda (WV)\le \max \{\lambda (W),\lambda (V)\}\),

  • \(\lambda (W^{-1})=\lambda (W)\),

  • \(\lambda (U^{-1}WU)\le \lambda (W)\).

Definition 11

If for every integer \(n\), there is a disappearing group word \(W\) of the automaton \(A\) such that \(\lambda (W)\ge n\), then we say that \(A\) has disappearing group words of unbounded depth.

Proposition 3

Suppose that the automaton \(A\) has disappearing group words of unbounded depth and every group word \(W\in F(Q_1)\) which defines the neutral element in \(G(A_1)\) is disappearing. Then the group generated by this automaton is not finitely presented.

Proof

Suppose that the group \(G(A)=G(A_1)\) is finitely presented. Then there is a finite subset \(R\subseteq F(Q_1)\) of group words defining the neutral element in \(G(A_1)\) such that every reduced group word \(W\in F(Q_1)\) which defines the neutral element in \(G(A_1)\) is freely equal to a product of conjugations of some group words from \(R\) or their inverses. Since every group word from \(R\) is disappearing, we have \(\lambda (W)\le \max \{\lambda (V):V\in R\}\), which contradicts with the assumption that the automaton \(A\) has disappearing group words of unbounded depth. \(\square \)

6 Automata with the nucleus

In the sequel, we will use the following notation. If \(W\in F(Q)\) is an arbitrary group word over the set (10), then for every \(i\ge 1\), we denote by \(W_{(i)}\in F(Q_i)\) a group word over the set (12) which arises from \(W\) by substitution of every occurrence of \(id\) by \(id_i\), every occurrence of \(id^{-1}\) by \(id_i^{-1}\), and for each \(1\le j\le k\) every occurrence of \(s_j\) by \((s_j)_i\) and every occurrence of \(s_j^{-1}\) by \((s_j)_i^{-1}\). We call the group word \(W_{(i)}\) the \(i\) -th transition of \(W\). Similarly, for any subset \(S\subseteq F(Q)\) and every \(i\ge 1\), we denote:

$$\begin{aligned} S_{(i)}=\{W_{(i)}:W\in S\}\subseteq F(Q_i). \end{aligned}$$

Let \(A\) be a time-varying automaton defined by (10)–(11).

Definition 12

We call the automaton \(A\) an automaton with a nucleus if there is a finite subset \(S\subseteq F(Q)\) (further called a nucleus) of non-empty reduced group words which satisfy the following conditions:

  1. (i)

    for every \(V\in F(Q_1)\) there is an integer \(n_0\) such that for every \(w\in X^{n_0}\) we have \(V_{\{w\}}\in S_{(n_0+1)}\cup \{\varepsilon \}\),

  2. (ii)

    for every \(W\in S\) there is an infinite sequence \(x_1x_2\ldots \in X^\omega \) such that for every \(i\ge 1\) we have:

    $$\begin{aligned} (W_{(i)})_{\{x_i\}}=W_{(i+1)},\;\;\;(W_{(i)})_{\{x\}}=\varepsilon \;\;\;\mathrm{for}\;\;\;x\in X_i\setminus \{ x_i\}. \end{aligned}$$

If, additionally, for every \(W\in S\) and every \(i\ge 1\) the following inequality holds:

  1. (ii’)

    \(x_i^{W_{(i)}}\ne x_i\),

then the automaton \(A\) is called an automaton with a path-active nucleus and the set \(S\) is called a path-active nucleus of \(A\).

Proposition 4

If the automaton \(A\) is an automaton with a path-active nucleus, then the group \(G(A)=G(A_1)\) is a nearly finitary group.

Proof

Suppose that the automaton \(A\) is an automaton with a path-active nucleus and let \(S\) be a path-active nucleus of \(A\). Let \(g\in G(A_1)\) be arbitrary and let \(V\in F(Q_1)\) be a group word defining \(g\). Let \(n_0\) be an integer such that for every \(w\in X^{n_0}\) we have \(V_{\{w\}}\in S_{(n_0+1)}\cup \{\varepsilon \}\). Let \({\mathcal {U}}_0\) be the subset of \(X^{n_0}\) which consists of all words \(w\) such that the corresponding section \(V_{\{w\}}\) is not empty, i.e., \(V_{\{w\}}\in S_{(n_0+1)}\). If \({\mathcal {U}}_0\) is empty, then obviously the element \(g\) is nearly finitary. If \({\mathcal {U}}_0\) is non-empty, then we can write \({\mathcal {U}}_0=\{w_1, \ldots , w_t\}\) and for every \(1\le l\le t\) there is \(W_l\in S\) such that

$$\begin{aligned} V_{\{w_l\}}=(W_l)_{(n_0+1)}. \end{aligned}$$

Let \(y_{l,1}y_{l,2}\ldots \in X^\omega (1\le l\le t)\) be an infinite sequence corresponding to \(W_l\). Let us consider the subset \({\mathcal {U}}=\{u_1, \ldots , u_t\}\subseteq X^\omega \), where:

$$\begin{aligned} u_l=w_ly_{l,n_0+1}y_{l,n_0+2}\ldots ,\;\;\;1\le l\le t. \end{aligned}$$

Then for each \(1\le l\le t\), we have \(u_l^g=w_l^gy'_{l, n_0+1}y'_{l, n_0+2}\ldots \), where

$$\begin{aligned} y'_{l, n_0+i}=y_{l, n_0+i}^{(W_l)_{(n_0+i)}},\;\;\;i\ge 1. \end{aligned}$$

Since the set \(S\) is a path-active nucleus, we obtain \(y'_{l, n_0+i}\ne y_{l, n_0+i}\). Hence, \(u^g\ne u\) for every \(u\in {\mathcal {U}}\). Next, let \(w\in X^*\) and \(|w|\ge n_0\). If neither of the words \(w_l\) for \(1\le l\le t\) is a prefix of \(w\), then we see by the definition of the set \({\mathcal {U}}_0\) that the section \(V_{\{w\}}\) is empty. If there is \(1\le l\le t\) such that \(w_l\) is a prefix of \(w\) but \(w\) is not a beginning of the sequence \(u_l\), then by Definition 12, (ii) we see that the section \(V_{\{w\}}\) is empty. Consequently, for any word \(w\in X^*\) with the length \(|w|>n_0\) and such that \(w\) is not a beginning of any sequence from \({\mathcal {U}}\), the label \(g(w)\) is trivial. Thus, the element \(g\) is nearly finitary. \(\square \)

Proposition 5

If the automaton \(A\) is an automaton with a path-active nucleus, then every group word \(V\in F(Q_1)\) which defines the neutral element in \(G(A_1)\) is a disappearing group word.

Proof

Suppose it is not true, and let \(V\in F(Q_1)\) be a group word defining the neutral element which is not a disappearing group word. Let \(n_0\) be an integer such that \(V_{\{w\}}\in S_{(n_0+1)}\cup \{\varepsilon \}\) for every \(w\in X^{n_0}\), where \(S\) is a path-active nucleus of the automaton \(A\). Since \(V\) is not disappearing, there is \(w_0\in X^{n_0}\) such that \(V_{\{w_0\}}=W_{(n_0+1)}\) for some \(W\in S\). Since the set \(S\) is a path-active nucleus, there is a letter \(x\in X_{n_0+1}\) such that \(x^{W_{(n_0+1)}}\ne x\). But then \(x^{V_{\{w_0\}}}=x^{W_{(n_0+1)}}\ne x\), which is impossible as the section \(V_{\{w_0\}}\) defines the neutral element in the group \(G(A_{n_0+1})\).\(\square \)

Corollary 3

If the automaton \(A\) is an automaton with a path-active nucleus, then the group \(G(A)\) does not contain non-Abelian free subgroups. Additionally, if \(A\) has disappearing group words of unbounded depth, then the group \(G(A)\) is not finitely presented.

7 The proof of Theorem 1

Let \((H, X)\) be an arbitrary non-Abelian finite simple transitive permutation group on a set \(X\). At first, we show that the group \(H\) has a hooked triple. Let us start with the following

Proposition 6

The group \(H\) has a 2-element generating set \(\{\alpha , \beta \}\) such that \(\alpha \) is an involution and \(\beta \) is not an \(m\)-cycle, where \(m=|X|\).

Proof (of Proposition 6)

By the main result in [24], there is a conjugacy class \(C\) of \(H\) such that for every non-trivial element \(\alpha \in H\), there is an element \(\beta \in C\) such that \(H\) is generated by the set \(\{\alpha , \beta \}\). We distinguish two cases. \(\square \)

Case 1: \(m\) is even. Let \(\alpha \in H\) be any involution (the existence of such an element follows from the famous Feit–Thompson theorem). By the above, we can choose \(\beta \in C\) such that the elements \(\alpha , \beta \) generate \(H\). Since the group \(H\) is perfect, the permutation \(\beta \) is even, and hence, it cannot be an \(m\)-cycle. Thus, the set \(\{\alpha , \beta \}\) satisfies the claim in this case.

Case 2: \(m\) is odd. In this case, we use the following

Lemma 1

If the group \(H\) contains an \(m\)-cycle, then \(H\) is primitive.

Proof (of Lemma 1)

Suppose contrarily that \(H\) is imprimitive and it contains an \(m\)-cycle. Let \({\mathcal {B}}\) be any non-trivial block system of \(H\). Let \(H\rightarrow Sym({\mathcal {B}}), h\mapsto L_h\) be the induced action of \(H\) on \({\mathcal {B}}\). If \(h_0\in H\) is an \(m\)-cycle, then the permutation \(L_{h_0}\in Sym({\mathcal {B}})\) is an \(n\)-cycle, where \(n=|{\mathcal {B}}|<m\). Thus, the \(n\)-th power of \(h_0\) is a non-trivial element from the kernel of this action, which is impossible as \(H\) is simple. This finishes the proof of Lemma 1. \(\square \)

Further, we can assume that the group \(H\) contains an \(m\)-cycle (otherwise we can choose a suitable generating set directly basing on the Stein result). By Lemma 1, we can use the following classification due to Feit and Jones [11, 17] (below, we use the standard notation for the general affine group of degree one \(AGL_1(q)\), the alternating group \(A_n\) and the symmetric group \(S_n\), the projective general linear group \(PGL_k(q)\), the projective semilinear group \(P\varGamma L_k(q)\), the projective special linear group \(PSL_k(q)\), and the Mathieu groups \(M_n\)):

Theorem 6

([17], Theorem 3) Let \(G\) be a primitive permutation group of degree \(m\) which contains an \(m\)-cycle. Then one of the following holds.

  • \(G\le AGL_1(m), m\) is a prime; or

  • \(G= A_m\) or \(S_m\); or

  • \(PGL_k(q)\le G\le P\varGamma L_k(q)\), where \(k\ge 2, q\) a prime power, \(G\) acting naturally on the projective space with \(m = (q^k-1)/(q-1)\) points; or

  • \(m = 11, G = PSL_2(11)\) or \(M_{11}\); or

  • \(m = 23, G= M_{23}\).

Note that if \(m\) is a prime, then the group \(AGL_1(m)\) contains a unique cyclic group of order \(m\) and this cyclic group is normal in \(AGL_1(m)\). Further, the group \(PGL_k(q)\) is a normal subgroup of \(P\varGamma L_k(q)\) and \(PGL_k(q)\) is simple if and only if the numbers \(k, q-1\) are coprime and \((k, q)\ne (2, 2)\), which then implies \(PGL_k(q)=PSL_k(q)\). Hence, since \(H\) is simple, we obtain by the above classification the following possibilities for the group \(H\):

  • \(H=A_m\); or

  • \(H=PSL_k(q)\) for some \(k\ge 2\) and \(q\) a prime power such that the numbers \(k\) and \(q-1\) are coprime and \(m=(q^k-1)/(q-1)\); or

  • \(m = 11, H = PSL_2(11)\) or \(M_{11}\); or

  • \(m = 23, H= M_{23}\).

By [18], we know that the projective special linear groups \(PSL_2(q)\) with \(q\ne 9\) can be generated by two elements \(\alpha , \beta \) such that \(\alpha \) is an involution and \(\beta \) is of order 3. By [12], this property also holds for \(PSL_3(q)\) with \(q\ne 4\) and by [7] for alternating groups \(A_n\) of degree \(n\ge 5, n\ne 6, 7, 8\). For the alternating group \(A_7\) and for the group \(PSL_4(2)=A_8\), the element \(\beta \) can be chosen to have order \(4\); by [8], the same holds for the groups \(M_{11}, M_{23}\). If \(H\) is one of the above groups, then \(m\ge 5\), and hence, the element \(\beta \) cannot be an \(m\)-cycle. Further, if \(k\ge 4\) and \((k, q)\notin \{ (4,2), (11,2)\}\), then by [16] (see Table II, p. 763), the corresponding conjugacy class \(C\) in the group \(PSL_k(q)\) can be chosen in such a way that the order \(o(\beta )\) of any element \(\beta \in C\) satisfies the following divisibility:

$$\begin{aligned} o(\beta )&\mid&(q^{l+2}-1)(q^{l-2}-1)\;\;\;\mathrm{if}\;\;\;k=2l,\;\;\;2\not \mid l,\;\;\;l\ge 2,\\ o(\beta )&\mid&(q^{l+1}-1)(q^{l-1}-1)\;\;\;\mathrm{if}\;\;\;k=2l,\;\;\;2\mid l,\;\;\;l\ge 2,\\ o(\beta )&\mid&(q^{l+1}-1)(q^l-1)\;\;\;\;\;\;\;\mathrm{if}\;\;\;k=2l+1,\;\;\;l\ge 2. \end{aligned}$$

In particular, \(\beta \) cannot be an \(m\)-cycle, as in each case, one can easily check that the number \(m=(q^k-1)/(q-1)\) does not divide the right-hand side of the above divisibility. Finally, if \(H=PSL_{11}(2)=SL_{11}(2)\), then by [25], we see that \(H\) is generated by an involution and an element of order 11. Since in this case, we have \(m=2^{11}-1>11\), the element of order 11 cannot be an \(m\)-cycle. This finishes the proof of Proposition 6.\(\square \)

Proposition 7

The group \(H\) has a hooked triple.

Proof (of Proposition 7)

Let \(\{\alpha , \beta \}\) be the generating set from Proposition 6 and let \(\alpha =\tau _1\cdot \ldots \cdot \tau _s, \beta =\sigma _1\cdot \ldots \cdot \sigma _t\) be decompositions of \(\alpha , \beta \) into the products of non-trivial disjoint cycles. Since each \(\tau _j (1\le j\le s)\) is a transposition, its support consists of two elements. Thus, if the claim were false, for each \(1\le j\le s\), the support of the transposition \(\tau _j\) would be either contained in the set of fixed points of \(\beta \), or it would be contained in the support of a cycle \(\sigma _{j'}\) for some \(1\le j'\le t\). But then the group generated by \(\alpha , \beta \) would not be transitive, which finishes the proof of Proposition 7. \(\square \)

Now we can prove Theorem 1 from the introduction.

Theorem 1 The inverse limit \(W_\infty =\ldots \wr H_2\wr H_1\) is topologically generated by the time-varying automaton \({\mathcal {A}}\) defined by (2)–(3).

Proof

For any \(i,j\ge 1\), we denote by \(a_{i,j}, b_{i,j}\in Aut(X^*_{(i)})\) the automorphisms which arise from the \(i\)-th transitions \(a_i, b_i\in Aut(X^*_{(i)})\) of the states \(a, b\) by the substitution of all labels \(a_i(w), b_i(w)\) at words \(w\in X^*_{(i)}\) with \(|w|\ge j\) by the trivial permutations. Also, let us denote by \(W_{i, j}\) the subgroup of all automorphisms \(g\in Aut(X^*_{(i)})\) which satisfy for every word \(w\in X^*_{(i)}\) the following condition: If \(|w|<j\), then \(g(w)\in H_{i+|w|}\), and if \(|w|\ge j\), then \(g(w)=id\). We see that \(W_{i,j}\) is isomorphic to the \(j\)-iterated wreath product of the form

$$\begin{aligned} H_{i+j-1}\wr \ldots \wr H_{i+1}\wr H_i. \end{aligned}$$

It suffices to show that \(W_{i,j}=\langle a_{i,j}, b_{i,j} \rangle \) for all \(i,j\ge 1\). This is true for \(j=1\) as we have: \(a_{i,1}=\alpha _i, b_{i,1}=\beta _i\) and \(W_{i,1}=H_i=\langle \alpha _i, \beta _i\rangle \). We inductively assume that the statement is true for all \(i\ge 1\) and for some fixed \(j_0\ge 1\), that is we have

$$\begin{aligned} W_{i,j_0}=\langle a_{i,j_0}, b_{i,j_0}\rangle ,\;\;\;i\ge 1. \end{aligned}$$

Let us choose \(i_0\ge 1\) arbitrarily and let us denote: \(g=a_{i_0, j_0+1}, h=b_{i_0, j_0+1}\). We must show that \(G=W_{i_0, j_0+1}\), where \(G:=\langle g, h\rangle \). Obviously, we have \(G\subseteq W_{i_0, j_0+1}\). By wreath recursions (3), we have

$$\begin{aligned} \left\{ \begin{array}{lll} g&{}=&{}(g', id, \ldots , id)\alpha ,\\ h&{}=&{}(h', id, \ldots , id)\beta ,\\ \end{array}\right. \end{aligned}$$
(14)

where \(g'=a_{i_0+1, j_0}, h'=b_{i_0+1, j_0}, \alpha =\alpha _{i_0}, \beta =\beta _{i_0}\).

By the definition of the triple \((\alpha , \beta , x_{i_0})\), we can choose two non-trivial cycles from decompositions of \(\alpha \) and \(\beta \) into the products of disjoint cycles, the first cycle from the decomposition of \(\alpha \) and the second cycle from the decomposition of \(\beta \), such that \(x_{i_0}\) is the only letter which belongs to both these cycles. Let \(l_1, l_2\) be the lengths of these two cycles, respectively. Then by (14), we have:

$$\begin{aligned} \left( g^{l_1}\right) _{\{x_{i_0}\}}=g',\;\;\; \left( h^{l_2}\right) _{\{x_{i_0}\}}=h',\;\;\;g^{l_1} (\epsilon )=id,\;\;\;h^{l_2}(\epsilon )=id, \end{aligned}$$
(15)

and also

$$\begin{aligned} \left( g^{l_1}\right) _{\{x\}}=id\;\;\;\mathrm{or}\;\;\;\left( h^{l_2}\right) _{\{x\}}=id \end{aligned}$$
(16)

for every letter \(x\in X_{i_0}\setminus \{x_{i_0}\}\).

Let \(f\in W_{i_0+1, j_0}\) be arbitrary. By the inductive assumption, we have

$$\begin{aligned} W_{i_0+1, j_0}=\langle g', h'\rangle . \end{aligned}$$

Since the group \(W_{i_0+1, j_0}\) is perfect, there is a group word \(V=V(g', h')\) on the letters \(g', h'\) such that \(V\) represents \(f\) and the sums of exponents on both \(g'\) and \(h'\) are equal to zero. Then by (15)–(16), we see that for the wreath recursion of the element

$$\begin{aligned} f'=V\left( g^{l_1}, h^{l_2}\right) \in G \end{aligned}$$

we have: \(f'=(f, id, \ldots , id)\). Since \(f\) was chosen arbitrarily, we see that the element with the wreath recursion \((g', id, \ldots , id)\) and the element with the wreath recursion \((h', id, \ldots , id)\) both belong to \(G\). Consequently, by (14), we have \(H_{i_0}\subseteq G\). Next, since the group \(H_{i_0}\) is transitive, for any letter \(x\in X_{i_0}\), we can choose an element \(\gamma \in H_{i_0}\subseteq G\) such that the wreath recursion of the conjugate \(\gamma ^{-1}f'\gamma \) is of the form \((id, \ldots , id, f, id, \ldots , id)\), where the position of \(f\) corresponds to the letter \(x\). Consequently, we obtain that the direct power \(W_{i_0+1, j_0}^{m}\), where \(m=|X_{i_0}|\), is a subgroup of \(G\). Hence, we have

$$\begin{aligned} W_{i_0, j_0+1}=W_{i_0+1, j_0}^{m}\rtimes H_{i_0}\subseteq G, \end{aligned}$$

which finishes the proof of Theorem 1.\(\square \)

8 The proof of other properties of the group \(G({\mathcal {A}})\)

We start with the following

Proposition 8

The automaton \({\mathcal {A}}\) is an automaton with a path-active nucleus. Namely, the set

$$\begin{aligned} S=\left\{ a, a^{-1}, b, b^{-1}, a^{-1}b, b^{-1}a\right\} \end{aligned}$$

is a path-active nucleus of the automaton \({\mathcal {A}}\).

Proof

For every \(i\ge 1\) let us denote:

$$\begin{aligned} y_i=x_i^{a_i},\;\;\;z_i=x_i^{b_i}. \end{aligned}$$
(17)

Since in the decompositions of the permutations \(\alpha _i, \beta _i\) into the products of disjoint cycles, the two cycles which contain the letter \(x_i\) are non-trivial and \(x_i\) is the only letter which belongs to both supports of these two cycles, we obtain the following inequalities:

$$\begin{aligned} y_i\ne x_i,\;\;\;z_i\ne x_i,\;\;\;z_i\ne y_i. \end{aligned}$$
(18)

Directly by the defining wreath recursions (3), we obtain for any letter \(x\in X_i\):

$$\begin{aligned} (a_i)_{\{x\}}&= \left\{ \begin{array}{ll} a_{i+1}, &{}x=x_i,\\ \varepsilon , &{}\mathrm{otherwise}, \end{array} \right. \;\;\; (a_i^{-1})_{\{x\}}=\left\{ \begin{array}{ll} a^{-1}_{i+1}, &{}x=y_i,\\ \varepsilon , &{}\mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(19)
$$\begin{aligned} (b_i)_{\{x\}}&= \left\{ \begin{array}{ll} b_{i+1}, &{}x=x_i,\\ \varepsilon , &{}\mathrm{otherwise}, \end{array} \right. \;\;\; (b_i^{-1})_{\{x\}}=\left\{ \begin{array}{ll} b^{-1}_{i+1}, &{}x=z_i,\\ \varepsilon , &{}\mathrm{otherwise}. \end{array} \right. \end{aligned}$$
(20)

In particular, by the inequalities (18), we see that for every integer \(N\notin \{-1,0,1\}\) and every \(x\in X_i\), there are integers \(N', N''\) with \(|N'|<|N|, |N''|<|N|\) and such that \((a_i^N)_{\{x\}}=a_{i+1}^{N'}, (b_i^N)_{\{x\}}=b_{i+1}^{N''}\). Further, we have for any \(x\in X_i\):

$$\begin{aligned} (a_i^{-1}b_i)_{\{x\}}&= \left\{ \begin{array}{ll} a^{-1}_{i+1}b_{i+1},&{}x=y_i,\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(21)
$$\begin{aligned} (b_i^{-1}a_i)_{\{x\}}&= \left\{ \begin{array}{ll} b^{-1}_{i+1}a_{i+1},&{}x=z_i,\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(22)

and also:

$$\begin{aligned} (a_ib_i)_{\{x\}}&= \left\{ \begin{array}{ll} a_{i+1},&{}x=x_i,\\ b_{i+1}, &{}x=x_i^{a_i^{-1}},\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \;\;\; (b^{-1}_ia^{-1}_i)_{\{x\}}=\left\{ \begin{array}{ll} b^{-1}_{i+1},&{}x=z_i,\\ a^{-1}_{i+1}, &{}x=y_i^{b_i},\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(23)
$$\begin{aligned} (a_ib_i^{-1})_{\{x\}}&= \left\{ \begin{array}{ll} a_{i+1},&{}x=x_i,\\ b_{i+1}^{-1}, &{}x=z_i^{a_i^{-1}},\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \;\;\; (b_ia_i^{-1})_{\{x\}}=\left\{ \begin{array}{ll} b_{i+1},&{}x=x_i,\\ a_{i+1}^{-1}, &{}x=y_i^{b_i^{-1}},\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(24)
$$\begin{aligned} (a_i^{-1}b_i^{-1})_{\{x\}}&= \left\{ \begin{array}{ll} a^{-1}_{i+1},&{}x=y_i,\\ b^{-1}_{i+1},&{}x=z_i^{a_i},\\ \varepsilon ,&{} \mathrm{otherwise}, \end{array} \right. \;\;\; (b_ia_i)_{\{x\}}=\left\{ \begin{array}{ll} b_{i+1},&{}x=x_i,\\ a_{i+1},&{}x=x_i^{b_i^{-1}},\\ \varepsilon ,&{} \mathrm{otherwise}. \end{array} \right. \end{aligned}$$
(25)

Thus, for every \(i\ge 1\) and every reduced group word \(W\) over the set

$$\begin{aligned} Q_i=\{a_i, b_i, id_i\} \end{aligned}$$

we obtain: if \(|W|=2\), then \(|W_{\{x\}}|<|W|\) for any \(x\in X_i\), unless \(W=a_i^{-1}b_i\) and \(x=y_i\), or \(W=b_i^{-1}a_i\) and \(x=z_i\). But, if \(|W|\ge 3\), then \(W\) contains a subword of length 2 which is neither of the form \(a_i^{-1}b_i\) nor \(b_i^{-1}a_i\). Thus, the formulas (23)–(25) together with the above observation on sections of the powers \(a_i^N, b_i^N, N\notin \{-1,0,1\}\) give: if \(|W|\ge 3\), then \(|W_{\{x\}}|<|W|\) for every letter \(x\in X_i\). Consequently, for every group word \(W\in F(Q_1)\) there is \(n\ge 1\) such that \(|W_{\{w\}}|\le 2\) for every \(w\in X^{n-1}\), which together with the formulas (19)–(25) implies that there is \(n'\ge n\) such that \(W_{\{w\}}\in S_{(n')}\cup \{\varepsilon \}\) for every \(w\in X^{n'-1}\). Directly by the formulas (19)–(22), we see that for every group word from the set \(S\), we can choose from \(X^\omega \) one of the following three sequences:

$$\begin{aligned} x_1x_2x_3\ldots ,\;\;\;y_1y_2y_3\ldots ,\;\;\;z_1z_2z_3\ldots , \end{aligned}$$

such that the item (ii) from Definition 12 is satisfied for this group word. Thus, the set \(S\) is a nucleus of the automaton \({\mathcal {A}}\). Moreover, by the inequalities (18) and by \(y_i^{a_i^{-1}b_i}=z_i\), we see that \(S\) is a path-active nucleus of \({\mathcal {A}}\). \(\square \)

As a direct corollary of Propositions 148, we obtain Theorem 2. In spite of this result, we easily obtain the following

Proposition 9

The semigroup generated by the states \(a, b\) is free.

Proof

Let \(W, V\) be two semigroup words over the set \(Q_1=\{a_1, b_1, id_1\}\). Suppose that \(W\) and \(V\) are reduced and \(W\ne V\). We have to show that these words define different elements in the group \(G(A_1)\). If both these words are non-empty, then we can assume that one of them (suppose \(W\)) begins with \(a_1\) and the second begins with \(b_1\). But then, by an easy inductive argument on the lengths of these words, we can show with the wreath recursions (3) that for every \(i\ge 1\) the section \(W_{\{w_i\}}\) begins with \(a_{i+1}\) and the section \(V_{\{w_i\}}\) begins with \(b_{i+1}\), where \(w_i=x_1x_2\ldots x_i\). Since the sections \(W_{\{w_i\}}\) and \(V_{\{w_i\}} (i\ge 1)\) are semigroup words over \(Q_i\), we see by Proposition 8 that there is \(i\ge 1\) such that \(W_{\{w_i\}}=a_{i+1}\) and \(V_{\{w_i\}}=b_{i+1}\). Since \(a_{i+1}\ne b_{i+1}\), the words \(W\) and \(V\) cannot define the same element. If one of these semigroup words is empty, then the second is non-empty, i.e., it begins with \(a_1\) or with \(b_1\) and as above we see that they do not define the same element.\(\square \)

Corollary 4

The group \(G({\mathcal {A}})\) is of exponential growth.

Proposition 10

The automaton \({\mathcal {A}}\) has disappearing group words of unbounded depth.

Proof

For any two integers \(N, N'\) and for \(i\ge 1\) let \(W(N, N', i)\) be a group word over the set \(Q_i=\{a_i, b_i, id_i\}\) defined as follows:

$$\begin{aligned} W(N, N', i)=\left[ b_i^{N'}a_i^{-N}b_i^{-N'}, a_i^N\right] :=b_i^{N'}a_i^{N}b_i^{-N'}a_i^{-N}b_i^{N'}a_i^{-N}b_i^{-N'}a_i^N. \end{aligned}$$

We see that \(W(N, N', i)\) is a reduced group word if and only if it is a non-empty group word if and only if both \(N\) and \(N'\) are non-zero integers.

For each \(i\ge 1\), we consider the decompositions of the permutations \(\alpha _i\) and \(\beta _i\) into the products of disjoint cycles. In the decomposition of \(\alpha _i\) (resp. \(\beta _i\)) let \(S_{i}\) (resp. \(S'_i\)) be the support of the cycle which contains the letter \(x_i\). Let \(l_i=|S_i|, l'_i=|S'_i|\) be the lengths of these two cycles. If \(N, N'\) are nonzero integers divisible by \(l_i\) and \(l'_i\), respectively, then directly with the wreath recursions (3), we see that root permutations of elements defined by the group words \(a_i^N\) and \(b_i^{N'}\) are trivial and the sections of these group words at any letter \(x\in X_i\) satisfy

$$\begin{aligned} (a_i^N)_{\{x\}}=\left\{ \begin{array}{ll} a_{i+1}^{N/l_i}, &{} x\in S_i,\\ \varepsilon , &{}\mathrm{otherwise}, \end{array} \right. \;\;\;(b_i^{N'})_{\{x\}}=\left\{ \begin{array}{ll} b_{i+1}^{N'/l'_i}, &{} x\in S'_i,\\ \varepsilon , &{} \mathrm{otherwise}. \end{array} \right. \end{aligned}$$

Since \(S_i\cap S'_i=\{x_i\}\), we obtain in this case that the root permutation of the element defined by the group word \(W(N, N', i)\) is trivial and the section of this group word at any letter \(x\in X_i\) satisfies

$$\begin{aligned} (W(N, N',i))_{\{x\}}=\left\{ \begin{array}{ll} W(N/l_i, N'/l'_i, i+1), &{} x=x_i,\\ \varepsilon , &{}\mathrm{otherwise}. \end{array} \right. \end{aligned}$$

Further, for any letter \(x\in X_i\), the section \((b_ia_i^{\pm l_i}b_i^{-1})_{\{x\}}\) satisfies

$$\begin{aligned} \left( b_ia_i^{\pm l_i}b_i^{-1}\right) _{\{x\}}=(b_i)_{\{x\}}\left( a_i^{\pm l_i}\right) _{x^{\beta _i}}(b_i^{-1})_{\{x^{\beta _i}\}}=(b_i)_{\{x\}}\left( a_i^{\pm l_i}\right) _{x^{\beta _i}}((b_i)_{\{x\}})^{-1}. \end{aligned}$$

If \(x=x_i\), then \(x^{\beta _i}=x_i^{\beta _i}\notin S_i\), and if \(x\ne x_i\), then \((b_i)_{\{x\}}=\varepsilon \). Thus, for any letter \(x\in X_i\), we obtain

$$\begin{aligned} (b_ia_i^{\pm l_i}b_i^{-1})_{\{x\}}=\left\{ \begin{array}{ll} a_{i+1}^{\pm 1},&{} x\in (S_i)^{\beta _i^{-1}},\\ \varepsilon , &{}\mathrm{otherwise}, \end{array} \right. \end{aligned}$$

and also

$$\begin{aligned} \left( b_ia_i^{\pm l_i}b_i^{-1}\right) (\epsilon )=id. \end{aligned}$$

Consequently, the section of the group word

$$\begin{aligned} W(l_i, 1,i)=\left[ b_ia_i^{-l_i}b_i^{-1}, a_i^{l_i}\right] =b_ia_i^{l_i}b_i^{-1}a_i^{-l_i}b_ia_i^{-l_i}b_i^{-1}a_i^{l_i} \end{aligned}$$

at any letter \(x\in X_i\) is empty and the root permutation of the element defined by this group word is trivial. By the above, we see that for every \(i\ge 1\) the group word \(W(N_i, N'_i,1)\in F(Q_1)\), where \(N_i=l_1l_2\ldots l_{i+1}\) and \(N'_i=l'_1l'_2\ldots l'_i\), is disappearing and for the depth of this group word we have \(\lambda (W(N_i, N'_i,1))=i+1\). \(\square \)

As a direct Corollary of Propositions 810 and Corollary 3, we obtain Theorem 3.

Proposition 11

  1. (i)

    The automaton \({\mathcal {A}}\) is self-replicating.

  2. (ii)

    The automaton \({\mathcal {A}}\) is branching over the sequence \((K_i)_{i\ge 1}\) of commutator subgroups \(K_i=G({\mathcal {A}}_i)'\).

Proof

(i) For \(i\ge 1\) let \(X_i=\{x_{i,1}, x_{i,2}, \ldots , x_{i, m_i}\}\), where, according to our assumption, we have \(x_{i,1}=x_i\). Let \(l_i, l'_i\) be the integers defined as in the proof of Proposition 10. Let us fix \(i\ge 1\). Since \(a_i^{l_i}, b_i^{l'_i}\in St_{G({\mathcal {A}}_i)}(1)\) and \((a_i^{l_i})_{\{x_i\}}=a_{i+1}, (b_i^{l'_i})_{\{x_i\}}=b_{i+1}\), we obtain

$$\begin{aligned} \varPhi _{i,1}(St_{G({\mathcal {A}}_i)}(1))=\langle a_{i+1}, b_{i+1}\rangle =G({\mathcal {A}}_{i+1}). \end{aligned}$$
(26)

Since the group \(H_i=\langle \alpha _i, \beta _i\rangle \) is transitive, for every \(r\in \{1,2,\ldots , m_i\}\) there is \(g_r\in G(A_i)\) such that \(x_{i,r}^{g_r}=x_i\). For every \(h\in St_{G({\mathcal {A}}_i)}(1)\) and every \(r\in \{1,2,\ldots , m_i\}\), we also have \(g_rhg_r^{-1}\in St_{G({\mathcal {A}}_i)}(1)\) and

$$\begin{aligned} \varPhi _{i,r}\left( g_rhg_r^{-1}\right) =\left( g_rhg_r^{-1}\right) _{\{x_{i,r}\}}=g'_rh_{\{x_i\}}{g'_r}^{-1}, \end{aligned}$$

where \(g'_r=(g_r)_{\{x_{i,r}\}}\). By (26) we have

$$\begin{aligned} \left\{ g'_rh_{\{x_i\}}{g'_r}^{-1}:h\in St_{G({\mathcal {A}}_i)}(1)\right\} =g'_r\varPhi _{i,1}\left( St_{G({\mathcal {A}}_i)}(1)\right) {g'_r}^{-1}=G({\mathcal {A}}_{i+1}). \end{aligned}$$

Consequently \(\varPhi _{i,r}(St_{G({\mathcal {A}}_i)}(1))= G({\mathcal {A}}_{i+1})\) for every \(r\in \{1,2,\ldots , m_i\}\).

(ii) Let us fix \(i\ge 1\). The commutator \([a_i^{l_i}, b_i^{l'_i}]\in K_i\) belongs to the stabilizer \(St_{G({\mathcal {A}}_i)}(1)\) and for every letter \(x\in X_i\) the section of this commutator at the letter \(x\) is empty, unless \(x=x_i\), where we have:

$$\begin{aligned} \left[ a_i^{l_i}, b_i^{l'_i}\right] _{\{x_i\}}=\left[ a_{i+1}, b_{i+1}\right] . \end{aligned}$$

The commutator subgroup \(K_{i+1}=G({\mathcal {A}}_{i+1})'\) is generated by the conjugates

$$\begin{aligned} g^{-1}\left[ a_{i+1}, b_{i+1}\right] g,\;\;\;g\in G({\mathcal {A}}_{i+1}). \end{aligned}$$

Since the automaton \({\mathcal {A}}\) is self-replicating, we see that the preimage

$$\begin{aligned} \varPsi _i^{-1}\left( K_{i+1}\times \{id\}\times \ldots \times \{id\}\right) \end{aligned}$$

is a subgroup of the group \(K_i\). Next, as in (i), we use the fact that the group \(H_i=\langle \alpha _i, \beta _i\rangle \) is transitive and we show that for every \(r\in \{1,2,\ldots , m_i\}\), the preimage

$$\begin{aligned} \varPsi _i^{-1}\left( \{id\}\times \ldots \times K_{i+1}\times \ldots \times \{id\}\right) \end{aligned}$$

is a subgroup of the group \(K_i\), where the position of the factor \(K_{i+1}\) in the above direct product corresponds to the letter \(x_{i,r}\). Consequently, we obtain that the preimage

$$\begin{aligned} \varPsi _i^{-1}\left( K_{i+1}^{m_i}\right) =\varPsi _i^{-1}\left( K_{i+1}\times \ldots \times K_{i+1}\right) \end{aligned}$$

is a subgroup of the group \(K_i\).\(\square \)

Corollary 5

The group \(G({\mathcal {A}})\) is weakly branch, and in the regular case this group is self-replicating, contracting and regular weakly branch over the commutator subgroup.