For a finite maximal variable-length code over an alphabet , each letter has an order (an integer with ), and for every word not beginning or ending with one can single out the component of words of the form arising from . De Felice (2016) and the Zhang–Shum theorem it builds on show that these components are organized by factorizations of the cyclic group , and ask whether this organization always reaches the finest level: does every admit a 'good arrangement' — equivalently, by De Felice's 2023 characterization, does always admit a Krasner factorization as a companion factorization — and, in the Zhang–Shum formulation, does the system of factorizations of induced by always contain a Krasner factorization? A negative answer would refute Schützenberger's long-standing factorization conjecture. As of 2026 the question is open in general; it is settled affirmatively when (De Felice, 2023), while Cordero's 2024 framework of borders for complete bayonet codes proves the adjacent strong triangle conjecture for bayonet codes of further orders (products of at most three primes, or ) and exhibits non-Hajós behavior beyond them.
Background
A variable-length code is a set of words over a finite alphabet such that every word of (the set of all concatenations of words of , a free submonoid of the free monoid — the set of all words over — with basis ) factors into codewords in exactly one way. A code is maximal if it is contained in no strictly larger code over ; a classical result states that every letter then has an order relative to : an integer with . The structure of finite maximal codes is governed by three famous conjectures going back to Schützenberger and Perrin: the factorization conjecture (every finite maximal code satisfies for finite sets of words, where underlining denotes the characteristic polynomial of a finite language, formally ), the commutative equivalence conjecture (every finite maximal code is commutatively equivalent to a prefix code, i.e., its words can be replaced by permutations of their letters so that no word is a prefix of another), and the triangle conjecture for bayonet codes (codes whose words all have the form ), the original unrestricted form of which was refuted by a counterexample of Shor in 1985. The standard reference for this theory is the monograph of Berstel, Perrin, and Reutenauer.
A distinct line of research connects finite maximal codes with factorizations of cyclic groups. A factorization of is a pair of subsets such that every residue mod is uniquely with , . Krasner and Ranulac completely described a special class: is a Krasner factorization of when the generating functions satisfy , which amounts to a product decomposition along a chain of divisors of (Example: with is a Krasner factorization of ). Hajós factorizations, introduced by Hajós in his study of group factorizations, form a wider class built recursively along such divisor chains. Zhang and Shum (Discrete Mathematics, 2017) proved a structural theorem linking the two worlds: fix a finite maximal code , a letter of order , let , and for (words over that start and end with letters of ) define the component
the words of that are not simultaneously reducible by a full period on the left and on the right. Zhang and Shum introduced left sets and right sets of : a word is strongly right-completable for if every continuation can be repaired into — formally, for every there exists with — and is a left set of if for some strongly right-completable generator , (where denotes the maximal word length of ), the powers of that can follow into at a fixed large offset; right sets are defined dually (the powers of that can precede a generator word into , subject to an unambiguity condition on exponent differences). They proved that any left set and right set give a factorization of , defined the system of factorizations of induced by as all such pairs, and showed: (i) each can be arranged in a matrix whose row sets and column sets factorize , and (ii) if the induced system contains a Krasner factorization , then each satisfies the triangle inequalities for all — the strong (Zhang–Shum) form of the triangle conjecture.
De Felice (2016) strengthened this: her Theorem 5.1 shows that a Krasner factorization in the induced system yields more than the inequalities — it yields a good arrangement of every , i.e., an arrangement of its words into a matrix that is recursively constructed in step with the recursive divisor-chain construction of the Hajós factorizations carried by its rows and columns (Definitions 3.2 and 3.4 of the source), with the given Krasner pair as 'Krasner associated pair'. She proved the existence of good arrangements when for a prime (Corollary 5.1) and when the induced system contains a pair with or a singleton (Corollary 5.2), and posed the questions below. In subsequent work (Journal of Automata, Languages and Combinatorics, 2023) she reformulated the framework: a factorization of is a companion factorization of when the product is unambiguous and realizes every exponent pair for every ; her Proposition 7.2 proves that every has a good arrangement with one common Krasner pair Krasner-associated if and only if some Krasner factorization is a companion factorization of , and her Proposition 7.3 proves that a Krasner companion always exists when , where counts the prime factors of with multiplicity — the threshold at which, by a theorem of Hajós and de Bruijn, all factorizations of are Hajós. Because factorizing codes (codes satisfying the conclusion of the factorization conjecture) carry Krasner companions, a negative answer to the main question below would refute the factorization conjecture itself.
Problem Statement
Let be a finite maximal code over a finite alphabet , let be a letter of order relative to (i.e., ), set , and for (words that start and end with a letter different from ) let
Main question: does there always exist a good arrangement of for every — in the sense of Definitions 3.2 and 3.4 of the source: an arrangement of the words of into a matrix recursively constructed along the divisor chains of the Hajós factorizations of carried by its rows and columns — with one common Krasner factorization of as the associated pair for all ? By Proposition 7.2 of De Felice (2023), this uniform form holds if and only if admits a Krasner factorization of as a companion factorization: the product is unambiguous and realizes every exponent pair , for every . A stronger proposition is the formulation of Zhang and Shum followed by the source: does the system of factorizations of induced by — the pairs with a left set and a right set of — always contain a Krasner factorization? By Theorem 5.1 of the source, an affirmative answer in the induced-system form implies the main question (the uniform good-arrangement form); the converse is exactly sub-question (i) below, so the two forms are not known to be equivalent and the main question is the weaker of the two. An affirmative answer in any of these forms implies the strong (Zhang–Shum) triangle inequalities for all and all ; a negative answer to the main question refutes the factorization conjecture, while a negative answer to the induced-system form does so only together with sub-question (i). Two sub-questions posed in the source remain open: (i) the converse of its Theorem 5.1 — if every has a good arrangement with as Krasner-associated pair, must belong to the induced system of factorizations (equivalently, by De Felice's Proposition 7.2, is every Krasner companion factorization of induced by a left set and a right set)? and (ii) does the source's Corollary 5.2 extend: if the induced system contains a pair with or , must every have a good arrangement? The analogous extension of Corollary 5.1 from prime to has been answered affirmatively (De Felice, 2023, Propositions 7.2 and 7.3), so answers are required for the surviving general cases: arbitrary for the main question and for the stronger induced-system form, and the two sub-questions as stated.
References
- Clelia De Felice, "Some conjectures on codes", arXiv preprint (2016), arXiv:1611.04580, DOI 10.48550/arXiv.1611.04580, https://arxiv.org/abs/1611.04580
- Liang Zhang and K. P. Shum, "Finite maximal codes and triangle conjecture", Discrete Mathematics 340(3):541–549 (2017), DOI 10.1016/j.disc.2016.10.008, https://doi.org/10.1016/j.disc.2016.10.008
- Clelia De Felice, "Finite Maximal Codes and Factorizations of Cyclic Groups", Journal of Automata, Languages and Combinatorics 28(4):287–338 (2023), DOI 10.25596/jalc-2023-287, https://doi.org/10.25596/jalc-2023-287 (preprint arXiv:2202.09675, https://arxiv.org/abs/2202.09675)
- Christophe Cordero, "Factorizations of Cyclic Groups and Bayonet Codes", Journal of Automata, Languages and Combinatorics 29(1):11–39 (2024), DOI 10.25596/jalc-2024-011, https://doi.org/10.25596/jalc-2024-011 (preprint arXiv:2301.13566, https://arxiv.org/abs/2301.13566)
- Christophe Cordero, "A Note with Computer Exploration on the Triangle Conjecture", in Language and Automata Theory and Applications (LATA 2019), Lecture Notes in Computer Science, pages 409–420 (2019), DOI 10.1007/978-3-030-13435-8_30, https://doi.org/10.1007/978-3-030-13435-8_30
- P. W. Shor, "A counterexample to the triangle conjecture", Journal of Combinatorial Theory, Series A 38:110–112 (1985), DOI 10.1016/0097-3165(85)90032-9, https://doi.org/10.1016/0097-3165(85)90032-9
- Jean Berstel, Dominique Perrin, and Christophe Reutenauer, "Codes and Automata", Encyclopedia of Mathematics and its Applications 129, Cambridge University Press (2009/2010), DOI 10.1017/cbo9781139195768, https://doi.org/10.1017/cbo9781139195768