Browse

Search results

Browse the Hexagon catalog.

Matching works

7 works

math.CO — Combinatorics

Generation and indexing near functional digraphs

Contributed by Nuutti Kuosa

We examine generation and direct indexing of unlabelled graphs close to partial functions, in response to research directions of Defrain, Porreca and Timofeeva. Earlier iterator and string algorithms answer part of the functional-digraph programme. For exact directed branching excess kk, we give a deterministic generator with full delay Ok(nlog⁡3(n+2))O_k(n\log^3(n+2)) and Ok(nlog⁡2(n+2))O_k(n\log^2(n+2)) working words, allowing both input degree caps and optional loop exclusion, for the possibly disconnected class. A quadratic-delay, linear-space construction also permits connectedness. Finite kernel actions and implicit weighted alphabets give counting, ranking and unranking with polynomial degrees independent of kk. The undirected extension permits arbitrary tree and unicyclic components under the sum of positive component excesses; a weighted bracelet oracle handles reflection symmetries without enumerating its alphabet. We derive same-class baselines from earlier generation and indexing methods, including quadratic-delay generation with linear space for the possibly disconnected class, and identify the additional arguments needed for the sharper bounds. Two established deterministic string data structures support the same generation bound. A reorganized evaluation of an older bracelet recurrence also matches the sparse oracle's numerical budget, conditionally on a correct counting interpretation of its states. The limitations identified for that recurrence's stated interface do not exclude other polynomial counting adaptations. We give explicit bit costs, distinguish classical ingredients from the quantitative compositions established here, and state the remaining representation and algorithmic boundaries. Historical priority of the combined results is not asserted. Complete proofs and detailed source comparisons are provided in a separate technical companion. The main paper also states linear-bit functional generation, constant-amortized maintenance of outgoing-target arrays, and the equality class of the stated 4k4k reduction bound. An expanded literature review explains which original questions are already answered by earlier work, which answers require a further deduction, and what remains to be established.

Primarily AI-generated textHuman understanding: no parts
Nov 30, 202633 pages
PDFView work

math.CO — Combinatorics

Technical appendices: Companion to Generation and indexing near functional digraphs

Contributed by Nuutti Kuosa

This technical companion to “Generation and indexing near functional digraphs” provides complete proofs, explicit time and space analyses, worked examples, and detailed comparisons with earlier literature. For unlabelled digraphs on nn vertices with exact branching excess k=∑vmax⁡{d+(v)−1,0}k=\sum_v\max\{d^+(v)-1,0\}, it establishes a deterministic generator with full delay Ok(nlog⁡3(n+2))O_k(n\log^3(n+2)) and Ok(nlog⁡2(n+2))O_k(n\log^2(n+2)) working words, allowing input-specified in-degree and out-degree caps and optional loop exclusion in the possibly disconnected class. A separate construction has Ok(n2)O_k(n^2) full delay and Ok(n)O_k(n) working words and also permits weak connectedness. For counting, ranking and unranking, the companion develops finite kernel actions and implicit weighted alphabets with polynomial degrees independent of the parameter. The undirected application includes arbitrary tree and unicyclic components, using the sum of positive component excesses. An implicit weighted bracelet oracle handles reflection symmetries without enumerating the alphabet. The relationship to earlier bracelet recurrences is analysed with explicit correctness and resource conditions. Additional results concern linear-bit functional generation, constant-amortized maintenance of mutable outgoing-target arrays, and the complete equality classification for the stated 4k4k reduction bound. The literature comparison identifies questions answered by established results, deductions requiring combinations of earlier methods, and graph-specific arguments needed for the stated bounds. Historical priority of the combined results is not asserted.

Primarily AI-generated textHuman understanding: no parts
Nov 30, 2026209 pages
PDFView work

cs.CC — Computational Complexity

The Complexity of Factoring Sums of Cycles

Contributed by Nuutti Kuosa

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.

Primarily AI-generated textHuman understanding: no parts
Nov 27, 202622 pages
PDFView work

cs.CC — Computational Complexity

Division by Two Cycles in Binary and Explicit Representations

Contributed by Nuutti Kuosa

Let AA be a permutation with two cycles and BB a target permutation. We ask whether BB is isomorphic to the synchronous product AXAX for some quotient XX, how to construct one, and how many quotients there are up to isomorphism. Suppose the cycle lengths in AA are 22 and an odd b>1b>1. If the input lists cycle lengths and multiplicities in binary, deciding existence is NP-complete and counting quotient classes is #P\#\mathsf P-complete under parsimonious polynomial-time reductions. Given the successor of each state, we can count the classes and construct one quotient whenever it exists, both in polynomial time. For arbitrary cycle lengths a,ba,b of AA, put g=gcd⁡(a,b)g=\gcd(a,b). In either representation we construct, in deterministic polynomial time, a new target and a divisor with cycle lengths gd,g(d+1)gd,g(d+1), d≥2d\ge2. The resulting bijection on quotient classes is computable in polynomial time in both directions. For each fixed gg, varying dd gives the same two completeness results for binary lists. With d=2d=2 fixed and gg varying, one binary quotient can be found in polynomial time whenever it exists. Deciding whether there are at least two classes is polynomial-time Turing equivalent to integer factorisation. For two arbitrary divisor lengths, division from successor tables is decidable in polynomial time if and only if Boolean satisfiability on mm-bit formulas is decidable in deterministic time mO(log⁡log⁡m)m^{O(\log\log m)}. We can count quotient classes in polynomial time if and only if satisfying assignments can be counted within that time bound. Both equivalences and the bijection extend to explicit targets with transient states.

Primarily AI-generated textHuman understanding: no parts
Nov 26, 202630 pages
PDFView work

math.CO — Combinatorics

How Many Cycle Lengths Can a Unique Quotient Require?

Contributed by Nuutti Kuosa

Given two permutations AA and BB, suppose there is just one finite dynamical system XX, up to isomorphism, whose direct product with AA is BB. How many different cycle lengths can XX have? For every sufficiently large kk we construct a divisor with kk cycle lengths and a target with exactly k+1k+1. Their unique quotient has asymptotically 12k2log⁡2log⁡k\tfrac12 k^2\log_2\log k distinct cycle lengths. Every one of these lengths is absent from the target. The divisor is fixed once kk is chosen. Its cycles have lengths M/pM/p, where MM is the product of the first kk primes and pp runs over those primes. The proof chooses a set containing almost all the first kk primes. Each quotient cycle omits exactly two primes of this set. A congruence fixes the number of states assigned to each missing pair. Smaller primes then distinguish several forced cycle lengths within each pair.

Primarily AI-generated textHuman understanding: no parts
Nov 23, 202619 pages
PDFView work

cs.CC — Computational Complexity

Division of Explicit Finite Dynamical Systems Is NP-Complete

Contributed by Nuutti Kuosa

Given the successor tables of two finite dynamical systems AA and BB, can we find a system XX whose synchronous product with AA is isomorphic to BB? We prove that deciding whether such an XX exists is NP-complete even when AA and BB are permutations. This answers a question of Naquin and Gadouleau. Different cycle lengths in XX can contribute to the same cycle length in BB. 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 #P\#\mathrm{P}-complete under parsimonious reductions. Hardness holds with distinct, pairwise coprime, squarefree cycle lengths in AA and squarefree cycle lengths in BB. For a formula with nn variables and mm clauses, the two output tables can be constructed with (n+m)5+o(1)(n+m)^{5+o(1)} states in total.

Primarily AI-generated textHuman understanding: no parts
Nov 23, 202615 pages
PDFView work

cs.DS — Data Structures and Algorithms

Finding Two Connected Factors of a Finite Dynamical System in Quasipolynomial Time

Contributed by Nuutti Kuosa

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 NN-state system BB, the algorithm constructs connected systems XX and YY, each with at least two states, such that X×Y≅BX\times Y\cong B, or determines that no such pair exists. Its bit complexity is exp⁡(O((log⁡(2N))3log⁡log⁡(4N)))\exp(O((\log(2N))^3\log\log(4N))), even when BB 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.

Primarily AI-generated textHuman understanding: no parts
Nov 23, 202615 pages
PDFView work