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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related 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
