WorksMathematics
Aleshin graphs are expanders
Abstract
We prove that the Aleshin level graphs are two-sided expanders. We establish linear diameter bounds for Belaterra and Aleshin graph families. At level , the diameters of the Bellaterra and undirected Aleshin graphs are a . This improves the quadratic diameter bounds of Malyshev and Pak to the correct order of growth. For the Aleshin graphs we obtain a normalized spectral gap of at least and an edge-expansion constant of at least , thereby establishing a Malyshev–Pak's Conjecture with explicit constants. An exact calculation at level ten also proves that the undirected Aleshin graphs are not Ramanujan for any .
The automata and their level graphs
Malyshev and Pak proved that the diameters of the Aleshin and Bellaterra level graphs grow at most quadratically in the level [3 Theorem 1.1]. They conjectured that both families are two-sided expanders [3 Conjectures 1.2 and 1.3]. The connection between these questions is that uniform spectral expansion gives logarithmic diameter in the number of vertices. Here the number of vertices is , so logarithmic diameter means linear growth in . We prove the expansion transfer first and then give explicit linear diameter bounds in § 4. We note that Ramanujan graphs of valence with an odd prime power, generated by automata, were constructed by Bondarenko, Grigorchuk and Vdovina in [1 Theorem 2].
Mealy automata and binary words
Let . The vertices of the rooted binary tree are the finite words in , including the empty word, which is the root. The two children of a word are and . The th level is , so .
A Mealy automaton consists of a finite set of states, an input alphabet, a next-state rule, and an output rule. Starting in a state , it reads a word from left to right. At each step it outputs one letter and changes state according to the current state and the input letter. Thus a state defines a length-preserving map on words. If the output rule at each state permutes the alphabet, these maps are automorphisms of the rooted tree. In particular, they permute each finite level .
For a rooted binary-tree automorphism , the notation means
Here is the permutation of the first letter, and is the section of at , namely the action on the remaining word after the first letter has been read. Put . The displayed formulas below are called wreath recursions. They specify each automaton completely.
The Aleshin and Bellaterra automata
We use the Aleshin convention of Vorobets–Vorobets [4]:
The matching Bellaterra states are
For example, and , whereas and . The next-state rules agree, and the output letters are opposite. Figure 1 displays both automata. An arrow labelled means: read , output , and move to the state at the end of the arrow. Two labels on one arrow specify two transitions with the same next state.

Figure 1. The two automata in the conventions (1) and (2). The directed edges record next states; each label gives the input letter followed by the output letter.
As a short example of reading a word,
In each calculation the remaining input is processed from the state specified by the preceding transition.
The Bellaterra states are involutions. Indeed, their squares satisfy
All three squares fix the empty word. If they fix every word of length , these recursions show that they fix every word of length . Simultaneous induction proves on the whole rooted tree.
Level Schreier graphs and adjacency operators
The directed Aleshin level graph has an edge for each and . Its indegree and outdegree are three. Let denote its undirected version, retaining all labelled edges and their multiplicities. Equivalently, is the Schreier graph with the symmetric generating list
It is a degree-six multigraph. A loop contributes two to the degree; parallel edges are counted separately.
For a permutation of , define its column permutation matrix by , where is a standard basis vector. Thus and , with denoting the conjugate transpose. Set
Here is the undirected adjacency matrix and is its normalized random-walk operator. We use the Euclidean inner product on and write
The Bellaterra level graph has the same vertex set and one edge labelled from to for each . Since the Bellaterra states are involutions, its adjacency matrix is symmetric:
A fixed point of a state contributes one to the corresponding diagonal entry. These fixed points are sometimes represented by half-loops; the matrix convention fixes their contribution unambiguously. Every row sum of is three. All labels and edge multiplicities are retained in both graph families.
Definition 1.1. A sequence of regular graphs is a family of two-sided spectral expanders if its normalized adjacency matrices satisfy for a constant independent of $n.
Since is self-adjoint, this bounds the absolute value of every nonconstant normalized eigenvalue. In particular, it bounds the eigenvalues away from both and .
The exact Bellaterra comparison
Before comparing the operators, we explain what the states in this comparison represent. The names Aleshin and Bellaterra refer to the two specific three-state binary Mealy automata in Figure 1. Their states are denoted by
respectively. Each state specifies two instructions, one for input and one for input : which letter to output and which state to use next. Choosing an initial state therefore determines how the automaton transforms an entire input word.
For example, starting the Aleshin automaton in state means that the first input letter is processed by the rule for . After that step, the remaining letters are processed in the states specified by the transition rules. The notation denotes the complete output word obtained in this way. Thus the same symbol denotes both an internal state and the transformation of binary words defined by using that state initially. The symbols , and have the same interpretation.
These transformations preserve word length and the prefix relation. Since each state’s output rule permutes , they are automorphisms of the rooted binary tree. They generate the groups
Products in these groups are compositions of transformations of whole words: means first run the automaton from state on , then run it from state on the resulting word. Restricting a state transformation to gives a permutation of the words at level . We use the same symbol for this restriction when the level is clear.
The correspondence , , can be read directly from the following transition table. Each pair in the third column gives the next Aleshin and Bellaterra states.
| Current states | Input | Next states | Aleshin output | Bellaterra output |
| 0 | 1 | 0 | ||
| 1 | 0 | 1 | ||
| 0 | 1 | 0 | ||
| 1 | 0 | 1 | ||
| 0 | 0 | 1 | ||
| 1 | 1 | 0 |
Table 1.
In every row, the next states are again a corresponding pair, and the two output letters are complementary. Consequently, when the automata start in corresponding states and read the same input word, they remain in corresponding states throughout the calculation. For instance, on input 0010 the Aleshin states used are , and
The corresponding Bellaterra calculation is
The output words differ at every position.
The vertices of the level graphs are the input words. Applying a state transformation gives the endpoint of the edge with that label. Thus 0010 and 1001 are joined by an -labelled directed Aleshin edge at level four, while the corresponding Bellaterra edge joins 0010 to 0110. The permutation matrix records the action of the Aleshin state by ; the matrix records the matching Bellaterra action. Here is the coordinate vector indexed by the word . The next lemma expresses the complementary-output relation as an identity of permutations and then of matrices.
The comparison of states
Let complement every letter:
Then , , and fixes the constant vector.
Lemma 2.1 (State comparison). For every and ,
Therefore
Proof. The two automata have the same state transition for each input letter. Their output letters are opposite for every state and input. Starting in matching states and reading the same word, they therefore follow the same sequence of states and output complementary words. This proves (2.1). To see the induction explicitly, for a word of length one has
The other states and input letters follow from the same recursions; the initial case is the empty word. The identity is also [4 Lemma 5.1]. The matrix identities follow from and , .
General transfer of spectral gaps
The relation between the two automata transfers any two-sided Bellaterra spectral bound to the Aleshin graphs. We give the precise comparison. Write
Thus is the normalized Bellaterra adjacency operator, describes the directed Aleshin walk, and describes the undirected Aleshin walk. The normalizations use the row sums 3 and 6 specified in the graph definitions.
We work on
For a permutation , our convention gives
Every permutation matrix is unitary and preserves both constants and , because permuting coordinates preserves their sum and their squared absolute values. In particular, these subspaces are preserved by the operators above and their adjoints.
Proposition 2.2. For , the corresponding automaton transformations satisfy
If is the permutation matrix of simultaneous bit complementation, then
Consequently, the singular values of are precisely the absolute values of the eigenvalues of , with multiplicity. In particular,
Proof. Let complement every letter of a word in . Lemma 2.1 gives . The Bellaterra states and are involutions. Hence
which proves (7). The identities are compatible with restriction to every finite level, so they hold on the rooted tree as well. Every product of two Bellaterra generators is thus a word of length at most two in the Aleshin generators and their inverses.
The involution properties give
Summing and dividing by 3 proves . Taking the adjoint gives , and averaging these identities proves (8). Multiplication then gives (9). The first identity in (9) also follows directly from (7):
The singular values of an operator are the nonnegative square roots of the eigenvalues of . All the operators in (9) preserve , so the identities hold on that subspace. Choose an orthonormal eigenbasis for the self-adjoint operator . For an eigenvector with eigenvalue ,
The corresponding singular value is therefore , proving the assertion with multiplicities.
For the norm equality one can also argue directly. The unitarity of gives
Taking the supremum over unit vectors proves . An operator and its adjoint have the same norm. Since is preserved by both and , the adjoint of the restriction is the restriction of the adjoint. This proves the remaining equality in (10).
For a self-adjoint normalized adjacency operator , its two-sided spectral gap is
Thus a gap of at least means that all eigenvalues on the orthogonal complement of the constant functions lie in . Both ends of the spectrum are controlled by this definition.
Proposition 2.3. At every level,
Equivalently, the normalized gaps satisfy
In particular, a positive Bellaterra two-sided gap uniform in gives an Aleshin two-sided gap with the same normalized constant. Whenever this gap is positive, the undirected Aleshin graph is connected and nonbipartite.
Proof. Put . For , the triangle inequality and Proposition 2.2 give
Taking the supremum over unit vectors proves (11), and subtracting from 1 proves (12).
There is also a useful proof directly in terms of the eigenvalues. By (8) and our inner-product convention,
Cauchy–Schwarz and the unitarity of yield
Substituting an eigenvector of the self-adjoint operator shows that
If uniformly, the same therefore works for every Aleshin level. In unnormalized terms, a Bellaterra bound gives the Aleshin bound on .
Suppose the undirected Aleshin graph had a component with . Then
would be a nonzero vector in with . This contradicts (14) when , proving connectedness. If the graph were bipartite, the sign function equal to and on the two parts would satisfy . Self-adjointness and imply
so , again contradicting (14).
Conjectures 1.3 and 1.2 of Malyshev–Pak [3] concern two-sided expansion of the Bellaterra and Aleshin graph families, respectively. In [3 Remark 11.3], they observe that the first implies the second by using products of two Bellaterra generators. Identity (7) describes those products explicitly, and Proposition 2.3 gives the quantitative implication. Their directed Aleshin graph records the three outgoing edges at each vertex; forgetting the directions, with multiplicities retained, gives the normalized operator used here. Their automaton convention is obtained from ours by interchanging 0 and 1 in both the input and output labels. This conjugates the level actions by and gives isomorphic labelled level graphs.
The two-sided hypothesis is essential to this general argument. For a self-adjoint , the norm on is the maximum absolute value of its eigenvalues there; an upper bound on the largest eigenvalue alone does not control eigenvalues near . For example, on a two-point set let
The eigenvalue of is , so its one-sided gap is 2. Nevertheless, has gap zero on . This example shows why the general comparison requires a bound at the negative end of the spectrum as well.
The exact relation in (9) identifies singular values, and the eigenvalues themselves may differ. Already at level one,
Their eigenvalues on are and , respectively, although both restricted norms are .
The Bellaterra bound and Aleshin expansion
We now apply Proposition 2.3 using the Bellaterra spectral theorem from [2 Theorem 2.3].
Theorem 2.4 (Bellaterra spectral bound). For every , the graph is connected, the eigenvalue 3 of is simple, and
Proof. Write for the Bellaterra states in [2]. They satisfy
Conjugating the states in (2) by letter complementation interchanges the sections at 0 and 1 and leaves the first-letter permutation unchanged. Thus the conjugated states satisfy precisely these recursions. For example, if , then
The other transitions follow in the same way. Starting with the empty word, simultaneous induction on word length therefore gives
Our paper [2] uses the same edge-multiplicity and fixed-point conventions as (4). Its adjacency operator is consequently
Since is unitary and fixes the constant vector, it preserves . The estimate in [2 Theorem 2.3] therefore yields
Finally, excludes an eigenvector of eigenvalue in . The eigenvalue is simple, so is connected.
Theorem 2.5 (Aleshin spectral expansion). For every $n\geq 1,
Thus the degree-six Aleshin graphs are connected two-sided expanders, with uniform normalized spectral gap at least
Proof. Theorem 2.4 gives . Proposition 2.3 therefore yields . Since , its spectrum on lies in . The same proposition proves connectedness, and the normalized two-sided gap is at least , independently of .
The general comparison in Proposition 2.3 uses only the automaton identities and elementary linear algebra. The particular constants in Theorem 2.5 use the Bellaterra estimate (15). We next derive the edge expansion and diameter bounds from these operators.
Edge expansion and the directed walk
For , let be the multiset of undirected edges with one endpoint in and one outside . Count each such edge once, with its multiplicity; loops contribute nothing.
Corollary 3.1 (Edge expansion). Under (2.11) , every with satisfies
In particular, the edge-expansion constants obey
Proof. Put , , and . Then and
The graph Laplacian is , and . The usual quadratic-form identity, valid with the stated multiplicity convention, gives
More generally, if , then gives
where the last step uses . By Theorem 2.5, we may take . This gives the stated constant .
For completeness, the positive-generator directed walk also has a uniform contraction estimate. With our column convention, acts on column probability distributions, while its adjoint acts on observables by
Both preserve the uniform distribution and the mean-zero subspace. Proposition 2.2 gives
Thus the directed walk contracts mean-zero vectors by the same uniform factor in a single step. For every integer , submultiplicativity of the operator norm gives
This argument does not require to be self-adjoint or diagonalizable. For instance, if is a probability column vector and , then
We use this contraction estimate for directed paths in the next section.
Linear diameter bounds for both families
The distance between two vertices of an undirected graph is the minimum number of edges in a path joining them. The diameter is the maximum of these distances. For a directed graph, paths must follow the orientations; the directed diameter is the maximum over ordered pairs of vertices. We write for the directed Aleshin diameter, using only the transitions , , .
Malyshev–Pak’s quadratic diameter bounds [3 Theorem 1.1] concern undirected distances. We obtain linear bounds for those distances and also for directed Aleshin distances. The argument for undirected graphs uses the following elementary polynomial estimate.
A polynomial bound for the diameter
The Chebyshev polynomials are defined by
They have degree and satisfy
These identities follow by induction from the corresponding addition formulas. In particular, when .
Lemma 4.1 (Diameter from a spectral interval). Let be the symmetric normalized adjacency matrix of a regular graph on vertices, with loops and multiplicities allowed. Suppose that
If an integer satisfies
then the graph has diameter at most .
Proof. Set
The operator vanishes on constants. On , the spectrum of lies in . The spectral theorem and (20) therefore give .
For a vertex , put . Then . Since vanishes on constants and is self-adjoint, the Cauchy–Schwarz inequality gives
Consequently
If had distance greater than , every entry with would be zero, because there is no walk of any such length joining them. As is a polynomial in of degree , its -entry would also be zero. This contradicts (22). Thus every pair of vertices has distance at most .
The Bellaterra and undirected Aleshin bounds
Theorem 4.2 (Linear undirected diameter). The Bellaterra estimate (15) gives, for every ,
Proof. For the two families, the symmetric normalized adjacency operators are
Equation (15) and Theorem 2.5 give the same bound for both operators:
There are vertices. Since
the second identity in (20) gives
In particular,
Apply Lemma 4.1 with to each operator.
Directed Aleshin paths
Proposition 4.3 (Linear directed diameter). The Bellaterra estimate (2.11) gives, for every ,
Proof. Use , , , and . The matrix is doubly stochastic: its row sums and column sums are one. Hence . The contraction estimate (3.2) gives, for every integer ,
Every matrix entry therefore satisfies
The exact inequality
shows that for every ordered pair . With our column convention this is a directed walk of length from to . The directed diameter is at most .
Lower bounds and the order of growth
Corollary 4.4 (The diameters have linear order). Under the Bellaterra estimate (2.11), for every ,
In particular, all three diameters are , equivalently .
Proof. In an undirected graph with at most neighbors at each vertex, a ball of radius contains at most
vertices: there are at most choices for the first step of a shortest path, and at most choices for each later step. Loops and multiple edges cannot increase the number of distinct vertices reached. For Bellaterra, , so a graph of diameter has at most vertices. For undirected Aleshin, , giving at most vertices. Substituting for the number of vertices and solving for gives the first two lower bounds.
The directed Aleshin graph has three outgoing edges at each vertex. At most vertices can be reached by directed paths of length at most . This gives the third lower bound. Combine these estimates with Theorem 4.2 and Proposition 4.3. Here means that the quantity is bounded above and below by positive constant multiples of for all sufficiently large .
The Aleshin graphs are not Ramanujan from level ten
A connected -regular graph is Ramanujan if every adjacency eigenvalue other than the trivial values and, when present, has absolute value at most . We use this same spectral definition for the multigraphs in the note, with loops and edge multiplicities counted in their adjacency matrices. For the degree-six Aleshin graphs, the Ramanujan threshold is . The expansion bound from Theorem 2.5 is larger than this threshold. The following argument exhibits an eigenvalue above at level ten and carries it to every higher level.
Eigenvalues persist under passage to higher levels
For , let delete the last letters, and define the pullback of functions by
Each word of length has exactly extensions of length , so
In particular, is injective and carries into .
Lemma 5.1 (Persistence of level eigenvalues). For ,
Consequently, every eigenvalue of is an eigenvalue of .
Proof. A rooted-tree automorphism preserves prefixes. Thus, for each ,
Using , this gives , where the two occurrences of act at their respective levels. Summing over the six generators proves Eq. (29). If with , then by Eq. (28), and .
An exact certificate at level ten
Theorem 5.2. For every , the undirected Aleshin graph is not Ramanujan. More precisely, its adjacency matrix has a nonconstant eigenvalue satisfying
Proof. We give a finite certificate consisting entirely of integer matrix recursions and exact inner products. Order the words at each level lexicographically, with words starting with 0 before those starting with 1. Let , , be the column permutation matrices of on . At level zero they are all the matrix . The wreath recursions (1) give
Thus the symmetric integer matrix at level ten is
Let be the parity vector
It has coordinate sum zero. Define
Since preserves , all the and lie in . Their construction is explicit from (30) and (31).
The four inner products needed to evaluate the Rayleigh quotient of are as follows. Put . Successive application of the displayed integer recursions gives
These are exact integers. Expanding and using the symmetry of now gives
In particular . The strict comparison with the Ramanujan threshold follows from the two integer inequalities
They imply
To see why this proves an eigenvalue bound, expand in an orthonormal eigenbasis of the real symmetric operator . Its Rayleigh quotient is a weighted average of the corresponding eigenvalues, with nonnegative weights summing to one. At least one eigenvalue is therefore at least . Theorem 2.5 places every eigenvalue on strictly below , so the eigenvalue just obtained is nontrivial. This proves that is not Ramanujan.
Finally, Lemma 5.1 carries this same eigenvalue to for every . It remains strictly between and and hence violates the degree-six Ramanujan bound at every such level.
The theorem establishes failure of the Ramanujan bound for every level from ten onward. This is compatible with the uniform spectral gap proved earlier: expansion requires a fixed separation from and , whereas the Ramanujan condition imposes the smaller interval on the nontrivial spectrum.
Tools used.
The paper was written with ChatGPT 6 Pro editing assistance. The proof of the fact that the Aleshin graphs are not Ramanujan, § 5.2, was done with ChatGPT 6 Pro assistance. The content of the paper was carefully checked by the authors and the authors carry the full responsibility of the content of the paper.
References
- [1][BGV26] Ievgen Bondarenko, Rostislav Grigorchuk, and Alina Vdovina, Ramanujan subshifts, 2026. arXiv:2602.22356.arxiv.org/abs/2602.22356
- [2][KhV26] O.Kharlampovich and A.Vdovina, The Bellaterra graphs are Ramanujan, Preprint:arXiv:2610.25324arxiv.org/abs/2610.25324
- [3][MP17] A. Malyshev and I. Pak, Lifts, derandomization, and diameters of Schreier graphs of Mealy automata, Combinatorica 37 (2017), 733–765. doi:10.1007/s00493-016-3306-0.DOI
- [4][VV10] M. Vorobets and Y. Vorobets, On a series of finite automata defining free transformation groups, Groups, Geometry, and Dynamics 4 (2010), 377–405. doi:10.4171/GGD/87.DOI