The Complexity of Factoring Sums of Cycles

Primarily AI-generated textHuman understanding: no partscs.CC — Computational Complexitycs.DM — Discrete Mathematics

Contributed by Nuutti Kuosa ↗

Version 1 / Nov 27, 2026 / CC0 1.0

Abstract

A sum of directed cycles represents a finite dynamical system whose transition map is a permutation. Its decomposition into a direct product of two nontrivial systems is a classical algorithmic problem, also studied as conjugated tensor decomposition of a permutation. We establish its decision and counting complexity. For explicit transition tables, deciding nontrivial factorization is NP-complete, and counting unordered nontrivial factor pairs up to isomorphism is \#P-complete under parsimonious reductions. The reduction classifies every nontrivial factor pair: for suitable sums A,BA,B of odd-length cycles, the nontrivial pairs of B+C2AB+C_2A are exactly {A,X+C2}\{A,X+C_2\} with AX=BAX=B, where C2C_2 is a two-cycle. Both factors are irreducible, and the target B+C2AB+C_2A has ∣B∣+2∣A∣|B|+2|A| states. We give a self-contained parsimonious reduction from 3-SAT to the required division instances, including the decoding of arbitrary quotients and a polynomial bound on the explicit state space. For binary cycle-list encodings, a sparse-witness argument gives NP-completeness as well. We also give an elementary proof of the output-length obstruction to \#P membership for counting all binary factor pairs, a consequence of earlier bounds on the number of quotients.

Tools used

OpenAI
ChatGPT
Anthropic
Claude Opus

References

  1. F. Bridoux, C. Crespelle, T. H. D. Phan and A. Richard. Dividing sum of cycles in the semiring of functional digraphs . Natural Computing 25 (2026), article 11. doi:10.1007/s11047-026-10065-w (https://doi.org/10.1007/s11047-026-10065-w). Version used: arXiv:2504.11943v2 (https://arxiv.org/abs/2504.11943v2).arXivDOI
  2. E. Naquin and M. Gadouleau. Factorisation in the semiring of finite dynamical systems . Theoretical Computer Science 998 (2024), 114509. doi:10.1016/j.tcs.2024.114509 (https://doi.org/10.1016/j.tcs.2024.114509).DOI
  3. A. E. Porreca and M. Rolland. Injective and pseudo-injective polynomial equations: From permutations to dynamical systems . arXiv:2604.04065v2 (https://arxiv.org/abs/2604.04065v2), 9 April 2026.arXiv
  4. A. E. Porreca and M. Rolland. Solving ``pseudo-injective'' polynomial equations over finite dynamical systems . arXiv:2504.06986v2 (https://arxiv.org/abs/2504.06986v2), 2 September 2025.arXiv
  5. C. Crespelle, T. H. D. Phan and A. Richard. Tensor Product of Functional Graphs: Algorithms for Factorization and Polynomial Root-Finding Restricted to the Cycle Part . Manuscript (2025), HAL-05392325v1 (https://hal.science/hal-05392325v1). doi:10.2139/ssrn.5316210 (https://doi.org/10.2139/ssrn.5316210).DOI
  6. V. E. Beneš. Optimal Rearrangeable Multistage Connecting Networks . Bell System Technical Journal 43(4) (1964), 1641--1656. doi:10.1002/j.1538-7305.1964.tb04103.x (https://doi.org/10.1002/j.1538-7305.1964.tb04103.x).DOI
  7. J. B. Rosser and L. Schoenfeld. Approximate formulas for some functions of prime numbers . Illinois Journal of Mathematics 6(1) (1962), 64--94. doi:10.1215/ijm/1255631807 (https://doi.org/10.1215/ijm/1255631807).DOI
  8. N. Kuosa. Division of Explicit Finite Dynamical Systems Is NP-Complete . Preprint, Hexagon 2611.00886v1, 23 November 2026. https://hexagonmath.org/2611.00886v1.hexagon
  9. 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:10.1007/978-3-319-99813-8_27 (https://doi.org/10.1007/978-3-319-99813-8_27).DOI
  10. A. E. Porreca. Composing behaviours in the semiring of dynamical systems . CANA presentation, 6 October 2020, slides 91--94. Author presentation (https://cana.lis-lab.fr/slides/20201006-Porreca.pdf).link
Show all 22 referencesShow fewer references
  1. 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 at UCNC 2026, Trieste, 22 June 2026, 2 pp. Version v1, 28 May 2026. doi:10.5281/zenodo.20431158 (https://doi.org/10.5281/zenodo.20431158). Author's PDF (https://aeporreca.org/papers/polynomial-equations-over-bijective-dynamical-systems-and-their-semiring-extensions.pdf).DOI
  2. R. Ascone and A. E. Porreca. Irreducible dynamics in reaction systems . Extended abstract, 6th International Workshop on Reaction Systems at UCNC 2026, Trieste, 23 June 2026, 3 pp. Version 1, deposited 16 April 2026. doi:10.5281/zenodo.19609954 (https://doi.org/10.5281/zenodo.19609954). Author's PDF (https://aeporreca.org/papers/irreducible-dynamics-in-reaction-systems.pdf).DOI
  3. 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 . Advances in Mathematics 78 (1989), 1--41. doi:10.1016/0001-8708(89)90027-3 (https://doi.org/10.1016/0001-8708(89)90027-3).DOI
  4. F. Eisenbrand and G. Shmonin. Carathéodory bounds for integer cones . Operations Research Letters 34(5) (2006), 564--568. doi:10.1016/j.orl.2005.09.008 (https://doi.org/10.1016/j.orl.2005.09.008).DOI
  5. G. Shmonin. Parameterised Integer Programming, Integer Cones, and Related Problems . Dissertation, Universität Paderborn, 2007. Theorem 5.1 and its proof, p. 52. Author dissertation PDF (https://www.epfl.ch/labs/disopt/wp-content/uploads/2018/09/Shmonin2007.pdf).link
  6. S. Egner, M. Püschel and T. Beth. Decomposing a permutation into a conjugated tensor product . Proceedings of ISSAC 1997, 101--108. doi:10.1145/258726.258761 (https://doi.org/10.1145/258726.258761). Author-hosted abstract (https://qcg.engin.umich.edu/wp-content/uploads/sites/393/2018/06/Egner-abst.pdf). Complete author version (PostScript) (https://users.ece.cmu.edu/~pueschel/papers/perm.ps).DOI
  7. S. P. Glasby. Tensor products of polynomials . University of Sydney, Research Report 95-4, dated 1 June 1994, revised January 1995. Section 9, pp. 15--20. Institutional record and full text (https://www.maths.usyd.edu.au/u/ResearchReports/Algebra/Gla/tens-prod-pol.html).link
  8. S. P. Glasby. On the tensor product of polynomials over a ring . Journal of the Australian Mathematical Society 71(3) (2001), 307--324. doi:10.1017/S1446788700002950 (https://doi.org/10.1017/S1446788700002950). Author full text (https://stephenglasby.github.io/PAPER14.PDF).DOI
  9. M. Püschel. Constructive Representation Theory and Fast Discrete Signal Transforms . Technical Report Drexel-MCS-1999-1, Drexel University, June 1999. English translation of the 1998 Karlsruhe dissertation, with a corrective English preface. Section 1.3, Theorem 1.29 and Algorithm 1.32, pp. 33--35. Author full text (PostScript) (https://users.ece.cmu.edu/~pueschel/papers/thesis.ps).link
  10. J. Novotný. Cardinal arithmetic of a certain class of monounary algebras . Časopis pro pěstování matematiky 111(4) (1986), 384--393. doi:10.21136/CPM.1986.118286 (https://doi.org/10.21136/CPM.1986.118286).DOI
  11. Y. Puri and T. Ward. Arithmetic and growth of periodic orbits . Journal of Integer Sequences 4 (2001), Article 01.2.1. Journal full text (https://cs.uwaterloo.ca/journals/JIS/VOL4/WARD/short.pdf).link
  12. R. Ascone. Reaction Systems and Irreducible Dynamics . CANA seminar, LIS, Marseille, 4 June 2026. Presentation, 93 PDF pages including overlays; PDF pp. 12, 48, 89, 91. Version retrieved 26 November 2026. CANA slides (https://cana.lis-lab.fr/slides/20260604-Ascone.pdf).link

Version history

  1. v1 · 22 pagesSubmitted by Nuutti KuosaInitial depositCurrentNov 27, 2026