Manuscript Offprint
arXiv:2610.11098An Improved Lower Bound for Separating Words by Permutation Automata
Abstract
We prove that some pairs of binary words of every sufficiently large prescribed length require states to separate by a deterministic finite automaton whose letters act as permutations. We obtain this bound by constructing distinct equal-length positive binary words that form an identity of of length . This improves the previous lower bound of [2]. The proof combines a positive-word construction with a cover of permutation orders. Consecutive segments of prime powers reduce the covering problem to enumerating sets of positive integers with bounded sum. The required estimates use the central binomial coefficient and the classical asymptotic formula for partitions into distinct parts. An appendix gives sharper constants and lower-order terms using a greedy cover and a quantitative prime number theorem.
1 Introduction
A deterministic finite automaton separates two words when it accepts exactly one of them. In a permutation automaton, each input letter acts bijectively on the state set. For distinct binary words , let be the minimum number of states of such an automaton separating them. Define
The alphabet is , with letter permutations . All logarithms are natural. Words act on the right: .
Robson [9] studied separation by permutation automata and proved an upper bound. Bulatov, Karpova, Shur, and Startsev constructed positive identities of of length , giving (Theorem 16 and Corollary 17 in [2]). For , Karpova and Shur characterized identities of the form by two-integer covers and proved this length bound optimal within that family (Theorems 18 and 21 in [7]). Our main result improves the order of the lower bound.
Theorem 1.1. .
The constant in the is the reciprocal of in the proof in Section 4. Appendix A sharpens the constant to 1, giving , and gives explicit lower-order terms, using a quantitative prime number theorem.
A positive binary identity of is a pair of distinct words over satisfying for every . It is homogeneous if . Write for the minimum common length of a homogeneous positive binary identity.
The identity holds in if and only if no permutation automaton with at most states separates ; this correspondence is discussed in Section 8 of [4]. Embed the letter permutations in by adding fixed points; an identity then gives the same endpoint from every state. Conversely, if the evaluations differ, start at a state with different images and accept only one image.
We prove the automata theorem by constructing short identities.
Theorem 1.2. For every sufficiently large k, there are distinct positive binary words with equal counts of each letter, forming an identity of , with
For all sufficiently large , Theorem 1.2 gives an identity of length at most for some . The distinct words and have length exactly and form an identity of . The correspondence above therefore gives , proving Theorem 1.1.
The proof extends the two-integer covering approach of Bulatov et al. (Proposition 15 in [2]) to arbitrary finite covers, using a recursion of positive words. We build the cover by partitioning prime powers into consecutive segments of controlled logarithmic weight. This reduces the covering problem to counting sets of positive integers with bounded sum and gives at most cover integers, each at most in magnitude. Combining these integers into an identity contributes only to its logarithmic length, so the largest cover integer determines the asymptotic scale.
After the preliminary estimates, Sections 3 and 4 prove Theorem 1.2. Section 5 proves that its order of magnitude is optimal for this construction, and Section 6 documents AI use including efforts to push the lower bound further by other ideas.
Lemma 2.1 (Subset count). As , the number of sets of positive integers that sum to at most Q is asymptotic to
Proof. Let count partitions of into distinct parts, with , and put . Theorem 1.1 in [1] gives
Sum-integral comparison, followed by and integration by parts, gives
We next bound the logarithmic weight of prime powers.
Lemma 2.2 (Weight bound). For any , summing over primes ,
Proof. Put . The prime exponents in the central binomial coefficients give, for every integer ,
For the last inequality, the two central terms in the binomial expansion of are equal. Induction from gives for all integers , hence for every real .
For , set . Since , . Therefore
Let be the unique prime factorization of , with distinct primes and positive integers . Define
Thus is the set of maximal prime-power divisors of ; for instance, . For , . Empty sums and products equal zero and one, respectively. The following bound is due to Erdős and Turán (Section 7 in [6]).
Lemma 2.3 (Support cost). If q is an element order of , then
Proof. Let be the cycle lengths of a permutation of order q. Then
Thus . Repeatedly applying for gives
including under the empty-set conventions. Therefore
Finally, prime factorization gives .
3 Positive identities and covers
We first record two reductions for constructing identities. Assume u and v are distinct equal-length words.
Lemma 3.1. (a) Without loss of generality, u and v begin and end with different letters.
(b) Without loss of generality (up to constant factors), we can restrict attention to pairs of the same order.
Proof. (a) If they begin with the same letter or end with the same letter, then deleting the letter leaves shorter strings that also give a global identity. (b) Define and as the images of u and v under the length-doubling homomorphism , . Then
Thus is an identity if and only if for all cases of the form , . Since and always have the same order, (b) follows.
Call in (b) a same-order identity. Our constructions will avail the property that both and divide the same when one of them does. This motivates the key concept:
Definition 3.2. A cover of is a finite set of positive integers such that every element order of divides some .
An integer in a cover need not itself be a permutation order. Now we turn to strings from which we will compose group identities. A block of a word is a maximal consecutive sequence of equal letters.
Definition 3.3. For a positive binary word and an integer , define its positive -inverse by reversing the order of its blocks and replacing each exponent by the unique integer in congruent to modulo .
For example, the positive 5-inverse of is . When , this word evaluates to . The replacements are positive, including for multiples of , so the number of blocks is unchanged and the new length is at most times that count.
Throughout this section, write for the size of the cover.
Lemma 3.4 (Word construction). Let be a cover. There are distinct positive binary words such that, for ,
Proof. Enumerate , not necessarily in increasing order. Start with and . For , define
Fix and evaluate the words by , . If , then . If , then
If , the positive inverse gives , so
Induction proves the stated implication.
As formal words, and begin with 0 and 1, respectively, so they are distinct.
Lemma 3.5 (Length bound). Let be the words constructed in Lemma 3.4. For , each word has at most blocks, and
Proof. We induct on . The case follows from and . At the next step, has at most blocks, each of length at most . Hence
Each concatenation in (1) has at most blocks, completing the induction.
Lemma 3.6 (Binary identity). Every cover gives a positive binary identity of with equal counts of each letter and
Proof. Take the words constructed in Lemma 3.4 for this cover. Following the conjugate substitution from Proposition 15 in [2], set and .
For arbitrary ,
Thus and have the same order, which divides some . Lemma 3.4 gives
The words u, v begin with 0, 1, respectively. Each substitution contributes one of each letter. By Lemma 3.5,
which gives (2).
These identities belong to Karpova and Shur's numerical-2 class (Section 3.3 in [7]). For each possible common order q of 01 and 10, some cover integer is divisible by q. The positive-inverse cancellations then reduce both sides to the same word using only deletions of and .
It remains to choose the integers used in the recursion for . We choose them so that every element order of divides at least one . Lemma 3.6 then ensures that and form an identity. The bound shows why we seek both a small number of integers and a small maximum.
We form these integers as products of selected prime powers. One product can cover several orders: for example,
In general, if a selected set contains , which we defined as the set of maximal prime-power divisors of q, its product is divisible by q. Now define
where is prime and . By Lemma 2.3, every arising from an element order of belongs to the finite family
(which also allows different powers of the same prime). Choose subsets so that every is contained in at least one chosen . For each such , include in . Then
so these integers form a cover. The number of chosen sets bounds the cover size, and . Thus we need few sets with small logarithmic sums. The sets need not themselves satisfy .
4 Constructing
A prime power contributes its value to the support cost and its logarithm to for . We relate these quantities by partitioning prime powers into segments in numerical order with approximately equal logarithmic weights. Lemma 2.2 controls segment weights, while Lemma 2.1 bounds the number of possible occupied index sets.
Fix integers and , and put . We construct a set as follows. Partition into nonempty segments , with for adjacent segments. Then for every segment, the sum excluding the segment's last element satisfies
while including the last element gives
except for the last segment. Thus each segment ends when its sum first reaches W, or when no elements remain.
For every set of positive segment indices with , including the empty set, form
Let be the set of these integers . Every product includes and all elements of each selected segment. Figure 1 illustrates one such product.

Figure 1: The bold entries form , with . The shaded segments give , which is divisible by 55. The segment is included even though it does not meet ; is the final segment, with .
Proposition 4.1. For integers and all sufficiently large integers , the construction above gives a cover satisfying
(4)
Proof. Since , the defining inequalities give, for every segment,
For any , the preceding segments have total weight at least , and all their elements are smaller than . Lemma 2.2 gives
Thus every element of is at least .
Fix and let be the set of positive indices of segments that meet :
The sets for are nonempty and disjoint, so
Hence , and this occurs in the construction. Every element of belongs to or to a segment indexed by . Therefore the product in (3) contains every element of , giving . Lemma 2.3 now shows that is a cover.
Every used in the construction is a subset of , since its positive indices sum to at most . Since , Lemma 2.1 gives for all sufficiently large . For every used in the construction,
Each uses segments, each with logarithmic sum less than . Thus
which gives (4) after substituting .
The construction enumerates index sets, not permutation orders. Numerical ordering is essential: it converts a segment's index into a lower bound on the cost of each element in it. For an integer-arithmetic implementation, use weights . Lemma 2.2 gives
Use the threshold . Each segment then has weight at most .
Proof of Theorem 1.2. Set . Then as and . For sufficiently large , Proposition 4.1 gives a cover with
Lemma 3.6 now gives distinct binary words with equal letter counts, forming an identity of , and
Exponentiating gives the claimed bound.
5 Tightness of the construction
Section 4 constructs a cover with at most integers and . The following lemma gives a matching lower bound when and describes its dependence on the allowed cover size for .
Lemma 5.1 (Cover bound). For , every cover with satisfies
with an absolute implicit constant, uniformly in .
Proof. Set , and let be the number of primes in . For sufficiently large , , uniformly for .
The exponent of each prime in is at most . Powers with contribute at most , since their primes are at most and each contributes at most . Using from the proof of Lemma 2.2 and the largest binomial coefficient,
for sufficiently large t. Consequently,
Every product of distinct primes in is an element order of : use those primes as disjoint cycle lengths and fix the remaining points. Their sum is at most , since .
Suppose for every . Then each is divisible by fewer than of the primes. Removing such prime divisors one at a time cannot increase their proportion among the remaining primes. Thus each covers less than the fraction of the above products. Since , not all products would be covered, a contradiction. Therefore
The last inequality uses for sufficiently large .
With reference to the particular words constructed in Lemma 3.6, for any cover , the above lower bound has the following effect: Each block exponent in , added to its replacement in , is a positive multiple of . Thus , and the recursion gives
Since , induction and the final substitution give
If , then . If , Lemma 5.1 with gives . Together with Theorem 1.2, this shows that the minimum logarithmic word length attainable by this construction is .
Thus, changing the cover or the order of enumerating cannot improve the order for this recursion. Constants and lower-order terms can still be improved, as in Appendix A. Furthermore, the facts that the numerator of is independent of , and that the denominator is in , impose severe limitations on possible improvements via this strategy. We next explore whether other classes of identities (considered in [7]) can reach the Landau scale and give better bounds on Sepp(n).
5.1 Frontier Tradeoffs
We compare the bound just proved with the maximum element order and the common exponent of . Let be Landau's function and the exponent of the symmetric group:
A permutation with cycle lengths has order . Thus is the maximum of this least common multiple subject to . The common exponent is
since every cycle length divides this number and contains a -cycle for each . For example, and ; the maximum order is attained by disjoint cycles of lengths 2 and 3. Landau's theorem (equation (6) in [3]) and the prime number theorem [5] give, respectively,
Both estimates are unconditional; for the second, .
The identity yields the lower bound . Proposition 14 in [7] gives a length lower bound of for numerical identities. Theorem 1.2 reduces the previous upper bound to within this class. If, for every sufficiently large , we could construct distinct equal-length positive binary identities with
the inversion and padding argument in Section 1 would give
Conjecture 15 in [7] states that a shortest positive identity of is numerical for all sufficiently large . Corollary 16 in [7] then gives . The hypothetical construction above would match this conditional upper bound in order of magnitude.
Every permutation order is at most , but need not divide . The set therefore covers every permutation order; need not. Lemma 3.6 gives
an upper bound larger than for large . A positive-word construction whose length is polynomial in the size of the cover and its largest integer would attain the target with this cover.
When inverse letters are allowed, Kozma and Thom's combination lemma (Lemma 2.2 in [8]) gives a nontrivial group law of length at most . Their stronger construction (Theorem 1.3 in [8]) gives length . These constructions use nested commutators and do not directly yield positive identities of comparable length (see Section 1 in [2]). Replacing by , for , can reintroduce the cost of . The remaining challenge is to combine the possible exponents into a short positive binary identity. For the recursion (1), however, Lemma 5.1 shows that no choice or enumeration of the cover can give .
6 AI Disclosure and Concluding Discussion
The lower bound came from usage of GPT 5.6 Sol (Pro level) in July 2026. Subsequent effort toward stronger lower bounds improved the leading coefficient to , as reflected in Appendix A. The original AI proof of the cover bounds in Section 4 used the classic probabilistic method. This proof was humanly compacted into 8 pages. The AI was then prompted to replace the probabilistic method by a deterministic explicit construction, which (after some further polishing by both human and AI) produced the proof presented here. Further effort was devoted to mapping out the frontier, in particular:
- determining which improvements to the word identity bounds in Section 3 would give order per Karpova and Shur [7].
• in-between, which might yield order for .
• whether any lower bounds of polynomial order might even be possible using this approach.
After trying several more heuristic ideas, GPT 5.6 opined that any improvement of the lower bound to would require identity size exponential in , i.e., bringing things all the way down to quasi-polynomial size. Doing so strikes us as embodying much of the original difficulty of the permutation separating words problem to begin with. We therefore believe that we have probed the frontier enough to aver that substantial immediate improvements to the scheme of this paper will require new ideas that did not drop out from further AI-assisted trials.
References
[1] N. Lebowitz-Lockard and J. Vandehey. On the number of partitions of a number into distinct divisors. Notes on Number Theory and Discrete Mathematics 30(3) (2024), 654–661. doi:10.7546/nntdm.2024.30.3.654-661.
[2] A. A. Bulatov, O. Karpova, A. M. Shur, and K. Startsev. Lower Bounds on Words Separation: Are There Short Identities in Transformation Semigroups? Electronic Journal of Combinatorics, 24(3), P3.35, 2017. arXiv:1609.03199.
[3] M. Deléglise, J.-L. Nicolas, and P. Zimmermann. Landau's function for one million billions. Journal de théorie des nombres de Bordeaux 20(3) (2008), 625–671. doi:10.5802/jtnb.644.
[4] E. D. Demaine, S. Eisenstat, J. Shallit, and D. A. Wilson. Remarks on separating words. In Descriptional Complexity of Formal Systems (DCFS 2011), Lecture Notes in Computer Science 6808, Springer, 2011, pp. 147–157. doi:10.1007/978-3-642-22600-7_12.
[5] H. G. Diamond and J. Steinig. An elementary proof of the prime number theorem with a remainder term. Inventions Mathematicae 11 (1970), 199–258. doi:10.1007/BF01404651.
[6] P. Erdős and P. Turán. On some problems of a statistical group-theory. IV. Acta Mathematica Academiae Scientiarum Hungaricae 19(3–4) (1968), 413–435. doi:10.1007/BF01894517.
[7] O. Karpova and A. M. Shur. Words separation and positive identities in symmetric groups. Journal of Automata, Languages and Combinatorics 26(1–2) (2021), 67–89. doi:10.25596/jalc-2021-067.
[8] G. Kozma and A. Thom. Divisibility and laws in finite simple groups. Mathematische Annalen 364(1–2) (2016), 79–95. doi:10.1007/s00208-015-1201-4.
[9] J. M. Robson. Separating words with machines and groups. RAIRO. Informatique théorique et applications 30(1) (1996), 81–86. https://www.numdam.org/item/ITA_1996__30_1_81_0/.
A Optimized constants and lower-order terms
We sharpen the bounds by a greedy construction. The prime estimates use the quantitative prime number theorem of Diamond and Steinig [5]. Put
Theorem A.1. As ,
The constructed binary words have the same number of occurrences of each letter.
Theorem A.2. As ,
(9)
The same lower bound holds for Sepp(n).
The number-theoretic estimate we need is
for every fixed , where and . Diamond and Steinig [5] give an elementary proof of
whose error is for every fixed . Since by Lemma 2.2, this proves (10). In particular, . The distinct weight sum is not . When needed below, its proper-prime-power part is bounded separately by .
A.1 Interval products
Use the notation in (7), and choose
Put . Partition into intervals
Set
For every , define
Empty products equal one. Expanding the finite product gives
A.1.1 Counting index sets
For an element order of , let be the indices of the intervals containing elements of greater than . By choosing one element of from each occupied interval and applying Lemma 2.3,
If , then . Call any interval set satisfying (13) feasible, including the empty set. For any fixed feasible of size ,
The same lower bound holds for .
Put
Every feasible set satisfies . If denotes the number of feasible sets of cardinality , then
Indeed, each distinct -set has orderings, all positive integer -tuples of sum at most ; there are exactly such tuples.
For with , define
Combining (14) and (15) gives
For the last inequality, ; when the term is nonpositive, and when it is at most 2/e. Thus the maximum in (16) is bounded by
The reduction to interval sets, rather than individual supports, is what gives this scale.
A.1.2 Bounding the products
Lemma A.3. Uniformly over the intervals,
Proof. For primes, subtract the endpoint estimates in (10), using . Both endpoints are at least , so the error is , uniformly. The total contribution of all proper prime powers at most is ; this bounds their contribution to any one interval. Both errors are . The last interval may be shorter, which does not affect the upper bound.
Put and . The geometric series and Lemma A.3 give
(19)
Here , , and by (10).
For a feasible J, define
Using and (13),
Expanding over gives the quadratic identity
(21)
Set
By (19) and (20), for all sufficiently large , uniformly over feasible . For we have , so
Thus (14) gives
A.2 Greedy covering
Put
Since , (16) and (24) imply
for every cardinality with , including with . Let be the feasible sets not covered after choices, and set
Initially,
At step , choose with maximizing
breaking ties lexicographically, and remove the covered sets from . Since , the maximum is at least its weighted sum over such . By (23), that sum is at least
Using gives
Hence , so . The chosen integers form a cover , with and .
The number of choices satisfies
(25)
In deriving this, , , and the slack in (24) is lower order. The bound uses the expansion
(26)
The next Taylor term is . Combining (25), (26), and Lemma 3.6 proves Theorem A.1.
A.3 Exact-length permutation separation
We give the inversion with its lower-order terms to prove Theorem A.2. Put
and choose
where tends to zero sufficiently slowly. Writing , we have
In particular, the upper bound in (8), divided by T, is
To make the last inequality precise, choose to dominate both and a tail envelope of the remainder in Theorem A.1; all candidate lie in for large . Such an envelope tends to zero, so this choice is possible with .
Thus the constructed words have common length less than . The distinct words and have length exactly and form an identity of . By the correspondence in Section 1, they cannot be separated by a permutation automaton with at most states. Substituting (27) proves (9); gives the second assertion.