For a finite maximal code containing the word and any word , the Perrin–Schützenberger slice (obtained by reducing the exponents of all modulo and replacing by ) is an -complete bayonet code: a set of exactly words , , such that is a code. Cordero's study of these objects (arXiv:2301.13566; J. Autom. Lang. Comb. 29(1):11–39, 2024) states as an explicit open gap that it is unknown whether this construction is surjective: does every -complete bayonet code equal for some finite maximal code containing and some word ? Only inclusion-type partial results (Hajós-type cases via Lam 1997 and Cordero's Theorem 6.2) are known, and none establishes exact realization. Prove that every -cbc is realizable, or prove that some -cbc is not.
Background
A code is a set of words over an alphabet in which every word admits at most one factorization into elements of ; codes are exactly the bases of free submonoids of the free monoid , and they model uniquely decipherable encoding. A prefix code (resp. suffix code) is a set none of whose words is a prefix (resp. suffix) of another; prefix and suffix sets are automatically codes. A maximal code is a code not contained in any larger code, and most structural questions in the theory concern finite maximal codes. The central open problem of the field is Schützenberger's factorization conjecture (1965, documented in the Berstel–Perrin–Reutenauer monograph): every finite maximal code admits finite sets with , where denotes the formal sum of the elements of ; the best known approximation, due to Reutenauer, allows to be integer power series rather than finite sets.
Fix two letters . For a finite maximal code , a classical result gives a unique integer , the order of the letter , with . Perrin and Schützenberger associated to any code containing and any word the slice : the set of words with for which some representative () lies in , i.e. with exponents reduced modulo and replaced by . A finite code containing is maximal if and only if for every word (see the monograph of Berstel, Perrin and Reutenauer). Thus every finite maximal code containing produces, for each , a set of exactly words with .
Codes contained in are called bayonet codes, and they are the subject of the triangle conjecture lineage: Perrin and Schützenberger conjectured that every bayonet code satisfies the triangle inequality for all ; Shor refuted this in 1985 with an explicit counterexample. The conjecture survives in a modern form — a bayonet code violating the inequalities cannot be included in any finite maximal code — which is likewise implied by the factorization conjecture. Zhang and Shum (2017) proved a structural precursor: the words arrange into a matrix whose row and column index sets factor the cyclic group of order ; on this basis they proposed a stronger version of the triangle conjecture for finite maximal codes: for every finite maximal code , word , and , the set has at most elements. This stronger inequality is proved only in special cases — Zhang and Shum for a prime, De Felice for a product of two primes, Cordero for cbc Hajós numbers — and remains open in general.
Cordero (2023/2024) introduced the class of -complete bayonet codes: writing , an -cbc is a set with such that is a code. Every slice of a finite maximal code is an -cbc, and the theory of factorizations of cyclic groups (pairs of subsets of with each residue uniquely ; Krasner and Hajós factorizations are distinguished layered and constructible subclasses) extends to this setting. Known partial results are of inclusion type: Lam (1997) proved that a cbc of the form with a Hajós factorization is included in a finite maximal code, and Cordero's Theorem 6.2 shows that for cbc Hajós numbers (a product of at most three primes or of the form , which covers every ) the code is a composition of prefix and suffix codes, hence completable to a finite maximal code by the theorem of Restivo, Salemi and Sportelli; for other counterexamples to such composition exist. However, being included in a finite maximal code is weaker than being exactly a slice , and no construction or obstruction is known for the exact realization question in general.
Problem Statement
Let be an alphabet containing the letters and , and write . An -complete bayonet code (-cbc) is a set with such that is a code. For a code containing and a word , define
For every finite maximal code containing and every , the slice is an -cbc. The question posed by Cordero (2024, Section 1): is the converse realization true — for every and every -cbc , do there exist a finite maximal code containing and a word such that ? An -cbc is non-realizable when no finite maximal code containing and no word satisfy .
References
- 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)
- Nguyen Huong Lam, Hajós factorizations and completion of codes, Theoretical Computer Science 182(1–2):245–256, 1997. DOI: 10.1016/S0304-3975(97)00032-7, https://doi.org/10.1016/S0304-3975(97)00032-7
- Peter W. Shor, A counterexample to the triangle conjecture, Journal of Combinatorial Theory, Series A 38(1):110–112, 1985. DOI: 10.1016/0097-3165(85)90032-9, https://doi.org/10.1016/0097-3165(85)90032-9
- Liang Zhang and Kar-Ping 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, arXiv:2202.09675, 2022, https://arxiv.org/abs/2202.09675 (published in Journal of Automata, Languages and Combinatorics 28, 2023)
- Antonio Restivo, Sergio Salemi, and Tecla Sportelli, Completing codes, RAIRO – Theoretical Informatics and Applications 23(2):135–147, 1989. DOI: 10.1051/ita/1989230201351, https://doi.org/10.1051/ita/1989230201351
- Jean Berstel, Dominique Perrin, and Christophe Reutenauer, Codes and Automata, Encyclopedia of Mathematics and its Applications 129, Cambridge University Press, 2010. DOI: 10.1017/CBO9781139195768, https://doi.org/10.1017/CBO9781139195768