Sensitivity of Mixing Times of the Eulerian Functional Digraphs of the Full Transformation Semigroup Tn ()
1. Introduction
The full transformation semigroup
consists of all
functions
on the set
, composed by
. It is one of the most studied objects in finite semigroup theory, and its combinatorial properties have been investigated through its associated functional digraph
, where
[1]-[7]. Since
for all
, the digraph
is precisely a functional (mapping) digraph in the sense of Harris [8] and Harary [9]. By the structure theorem for functional digraphs, each weakly connected component of
contains a unique directed cycle, with directed trees (rho-shaped components) attached to the cycle vertices.
The algebraic and combinatorial study of
through
has a rich history. Howie [10] [11], characterized the subsemigroup generated by the idempotents of
. The connectivity of
in terms of
was systematically developed in [12], which counted strongly connected, strictly unilaterally connected, strictly weakly connected, Hamiltonian, Eulerian and self-converse digraphs. Further structural results appear in East, Gadouleau and Mitchell [13], Yang and Yang [14] [15], and Wright [16].
Random walks on directed graphs have recently attracted substantial attention following the realisation that the classical theory for undirected graphs which exploits spectral methods and electrical-network analogies does not directly apply in the directed setting [17]-[22]. Boczkowski, Peres and Sousi [23] proved that for Eulerian digraphs on
vertices and
edges (a natural directed analogue of the undirected case), the uniform mixing time [24] of the lazy random walk satisfies
, and established exploration-time bounds
and
(regular case) extending those of Barnes-Feige [25] to the directed setting. Crucially, they showed that in sharp contrast to the undirected case the mixing time can be sensitive to the laziness parameter: changing the laziness at some vertices by a constant factor can change
by a polynomial factor changing the [26]. Mixing times have also been used in other contexts, for instance as a tool to obtain lower bounds on the Estrada index, a spectral measure of network robustness [27]. On the algebraic side, the skew eigenvalues of oriented bipartite graphs have been studied via their characteristic polynomials [28]. However, neither of these lines of work touches the combinatorial structure of functional digraphs arising from transformation semigroups, nor do they address the mixing or exploration behaviour of random walks on such digraphs.
The present paper investigates precisely which elements of
produce connected Eulerian digraphs, and analyses the mixing and exploration times of lazy random walks on these digraphs within the algebraically structured family
. This links two fields, finite transformation semigroups and quantitative mixing theory, that have not previously been connected in the literature.
1.1. Statement of Main Results
Throughout the paper,
is an integer,
is the full transformation semigroup on
,
is the symmetric group (group of units of
), and
denotes the lazy simple random walk on
(defined precisely in Section 2.4).
Theorem 1.1 (Characterisation of Eulerian functional digraphs). Let
. The functional digraph
is Eulerian (i.e.
for every
) if and only if
. Consequently:
(1) The number of
for which
is Eulerian is
.
(2) The number of
for which
is connected and Eulerian is
.
Every Eulerian functional digraph
is self-converse (isomorphic to its arc-reversal). The number of isomorphism classes of connected Eulerian functional digraphs on
equals the number of integer partitions of
.
Theorem 1.2 (Mixing-time bounds). There exist absolute constants
such that for all
and any
which is a single
-cycle (so that
is a directed
-cycle),
Theorem 1.3 (Exploration times). Let
and suppose
is connected. There exist absolute constants
such that for all
and all starting vertices
:
(1) (Equidistributed cycle type.) If every cycle of
has the same length, then
.
(2) (General.)
.
Here
is the first time the walk has visited
distinct vertices.
Remark 1.4. The bounds in Theorems 1.2 and 1.3 are consequences of the general
mixing-time theorem and
exploration-time theorems of [23] applied with
(one directed arc per vertex in a functional digraph). The novelty of the present work lies in 1) identifying exactly which elements of
give rise to connected Eulerian functional digraphs and computing their count, 2) establishing tight bounds for the single-cycle case, 3) demonstrating sensitivity for a natural two-cycle family arising from
, and 4) the explicit connection between the algebraic cycle structure of
and the mixing behaviour of the associated random walk.
Theorem 1.5 (Sensitivity of mixing). Let
be even and let
be a permutation of cycle type
, so that
consists of two directed cycles
of length
sharing a common base vertex 0. Define a modified laziness assignment: vertices in the segment
(indices modulo
) of
have laziness
; all other vertices have laziness 1/2. Then there exist positive constants
(independent of
) such that for all
:
By contrast, with laziness 1/2 uniformly at all vertices,
.
1.2. Organisation of the Paper
Section 2 collects background on
, functional digraphs, and Markov chain mixing. Section 3 proves Theorem 1.1. Section 4 establishes Theorem 1.2, including the lower bound and a cover-time corollary. Section 5 proves Theorem 1.3. Section 6 proves Theorem 1.5, the sensitivity result.
2. Preliminaries
2.1. The Full Transformation Semigroup
Let
. The full transformation semigroup
is the set of all functions
, equipped with the composition
. It satisfies
. The image and rank of
are
The symmetric group
consists of all bijections
; it has
elements and is the (unique) group of units of
.
2.2. Functional Digraphs
Definition 2.1. The functional digraph of
is
with
.
Every vertex of
satisfies
. The in-degree of a vertex
equals
. The following structural fact is standard; see, for instance, ([1], Chapter 1).
Proposition 2.1 (Structure theorem for functional digraphs). Each weakly connected component of
contains exactly one directed cycle, together with directed trees rooted at the cycle vertices (with edges directed toward the root).
Example 2.2. For
and
(so
,
,
,
), the digraph
has the directed 3-cycle
with vertex 4 feeding into vertex 2 via the arc (4, 2). Here
.
2.3. Connectivity and Rank
The following characterisation is proved in the work [12]; we recall it here for the reader’s convenience.
Proposition 2.2 ([12]). Let
. Then:
(1)
is strongly connected if and only if
, equivalently
.
(2)
is strictly unilaterally connected if and only if
.
(3)
is strictly weakly connected if and only if
and
has exactly one directed cycle.
(4)
is disconnected if and only if
has at least two directed cycles.
Moreover, the number of
for which
is strongly connected is
.
2.4. Lazy Random Walk and Mixing Times
Definition 2.3. Let
be a strongly connected directed graph with
for all
. The lazy simple random walk on
is the Markov chain
on
with transition probabilities
When
is Eulerian (and hence strongly connected for connected
), the uniform distribution
is stationary for
. For an irreducible Markov chain with transition matrix
and stationary distribution
, we define the
mixing time (also called the uniform mixing time)
(2.1)
and the total variation mixing time
(2.2)
These are related by
; see ([29], Chapter 4).
2.5. The Spectral Profile
The main analytic tool is the spectral profile introduced by Goel, Montenegro and Tetali [30]. Let
be the transition matrix of the lazy walk on a connected Eulerian digraph with stationary distribution
. The Dirichlet form of a function
is
(2.3)
For
define
and the spectral profile
by
Theorem 2.4 {Spectral profile theorem, ([30], Theorem 1.1)}. Let
be an irreducible transition matrix with
for all
. Then for every
,
2.6. Symmetrisation and the Eulerian Property
A crucial tool for analysing non-reversible Eulerian chains is the following. Let
be the time-reversal of
, defined by
. On an Eulerian digraph, reversing time is equivalent to reversing all arc directions. The symmetrisation is
.
Lemma 2.1 ([23]). For any function
,
(2.4)
Moreover,
is reversible with stationary distribution
, so standard commute-time estimates apply to
.
3. Eulerian Structure of Γα
3.1. Proof of Theorem 1.1
Proof. 1) Since
is functional,
for all
. The digraph is Eulerian if and only if also
for all
, i.e. every vertex has exactly one pre-image under
This is precisely the condition that
is a bijection, so
. Since
, there are
Eulerian functional digraphs.
2) By Proposition 2.2(1),
is strongly connected (equivalently, connected and Eulerian) if and only if
and
, which forces
to be a single directed cycle. The number of
-cycles in
is
, giving the second count.
3) An Eulerian functional digraph
(
) consists of
disjoint directed cycles of lengths
with
. Its arc-reversal
has the same multiset of directed cycle lengths, so
(both are unions of directed cycles of the same lengths), hence
is self-converse. Isomorphism classes correspond to cycle-type partitions of
, of which there are
(the number of partitions of
). 
Remark 3.1. The self-converse property gives a clean semigroup-theoretic meaning to the Eulerian condition: the Eulerian elements of
are precisely those whose functional digraph is invariant (up to isomorphism) under arc reversal.
3.2. Cycle-Type Decomposition
Every
has a unique cycle-type partition
of
, and
is the disjoint union of
directed cycles of lengths
. We record the following for later use.
Proposition 3.1. For
, the lazy walk on any connected component of
is irreducible, and the uniform distribution
(over all
) is stationary for the lazy walk on
.
Proof. Each component is a directed cycle, so the walk on it is irreducible, with the uniform distribution on the component being stationary. The global stationary distribution (over disconnected components) is uniform by the bi-stochastic property of the transition matrix. 
Remark 3.2. Since Theorem 1.2 concerns connected Eulerian functional digraphs (
a single
-cycle, or more generally
with connected
), the mixing-time analysis is restricted to the strongly connected case throughout Sections 4 and 6.
4. Mixing-Time Bounds
4.1. Upper Bounds via the Spectral Profile
Lemma 4.1 (Spectral profile bound). Let
be such that
is connected (a single directed
-cycle,
). For every
,
(4.1)
Proof. We consider the lazy simple random walk on a directed
-cycle
, which represents the unique connected Eulerian functional digraph topology. Let
denote the transition matrix of this lazy walk, defined by:
The uniform distribution
is stationary because the underlying digraph is Eulerian. We evaluate the spectral profile
introduced in [30]:
where
is the associated Dirichlet form.
Step 1—Symmetrisation. For a non-reversible Markov chain, the spectral profile is controlled by the reversible symmetrisation:
where
is the time-reversal defined by
. By ([23], Equation (2.3)), the Dirichlet form satisfies the invariant identity:
Consequently, the localized eigenvalue
for
is identical to the corresponding quantity for
, implying that
is preserved under symmetrisation. The reversible chain
corresponds exactly to a simple symmetric random walk on an undirected
-cycle with holding probability 1/2.
Step 2—Exit time estimate via the Dirichlet form. For a reversible Markov chain with stationary distribution
, it holds for any set
{see e.g., ([30], Lemma 4.3) or [29]} that:
where
and
denotes the expectation under the symmetrised chain
initiated at
. This bound confirms that the worst-case expected exit time from
controls the localized spectral gap.
Step 3—Bounding the exit time by the commute time. Under the reversible chain
, the commute time
satisfies the commute-time identity {cf. ([29], Proposition 10.6)}:
where
is the effective resistance between
and
in the corresponding electrical network. For an undirected
-cycle, the effective resistance between two vertices at distance
is exactly
. Thus, for any
, we have:
Let
such that
. For any
, the undirected distance from
to the complement
is at most
, with equality occurring when
forms a contiguous arc. Choosing a vertex
that achieves this minimal boundary distance yields
. By the commute-time identity and the fact that
, we obtain:
Step 4—Relating
to
. Substituting the cardinality relation
into the exit time bound yields:
Step 5—Spectral profile lower bound. Applying the exit time maximization to the Dirichlet relation from Step 2 establishes that for every subset
satisfying
:
Taking the infimum over all such valid subsets yields the uniform lower bound:
as required to establish the uniform mixing time order. 
4.2. Upper and Lower Bound for Single n-Cycle
Proof of Theorem 1.2. On a single
-cycle, the minimal stationary mass is
and the laziness parameter is
. Substituting the spectral profile bound (4.1) into the general convergence framework of Theorem 2.4 yields:
(4.2)
Setting
delivers
, which establishes the upper bound of Theorem 1.2. For the matching lower bound, let
be a single
-cycle. The lazy random walk on this directed cycle is equivalent to a lazy biased random walk on
that moves clockwise with probability 1/2 and remains stationary with probability 1/2. Starting from a fixed vertex
, the position of the walk at time
concentrates near the expected position
with a standard deviation of order
. The distribution achieves total variation mixing only when this standard deviation scales to the order of the space circumference
, which requires
. More precisely, letting
denote the distribution of
initialized at
, choosing
for a sufficiently small absolute constant
confines the probability mass of
to an arc of length
in
. This yields the total variation distance inequality
, which completes the proof. 
4.3. Cover Time
Corollary 4.1. For the lazy random walk on a connected Eulerian functional digraph
(
,
-cycle),
for an absolute constant
.
Proof. We use the DFS spanning-tree argument of ([23], Section 4). For the undirected version of
(the
-cycle), the only spanning tree is a path, and its two directed commute times each satisfy
by the commute-time bound of ([23], Lemma 4.1). Summing over the
edges of the spanning path gives
. 
5. Exploration Times
5.1. Commute-Time Bound for Functional Digraphs
Lemma 5.1 (Commute times). Let
with
connected, and let
be at undirected distance
in
. Then the commute time
satisfies
Proof. Since
is a connected Eulerian functional digraph with
, it is a single directed
-cycle (Theorem 1.1), which implies
. The result follows directly from ([23], Lemma 4.1) with
: on each excursion from
back to itself,
is hit with probability at least
, so
. Accounting for the path length
along the cycle yields
. Both the Eulerian and strong connectivity conditions required by [23] hold uniformly for the directed
-cycle. 
5.2. Proof of Theorem 1.3(1): Equidistributed Case
Proof. We may assume
; otherwise, the exploration time is bounded by the total cover time
via Corollary 4.1. Set
for a constant
to be determined. Since the stationary distribution
is uniform (Proposition 3.1) and the transition matrix
is bi-stochastic, it holds for every
that:
where
counts the visits to
up to time
. By Markov’s inequality, the set of states
has cardinality bounded by
.
For
, we invoke the return-time bounding technique of ([23], Lemma 5.1). Because the transition matrix on our directed cycle is bi-stochastic, the uniform mass balance ensures that the green-function potential estimates hold without requiring a reversible step. Applying the commute-time bounds from Lemma 5.1 yields:
Optimizing over the threshold parameter by setting
gives
. Let
be the distinctly visited vertices in chronological order. Applying Markov’s inequality to the total allocation sum
, we obtain:
Setting
forces this exit probability to be ≤1/2. A standard geometric trials argument then confirms that the total expected exploration time satisfies
. 
5.3. Hamiltonian Cube and Phase Decomposition
To obtain the general
bound (Theorem 1.3(2)), we control the number of distinct vertices visited by the walk in the worst case, which may scale up to
. The strategy decomposes the walk into phases whose lengths are bounded by the expected hitting times to specific target sets. This decomposition relies on a Hamiltonian cycle in the undirected cube of the graph, a combinatorial property independent of edge orientation.
Lemma 5.2 (Hamiltonian cycle in
). For any connected undirected graph
, the graph
(where vertices are adjacent if their distance in
is at most 3) contains a Hamiltonian cycle.
Proof. See [23]. The proof proceeds via induction on a spanning tree to construct an explicit vertex ordering.

Fix a Hamiltonian cycle
in the undirected cube of
. Because the underlying digraph is a directed
-cycle, the undirected distances between vertices are given by the minimal arc distance around the cycle, ensuring that
for all
. Following the frameworks of [23] and [25], we implement a phase decomposition of the walk on the original directed
-cycle, utilizing the fixed ordering of the undirected cube to categorize vertices.
Phase definition. At the beginning of phase
, let
denote the set of previously visited vertices. The final vertex visited in phase
is
, and its successor on the Hamiltonian cycle according to the fixed ordering is
. A vertex
is defined as good in phase
if for every
:
where indices are taken modulo
. Let
denote the set of good vertices, and
denote the set of bad vertices. Phase
terminates when the walk either reaches
or hits any vertex in
. This configuration ensures that each successive phase either advances along the cycle ordering or discovers a good vertex.
Lemma 5.3 (Number of phases, [25]). At most
phases are required before
distinct vertices are visited. Moreover, if
, then
.
Proof. See [23] or the original combinatorial formulation in [25]. 
Lemma 5.4 (Phase length bound). For a connected Eulerian functional digraph, let
be a partition such that
induces a connected subgraph, and let
under undirected adjacency. Then
Proof. We specialize the proof of [23] to the functional case where
. Let
Because each vertex in the directed
-cycle satisfies
, the condition
holds automatically for all
. Thus,
and
. For any
, since
is empty, we apply the general Eulerian contraction bound from [23]:
The factor
is bounded by
because each vertex has degree 2 on the underlying cycle. To maintain structural consistency with universal bounds in the literature and account for boundary configurations where
is non-empty, we retain the conservative assignment
. 
5.4. Proof of Theorem 1.3(2)
Proof. If
, the expectation
is bounded directly by the global cover time, which via Corollary 4.1 satisfies
. We therefore assume for the remainder of the proof that
.
Let
denote the length of phase
executed prior to visiting
distinct vertices. The phase starts at
with target set
, where
is the successor of
on the Hamiltonian cycle and
represents the good vertices. The complement
satisfies the conditions of Lemma 5.4 with
. Because the Hamiltonian cycle lies in the undirected cube
, the undirected distance satisfies
. Mapping these tracking constraints to the general Eulerian framework of ([23], Theorem 1.8, proof), the phase lengths are governed by the quadratic volume of the transient subsets, yielding the conditional estimate:
The scalar factor of 3 accounts for the maximum path steps required to transition from
to
or to an active vertex in
. By Lemma 5.3, at most
phases are required to identify
distinct vertices. Summing over the active phases yields:
establishing the cubic exploration bound. 
6. Sensitivity of Mixing
6.1. The Sensitivity Dichotomy
For reversible Markov chains, Peres and Sousi [26] proved that the mixing time is robust to changes of laziness parameters: if the laziness at each vertex is in
, the mixing time changes only by a constant multiplicative factor. In this section, we show this robustness fails for the Eulerian functional digraphs of
.
6.2. The Sensitive Family
Let
be even and fix
with cycle type
. Label the two directed cycles
and
, both of length
, sharing vertex 0. Define the modified laziness assignment:
(6.1)
At each vertex
, the modified lazy walk stays at
with probability
and moves to the unique out-neighbour of
on its cycle with probability
; at vertex 0 it also chooses one of the two cycles uniformly at random.
Remark 6.1. The choice
is the reciprocal of the golden ratio
. It satisfies
and makes the ratio of expected excursion times
an irrational number whose continued-fraction partial quotients are bounded (in fact by 4). The three-distance theorem (Lemma 6.2) quantifies the distribution of fractional parts
for an irrational
: the maximal gap between consecutive points among
is at most
, and any interval of length
contains at most
points, where
is an upper bound on the partial quotients of
. If the partial quotients were unbounded, the constants in these estimates would depend on
in an uncontrollable way (e.g., a huge partial quotient could create a much larger gap). Bounded partial quotients guarantee that the constants
and
are absolute (independent of
), which is essential for the local limit estimates in Lemma 6.3 and ultimately for establishing the polynomial mixing lower bound
.
6.3. Expected Excursion Times
For the walk
on
with the modified laziness (6.1), define a round as the time elapsed from a visit to 0 to the next return to 0 after having first hit the midpoint (
for
, 3n/4 for
). Let
(respectively
) denote the duration of a round on
(respectively
).
Lemma 6.1 (Expected excursion times). There is a function
such that
(6.2)
In particular, the ratio
is irrational with bounded continued-fraction coefficients.
Proof. The expected and variance formulae follow by decomposing each excursion into per-vertex residence times and applying Wald’s identity, exactly as in ([23], Lemma 4.4). The explicit computation gives
from which the asymptotic
is immediate. The irrationality of
follows from
, which gives
, so
, an irrational algebraic number with bounded partial quotients. 
6.4. Three-Distance Theorem and Return-Time Distribution
Let
be i.i.d. Bernoulli (1/2) random variables (indicating which cycle is visited in round
), let
and
be independent i.i.d. copies of
and
respectively, all mutually independent. Define the cumulative round time
Lemma 6.2 (Three-distance theorem). Let
be an irrational number with all continued-fraction partial quotients bounded by
. Let
. Then:
1) The maximum gap of the sequence
in
is at most
for a universal constant
.
2) Every interval of length
in
contains at most
elements of the sequence.
Proof. This is a quantitative form of the classical three-distance (Steinhaus) theorem; see ([21], inequality (3.17)). 
Lemma 6.3 (Return-time distribution). For the walk
with modified laziness (6.1), for all
,
(6.3)
Proof. We work with the walk
on the two-cycle graph
with the modified laziness (5.1). Recall the round construction: between successive visits to the common vertex 0, the walk performs an excursion entirely on
or
, with durations
and
respectively. Let
be i.i.d. Bernoulli(1/2) (choose
if
,
if 0), independent of the excursion durations. Define
where
and
are i.i.d. copies of
and
respectively, independent of each other and of
. The return time to 0 after
rounds is exactly
. We aim to prove that for all
in the range
,
Step 1—Decompose into mean plus fluctuation. Write
, where
and
are zero-mean fluctuations. From Lemma 6.1,
,
, and
. Let
be the number of rounds on
among the first
. Then
where
.
Step 2—Local CLT for the fluctuations. Because
have finite variance of order
and are independent, we apply a local central limit theorem for lattice distributions (see e.g. [31]). For any integers
with
and
, the binomial distribution of
and the conditional distribution of the fluctuation
yield:
The constants implicit in
are absolute because the component distributions possess bounded third moments, ensuring uniform convergence bounds in the local limit regimes.
Step 3—Reformulate the event
. From the structural decomposition, the target configuration satisfies:
Let
. Note that
where
, which is an algebraic irrational with bounded partial quotients. Set
, which shares this Diophantine property. Isolating the excursion count yields:
Let
and
. This simplifies to the Diophantine balance equation:
Step 4—Scaling and index localization. Observe that
. For
, the condition
restricts the admissible range of
to an index band of width
centered around
. Let
. Because
has bounded partial quotients,
is likewise badly approximable. Rewriting the balance equation as:
implies that for an integer solution
to exist, the localized index
must satisfy:
By the Three-Distance Theorem applied to the irrational rotation
, the elements
are well-spaced. Since
due to the tight restriction on
, the number of active indices
simultaneously satisfying the scaling constraints is rigidly bounded by an absolute constant.
Step 5—Counting admissible triples
and upper bound. Let
be the set of valid indices. For each fixed
, the balance equation
determines
uniquely for a given fluctuation value
. Because the spacing between distinct values of
is
, and the LCLT restricts the fluctuation scale to
, there exists at most one admissible integer value for
per active index. Compounding the joint probabilities via conditioning yields:
Summing this evaluation over the finite set
yields the upper bound:
Conversely, by the uniform distribution properties of badly approximable numbers, the set
contains at least one index
for which
. For this target index, the LCLT guarantees non-zero probability mass at the center of the fluctuation distribution, yielding a matching lower bound of order
. Thus, summing over all configurations validates the tight asymptotic equivalence:
completing the proof. 
6.5. Proof of Theorem 1.5
Upper bound. We construct a coupling between
(the walk with modified laziness) and an auxiliary walk
whose successive excursions from 0 are i.i.d. copies of
or
, chosen by an independent coin flip (as in Definition 6.2 below). By a coupling argument entirely analogous to [23], the coupling succeeds with probability
over any time interval of length
. Lemma 6.3 then gives: for all
and all vertices
,
which implies
uniformly. Sub-multiplicativity of the total variation distance then gives
.
Lower bound. Let
for
small. By time
at most
rounds are completed. Let
and
denote the number of left (
) and right (
) rounds among the first
rounds. Since
is a simple random walk on
, Doob’s maximal inequality gives
On the complement,
for all
. Combined with a concentration inequality for the martingale
(which has
), and Lemma 6.2 (which shows the walk’s position is concentrated on a set of size
in each cycle), one deduces
. Choosing
small enough gives
. When all vertices have laziness 1/2, the walk on each
-cycle is the standard lazy directed-cycle walk, with mixing time
, giving
for the two-cycle walk. 
Definition 6.2. In the coupling used in the upper bound proof, define
as the walk that at the start of each excursion from 0 independently chooses cycle
(with probability 1/2) or
(with probability 1/2) and completes one full excursion on that cycle before returning to 0. The excursion lengths are i.i.d. copies of
or
as appropriate.
Acknowledgements
The authors are grateful to the anonymous referees for careful reading and constructive suggestions that substantially improved the presentation.