[Paper Review] String-to-String Interpretations With Polynomial-Size Output (Track B: Automata, Logic, Semantics, and Theory of Programming)
This paper establishes that string-to-string MSO interpretations—where each output position is defined by a k-tuple of input positions—are exactly equivalent to polyregular functions, a class characterized by pebble transducers and closed under composition. The key insight is that MSO formulas defining orderings on k-tuples of positions in strings implicitly enforce a stack discipline, enabling translation to pebble automata despite the apparent lack of such constraints in the logical framework.
String-to-string MSO interpretations are like Courcelle's MSO transductions, except that a single output position can be represented using a tuple of input positions instead of just a single input position. In particular, the output length is polynomial in the input length, as opposed to MSO transductions, which have output of linear length. We show that string-to-string MSO interpretations are exactly the polyregular functions. The latter class has various characterizations, one of which is that it consists of the string-to-string functions recognized by pebble transducers. Our main result implies the surprising fact that string-to-string MSO interpretations are closed under composition.
Motivation & Objective
- To close a gap in the logical characterization of polyregular functions by introducing string-to-string MSO interpretations.
- To resolve the open question of whether MSO interpretations with polynomial-size output are closed under composition.
- To show that the implicit structure in MSO formulas over k-tuples of string positions enforces a stack discipline, enabling equivalence to pebble transducers.
- To provide a logical foundation for polyregular functions, previously only characterized by automata and programming models.
Proposed method
- Introduces string-to-string MSO interpretations where output positions are defined by k-tuples of input positions, generalizing standard MSO transductions.
- Uses a novel characterization of MSO formulas over k-tuples in strings to show they implicitly enforce a stack discipline on the tuple positions.
- Employs a product domination lemma and type-based analysis over block structures to prove that MSO formulas on k-tuples induce a hierarchical ordering akin to pebble stack behavior.
- Applies compositionality and continuity arguments to show that the image of a type under a section map preserves definable orderings.
- Uses a threshold-based analysis of quantifier rank and block distances to identify dominating coordinates in tuple comparisons.
- Constructs a translation from MSO interpretations to pebble transducers by simulating k-tuple configurations as pebble automaton states, leveraging the implicit stack discipline.
Experimental results
Research questions
- RQ1Is there a logical characterization of polyregular functions that extends MSO transductions to polynomial-size outputs?
- RQ2Do string-to-string MSO interpretations with k-tuple outputs preserve closure under composition despite the apparent issue of nested quantification over tuples?
- RQ3Can the stack discipline required by pebble automata be implicitly enforced by MSO formulas over k-tuples in strings?
- RQ4Is the class of string-to-string MSO interpretations strictly more expressive than standard MSO transductions?
- RQ5Can every polyregular function be captured by an MSO interpretation using k-tuples of input positions?
Key findings
- String-to-string MSO interpretations with k-tuples of input positions are exactly equivalent to polyregular functions.
- Despite the apparent obstacle, MSO interpretations are closed under composition, a property previously only known for polyregular functions.
- MSO formulas defining linear orderings on k-tuples of string positions implicitly enforce a stack discipline on the tuple indices, enabling simulation by pebble automata.
- The inverse image of any regular string language under a string-to-string MSO interpretation is also regular, a consequence of the polyregular function property.
- The proof relies on a product domination lemma that identifies dominating coordinates in tuple comparisons using threshold-based type analysis.
- The construction avoids direct formula substitution in composition by using a non-trivial, implicit translation that preserves definable orderings through continuity and type preservation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.