On the Complexity of Exact Counting of Dynamically Irreducible Polynomials
Domingo G\'omez-P\'erez, L\'aszl\'o M\'erai, Igor E. Shparlinski

TL;DR
This paper presents an efficient algorithm for enumerating sets of quadratic polynomials over finite fields that remain irreducible through iterations and compositions, addressing a complex counting problem in algebraic dynamics.
Contribution
It introduces a novel algorithm for exact counting of dynamically irreducible quadratic polynomials over finite fields, advancing computational methods in algebraic dynamics.
Findings
Algorithm efficiently enumerates irreducible polynomial sets
Provides exact counts for dynamically irreducible polynomials
Enhances understanding of polynomial iteration over finite fields
Abstract
We give an efficient algorithm to enumerate all sets of quadratic polynomials over a finite field, which remain irreducible under iterations and compositions.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
On the Complexity of Exact Counting of Dynamically Irreducible Polynomials
Domingo Gómez-Pérez
D.G.-P.: Department of Mathematics, University of Cantabria, Santander 39005, Spain
,
László Mérai
L.M.: Johann Radon Institute for Computational and Applied Mathematics, Austrian Academy of Sciences, Altenberger Straße 69, A-4040 Linz, Austria
and
Igor E. Shparlinski
I.E.S.: School of Mathematics and Statistics, University of New South Wales. Sydney, NSW 2052, Australia
Abstract.
We give an efficient algorithm to enumerate all sets of quadratic polynomials over a finite field, which remain irreducible under iterations and compositions.
1. Introduction
For a finite field and a polynomial we define the sequence:
[TABLE]
The polynomial is called the -th iterate of the polynomial .
Following the terminology established in [2, 3, 10, 11], we say that a polynomial is stable if all iterates , , are irreducible over . However here, we prefer to use a more informative terminology of Heath-Brown and Micheli [8] and instead we call such polynomials dynamically irreducible.
Let be and odd prime power, and as in [11], for a quadratic polynomial , we define as the unique critical point of (that is, the zero of the derivative ). We remark that for even, it is known that there does not exist quadratic stable polynomials [1].
Let be the set of dynamically irreducible quadratic polynomials over a finite field of elements and let be their number.
Ostafe and Shparlinski [12] have shown that for a quadratic polynomial one can test whether in time , see Lemma 2.1 below.
Gómez-Pérez and Nicolás [6], developing some ideas from [12], have proved that for an odd prime power we have
[TABLE]
where the implied constant is absolute.
These results have been generalized in [7], which in particular gives an upper bound on the number of dynamically irreducible polynomials of degree over .
Here we consider the question of constructing the set and exactly evaluating its cardinality . Trivially, using the above test from [12], one can construct the set in time . It is possible to calculate faster, in time if one uses the correspondence between arbitrary and monic dynamically irreducible polynomials, see Lemma 2.2 below. Here we give a more efficient algorithm.
Theorem 1.1**.**
Let be an odd prime power. Then there exists an algorithm which computes in time and constructs the set in time .
We give the pseudocode of the algorithm in Theorem 1.1 in Algorithm 3.1.
We also study an analogous problem in semigroups generated by several polynomials under the composition.
Let be polynomials of positive degree. The set is called dynamically irreducible if all the iterates , for and are irreducible.
Ferraguti, Micheli and Schnyder [4] have characterized the sets of monic quadratic polynomial to be dynamically irreducible in terms of the unique critical points of the polynomials. We also note that the subsequent work [5] gives a representation of the set dynamically irreducible polynomials via finite automata. Furthermore, Heath-Brown and Micheli [8] have given an algorithm to test whether a set of monic polynomials is dynamically irreducible.
Here we consider the question of how to construct the set of all sets of arbitrary pairwise distinct quadratic polynomials over which are dynamically irreducible and find its cardinality
[TABLE]
In particular, .
Furthermore, we use to denote the subset consisting of monic quadratic polynomials and also use for its cardinality.
Let and be the size of the largest set of dynamically irreducible non-monic and monic quadratic polynomials, respectively. Because we consider both the monic and non-monic cases, in this paper correspond to in the paper by Heath-Brown and Micheli [8], who have proven that in general, while for infinitely many finite fields .
It is easy that the bound (4.1) below implies . On the other hand, in Example 2.6 we present an explicit family of quadratic polynomials which shows that for infinitely many (namely for those for which a square in ). Thus in the case of arbitrary polynomials the gap between upper and lower bounds is less dramatic than the exponential gap in the case of monic polynomials.
We note that the proof of Theorem 1.1 is based on the close link between the sets and , see Lemma 2.2 below. On the other hand, for there does not seem to be any close relation between and . Accordingly, in this case our result is weaker than for .
We note that throughout the paper, denotes the quantity , which depends only on (and does not depend on ) with as .
Theorem 1.2**.**
Let be an odd prime power and . Then there exists an algorithm which computes and constructs the set in time as and uniformly over .
We give the pseudocode of the algorithm in Theorem 1.2 in Algorithm 4.1.
As a by-product of the ideas behind our algorithm, we also obtain an analogue of the upper bound (1.1):
Theorem 1.3**.**
Let be an odd prime power and . Then as and uniformly over .
2. Preliminaries
We need to recall some important notions of the theory of dynamically irreducible quadratic polynomials, mainly introduced by Jones and Boston [10, 11] (we recall that they are called ‘stable’ in [11, 10]).
In particular, following [11] we define the critical orbit of as the set
[TABLE]
where as the unique critical point of .
We partition into the sets of squares and non-squares , that is
[TABLE]
We recall that for one can check whether by evaluating its -th power, as if and only if .
By [11, Proposition 3], a quadratic polynomial is dynamically irreducible if the adjusted orbit
[TABLE]
satisfies
[TABLE]
Clearly, the critical orbit of is a finite set. Furthermore, by a result of Ostafe and Shparlinski [12] the size of the critical orbit of a dynamically irreducible quadratic polynomial admits a nontrivial estimate. In particular, we now recall [12, Theorem 1]:
Lemma 2.1**.**
There is an absolute constant such that for
[TABLE]
for any we have
[TABLE]
The following result reduces the problem of counting dynamically irreducible polynomials to such dynamically irreducible polynomials where one of them is monic. It is a direct extension of [6, Lemma 2], however for completeness, we sketch a proof.
Lemma 2.2**.**
For a polynomial and define
[TABLE]
Then for any , is dynamically irreducible if and only if is dynamically irreducible.
Proof.
For an , write . First of all, we observe that for , is irreducible if and only if or is irreducible.
Assume, that is irreducible for some and . Then is irreducible, and therefore
[TABLE]
is also irreducible. ∎
In order to get the upper bound in the equation (1.1), Gómez-Pérez and Nicolás [6] estimate the number of dynamically irreducible quadratic polynomials by the number of such polynomials that there is no square among the first elements of their critical orbit. Their result can be summarized in the following way.
Lemma 2.3**.**
There is an absolute constant such that for
[TABLE]
and
[TABLE]
we have .
In the following we extend some results of Ferraguti, Micheli and Schnyder [4] and Heath-Brown and Micheli [8] about dynamically irreducible sets for non-monic quadratic polynomials.
First we need the following result of Jones and Boston [11] (here we state the result in a corrected form, see [8]).
Lemma 2.4**.**
Let be an odd prime and let and be the unique critical point of . Suppose that has leading coefficient , has degree , and is irreducible over for some . Then is irreducible over if and only if .
As a corollary, we get the characterization of dynamically irreducible sets of quadratic polynomials.
Corollary 2.5**.**
Let be an odd prime. Let be irreducible quadratic polynomials for . Write . Then form a dynamically irreducible set if and only if for all integers and we have
[TABLE]
Proof.
First assume that form a dynamically irreducible set, that is, each iterate with and , is irreducible. Applying Lemma 2.4 with and we derive
[TABLE]
where is the leading coefficient of . By induction, one can easily get, that . Then (2.1) is equivalent to (2.2).
Conversely, if is a reducible iterate with the smallest degree, then writing again and , we see that (2.2) fails, which contradicts (2.1). ∎
We remark that Corollary 2.5 allows us to exhibit a large family of dynamically irreducible set of quadratic polynomials.
Example 2.6**.**
Let be a prime power such that and fix . Let for . Then the set
[TABLE]
of cardinality is dynamically-irreducible.
Indeed, let and take such that is a nonsquare in for all . We first notice that
[TABLE]
and in particular that . We apply now Corollary 2.5 to conclude that the set is dynamically-irreducible if and only if
[TABLE]
Since , we see that is a square, thus the condition above is equivalent with , which concludes our argument.
Obviously, any subset of a set of dynamically irreducible polynomials is also dynamically irreducible. In particular each polynomial is dynamically irreducible for . Then by [12, Theorem 1] we have the following result.
Lemma 2.7**.**
There is an absolute constant such that for
[TABLE]
the following holds. If form a dynamically irreducible set of quadratic polynomials over a finite field of odd characteristic and such that
[TABLE]
for all , then .
Given , it is convenient the set
[TABLE]
Then the sets partition the set of all quadratic polynomials. We define the equivalent relation according to this partition, that is if for some .
If the polynomials are not all equivalent, one can get a better bound than Lemma 2.7. For this we need a generalization of a result of Heath-Brown and Micheli [8, Lemma 2], which also applies to non-monic polynomials.
Lemma 2.8**.**
Let be quadratic polynomials over such that and . If
[TABLE]
with , , then and for .
Proof.
Write , .
Assume, that (2.3) holds. Then compering the degrees of both sides, we have and . Moreover, as , we can assume, that . Write
[TABLE]
and let and () be the leading coefficients of and respectively. Clearly,
[TABLE]
Put , , and . Then we claim, that
[TABLE]
[TABLE]
and
[TABLE]
Indeed, if , then
[TABLE]
As both and are monic, we obtain
[TABLE]
which proves (2.6) for . Now suppose, that (2.6) holds for some . Then
[TABLE]
As and are monic, the second term of the left hand side has positive degree, thus
[TABLE]
and
[TABLE]
which prove (2.4) and (2.5) for . Moreover, if , then from (2.7) we get
[TABLE]
which proves (2.6) for .
Finally, (2.5) for proves (2.4) for .
To conclude the proof, let be the maximal index such that . Then for , thus by (2.4) for , we have that .
As and , by (2.4) for we have
[TABLE]
If , then , which means . If , then
[TABLE]
thus . ∎
We now obtain a stronger version of Lemma 2.7 in the case when and .
Lemma 2.9**.**
There is an absolute constant such that for
[TABLE]
the following holds. If are two quadratic polynomials with and such that they form a dynamically-irreducible set and is a set with
[TABLE]
for all , then .
Proof.
Put
[TABLE]
Let be the quadratic character of and define , see [9, Chapter 11] for a background of characters over finite fields. Then, by (2.8)
[TABLE]
Expanding the products and rearranging the terms, we conclude that there are sums of form
[TABLE]
with some . As form a dynamically irreducible set, the polynomials are all irreducible. Moreover by Lemma 2.8 they are coprime. Thus the product polynomials in (2.10) are squarefree, which enables us to estimate (2.10) by the Weil bound, see [9, Theorem 11.23]. As has degree at most we we see from (2.9) that
[TABLE]
Using that
[TABLE]
as all compositions in the definition of the set are distinct and choosing such that we obtain the result. ∎
Combining the algorithm of [8, Corollary 3] with Lemmas 2.7 and 2.9 one may get in the same way the following result.
Lemma 2.10**.**
There is an algorithm to test whether or not a set of quadratic polynomials over is dynamically irreducible, which takes operations. Moreover if the polynomials are not constant multiple of each other and not belong to the same equivalent class with respect to , then the algorithm takes operations.
Finally, we also need the following result.
Lemma 2.11**.**
Let be a monic quadratic polynomial with critical point . There are at most quadratic polynomials with critical points such that the set
[TABLE]
has cardinality .
Proof.
If , then has the form as . As , has the form .
If , then its elements are solutions of or (as otherwise ). Thus there are at most choices for . Moreover, for a fixed , by the Lagrange interpolation, there are at most quadratic polynomials such that . ∎
3. Proof of Theorem 1.1
We present an algorithm which computes the list of all quadratic dynamically irreducible polynomials, see Algorithm 3.1.
By Lemmas 2.1, the algorithm constructs all monic dynamically irreducible polynomials in Lines 3-10, while in Lines 11-12, it constructs all nonmonic dynamically irreducible polynomials by Lemma 2.2.
To get the time complexity of Algorithm 3.1, let and be as in Lemma 2.3. Then the time complexity to obtain is
[TABLE]
by Lemmas 2.1 and 2.3. To compute one needs further many steps.
For computational reasons, the lists and do not have to be stored, thus to compute one needs to store just the length of these lists.
4. Proof of Theorem 1.2
We now present an algorithm which constructs all sets of pairwise distinct quadratic polynomials which are dynamically irreducible, see Algorithm 4.1. Throughout, we follow the convention, that each polynomial is represented by its coefficients and we also let to be the critical point of .
First we show the correctness of Algorithm 4.1.
Clearly . To show the equality, fix . By Lines 19-21 we can assume, that is monic. If is dynamically irreducible, then all of its subset also does. Specially, is dynamically irreducible monic polynomial, thus it is listed in Line 3.
Put
[TABLE]
It is easy to show, that if and only if . Define
[TABLE]
If , then the set is considered in Lines 6-8. Thus, by rearranging the polynomials, we can assume, that .
Fix pairwise different and define
[TABLE]
As is dynamically irreducible, () by Corollary 2.5, thus the polynomials appear as solutions of the system in Line 15. On the other hand, these systems are nonsingular as the coefficient matrix
[TABLE]
is a Vandermonde with pairwise different .
Next, we estimate the time complexity of Algorithm 4.1. By Theorem 1.1 one can construct the sets and in time .
In Line 3 one can choose in ways by (1.1) and by Lemma 2.2.
To construct the set one can check polynomials, which can be taken in time . By Lemma 2.11, we have thus
[TABLE]
Hence there are at most polynomials in Line 6 to test, thus Lines 6-8 can be taken in time for a fixed by Lemma 2.10.
Next, in Line 10 we fix the polynomial . One can do this in ways. By Lemma 2.10, one can check whether is dynamically irreducible in time as and .
One can construct the set in time . Furthermore by Lemma 2.9, we have , thus one can construct the polynomials () in Lines 14-16 in
[TABLE]
ways. Finally, as and , one can test if is dynamically irreducible in time by Lemma 2.10.
Summarizing, the time complexity of Lines 3-18 is at most
[TABLE]
Moreover, in Lines 3-18 the algorithm construct at most
[TABLE]
dynamically irreducible polynomials such that is monic. Thus the time complexity of Lines 19-21 is . This implies that the complexity of Algorithm 4.1 is
[TABLE]
5. Proof of Theorem 1.3
In the proof of Theorem 1.2, we have shown, that there are at most dynamically irreducible polynomials such that is monic, see (4.2). Thus by Lemma 2.2, there are at most set of dynamically irreducible polynomials of size .
Acknowledgement
The authors are very grateful to Alina Ostafe for several motivating discussions and providing the construction of Example 2.6.
Parts of this paper was written during visits of L. M. and I. S. to Max Planck Institute for Mathematics (Germany) whose support and hospitality are gratefully appreciated.
During the preparation of this work D. G-P. is partially supported by project MTM2014-55421-P from the Ministerio de Economia y Competitividad, L. M. is partially supported by the Austrian Science Fund FWF Projects P30405 and F5511-N26 which is part of the Special Research Program “Quasi-Monte Carlo Methods: Theory and Applications” and I. S. by the Australian Research Council Grants DP170100786 and DP180100201
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] O. Ahmadi, ‘A note on stable quadratic polynomials over fields of characteristic two’, Preprint , 2009 (available from https://arxiv.org/abs/0910.4556 ).
- 2[2] N. Ali, ‘Stabilité des polynômes’, Acta Arith. , 119 (2005), 53–63.
- 3[3] M. Ayad and D. L. Mc Quillan, ‘Irreducibility of the iterates of a quadratic polynomial over a field’, Acta Arith. , 93 (2000), 87–97; Corrigendum: Acta Arith. , 99 (2001), 97.
- 4[4] A. Ferraguti, G. Micheli and R. Schnyder, ‘On sets of irreducible polynomials closed by composition’, Lecture Notes in Comput. Sci.. , 10064 , Springer, Berlin (2017), 77–83.
- 5[5] A. Ferraguti, G. Micheli and R. Schnyder, ‘Irreducible compositions of degree two polynomials over finite fields have regular structure’, Quart. J. Math. , 69 (2018), 1089–1099.
- 6[6] D. Gomez and A. P. Nicolás, ‘An estimate on the number of stable quadratic polynomials’, Finite Fields and Appl. , 16 (2010), 329–333.
- 7[7] D. Gómez-Pérez, A. P. Nicolás, A. Ostafe and D. Sadornil, ‘Stable polynomials over finite fields’, Rev. Mat. Iberoam. , 30 (2014), 523–535.
- 8[8] D. R. Heath-Brown and G. Micheli, ‘Irreducible polynomials over finite fields produced by composition of quadratics’, Rev. Mat. Iberoam. , (to appear).
