WorksComputer Science
Finding Two Connected Factors of a Finite Dynamical System in Quasipolynomial Time
Abstract
Doré, Perrot, Porreca, Riva and Rolland asked whether their tree methods could be used to find two nontrivial connected factors of a given finite dynamical system. We give a deterministic algorithm for this problem. Given the successor table of an -state system , the algorithm constructs connected systems and , each with at least two states, such that , or determines that no such pair exists. Its bit complexity is , even when is disconnected. All ordered pairs of factor isomorphism types can be listed within the same total bound. The proof uses two predecessor paths to control branching across tree levels and bounds the arithmetic search at each level. Whether one factorization can be found in polynomial time remains open.
Problem and result
Doré et al. give a polynomial-time algorithm for division by a specified finite dynamical system when the quotient is connected [1 Algorithm 3.12 and Theorem 3.13]. They close their paper by asking whether their tree methods can find a nontrivial solution of when both and are unknown and connected [1 Sec. 6, p. 14]. Trying all connected systems on at most states as the smaller factor already gives a -time search on an -state input, as shown below. To obtain a quasipolynomial bound, we search for both factors along two predecessor paths in . Mahler measure and residues of differential forms control the number of arithmetic trials required at each extension.
Write , where is given explicitly and . The synchronous product advances both coordinates by one step. Connectedness refers to the underlying undirected graph.
Theorem 1. Given , one can deterministically construct successor tables of connected with and , or decide that no such pair exists, in
bit operations. All ordered pairs of isomorphism types can be listed within the same total time.
Corollary (Reducibility of a connected target). For every explicit connected , the same bound decides whether is a product of two systems of at least two states, and constructs a pair whenever one exists. For a dendron, both factors are dendrons.
Proof. The coordinate projections of a nonempty product are surjective graph homomorphisms. Each sends a weakly connected graph onto a weakly connected graph, so connectedness of the target forces connectedness of both factors [3 pp. 39, 185]. Theorem 1 now applies to every nontrivial factorisation. If every product state eventually reaches the same fixed pair, projecting the orbit of any pair shows that each coordinate reaches the corresponding fixed point.
Comparison with known division. To derive the elementary search bound, take a smaller factor on states. Delete its cycle edges, order the resulting rooted trees in cycle order, and choose an order on the children of every vertex. This plane forest has a balanced-parenthesis encoding of length , with one opening and one closing parenthesis per vertex. Conversely, the roots of each nonempty decoded forest can be linked in cyclic order. Try all words for with , discard invalid words, and use the connected-quotient algorithm on each decoded factor. There are at most words at size , and for these trials. Theorem 1 improves this elementary consequence of known division to a quasipolynomial bound and also bounds the total time to list all pairs.
Related work. Dennunzio et al. formulated decomposition questions in the semiring of finite dynamical systems [4]. Unrolling was developed in work on transient trees and division by a specified system [5, 2, 1]. Naquin and Gadouleau give a polynomial division algorithm for dendrons and prove unique factorisation in certain submonoids; their Figure 7 exhibits nonunique factorisation for dendrons in general [2 Theorems 39 and 56]. For permutations, Bridoux et al. study division and give an test for unrestricted irreducibility of sums of cycles [6, author version, Sec. 6, p. 19 and Appendix C, Prop. 3, p. 22. With connected factors a permutation target forces both factors to be single cycles, so their lengths can be tried directly. Crespelle, Phan and Richard study division and polynomial equations on the cycle part using the greatest-common-divisor and least-common-multiple rule for cycle products [7]. Porreca and Rolland obtain polynomial algorithms for injective and pseudo-injective univariate equations and identify the complexity of general reducibility as open [8 Sec. 7]. Ascone, Porreca and Rolland prove NP-hardness for linear equations with a constant side and three variables [9]; their reduction concerns a different family of equations from the single product studied here.
For undirected graphs, Imrich gives a polynomial factorisation algorithm for connected nonbipartite graphs [10], and Calderoni et al. reduce graph isomorphism to direct-product compositeness for general undirected graphs [11]. The directed polynomial algorithm of Imrich and Klöckl uses stronger connectivity conditions and thinness conditions on successive quotients [12 Theorem 3.6 and Corollary 3.7, p. 473]. For instance, distinct vertices of a directed cycle have neither a common successor nor a common predecessor, although the cycle is connected as a dynamical system. Among the works compared here we found no earlier quasipolynomial bound for two unknown connected factors on arbitrary explicit targets.
The input occupies bits in the usual fixed-width encoding. For the answer is negative. All logarithms below are natural. The search has three parts. A polynomial list describes how the periodic states could fit into a product grid. Two paths in the observed system then reduce every extension to factoring a multiset of whole sibling trees. § 3 counts the resulting search tree, including every failed trial. § 4–§ 6 prove the local arithmetic estimate used in that count.
Periodic states and predecessor paths
Let be the largest distance of a state of to its cycle. Write for the rooted tree of predecessor walks of length at most ending at . Its width at depth is . The root of the tree is the walk of length zero. Each state determines at most one walk of a given length, so the tree has at most vertices. Trees multiply by pairing vertices at equal depth. In particular , up to rooted isomorphism. A forest here is a multiset of rooted trees. Products distribute over multiplicities. Nonempty forests all of whose trees have height admit cancellation and polynomial-time division by a specified forest of that height. Adjoin a single root over all the trees in each forest, apply finite tree division, remove the added root, and verify the product [2 Sec. 4]. We use this operation only with the specified height and verify each division by multiplication.
A polynomial list of possible phase grids
Two connected factors of cycle lengths , give components with the same cycle length . Count from the target. Reject unequal observed cycle lengths. The cyclic states form a grid whose transition increases both indices by one. Enumerate the ordered divisors with and . When , the grid is determined by forward iteration from any chosen cyclic state. The following construction handles unbounded .
Lemma A (Anchored phase reconstruction). For fixed periods, choose a physical cyclic state as cell . The two rooted types , defined below determine at most one array of cell types. Any two placements of this array that respect the dynamics and anchor differ by an automorphism of the target fixing .
Proof. Choose a cyclic state , put , and form the multiset containing once for each physical cyclic state. Write . In a true product index , and write , . The two genuine axes are the sequences with terms and . Every such term belongs to the support of because the whole grid occurs in .
For cyclic profiles let be the cut at and its unique child reaching that height, the cycle predecessor. Both operations preserve products on these profiles. Furthermore separates distinct types in : tracing the cycle predecessor for steps displays the complete off-cycle decorations of all phases: after at most steps the remaining depth of the cut is at least . All transient branches at that phase have height at most and the cyclic predecessor is recognizable. Explicitly,
Guess the single term directly from . The predecessor of a term must satisfy
Indeed for both sides are the product of the two cuts at the preceding phase and the preceding phase , and the two phases , . Cancellation and injectivity of give at most one in the entire dictionary . Trace steps from , checking the return. Recover the second axis by guessing from and applying the analogous -step test. Use to read off all cell types. For each diagonal orbit match its word of types, up to rotation, to an unused physical component, respecting on its orbit. Match the anchored orbit first. Each orbit uses one entire cycle of length . Matching within the remaining word classes succeeds exactly when their multiplicities agree. A placement is then a type-preserving bijection from the cells to the cyclic states that commutes with the transition and sends to . For two placements , the permutation commutes with the transition and fixes . At each cyclic state, the cyclic predecessor is the only child of reaching height . Its other children give all the attached transient branches. Equal -types therefore give an isomorphism between the attached rooted trees. These trees are disjoint at distinct cyclic states, so the isomorphisms extend the permutation to an automorphism of . It commutes with the successor map and therefore carries possible guide endpoints and their predecessor levels to corresponding endpoints and levels of the same widths. Each feasible ordered guess thus needs only one greedy placement. There are at most guesses per period pair, and reconstruction takes polynomial time per guess.
One extension on a fixed grid
Fix a grid and a cyclic cell . Put . Each factor in a true product has transient depth at most , by pairing each of its states with a cyclic state in the other factor. Enumerate two ordered endpoints satisfying . They determine two paths , , in the physical input. Ties in any choice of a minimum below require no further enumeration, because every endpoint is already tried.
In a true product choose guide 1 by following the cycle backwards in , while in choosing, at every step, a child with minimum positive width at the remaining bottom level. Guide 2 interchanges the two roles. For the step , start at the -st cyclic predecessor of , say . By induction the radius- marks at every factor phase are known. An active child is a predecessor whose tree reaches level ; we retain its whole tree cut at that level. Let be the observed active child forests at the cyclic cell, at , and at , respectively. For the true guides,
Here are the active child forests of . come from the moving coordinates of the respective guides. A designated member is obtained by dividing by the known mark at . Likewise dividing by the mark at gives . These are tree types, so repeated copies require no choice of their identities. Compute
In a true product . Reject if the anchored product tree does not occur in . Its mass counts trees with multiplicity. Each possible continuation is obtained by finding an ordered split containing the specified members, then computing , . Failed divisions, missing members, and inconsistent products are rejected. For a fixed grid, endpoint pair and level, all three observed forests come from specified states of . Thus , when it exists, and its mass can be computed once for the entire level. The anchors supplied to the local splitter and the subsequent mark checks depend on the node.
To build , subtract the -cuts of from the children of the old -mark. The remainder consists of complete shorter branches. Attach these and the trees of to a new root. At all children are active and there is no subtraction. Apply the same rule to . The resulting marks of the distinguished cell determine every other mark by division along its row and column. Check the product at every cell, consistency with the preceding cuts, and the inclusion of the appropriate cyclic predecessor marks. All these operations are deterministic given one local split. Reject any prospective radius- factor mark exceeding vertices or maximum degree ; this also controls the cost of false partial paths.
Initially the -marks are single vertices. At radius remove the cyclic predecessor child at each factor phase. It is the unique child reaching height in a true factor mark. The remaining children are complete transient branches. Close the two cycles, check connectedness, sizes and the product against the original table. The last test uses the cyclic word of the canonically encoded attached trees in each component, up to rotation, and compares multisets of component types. These tests prove soundness. The grid, the two endpoints and the local split along every true factorization occur in the search, proving completeness once the local enumeration is established. Stopping at the first success gives one witness. Exhaustion certifies a negative answer.
From local choices to the whole search tree
The following calculation is for a fixed grid and one fixed pair of physical endpoints. It applies before any choices of factor marks.
Lemma 2 (Observable level budgets). Set and
For every pair of endpoints, and . On the two minimum-width guides of a true factorization, at every level.
Proof. If , then . The sets being counted are nested on every physical path, including a wrong guess. Also and . Drop the floors and telescope to obtain the first assertion. For guide 1 let be its selected moving-coordinate child and any active child of the same parent. Pair both with the cyclic predecessor . Minimality gives
Distinct physical 's give disjoint sets of bottom vertices in the tree of , even if their rooted types agree. Thus . Guide 2 gives the analogous bound for . Multiply them and use .
The algorithm prunes the current node if does not exist, is empty, or , before calling the local splitting algorithm. This check preserves a minimum-width witness for every genuine factorization. An arbitrary endpoint need not itself satisfy the minimum-width rule. One can also use the slightly weaker integer cap . The same proof applies with throughout, since .
Proposition 3 (Local trial count). In the pivot enumeration, a complete trial specifies a pivot tuple, a dictionary shift and a positive integer content. A pivot tuple or a shift rejected before the next choice counts as one trial ending there. If and has only one tree type, a trial tests one multiplicity. For there is at most one trial, the product test for the two designated trees. For the number of trials is at most
Here are absolute constants. Setup and testing one trial each cost bit operations, including a trial rejected after exact forest division. All genuine anchored splits are returned.
The proof is given below. Every forest in its input has polynomial size: each is observed in , and is an explicit product. Its maximum number of children is at most , since numbers of children multiply. Whenever local enumeration is reached, division has verified , with nonempty of the prescribed height . Fix a length- path in one tree of . Pair every vertex of with the vertex at the same depth on this path. This embeds the forest vertices into the dividend. Every vertex of with children is paired with a path vertex having at least one child. Its degree is therefore at most the degree of the paired product vertex. Consequently and the total size is bounded by that of the dividend, also on an incorrect grid or guide.
Proposition 4 (Whole-tree bound). The complete computation on one grid and one endpoint pair, including unsuccessful guesses, takes bit operations.
Proof. Let if , and otherwise set . By the rejection rule and Proposition 3, every node at level makes at most trials. A complete trial decodes at most one left forest. Exact division determines its partner, and the subsequent mark checks are deterministic. Each trial therefore creates at most one successor. Write for the number of nodes and for the number of trials at depth . Then and
If a trial yields an exact quotient and fails only at the right anchor, it contributes one to and zero to . A node pruned before enumeration pays for setup. For a common polynomial $P bounding setup, one trial with its mark checks, and verification at a leaf, the total time is at most
In particular a run of unit budgets costs at most its length times the polynomial cost per node for each path entering the run.
By Lemma 2,
Taking logarithms gives
Since , the extra polynomial factor is absorbed. There are at most endpoint pairs per grid and polynomially many grids. This proves the time bound in Theorem 1 once Proposition 3 is proved. For enumeration, canonicalize the two output tables and remove duplicates by sorting their strings; the additional logarithm of the number of records preserves the time bound.
Dependencies of the decision procedure. The final product test certifies every returned pair. Exhaustion certifies a negative answer because Lemma A preserves a placement for each true pair, Lemma 2 preserves suitable guides, and the anchored enumeration recovers each genuine local split by Lemma C, cancellation and exact division. In Section 6, for any fixed positive integer and separating grade , a genuine split supplies a solution within the actual specialized multiplicities; the dictionary shift and integer content recover the forest. In particular suffices for exhaustive search with those ranges. The norm gap, the factor and dimension bounds, and the choice of a slice with short ranges give the stated running time. Section 6.1 also proves that the bounded search for such a slice always succeeds.
A finite additive encoding with a uniform gap
In the local forest , let denote the maximum number of children at a vertex. We construct labels for its observed tree types and prove the identities needed to encode a product of two unknown forests.
Lemma B (Uniform gap for rational-function coordinates). Put . Represent a class by with nonzero integral Laurent polynomials coprime over and jointly primitive over . With the normalized Haar measure of the unit circle,
is a symmetric, subadditive length, homogeneous under integer powers. Every nonidentity class has length at least , where is the real root of .
Proof. Changing representatives multiplies numerator or denominator by signed monomials of modulus one. Inversion interchanges them and reduced positive powers remain reduced. For multiplication, the pointwise maximum of the product pair is at most the product of the maxima. Cancelling a common integral factor subtracts its nonnegative logarithmic Mahler measure, including any common integer content. This proves subadditivity. Write for the mean of on the appropriate torus. Jensen’s formula in gives . Call a Laurent polynomial reciprocal if simultaneous inversion of its variables reproduces it up to a signed monomial. A nonreciprocal univariate integer Laurent polynomial has logarithmic measure at least : some primitive irreducible factor is nonreciprocal. After stripping off powers of , a leading coefficient of absolute value at least two already gives this bound; otherwise Smyth’s theorem applies to the monic associate [13]. All remaining integer factors have nonnegative logarithmic measure.
The multivariate nonreciprocal bound is due to Boyd [14]. We give the specialization argument for the bivariate case used here. For bivariate nonreciprocal with support , the maps are injective on both and for all sufficiently large . Reciprocity of would pair its support points by reflection in the midpoint of its extreme exponents, with a common coefficient sign. Let lift those extremes. Every reflected pair satisfies , hence . This would give reciprocity of with the same sign. Consequently for large . Lawton’s specialization theorem [15] gives convergence to , since the shortest nonzero integral relation for has sup norm .
For reciprocal , its -support forces . Since the coefficients are real, . If is nonreciprocal, the univariate result applies. If is reciprocal then is a signed monomial. The identity has length zero. Finally, a polynomial with nonnegative integer coefficients of sum represents a class of length at most by the pointwise bound on the circle.
Lemma C (Encoding finite dictionaries of equal-height trees). For a finite family of explicitly given height- tree types there is a deterministic polynomial-bit construction of integer coordinates for their labels with the following properties. The ideal label map is a monoid homomorphism on all trees of the given height. It is injective on the observed dictionary. Its norm on observed labels is at most , and every nonzero element of the subgroup generated by them has norm at least . The computed coordinates are global homomorphisms and are faithful on this subgroup, where they carry the transported norm.
Proof. For each , let consist of the height- cuts at all input vertices whose subtrees reach that height. A cut keeps every vertex within its radius, including leaves on shorter branches. Every iterated subtree and cut so obtained is specified by an original vertex and a remaining radius. The dictionaries have polynomial total size. Put , with the unique label at height zero. Inductively, at each previously constructed height fix an integral homomorphism distinguishing the labels of , as constructed below. Order first by and resolve ties by a fixed translation-invariant total order. For example, coordinates in are the prime valuations of the absolute leading scalar and the multiplicities of the monic irreducibles over other than . Lexicographic comparison in a fixed enumeration, iterated for finite products, gives such an order.
Write for the ideal height- label. For a tree of height , let be the nonempty multiset of height- cuts of its children that reach height , for . With , define by putting in its -th slot
The formulas apply to every height- tree once the dictionary fixes the grades. The active cuts of a product are all pairwise products of the active cuts of the factors, with multiplicity. By induction the first entries multiply in , and translation invariance makes the minima add in . The unit path has zero label in additive notation. This proves the global homomorphism property.
On an observed tree every active cut belongs to . Its grade identifies it in the preceding dictionary. The minimum label fixes the least exponent of the polynomial, recovering the graded histogram from its class since the coefficients are positive. Thus all the multisets are known. Descend from to zero, subtracting from the cuts of all taller children already recovered. The remainder consists exactly of the children of height . Their union determines . Give the maximum of its coordinate lengths. Each histogram has coefficient sum at most , and the minimum entry is an observed lower-height label. Induction gives the radius bound. A nonzero coordinate has length at least , proving the gap.
To construct the grades, at height use the scalar and polynomial valuations of each histogram and the previously retained coordinates of each minimum. These are integer homomorphisms on all of . Store only valuations present somewhere in . The rows are jointly injective on the subgroup generated by its labels: omitted valuations vanish there, and each minimum entry belongs to the subgroup generated at its earlier height. Take a maximal rationally independent subset of the rows evaluated on the observed columns. A vector vanishing on these rows also vanishes on all original rows on the generated subgroup. This proves faithfulness. The retained rows themselves remain defined on the entire ideal group, so using them as grades requires no extension from a finite-index subgroup.
For distinct observed columns, take a linear combination of the retained rows with integer weights in . Choose the weights sequentially: the last differing row of each pair forbids at most one weight there. This gives . Each scalar valuation is bounded by . A histogram with terms has multiplicity at most at any nonzero root, by the Vandermonde matrix of its exponents applied to Euler derivatives of orders . All retained entries are consequently bounded by , including those of earlier minima, with at most retained rows per height. Grades, shifted univariate degrees and coefficient bit lengths are polynomial in explicit input size uniformly over heights. Factor the leading integers by trial division and the univariate polynomials over by deterministic polynomial-bit factorization [21]. The algorithm stores the retained rows and histograms of the finite dictionaries. On every observed active cut, already separates distinct dictionary types, so ties have identical labels. The ideal tie-breaking order defines the homomorphism on arbitrary trees. Computing labels of unobserved trees is unnecessary.
In particular the identity passes to the computed coordinates. All four entries are observed product types when an anchored split exists. The algorithm labels these observed types and recovers a proposed axis by tree division.
Sharpness on observed labels. Take two height-two trees each with three star children, of leaf counts and , respectively. The height-one dictionary also contains the three-leaf star obtained by cutting the roots. The grade on star degrees separates the whole dictionary and agrees with on the four relevant powers of two. In the height-two labels the root counts and minimum entries agree. The remaining histograms are and . Cancelling their common factor leaves , where
They are coprime, since and . On the unit circle their moduli agree. The zeros of are and a conjugate pair of modulus . Hence the norm of this difference of observed labels is exactly . The same holds for any positive integer multiple of this grade by Haar invariance under .
Bounding the number of factors by a Newton polytope
Let be the lattice generated by the observed label differences. Translate the support by one of its points. The difference vectors have norm at most . The group norm extends to a genuine norm on : extend first homogeneously and continuously from rational vectors. If there were a nonzero kernel direction, the unit ball of the seminorm would contain cylinders of arbitrarily large volume, contradicting the lattice gap by Minkowski’s convex body theorem applied to a ball of radius below . Only the finite-dimensional space spanned by the input is used.
Lemma 5. If a Laurent polynomial on has support points in a norm ball of radius and nonzero lattice vectors have length at least , the number of nonmonomial irreducible factors over , counted with multiplicity, is at most
Proof. From each of the nonpoint Newton polytopes choose a segment with distinct lattice endpoints and difference . Their Minkowski sum, up to translation, lies inside the Newton polytope of the product. Indeed Newton polytopes add under multiplication over a field. Take real dual norm-one functionals satisfying . For independent random signs define . Conditioning on all signs except gives . The expected width of the sum of segments is therefore at least . At each of the input points the random sum has exponential-moment bound . The maximum of the signed point evaluations has expectation at most . Twice this bounds the expected width of . Squaring yields the stated bound. Random signs are used only in this proof.
A deterministic linear system for local multiplicities
Ruppert and Gao relate polynomial factorisation to linear differential equations in two variables [16, 17]; Shaker uses closed forms for reduced polynomials in several variables [18]. Here the unknowns used for enumeration are multiplicities after specialization. Proposition 6 bounds the dimension of this projected space in terms of the factors over the original lattice.
Represent the auxiliary forest by its Laurent polynomial , after translation taking the observed type to the origin. For a genuine split , apply the additive labels to . The two axes are then supported at differences of observed points from the origin, so their positive Laurent polynomials multiply to in this ring. Dividing each observed type by gives the dictionary of possible left-axis points and their physical trees. An axis tree can itself be unobserved. Its relative label equals the observed difference in , where denotes the ideal label. If two candidate trees give the same computed point, faithfulness on and injectivity on observed types give . Cancelling the fixed height- tree yields . The other axis uses in the same way. Thus the lookup is unique even when the decoded tree lies outside the dictionary of observations.
The fixed-anchor argument separates the active sibling cuts compared within each minimum in Lemma C. When constructing the observed dictionary, cuts of the same radius may come from different depths, and the separating grade distinguishes their observed types directly. Fix a path of length in , a depth , and a cut radius . For any active -cut at a node of depth in, let be the -cut below . Then has height and is the observed cut at in . The same works for every such . If , additivity gives . Separation on and cancellation of give up to isomorphism. Thus a minimum among active siblings can tie only on copies of the same type. Cuts at different depths may have equal grades.
The intrinsic lattice. Let . The case is the singleton case described below. Retain integer coordinate rows independent over , and denote their combined map by . The table of point sums in is an isomorphic representation of . Its index may exceed one. For example, with , the element has one absolute factor in the intrinsic coordinate , and two absolute factors after adjoining . All factor counts below use . Computations use integer row values and equality of point sums.
On this group algebra let . These commuting Euler derivations span the invariant derivations. Their dual invariant forms satisfy . Choose a small integer grade separating . Write for a second integer grade and for a positive integer. The curve used in the algorithm has pullback
The single pair used for enumeration is chosen in § 6.1. Positivity gives . After removing its monomial and scalar, write its rational factorization as . No has zero as a root.
Take numerator polynomials with unknown rational coefficients on , an unknown scalar , and unknown . Use the rational linear system
Compare the first equations on , and the second after multiplication by . A Laurent monomial clears negative univariate exponents. For a positive Laurent factor from a genuine split, is supported in , by positivity of the undifferentiated convolution. The form is then ; the second equations hold with the multiplicities in .
Lemma D. (Closed forms on the intrinsic torus). Choose an integral basis of and put . Let represent the distinct nonmonomial irreducible factors of in . On , each closed regular one-form has an expression
Proof. Multiply each by a Laurent monomial so that it is a polynomial with minimum exponent zero in every variable. Each is irreducible in : it has no coordinate factor, and any other polynomial factorization would survive localization at the coordinates. Distinct 's are nonassociate. For we have
Indeed inverting in the Laurent ring inverts every ; inverting in the polynomial ring also inverts every coordinate. This identifies the open torus complement with the affine principal open set , including its complex of regular differentials. Bürgisser–Scheiblechner [19 Sec. 5.1.1, Theorem 5.3], over , give a basis of its first algebraic de Rham cohomology by the logarithmic differentials of the distinct irreducible factors of . The thesis states this basis theorem on p. 107 and proves it in Section 8.3, pp. 111–112 [20 Theorem 8.3]. Their statement allows positive powers of these factors; the localization already depends only on the reduced zero set. Subtracting a constant linear combination of the basis from a closed form leaves with in the localized ring, by the definition of that cohomology. Replacing by only changes the coordinate logarithms.
Proposition 6. The rational dimension of the projection of the linear system to the coordinates is at most the number of distinct nonmonomial absolute irreducibles of in .
Proof. Extend scalars to . The first equations say , as the commute and the are closed. Apply Lemma D. The curve maps to : the coordinates map to nonzero Laurent monomials, and . In particular every is a nonzero rational function. In the intrinsic basis, . The matrix is invertible over ; its defining equations for the therefore give . This identity includes the weighting by .
For each , take one complex root . Rational irreducibles in characteristic zero are separable and distinct ones have disjoint root sets. The second equation, multiplied by , therefore gives
An exact rational differential has zero residue even when its primitive has a pole there; each coordinate logarithm is a multiple of . The displayed formula bounds the dimension for every solution by . It allows distinct ’s to share specialized roots and one to split or acquire repeated roots. Projection of a rational kernel commutes with extension of scalars, giving the same dimension over . The integral basis and the absolute factors were used only in this proof.
A rational basis of the projected space determines a set of coordinate pivots. A pivot tuple fixes one full vector . For a genuine split is an integer in , by the sparse Vandermonde bound. There are multivariate coefficient equations and polynomially many univariate coefficients. Their entries have polynomial bit length, and fraction-free elimination has polynomial bit cost. If , dividing the sole observed type by gives the only possible -type. Try its positive multiplicity up to and verify the opposite factor. If , test directly and charge one trial.
A second grade shortens the multiplicity ranges
Choose a second small linear integer grade so that preserves noncollinearity of all noncollinear triples in . For differences of such a triple impose ; polynomially many hyperplanes can be avoided by the same separating-weight procedure. Clear a Laurent monomial from the planar polynomial
Every edge of its Newton polygon has at most support points, since their lifts lie on one intrinsic lattice line in the ball of radius . If the polygon is a segment, take the entire segment as its face. Let be the maximum multiplicity of a nonzero root of any edge polynomial in the primitive edge variable. The Vandermonde bound gives . Compute by univariate squarefree decomposition on the faces. In rank one take . Every nonmonomial factor has an edge (or is supported on a segment). Choose a nonzero normal exposing that edge or segment. Initial forms multiply, and the exposed face of the planar product contains a nontrivial segment parallel to the chosen edge. Its edge polynomial contains the corresponding initial factor, with its multiplicity. This bounds all nonmonomial factor multiplicities of the planar polynomial by .
There is a deterministically findable for which has all nonmonomial multiplicities at most . Write for the two degrees. The extreme -coefficients are monomials in , so the -degree is preserved at each positive specialization and every common vertical factor is a Laurent monomial. Let be the primitive squarefree part in over , chosen as the product of the distinct positive--degree polynomial factors over . Put . Its extreme -coefficients divide the corresponding monomials of , so its degree stays at every positive . Its resultant with is nonzero by squarefreeness over . The Sylvester matrix has rows with entries of -degree at most , giving a degree bound of . Try the integers , testing the actual multiplicities in by univariate gcds. Some trial avoids the resultant’s roots. There the reduced slice is squarefree of full degree, so the specialized factors stay pairwise coprime and each multiplicity is at most . When , after the monomial shift the support is horizontal and the entire segment is the face. Its edge polynomial gives the slice itself in the primitive horizontal variable. If the exponents are compressed by their difference gcd , the substitution preserves nonzero root multiplicities because there. Thus is accepted even when . All degrees and bit lengths are polynomial. The resultant itself is not needed.
Factor the chosen slice, compute its projected space and enumerate only its pivot tuples, solving linearly for all other . After clearing denominators, Hadamard’s bound gives polynomial bit length for the minors in elimination and hence for the rational basis in pivot coordinates. Its product with any trial tuple therefore has polynomial bit length, including a vector that fails the following test. Before taking any polynomial power, reject unless every coordinate is integral and . Take the candidate univariate product up to scalar and monomial. Try its least support point , translate its exponents by the shift determined by , and look up their unique dictionary preimages ; reject if any is absent. Divide the coefficient at by , clear denominators, check the common sign and normalize to a positive primitive integer vector. Now try the original forest’s integer content . Reject a vector of total mass exceeding before expanding copies as trees. For the resulting left forest , check , compute by exact forest division, and check and .
The weights , degrees and are polynomially bounded, so undoing the weighting and taking gcds has polynomial bit cost, even for a rejected vector. Let be the primitive integral specialization with its monomial removed. Every bounded subproduct has a primitive integral representative . Gauss’s lemma and multiplicativity of Mahler measure give . This controls partial products as well. Monic representatives introduce a denominator no larger than the leading coefficient of their primitive representative.
There are coordinate pivots by Lemma 5 and Proposition 6, since and . Each pivot has at most choices. For each pivot tuple there are at most terminal trials. Indeed, a rejected prefix stands for all its completions among the dictionary shifts and the contents . Distinct terminal trials have disjoint sets of formal completions, and contains the point for because was checked in . The work on the at most three choice steps of one trial has polynomial bit cost. Write for the number of vertices in a forest . Pairing a dictionary tree with a full-height path in embeds it in its observed product tree, so it has at most vertices. Thus , and any exact quotient has by the same path argument in . Exact division, the right-anchor test and remultiplication all have polynomial bit cost even when the trial fails. Every true split supplies a closed form , so its pivot tuple is tried. Its least dictionary point and original content are among the choices, and exact division returns its partner. Each output has passed multiplication of the actual forests. This proves Proposition 3.
A sharper count for continuations that pass the product test
Let be the number of nonmonomial absolute factors of the local Laurent polynomial, counted with multiplicity. In , unique factorization gives at most divisors modulo scalar and monomial units. For an admissible divisor, the least support point under the separating grade belongs to a dictionary of at most points. This fixes the monomial shift once one support point of the divisor is aligned. Primitive integral normalization followed by an integer content between and fixes its scale. Conversely, a verified fixes its specialized multiplicity vector, least support point and content, so it is reached by a unique complete trial. Verified division determines . Thus the number of genuine anchored children is at most when , and at most one when . Lemma 5 and the same level-budget sum give nodes in the tree of verified local continuations per grid and endpoint pair. This gives a second cost calculation. Multiply this node bound by the largest one-node cost in Proposition 3, using . The product again gives Theorem 1, including failed trials. The sharper node count thus gives no faster algorithm without a corresponding improvement in local enumeration.
Scope and reproducibility
The bounds concern explicitly written successor tables. In particular the argument allows both factor depths, the number of sibling types, and the number of target components to grow. For an arbitrary disconnected input, a negative answer rules out precisely the pairs of connected factors. The complexity of unrestricted reducibility is posed as open in [8 Sec. 7] and [3 pp. 185–186]. A uniform polynomial bound for constructing one connected pair would require a further argument for choosing a continuing local split or for finding all candidate splits efficiently. For example, a local procedure with polynomial-bit setup and testing, a single trial at , and at most trials otherwise for one absolute constant , would give a polynomial bound even for the full search: . This is a sufficient condition. The number of local splits alone gives no lower bound for finding one complete pair.
The representation matters even for a single cycle , . If , both factor maps are surjective and both factors are connected, hence both are cycles. The product consists of cycles of length . Thus a nontrivial split exists exactly when has at least two distinct prime divisors [6 author version, Appendix A, p. 19]. For given in binary this decision takes polynomial time in : test whether using exact integer roots for and deterministic primality testing [22]. Constructing the two lengths already recovers when for distinct primes. Gaze-Maillot and Porreca establish a related search reduction for binary-encoded profiles, which record only the state counts at each distance from a cycle [23 author version, Theorem 20, p. 8 and encoding on p. 10].
Common anchors and short branches. We tested the product identity used in Lemma C and in the fixed-anchor argument of § 6 on all 9,633 ordered pairs of equal positive height with at most eight vertices per rooted tree. There were 108,748 nonempty groups of active siblings at a given radius, including groups with one child. At every group the common anchor cut had the required height, all the paired cuts occurred in the observed product, and different sibling types had different products with this anchor. At radius two, 136 groups contained distinct types. For a concrete example, take a root whose two child trees are a two-edge path and the same path with an additional leaf attached to its root. The three-edge path is an anchor. The ordinary radius-two cut distinguishes the siblings by that leaf, which belongs to a branch ending before the cut radius.
Guide budgets and complete pairs. For all 3,413 labelled functions on one through five states, direct calculation checked the budgets of Lemma 2 on 45,233 ordered endpoint pairs with a common -step image, giving 139,777 level budgets. Separately, direct product generation gave a catalogue of all 203 targets on at most 12 states admitting two nontrivial connected factors. The global search with exhaustive local splitting recovered all 428 ordered pairs. At its 17,343 local calls of mass at least two (206 distinct target-and-anchor triples), the weighted splitter of § 6.1 agreed with the exhaustive local splitter. At each extension the global search checks the cyclic predecessor marks and the size and degree bounds. It verifies complete pairs by multiplying their successor tables. The catalogue search enumerates its local splits exhaustively and compares them with the weighted splitter. The bit-complexity estimate in Proposition 4 uses the weighted enumeration of Proposition 3.
Local splitting and specialized multiplicities. An independent oracle directly multiplies rooted trees and enumerates admissible ordered forest pairs. Across 407 calls (347 distinct triples), it agreed with the weighted splitter on every set of ordered splits. Of these calls, 153 had no split. The examples include unequal branch lengths at heights two through five and a projected space of rank three.
On 106 further anchored star-forest instances of mass at most ten (103 distinct targets), fixing and using the actual specialized multiplicities again recovered every split found by direct enumeration. Seven instances had maximum multiplicity two at and edge bound . The bounded search chose in all seven. In six instances two coprime factors acquired a common root. In the other instance the factor specialized to under , coprime to the other specialized factor . The four ordered forest splits in this example were recovered at both and . The residue formula in Proposition 6 counts both sources of multiplicity.
A trial rejected after exact division. On a 420-state target we followed one node with anchors , where is the rooted star with children. Its local mass was 16 and its level budget was 595. At projected rank four and , the pivot tuple decoded to at one shift and content. Exact forest division returned
Independent remultiplication gave . The missing right anchor rejected this trial. Another trial at the same node extended to factors of 21 and 20 states. The supplemental scripts also checked selected nodes on targets of 60, 360, 2,880 and 34,560 states, finding respectively 2, 4, 8 and 16 distinct candidate left forests with exact positive quotients missing the right anchor. These are targeted tests of the trials counted in in Proposition 4.
Reproducibility. The companion repository contains input generators, independent enumerators and expected outputs. From its finite-dynamics-factorisation directory, run python -B reproduce.py to repeat the checks. The experiments compare outputs on finite inputs. The bit-complexity bound in Theorem 1 uses deterministic polynomial-bit factorization over .
References
- [1]F. Doré, K. Perrot, A. E. Porreca, S. Riva and M. Rolland. Infinite trees for division and roots over finite discrete-time dynamical systems. Natural Computing 25 (2026), article 16. DOI; author version.
- [2]É. Naquin and M. Gadouleau. Factorisation in the semiring of finite dynamical systems. Theoretical Computer Science 998 (2024), 114509. DOI.
- [3]M. Rolland. Des unrolls aux systèmes dynamiques totaux et partiels: algorithmes de résolution et énumérations des (in)équations polynomiales. Doctoral thesis, Aix-Marseille Université, 2026, NNT 2026AIXM0179. Thesis.
- [4]A. Dennunzio, V. Dorigatti, E. Formenti, L. Manzoni and A. E. Porreca. Polynomial equations over finite, discrete-time dynamical systems. ACRI 2018, LNCS 11115, 298–306. DOI.DOI
- [5]F. Doré, E. Formenti, A. E. Porreca and S. Riva. Decomposition and factorisation of transients in functional graphs. Theoretical Computer Science 999 (2024), 114514. Author version.arxiv.org/abs/2208.08310
- [6]F. Bridoux, C. Crespel le, T. H. D. Phan and A. Richard. Dividing sum of cycles in the semiring of functional digraphs. Natural Computing 25 (2026), article 11. DOI; author version.DOI
- [7]C. Crespel le, T. H. D. Phan and A. Richard. Tensor product of functional graphs: algorithms for factorization and polynomial root-finding restricted to the cycle part. Preprint (2025). HAL.
- [8]A. E. Porreca and M. Rolland. Injective and pseudo-injective polynomial equations: from permutations to dynamical systems. Preprint (2026). arXiv.arxiv.org/abs/2604.04065
- [9]R. Ascone, A. E. Porreca and M. Rolland. Polynomial equations over bijective dynamical systems and their semiring extensions. Extended abstract, Workshop on Cellular Automata and Boolean Automata Networks, UCNC 2026. DOI.DOI
- [10]W. Imrich. Factoring cardinal product graphs in polynomial time. Discrete Math. 192 (1998), 119–144. DOI.DOI
- [11]L. Calderoni, L. Margara and M. Marzolla. Direct product primality testing of graphs is GI-hard. Theoretical Computer Science 860 (2021), 72–83. DOI.DOI
- [12]W. Imrich and W. Klöckl. Factoring directed graphs with respect to the cardinal product in polynomial time II. Discuss. Math. Graph Theory 30 (2010), 461–474. DOI.DOI
- [13]C. J. Smyth. On the product of the conjugates outside the unit circle of an algebraic integer. Bull. London Math. Soc. 3 (1971), 169–175. DOI.DOI
- [14]D. W. Boyd. Kronecker’s theorem and Lehmer’s problem for polynomials in several variables. J. Number Theory 13 (1981), 116–121. DOI.DOI
- [15]W. M. Lawton. A problem of Boyd concerning geometric means of polynomials. J. Number Theory 16 (1983), 356–362. DOI.DOI
- [16]W. Ruppert. Reduzibilität ebener Kurven. J. Reine Angew. Math. 369 (1986), 167–191. DOI.DOI
- [17]S. Gao. Factoring multivariate polynomials via partial differential equations. Math. Comp. 72 (2003), 801–822. DOI.DOI
- [18]H. Shaker. Topology and factorization of polynomials. Math. Scand. 104 (2009), 51–59. DOI.arxiv.org/abs/0704.3363
- [19]P. Bürgisser and P. Scheiblechner. Differential forms in computational algebraic geometry. ISSAC 2007, 61–68, Theorem 5.3. Author PDF.DOI
- [20]P. Scheiblechner. On the Complexity of Counting Irreducible Components and Computing Betti Numbers of Algebraic Varieties. Doctoral thesis, Universität Paderborn, 2007. Thesis.
- [21]A. K. Lenstra, H. W. Lenstra, Jr., and L. Lovász. Factoring polynomials with rational coefficients. Math. Ann. 261 (1982), 515–534. DOI.
- [22]M. Agrawal, N. Kayal and N. Saxena. PRIMES is in P. Ann. of Math. 160 (2004), 781–793. DOI.DOI
- [23]C. Gaze-Maillot and A. E. Porreca. Profiles of dynamical systems and their algebra. Preprint (2020). arXiv.