The semigroup of polynomially balanced, polynomial-time computable partial functions on was introduced by Birget as an algebraic lens on the vs problem: worst-case one-way functions are exactly its non-regular elements, so is a regular semigroup iff . Birget asked whether all regular elements of with infinite image lie in a single -class, that of the identity, equivalently whether every infinite language in is the image of an injective, total, polynomial-time computable function (a bijective polynomial-time enumeration), possibly an invertible (regular) or a one-way one. The universal reading is false: any total polynomial-time injection with image forces the number of strings of of length at most to grow at least like , so sparse infinite languages in are counterexamples; for the invertible version this density obstruction is published as Corollary 4.24 of Grochow's polynomial-time cardinality theory, whose p-countability is exactly the invertible version of the enumerator question and whose p-cardinals match the -classes of the regular elements of . The surviving open problem is the characterization: determine which infinite languages in admit a total injective polynomial-time enumerator and which are p-countable, closing the gap between the necessary condition of exponential density and sufficient conditions such as strong p-rankability within the exponentially dense regime; in the flagship instance, decide whether every exponentially dense language in is p-countable.
Background
Let and let be the set of all finite strings over . Birget (2015) introduced the semigroup of all partial functions that are polynomially balanced (also called honest: there are polynomials with and for all in the domain of ) and computable by a deterministic polynomial-time Turing machine; composition makes this a semigroup. The motivation is that a worst-case one-way function, meaning a function in for which no polynomial-time algorithm, given in the image, finds any preimage of , is exactly a non-regular element of in the semigroup-theoretic sense (an element of a semigroup is regular if for some in the semigroup; a semigroup is regular if all its elements are regular). These one-way functions are based on worst-case, not average-case, complexity, and is a regular semigroup iff .
Green's relations organize any semigroup: iff for some element (equality of principal right ideals up to inclusion), is the left-right dual, and two elements are -equivalent if some element is -equivalent to one and -equivalent to the other; -classes are the standard coarse blocks of a semigroup's structure. In , the -classes of regular elements are indexed by their images: a regular with image satisfies , where is the identity map restricted to ; moreover the image of a regular element of is exactly a language in , and every infinite contributes the regular element of with infinite image. Birget's Proposition 2.2 states that a regular with infinite image lies in the -class of the identity iff there exists that is injective, total (defined on all of ) and regular, with ; for such a total injective , regularity is equivalent to the inverse of being polynomial-time computable on the image. Birget's questions, whether all regular elements with infinite image share one -class and whether every infinite language in is the image of an injective total polynomial-time function, therefore amount to asking for a bijective polynomial-time enumeration of the languages in .
A density obstruction bounds any affirmative answer. If is total, injective and polynomial-time computable with time bound , then , since a machine cannot print more symbols than its running time; hence the inputs of length at most must map to distinct elements of of length at most . So the census function must satisfy , i.e. must be exponentially dense ( for some constant ). Sparse infinite languages in , such as , admit no such , and is a regular element of with infinite image outside the -class of . For the invertible version this necessity of exponential density is published as Corollary 4.24 of Grochow (2023).
Grochow (2023) independently developed the invertible version under the name polynomial-time cardinality: two languages are p-equipollent if there is a bijection between them computable in polynomial time with a polynomial-time inverse, and a language is p-countable if it is p-equipollent to (honesty of the maps is automatic, since the inverse's running time bounds the length of the preimage it prints). Combining Birget's Proposition 2.2 with these definitions, one checks that for infinite the elements and are -equivalent in iff and are p-equipollent, and that lies in the -class of iff is p-countable; the minor differences between 's polynomially balanced partial functions and Grochow's partial polynomial-time functions do not affect these equivalences. So the source's -classification question is exactly the p-cardinality classification of the languages in , the p-cardinal of a language being its p-equipollence class. Grochow's Theorem 4.25 states that for exponentially dense languages strong p-rankability implies p-countability, through the chain: strongly p-rankable implies p-scalable implies p-countable implies weakly p-rankable with respect to some length-related order. Here a language is strongly p-rankable if its ranking function , counting the lexicographic predecessors of inside , is computable in polynomial time (Grochow also generalizes rankability to other length-related total orders , meaning orders with implying ); weakly p-rankable weakens this to polynomial-time computability only on inputs that lie in ; and a language is p-scalable if it is p-isomorphic to a strongly p-rankable set, where p-isomorphic, in the sense of Berman and Hartmanis, means related by a total polynomial-time bijection of all of , with polynomial-time inverse, carrying one language onto the other. The density hypothesis is essential: strong p-rankability alone does not imply p-countability, since the sparse language is strongly p-rankable while, by the density obstruction above, no sparse language is p-countable. Grochow also proves that p-countability is preserved under finite differences, and that there are languages in with incomparable p-cardinals, as well as an infinite language in that is not p-equipollent to any proper subset of itself (a Dedekind p-finite set) and has sub-logarithmic density. All of these negative examples fail exponential density. Which exponentially dense languages in are p-countable is left open there (the converses of the Theorem 4.25 implications are stated as believed false); enumerating a language in lexicographic order would require computing its ranking function, and no general polynomial-time method for ranking languages in is known.
Problem Statement
Let and let be the semigroup of polynomially balanced (meaning and for polynomials , for all in the domain of ), polynomial-time computable partial functions . Recall that is regular if for some ; that -equivalence is Green's relation, under which two elements are -equivalent if some element is -equivalent to one and -equivalent to the other; that a language is exponentially dense if its census function satisfies for some constant ; and that is p-countable if it is p-equipollent to , i.e. in polynomial-time bijection with via maps with polynomial-time inverse. The source paper asks (i) whether all regular elements of with infinite image lie in a single -class, namely that of the identity , and (ii) whether every infinite language is the image of an injective, total, polynomial-time computable function , with possibly regular (polynomial-time invertible on its image) or one-way (admitting no polynomial-time preimage-finder on its image). As recorded in the background, both universal readings are false as stated: any such forces to be exponentially dense, so sparse infinite languages in such as are counterexamples, and their identity maps are regular elements with infinite image outside the -class of . The problem, in the generality that survives, is the corresponding characterization:
- Determine exactly which infinite languages are the image of a total injective (a bijective polynomial-time enumeration of ), and which of those admit a regular such , equivalently are p-countable.
- Equivalently, in semigroup terms: classify the -classes of the regular elements of with infinite image. Since for infinite one has iff and are p-equipollent, this is the same as classifying the p-cardinals (p-equipollence classes) of the languages in .
- In particular, close the gap between the known necessary condition (exponential density of the census function) and the known sufficient conditions (strong p-rankability within the exponentially dense regime, and finite modification of p-countable sets): does every exponentially dense language in admit a total injective polynomial-time enumerator, and is every exponentially dense language in p-countable, i.e. is in the -class of for every exponentially dense ? Where such enumerators exist, determine whether can be chosen one-way (non-invertible).
- At the level of pairs, as the source also asks: characterize which infinite languages in can be mapped onto each other by elements of , i.e. determine for which infinite there exists whose restriction to has image exactly . The enumeration question of items 1--3 corresponds to the case with the map additionally required to be injective; this surjectivity relation is related to, but distinct from, the injective comparison of p-cardinals ( p-equipollent to a subset of ) and from the -order among the elements , which by Proposition 2.1 of the source records only inclusion between images.
References
- J.C. Birget, 'Semigroups and one-way functions', International Journal of Algebra and Computation 25(1-2):3-36 (2015). DOI: 10.1142/S0218196715400019; arXiv:1306.1447; https://arxiv.org/abs/1306.1447
- J.C. Birget, 'Infinitely generated semigroups and polynomial complexity', International Journal of Algebra and Computation 26(4):727-750 (2016). DOI: 10.1142/S0218196716500314; arXiv:1503.04610; https://arxiv.org/abs/1503.04610
- J.C. Birget, 'Polynomial-time right-ideal morphisms and congruences', International Journal of Algebra and Computation 28:791-835 (2018). DOI: 10.1142/S0218196718500364; arXiv:1511.02056; https://arxiv.org/abs/1511.02056
- J.C. Birget, 'Inverse monoids associated with the complexity class NP', Semigroup Forum 98:369-397 (2019). DOI: 10.1007/s00233-018-9990-x; arXiv:1703.02519; https://arxiv.org/abs/1703.02519
- Joshua A. Grochow, 'Polynomial-Time Axioms of Choice and Polynomial-Time Cardinality', Theory of Computing Systems 67(3):627-669 (2023). DOI: 10.1007/s00224-023-10118-y; arXiv:2301.07123; https://arxiv.org/abs/2301.07123