\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern,amsmath,amsthm} \usepackage{tikz} \usepackage[left=26mm,right=26mm,top=22mm,bottom=21mm]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Division of Explicit Finite Dynamical Systems Is NP-Complete}, pdfauthor={Nuutti Kuosa}, pdfsubject={Permutation division under the synchronous direct product}} \raggedbottom \setlength{\parindent}{1.1em} \setlength{\parskip}{2pt} \setlength{\emergencystretch}{2em} \makeatletter \renewcommand{\@maketitle}{\begin{center} {\LARGE\@title\par}\medskip {\large\@author\par}\smallskip \@date \end{center}} \makeatother \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newcommand{\lcm}{\operatorname{lcm}} \newcommand{\step}[1]{\smallskip\noindent\textit{#1.}\enspace} \title{Division of Explicit Finite Dynamical Systems Is NP-Complete} \author{Nuutti Kuosa} \date{22 November 2026} \begin{document} \maketitle \begin{abstract} Given the successor tables of two finite dynamical systems \(A\) and \(B\), can we find a system \(X\) whose synchronous product with \(A\) is isomorphic to \(B\)? We prove that deciding whether such an \(X\) exists is NP-complete even when \(A\) and \(B\) are permutations. This answers a question of Naquin and Gadouleau. Different cycle lengths in \(X\) can contribute to the same cycle length in \(B\). We use their multiplicities to encode a 3-SAT formula so that its satisfying assignments correspond bijectively to quotient isomorphism classes. Counting these classes for permutation inputs is \(\#\mathrm{P}\)-complete under parsimonious reductions. Hardness holds with distinct, pairwise coprime, squarefree cycle lengths in \(A\) and squarefree cycle lengths in \(B\). For a formula with \(n\) variables and \(m\) clauses, the two output tables can be constructed with \((n+m)^{5+o(1)}\) states in total. \end{abstract} \section{The division problem}\label{sec:intro} A finite dynamical system is a nonempty finite set with a map to itself. Given systems \(A\) and \(B\), can we label the states of \(B\) by pairs \((a,x)\) so that the first coordinate follows \(A\) and the second follows a single map \(X\)? We write \(AX=B\) if a bijection identifies the transition of \(B\) with \((a,x)\mapsto(A(a),X(x))\), and call \(X\) a \emph{quotient}. Its isomorphism class is a \emph{quotient class}. The input lists the successor of every state in \(A\) and \(B\). The quotient may have any number of connected components. Even a four-state permutation can have two different quotients. Write \(C_d\) for one \(d\)-cycle and \(+\) for disjoint union. Take \(A=C_2\) and \(B=2C_2\). If \(X=2C_1\), the product has one 2-cycle above each fixed point of \(X\). If \(X=C_2\), label both factors by 0 and 1. The product swaps \((0,0)\) with \((1,1)\) and \((0,1)\) with \((1,0)\). Both quotients therefore give \(B\). More generally, a pair of states on cycles of lengths \(a,b\) first returns to its starting position after \(\lcm(a,b)\) steps. The \(ab\) pairs therefore split into \(ab/\lcm(a,b)=\gcd(a,b)\) cycles of this length, giving \begin{equation}\label{eq:marks} C_a C_b=\gcd(a,b)\,C_{\lcm(a,b)} . \end{equation} A permutation is determined up to isomorphism by the number of its cycles of each length. Naquin and Gadouleau asked whether division is NP-complete for general systems and raised the question even \textquotedblleft on cycles\textquotedblright~\cite[\S7, p.~17]{ng}. Dor\'e et al.\ recorded the exact complexity of division as unknown~\cite[\S1]{dorre}. After solving division for connected quotients, they identified removing the connectivity assumption as a main research direction~\cite[\S6]{dorre}. \begin{theorem}\label{thm:division} Deciding whether $AX=B$ for some finite system $X$ is NP-complete under polynomial-time many-one reductions for explicitly listed successor tables. NP-hardness holds when $A$ and $B$ are permutations, the cycles of $A$ have distinct, squarefree, pairwise coprime lengths, and every cycle length of $B$ is squarefree. \end{theorem} \paragraph{Proof idea.} Suppose \(X=uC_7+vC_{21}+wC_{35}\). Multiplication by \(C_{15}\) sends all three lengths to \(105\), with multiplicities \(u,3v,5w\). Thus one entry of the product reads the weighted sum \(u+3v+5w\). We choose cycle lengths so that several such sums read overlapping parts of an array. Section~\ref{sec:intervals} encodes intervals on these sums by a single division equation. Section~\ref{sec:bits} uses sums of two bits to copy a truth value and sums of three bits to test clauses. Each satisfying assignment gives one quotient up to isomorphism. Reading its cycle multiplicities recovers the assignment. \paragraph{Membership in NP.} \begin{samepage} Dennunzio et al.\ established membership in NP for polynomial equations with a constant side~\cite[Thm.~2]{ddfmp}. For division, if $|A|$ divides $|B|$, guess a successor table on $|B|/|A|$ states and a bijection from its product with $A$ to $B$. Bijectivity and commutation with the two maps can be checked entry by entry. If $|A|$ does not divide $|B|$, reject. If $B$ is a permutation, surjectivity of the product also forces $X$ to be a permutation.\par \end{samepage} \subsection*{Related work} \paragraph{Why one unknown matters.} Porreca reported NP-completeness for a single linear equation with a constant right-hand side and a variable number of unknowns, crediting joint work with Bridoux and Naquin-Touileb~\cite{por20}. Ascone, Porreca and Rolland proved NP-hardness for linear permutation equations with three unknowns and asked how many unknowns suffice~\cite[p.~2]{apr}. Porreca and Rolland singled out \(AX=B\) as unclassified~\cite[\S1]{pr25}. Gadouleau and Johnson also recorded the problem as open for permutations~\cite[\S1]{gj}. Theorem~\ref{thm:division} answers the variable-count question for these linear equations. One unknown suffices even when every input state is listed. The same instances establish hardness for permutations specified by cycle lengths and multiplicities in binary, since traversing the successor tables gives those lists in polynomial time. \paragraph{Where polynomial algorithms apply.} The algorithms for restricted cases depend on what we know about the divisor or the quotient in advance. Dor\'e et al.\ find a connected quotient, when one exists, in polynomial time~\cite[Thm.~3.13]{dorre}. Their final question asks for two unknown connected factors when only the target is given~\cite[\S6]{dorre}. For permutation inputs, let \(m_A\) be the least common multiple of the cycle lengths of \(A\), and let \(\tau(m_A)\) count its positive divisors. After the size check \(|A|\mid |B|\), Bridoux et al.\ count quotient classes in time \(O\bigl(|B|^3 (|B|/|A|)^{\tau(m_A)}\bigr)\)~\cite[Thm.~1, eq.~(2)]{bcpr}. This gives one polynomial bound for every family on which \(\tau(m_A)\) has a constant upper bound, including the case of a fixed \(A\). They also decide division in polynomial time when every cycle length of \(A\) greater than one is prime, however many such lengths occur. In that case they can list all solutions in polynomial time when every cycle length of \(B\) divides \(m_A\)~\cite[\S\S4--6]{bcpr}. Dennunzio et al.\ decide \(C_p X=nC_q\) in polynomial time even when \(p,q,n\) are encoded in binary~\cite[Thm.~4]{dfmr}. Porreca and Rolland solve division in polynomial time when the shortest divisor cycle length divides all the others~\cite[\S1]{pr25}, as part of their treatment of pseudo-injective equations~\cite[Thm.~61]{pr}. A fixed point in the divisor guarantees uniqueness whenever a solution exists~\cite[Thm.~34]{ng}. Polynomial algorithms are also known for pure permutation roots~\cite{riva,pcr,pr}. Gadouleau et al.\ relate polynomial-time division for partial and total systems~\cite{grrv}. Rolland gives a fixed-parameter algorithm for division, parameterized jointly by the number of distinct connected component types of \(B\) and the shortest cycle length of \(A\)~\cite[Thm.~4.43, p.~159]{rolland}. In our reduction the shortest divisor cycle has length two, while the number of distinct target cycle lengths grows with the formula. The divisor has \(\Theta(\log N/\log\log N)\) cycles, where \(N=|A|+|B|\). After the reduction, Section~\ref{sec:size} bounds its cost in states, Section~\ref{sec:checks} checks small instances, and Section~\ref{sec:scalar} treats scalar polynomials and uniqueness. \section{Realizing intervals by permutation division}\label{sec:intervals} Give each of three literal bits a positive weight. The interval from the smallest weight to the sum of all three accepts exactly the triples with at least one true bit. How can one product equation enforce both endpoints? Write \([C_d]Y=y_d\) for the coefficient of \(C_d\) in a finite sum \(Y=\sum_d y_d C_d\). We extend the cycle product bilinearly to rational coefficients while constructing the target. A sum represents an actual nonempty permutation when its coefficients are nonnegative integers and at least one is positive. Think of a rectangular array, with one prime labelling each position along an axis. We use different primes on different axes so that a site can be identified from the product of its labels alone. Take $D\ge2$ pairwise disjoint finite sets of primes $H_j$, each with at least two elements. Write $Q_j=\prod_{p\in H_j}p$ and choose a prime $\omega$ outside all the groups. A \emph{site} is a full tuple and a \emph{face} is a partly or fully specified tuple. Their respective sets are \[ V=\prod_{j=1}^D H_j,\qquad E=\prod_{j=1}^D(\{1\}\cup H_j). \] The label 1 leaves a coordinate unspecified. A face with just one unspecified coordinate is a line. For $e\in E$, put $d_e=\prod_j e_j$ and let $s(e)$ count its unspecified coordinates. Write $v\succeq e$ when $v\in V$ agrees with all specified coordinates of $e$. Because the $Q_j$ are coprime, the factors $e_j=\gcd(d_e,Q_j)$ can be read back from $d_e$. We store an entry \(0\le x_v\le \kappa_v\) at each site \(v\), with integral capacity \(\kappa_v\ge0\). A site is \emph{active} if its capacity is positive. On a face \(e\), the weight of an entry is the product of its labels in the unspecified coordinates. The weighted sum and its maximum are therefore \begin{equation}\label{eq:faces} f_e(x)=\sum_{v\succeq e}\frac{d_v}{d_e}x_v,\qquad W_e=f_e(\kappa). \end{equation} Give each $e$ an integral interval $[L_e,R_e]\subseteq[0,W_e]$. At a site require $[L_v,R_v]=[0,\kappa_v]$. A feasible array satisfies $L_e\le f_e(x)\le R_e$ for every $e$. \paragraph{A one-bit example.}\label{ex:onebit} Take the prime groups \(\{3,5\}\) and \(\{7,11\}\), with \(\omega=2\). Give the site \((3,7)\) capacity one and every other site capacity zero. There is just one entry to choose, \(x=x_{(3,7)}\). At \((1,7)\) the weighted sum is \(3x\), since \(d_{(3,7)}/d_{(1,7)}=21/7=3\). Give every other face its full interval \([0,W_e]\). The interval at \((1,7)\) then makes the following choices possible. \[ \begin{array}{c|c|c|c} \text{Interval for }3x &[0,3]&[3,3]&[1,2]\\ \hline \text{Feasible bits }x &0,\ 1&1&\text{none} \end{array} \] The last column explains the rational feasibility assumption in the next lemma. Neither bit works, yet \(x=\tfrac12\) gives \(3x=\tfrac32\). As the lemma shows, we can still construct a target permutation \(B\) for this interval. The resulting equation \((C_2+C_{15}+C_{77})X=B\) then has no quotient. Figure~\ref{fig:faces} shows the entry and the line that reads it. \begin{figure}[htbp] \centering \begin{tikzpicture}[x=2.12cm,y=1.00cm,font=\small] \fill[black!10] (0,1) rectangle (1,2); \draw (0,0) rectangle (2,2); \draw (1,0) -- (1,2); \draw (0,1) -- (2,1); \node at (1,2.66) {First label $v_1$}; \node at (0.5,2.25) {$3$}; \node at (1.5,2.25) {$5$}; \node[rotate=90] at (-0.74,1) {Second label $v_2$}; \node at (-0.23,1.5) {$7$}; \node at (-0.23,0.5) {$11$}; \foreach \xx/\yy/\entry/\sitelength in {0.5/1.5/x/21,1.5/1.5/0/35,0.5/0.5/0/33,1.5/0.5/0/55} { \node at (\xx,\yy+0.15) {$\entry$}; \node[font=\scriptsize] at (\xx,\yy-0.18) {$d_v=\sitelength$}; } \node[anchor=west] at (2.16,1.5) {$f_{(1,7)}=3x$}; \node[anchor=west] at (2.16,0.5) {$f_{(1,11)}=0$}; \node at (0.5,-0.36) {$f_{(3,1)}=7x$}; \node at (1.5,-0.36) {$f_{(5,1)}=0$}; \node[anchor=west] at (2.16,-0.36) {$f_{(1,1)}=21x$}; \end{tikzpicture} \caption{The four sites of the one-bit example. The shaded site has capacity $\kappa_{(3,7)}=1$, and the other three have capacity zero. On the top row the first label supplies the weight, giving $3x_{(3,7)}+5x_{(5,7)}=3x$. On the whole array both labels supply weights, so the shaded site's contribution is $3\cdot7x=21x$.} \label{fig:faces} \end{figure} \paragraph{The construction.} The interval at \(e\) holds exactly when its two signed distances, \(f_e(x)-L_e\) and \(R_e-f_e(x)\), are nonnegative. Their sum is the known width \(U_e=R_e-L_e\). We put one distance at cycle length \(\omega d_e\), and \(\omega\) times the other at \(d_e\). Multiplying by \(C_\omega\) sends both entries to length \(\omega d_e\). Since \(\gcd(\omega,d_e)=1\), the cycle rule gives \(C_\omega C_{d_e}=C_{\omega d_e}\) and \(C_\omega C_{\omega d_e}=\omega C_{\omega d_e}\). Each distance thus contributes \(\omega\) times its value, for a total of \(\omega U_e\). Which distance should go at the longer length? A face sum is a weighted sum of the face sums obtained by specifying one more coordinate. To make their changes cancel in the product, reverse the choice of distance each time a coordinate is left unspecified. For any rational array \(x\), put \[ z_e(x)= \begin{cases} f_e(x)-L_e,&s(e)\text{ even},\\ R_e-f_e(x),&s(e)\text{ odd}, \end{cases} \qquad Y(x)=\sum_{e\in E}\bigl(z_e(x)C_{\omega d_e} +\omega(U_e-z_e(x))C_{d_e}\bigr). \] All displayed lengths are distinct, so \(Y(x)\) has nonnegative coefficients exactly when \(x\) is feasible. Set \(A=C_\omega+\sum_j C_{Q_j}\) and compute \(B=AY(0)\) in signed integer arithmetic. This computation uses only the capacities and intervals. \begin{lemma}\label{lem:realization} Suppose that some \(\kappa_v>0\) and that a feasible rational array exists. \begin{enumerate} \item[\textup{(a)}] For every rational array \(x\), \(AY(x)=B\). The target \(B\) is a nonempty permutation. \item[\textup{(b)}] The map \(x\mapsto Y(x)\) is a bijection from feasible integral arrays to quotient isomorphism classes for \(AX=B\). Its inverse reads \(x_v=[C_{\omega d_v}]X\) at each site \(v\). \item[\textup{(c)}] The number of states in \(B\) satisfies \begin{equation}\label{eq:states} |B|=|A|\,\omega\sum_{e\in E}d_e U_e \ \le\ |A|\,\omega\,2^D\sum_{v\in V}d_v\kappa_v . \end{equation} \end{enumerate} \end{lemma} \begin{proof} \step{Independence of the array} In the one-bit example let \(R\) be the upper bound on \(3x\). Keep the other three site entries at zero. The multiplicities of \(C_{42}\) and \(C_{14}\) in \(Y(x)\) are \(x\) and \(R-3x\). Multiplication by \(C_{15}\) sends both to length 210. The two contributions are \(3x\) and \(R-3x\), giving \(R\) in all. The third possible length on this line, \(70\), has multiplicity zero because the site \((5,7)\) has capacity zero. For the general calculation fix a coordinate \(j\) and all the other labels, allowing those labels to be 1. Let \(\delta\) be their product. Write \(e^{(1)}\) for the face leaving coordinate \(j\) unspecified and \(e^{(p)}\) for the face specifying \(p\in H_j\) there. The sites above \(e^{(1)}\) split according to their \(j\)th label. A site with label \(p\) has weight \(p\) times its weight on \(e^{(p)}\), giving \[ f_{e^{(1)}}(x)=\sum_{p\in H_j}p\, f_{e^{(p)}}(x). \] Use subscripts \(1,p\) for the corresponding values of \(z,U,L,R\). Multiplication by \(C_{Q_j}\) gives \(C_{Q_j}C_{\delta}=C_{\delta Q_j}\) and \(C_{Q_j}C_{\delta p}=pC_{\delta Q_j}\), since \(\gcd(\delta,Q_j)=1\). Both identities also apply with \(\omega\delta\) in place of \(\delta\). Thus \begin{align*} [C_{\omega\delta Q_j}]\,C_{Q_j}Y(x) &= z_1+\sum_{p\in H_j}p z_p,\\ [C_{\delta Q_j}]\,C_{Q_j}Y(x) &= \omega\Bigl(U_1+\sum_{p\in H_j}p U_p\Bigr) -\omega\Bigl(z_1+\sum_{p\in H_j}p z_p\Bigr). \end{align*} Each \(e^{(p)}\) has one fewer unspecified coordinate than \(e^{(1)}\), so their \(z\)'s use opposite signs for the face sums. Writing \(k\) for the common value of \(s(e^{(p)})\), substitution gives \[ z_1+\sum_{p\in H_j}p z_p= \begin{cases} R_1-\sum_{p\in H_j}p L_p,&k\text{ even},\\ \sum_{p\in H_j}p R_p-L_1,&k\text{ odd}. \end{cases} \] Both product coefficients are therefore independent of \(x\). These are all the lengths contributed by this line, and each determines \(\delta\). The remaining divisor cycle gives \begin{equation}\label{eq:guard} C_\omega Y(x)=\sum_e\omega U_e C_{\omega d_e}. \end{equation} We have proved \(AY(x)=AY(0)=B\). Evaluating at zero gives integer coefficients, even if zero violates an interval. Evaluating at a feasible rational array shows that the same coefficients are nonnegative. At a site with \(U_v=\kappa_v>0\), the product with \(C_\omega\) makes a positive contribution, so \(B\) is nonempty. This proves (a). \step{Ruling out other cycle lengths} So far every feasible integral array gives a quotient. To reverse the construction, first consider any cycle in a putative quotient. We can rule it out if multiplying it by even one cycle of \(A\) would produce a cycle length absent from \(B\). For instance, in the one-bit example a quotient cycle of length 15 would give a cycle of length \(15\cdot77\) on multiplication by \(C_{77}\). That cycle length uses both prime groups in full. To see why it is absent, examine the terms of \(B=AY(0)\) before cancellation. All cycle lengths divide the squarefree number $\omega\prod_j Q_j$. In each cycle length, at most one group contributes more than one prime. Indeed $C_\omega Y(0)$ uses at most one label from each group. Every cycle length of $C_{Q_j}Y(0)$ contains all primes of $H_j$ and at most one from each other group. Cancellation only removes cycle lengths from this list. If \(AX=B\), then \(X\) is a permutation since \(B\) is surjective. Let \(C_b\) be any cycle in \(X\). Every cycle contributed by a pair of cycles from \(A\) and \(X\) occurs in their product with positive multiplicity. In particular, the length $\lcm(\omega,b)$ occurs in $B$, so $b$ divides $\omega\prod_j Q_j$. If $b$ used two primes from $H_j$, choose $k\ne j$. Then $C_{Q_k}C_b$ would give a positive term of $B$ using at least two primes from each of $H_j,H_k$, which we have just ruled out. This step uses a second group and at least two primes in it. Hence $b=d_e$ or $b=\omega d_e$ for some $e$. \step{Reading the entries back} For $X$ with this support, the cycle lengths contributed to $AX$ by its different divisor summands are disjoint. A cycle length in $C_\omega X$ contains no full group because every group has at least two primes, and one in $C_{Q_j}X$ contains exactly $H_j$ in full. The same separation holds for $AY(x)$ for every $x$. Looking at which prime groups occur in full therefore tells us which summand of \(A\) contributed each cycle length of the product. In particular we can read the product \(C_\omega X\) separately. By~\eqref{eq:guard} its coefficient at \(\omega d_e\) is \(\omega U_e\). Put $z'_e=[C_{\omega d_e}]X$. Equation~\eqref{eq:guard} now gives $[C_{d_e}]X=\omega(U_e-z'_e)$, including at tuples with $U_e=0$. At a site \(v\) we have \(s(v)=0\) and the interval is \([0,\kappa_v]\), so \(z_v(x)=x_v\). Set \(x_v=z'_v\). These entries are nonnegative integers, being cycle multiplicities in \(X\). It remains to identify the coefficients at the faces with unspecified coordinates. Use the notation \(e^{(1)},e^{(p)},\delta\) from (a). Only \(C_{Q_j}X\) contributes to length \(\omega\delta Q_j\), and dividing by \(\omega Q_j\) recovers \(\delta\) and hence the fixed labels. The cycle rule on this line gives \[ z'_{e^{(1)}}=[C_{\omega\delta Q_j}]B -\sum_{p\in H_j}p\,z'_{e^{(p)}}. \] Each face on the right has one more specified coordinate. Starting at the sites and proceeding in order of increasing \(s(e)\), the recurrence determines every \(z'_e\). Part (a) gives \(AY(x)=B\) for every rational array, so it applies to the integer array just recovered. The coefficients of \(Y(x)\) therefore satisfy the same recurrence, and they agree with \(z'_v\) at the sites by the definition of \(x_v\). Induction gives \(z'_e=z_e(x)\) everywhere. The coefficients at both lengths now agree, so \(X=Y(x)\). The nonnegativity of \(X\) forces \(0\le z_e(x)\le U_e\) for every face, including faces of zero width. Hence \(x\) is feasible. Conversely, each feasible integral \(x\) gives a quotient by (a), and its site coefficients recover it uniquely. This proves (b). \step{Counting the states} Finally the two terms for \(e\) in \(Y(x)\) have total size \(\omega d_e U_e\). Summing and multiplying by \(|A|\) gives the exact size in~\eqref{eq:states}. For the upper bound replace each \(U_e\) by \(W_e\). In \(d_e W_e\) a site \(v\succeq e\) contributes \(d_v\kappa_v\). Each of the \(D\) coordinates of \(v\) may be kept or left unspecified, so this contribution occurs exactly \(2^D\) times in the sum over \(e\). \end{proof} De Loera and Onn proved that feasibility of a \(3\times c\times h\) nonnegative integer table with prescribed two-dimensional marginals is NP-complete~\cite[Thm.~1.1]{dlo}. Their marginal sums have unit coefficients. Here the coefficients \(d_v/d_e\) come from cycle multiplication. \section{From a Boolean formula to two successor tables}\label{sec:bits} How can an interval test a Boolean condition? Suppose two sites on a line carry bits with weights 3 and 5. The possible sums are 0, 3, 5 and 8, so the interval \([3,5]\) makes the bits opposite. Along a path of two such tests the original bit reappears at the other end. On a line with three bits, the weighted sum is at least the smallest of its three positive weights exactly when at least one bit is 1. Now imagine testing a clause such as \((x\lor\neg y\lor z)\). We want one line with three active sites, one for each literal in its clause position. Give each clause position its own plane. On each plane, copying lines carry a literal's bit to every address where a clause asks for it. A second kind of line links the planes so that every occurrence of \(x\) agrees and every occurrence of \(\neg x\) reads its complement. The clause line can then test the three bits with a single interval. The construction below gives each of these lines precisely the sites it needs. Take a conjunction of clauses with at most three literals each~\cite{karp}. If its variables are given by an explicit list, first add $(x\lor\neg x\lor x)$ for every listed but unused variable. This preserves both choices for $x$ when we count assignments. Otherwise the variables are those occurring in the formula. Set aside the empty cases until the end of the construction. In every remaining short clause, repeat a literal until the clause has three positions. Relabel the $n\ge1$ variables. A literal may occur in any position in many clauses. We give it a copy on each of three planes, one plane for each clause position. There are $t=2n+1$ identifiers, one for each signed literal and one padding identifier $\bot$. Padding will let us test just two planes while giving all three positions a definite address. \step{Assigning addresses} Choose the least $u\ge3$ with $u^u\ge t$, and the least $g\ge1$ with $u^g\ge t$. The two choices balance the cost of an address. At a site, \(d_v\) uses one prime per coordinate, whereas the divisor cycle for a coordinate uses all its primes. Taking \(g\le u\) and \(u\log u=O(\log(t+2))\) will keep both lengths polynomial in \(t\) (Section~\ref{sec:tables}). Assign distinct words in $\{0,\ldots,u-1\}^g$ to the identifiers. The address \(\widehat{\alpha}\) of an identifier \(\alpha\) is its word with each digit duplicated. A site has three slots of \(2g\) coordinates each and one plane coordinate with three values. Fixing the three slots and varying the plane gives a line through the three clause positions. Each address coordinate has $u$ labels. Assign a distinct prime to every label of every coordinate using consecutive primes starting at 3, taking one address coordinate at a time and the plane last. A label's weight is the prime assigned to it in its own coordinate. For example, the digit 0 has positive weight. Since all label primes are odd, we may take the guard prime \(\omega=2\). \step{Connecting the addresses of one literal} To copy a bit we need to travel between duplicated words by changing one coordinate at a time. Let $P$ be the path of digit pairs obtained by listing $(a,a)$ for $0\le a3$, minimality gives $(u-1)^{u-1}0\), that is, when some cycle length of \(A\) divides \(k\). Division by \(\phi_k(A)\) then recovers the mark of \(X\). At every other index the product mark is zero for every \(X\). Thus \(AZ=AZ'\) exactly when \(Z,Z'\) agree in all visible marks. For the opening example \(A=C_2\), only the even indices are visible. Both candidate quotients \(2C_1\) and \(C_2\) have two returning states at every even step. Their numbers of fixed points differ at the first step, which the product cannot detect. \begin{samepage} \begin{corollary}\label{cor:scalar} Fix a nonconstant scalar polynomial $q(z)=\sum_{i=0}^r c_i z^i$ with nonnegative integral coefficients and $c_r>0$. Interpret a coefficient $c_i$ as $c_i C_1$ and write $\mathcal{Q}$ for this polynomial on systems. For explicit permutations $A,B$, deciding $A\mathcal{Q}(X)=B$ is NP-complete and counting its quotient classes is $\#\mathrm P$-complete under parsimonious reductions. Hardness holds under the cycle restrictions of Theorem~\ref{thm:division}, with $A$ part of the input. \end{corollary} \end{samepage} \begin{proof} We will replace the target of each hard division instance by a target \(B_{\mathcal{Q}}\) with exactly the same solutions \(X\). The reason this can work is that marks add under disjoint union and multiply under direct product. Hence \(\phi_k(\mathcal{Q}(X))=q(\phi_k(X))\), so we can apply \(q\) to each visible mark separately. For the constructed instance let $Y_0=Y(0)$ and $Y_*=Y(\bar x)$ at the feasible half assignment. Then $Y_0$ is signed integral, $Y_*$ is nonnegative rational, and $AY_0=AY_*=B$. In the constant yes branch use $Y_0=Y_*=C_1$. In the constant no branch of Section~\ref{sec:bits} one may take $Y_0=-3C_1+2C_2+C_3$ and $Y_*=(C_2+C_6)/2$, which have the same stated properties by \eqref{eq:marks}. Form $B_{\mathcal{Q}}=A\mathcal{Q}(Y_0)$. On visible indices its marks are $\phi_k(A)q(\phi_k(Y_*))$, and on other indices they vanish. Hence $B_{\mathcal{Q}}=A\mathcal{Q}(Y_*)$. Its cycle multiplicities are integral by the first construction and nonnegative by the second. Its size is $|A|q(|B|/|A|)>0$. Its cycle lengths are squarefree, since direct products take least common multiples. For every permutation $X$, strict increase of $q$ on the nonnegative reals gives \[ A\mathcal{Q}(X)=B_{\mathcal{Q}} \ \Longleftrightarrow\ \phi_k(X)=\phi_k(Y_*)\ \text{for every visible }k \ \Longleftrightarrow\ AX=B . \] To compute \(B_{\mathcal{Q}}\) we enumerate the ordered tuples of terms of \(Y_0\) in each signed product. There are polynomially many such tuples for fixed \(r\), and each coefficient and cycle length has polynomial bit length. The displayed size of \(B_{\mathcal{Q}}\) is polynomial, so we can write out its successor table. For membership, $1\le |X|\le |B|$ on a yes-instance. The summand $A X^r$ in a permutation target forces $X$ to be a permutation, since a positive Cartesian power of a nonsurjective map is nonsurjective. One fixed-width guess for each entry of the cycle histogram up to $|B|$ gives one accepting path per solution. For a guessed histogram of total size \(n_X\), first check that \(1\le n_X\le |B|\) and \(|A|q(n_X)=|B|\). Reject the guess if either check fails. For each \(i\) with \(c_i>0\), the summand \(c_i X^i\) then has \(c_i n_X^i\le q(n_X)=|B|/|A|\) states. Evaluate the fixed polynomial using the cycle product rule and compare the cycle type of \(A\mathcal{Q}(X)\) with that of \(B\). \end{proof} Suppose now that we know there is at most one quotient. How hard is it to decide whether it exists? Another question starts with an arbitrary instance and asks whether it has at most one quotient. The bijection with satisfying assignments answers both. \begin{corollary}\label{cor:unique} If a deterministic polynomial-time algorithm distinguishes zero quotient classes from exactly one on promised explicit permutation instances, then $\mathrm{NP}=\mathrm{RP}$. Deciding whether there is at most one quotient class is coNP-complete. Both statements hold under the divisor and target restrictions of Theorem~\ref{thm:division}. \end{corollary} \begin{proof} Apply Valiant--Vazirani isolation to a SAT instance~\cite{vv}. An unsatisfiable formula always stays unsatisfiable. A satisfiable one acquires exactly one solution with inverse-polynomial probability. Use bounded-fan-in Boolean gates and a biconditional for each gate when converting to clauses of width at most three. Each input assignment then has exactly one gate extension if it is accepted. The parsimonious reduction preserves the promise in the two cases just described. Polynomially many independent repetitions give RP success probability. Answers on multiple-solution outputs cannot cause a false acceptance on an unsatisfiable input. For the second claim adjoin a fresh variable through a tautological clause. The number of quotient classes is twice the number of satisfying assignments. It is at most one exactly on unsatisfiable formulas. Two distinct verified cycle histograms certify the complement. \end{proof} The promise here concerns a single pair $A,B$. Global injectivity of the polynomial across all right-hand sides is a separate tractable condition~\cite{pr}. \paragraph{How many divisor cycles suffice?} Our reduction uses a growing number of divisor cycles. What happens with just two? For \(A=C_a+C_b\) with \(a=p^\alpha\) and \(b=q^\beta\) powers of distinct primes, \(\lcm(a,b)\) has \((\alpha+1)(\beta+1)\) positive divisors. The counting bound of Bridoux et al.\ therefore applies with exponent four for two primes and nine for their squares, even as \(p,q\) vary~\cite[Thm.~1]{bcpr}. Now allow arbitrary lengths \(a,b\) with neither dividing the other. Can one polynomial-time algorithm decide whether \(C_a+C_b\) divides an explicit permutation \(B\), even when \(\lcm(a,b)\) may have arbitrarily many divisors? Our reduction leaves this question open. \begin{thebibliography}{99}\small \setlength{\itemsep}{1.5pt} \bibitem{apr} R. Ascone, A. E. Porreca, and M. Rolland. \emph{Polynomial equations over bijective dynamical systems and their semiring extensions}. Extended abstract, Workshop on Cellular Automata and Boolean Automata Networks, UCNC 2026. \href{https://doi.org/10.5281/zenodo.20431158}{doi:10.5281/zenodo.20431158}. \href{https://aeporreca.org/talks/polynomial-equations-over-bijective-dynamical-systems-and-their-semiring-extensions.pdf}{Accompanying slides}, nos.~17--21. \bibitem{bcpr} F. Bridoux, C. Crespelle, T. H. D. Phan, and A. Richard. Dividing sum of cycles in the semiring of functional digraphs. \emph{Natural Computing} 25, article 11, 2026. \href{https://doi.org/10.1007/s11047-026-10065-w}{Publisher}. \href{https://arxiv.org/abs/2504.11943v2}{arXiv:2504.11943v2}. \bibitem{dlo} J. De Loera and S. Onn. The complexity of three-way statistical tables. \emph{SIAM Journal on Computing} 33, 819--836, 2004. \href{https://doi.org/10.1137/S0097539702403803}{doi:10.1137/S0097539702403803}. \bibitem{ddfmp} A. Dennunzio, V. Dorigatti, E. Formenti, L. Manzoni, and A. E. Porreca. Polynomial equations over finite, discrete-time dynamical systems. In \emph{Cellular Automata (ACRI 2018)}, LNCS 11115, 298--306, 2018. \href{https://doi.org/10.1007/978-3-319-99813-8_27}{Publisher}. \bibitem{dfmr} A. Dennunzio, E. Formenti, L. Margara, and S. Riva. On solving basic equations over the semiring of functional digraphs. \emph{Discrete Mathematics \& Theoretical Computer Science} 27(3), article 6, 2025. \href{https://doi.org/10.46298/dmtcs.14590}{doi:10.46298/dmtcs.14590}. \bibitem{dorre} F. Dor\'e, K. Perrot, A. E. Porreca, S. Riva, and M. Rolland. Infinite trees for division and roots over finite discrete-time dynamical systems. \emph{Natural Computing} 25, article 16, 2026. \href{https://doi.org/10.1007/s11047-026-10068-7}{doi:10.1007/s11047-026-10068-7}. \bibitem{ds} A. W. M. Dress and C. Siebeneicher. The Burnside ring of the infinite cyclic group and its relations to the necklace algebra, \(\lambda\)-rings, and the universal ring of Witt vectors. \emph{Advances in Mathematics} 78, 1--41, 1989. \href{https://doi.org/10.1016/0001-8708(89)90027-3}{Publisher}. \bibitem{gj} M. Gadouleau and M. Johnson. Semirings of formal sums and injective partial transformations. \href{https://arxiv.org/abs/2603.26508}{arXiv:2603.26508}, 2026. \bibitem{grrv} M. Gadouleau, S. Riva, M. Rolland, and M.-E. Voge. Solving polynomial equations over partial discrete dynamical systems. \href{https://arxiv.org/abs/2609.39724}{arXiv:2609.39724}, 2026. \bibitem{karp} R. M. Karp. Reducibility among combinatorial problems. In \emph{Complexity of Computer Computations}, pp.~85--103, 1972. \href{https://doi.org/10.1007/978-1-4684-2001-2_9}{doi:10.1007/978-1-4684-2001-2\_9}. \bibitem{ng} \'E. Naquin and M. Gadouleau. Factorisation in the semiring of finite dynamical systems. \emph{Theoretical Computer Science} 998, 114509, 2024. \href{https://doi.org/10.1016/j.tcs.2024.114509}{Publisher}. \href{https://arxiv.org/abs/2210.11270v1}{Preprint}, 2022, \S7, p.~20. \bibitem{pcr} T. H. D. Phan, C. Crespelle, and A. Richard. Tensor product of functional graphs: algorithms for factorization and polynomial root-finding restricted to the cycle part. \href{https://ssrn.com/abstract=5316210}{SSRN 5316210}, 2025. \bibitem{por20} A. E. Porreca. The semiring of dynamical systems. \href{https://aeporreca.org/blog/semiring-of-dynamical-systems/}{Author's account}, 28 June 2020, and \href{https://cana.lis-lab.fr/slides/20201006-Porreca.pdf}{CANA seminar slides}, 6 October 2020, PDF pp.~91--94. \bibitem{pr25} A. E. Porreca and M. Rolland. Solving pseudo-injective polynomial equations over finite dynamical systems. In \emph{AUTOMATA 2025}, LNCS 15831, 171--187, 2025. \href{https://doi.org/10.1007/978-3-032-01570-9_12}{Publisher}. \href{https://arxiv.org/abs/2504.06986}{arXiv:2504.06986}. \bibitem{pr} A. E. Porreca and M. Rolland. Injective and pseudo-injective polynomial equations: from permutations to dynamical systems. \href{https://arxiv.org/abs/2604.04065v2}{arXiv:2604.04065v2}, 2026. See also the \href{https://arxiv.org/abs/2502.02360}{CiE 2025 paper on injectivity}. \bibitem{riva} S. Riva. \emph{Factorisation de syst\`emes dynamiques discrets}. Doctoral thesis, 2022. \href{https://hdl.handle.net/10281/404709}{University repository}. \bibitem{rolland} M. Rolland. \emph{Des unrolls aux syst\`emes dynamiques totaux et partiels : algorithmes de r\'esolution et \'enum\'erations des (in)\'equations polynomiales}. Doctoral thesis, Aix-Marseille Universit\'e, 2026. NNT 2026AIXM0179. \href{https://rollandmarius1.github.io/these.pdf}{Author's copy}. \bibitem{rs} J. B. Rosser and L. Schoenfeld. Approximate formulas for some functions of prime numbers. \emph{Illinois Journal of Mathematics} 6, 64--94, 1962. \href{https://doi.org/10.1215/ijm/1255631807}{doi:10.1215/ijm/1255631807}. \bibitem{valiant} L. G. Valiant. The complexity of enumeration and reliability problems. \emph{SIAM Journal on Computing} 8, 410--421, 1979. \href{https://doi.org/10.1137/0208032}{doi:10.1137/0208032}. \bibitem{vv} L. G. Valiant and V. V. Vazirani. NP is as easy as detecting unique solutions. \emph{Theoretical Computer Science} 47, 85--93, 1986. \href{https://doi.org/10.1016/0304-3975(86)90135-0}{Publisher}. \end{thebibliography} \end{document}