Polyregular Functions on Unordered Trees of Bounded Height
Mikolaj Bojanczyk, Bartek Klin
Abstract
We consider injective first-order interpretations that input and output trees of bounded height. The corresponding functions have polynomial output size, since a first-order interpretation can use a 𝑘-tuple of input nodes to represent a single output node. We prove that the equivalence problem for such functions is decidable, i.e. given two such interpretations, one can decide whether, for every input tree, the two output trees are isomorphic.
We also give a calculus of typed functions and combinators which derives exactly injective first-order interpretations for unordered trees of bounded height. The calculus is based on a type system, where the type constructors are products, coproducts and a monad of multisets. Thanks to our results about tree-to-tree interpretations, the equivalence problem is decidable for this calculus.
As an application, we show that the equivalence problem is decidable for first-order interpretations between classes of graphs that have bounded tree-depth. In all cases studied in this paper, first-order logic and mso have the same expressive power, and hence all results apply also to mso interpretations.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext de8f7a4e-ff2e-4931-9a1c-6e13e2921a71Cited by top-tier papers1
Ask how each one uses itRelated papers
- Expressive Completeness of Two-Variable First-Order Logic with Counting for First-Order Logic Queries on Rooted Unranked TreesJelle Hellings, Marc Gyssens, Jan Van den Bussche, Dirk Van GuchtLICS 2023
- Quantifying Over Trees in Monadic Second-Order LogicMassimo Benerecetti, Laura Bozzelli, Fabio Mogavero, Adriano PeronLICS 2023 · 1 citation
- First-order tree-to-tree functionsMikolaj Bojanczyk, Amina DoumaneLICS 2020 · 4 citations
- The Essence of Generalized Algebraic Data TypesFilip Sieczkowski, Sergei Stepanenko, Jonathan Sterling, Lars BirkedalPOPL 2024 · 7 citations
- Register Automata with Extrema Constraints, and an Application to Two-Variable LogicSzymon Torunczyk, Thomas ZeumeLICS 2020 · 2 citations
