Expressive Completeness of Two-Variable First-Order Logic with Counting for First-Order Logic Queries on Rooted Unranked Trees
Jelle Hellings, Marc Gyssens, Jan Van den Bussche, Dirk Van Gucht
Abstract
We consider the class of finite, rooted, unranked, unordered, node-labeled trees. Such trees are represented as structures with only the parent-child relation, in addition to any number of unary predicates for node labels. We prove that every unary first-order query over the considered class of trees is already expressible in two-variable first-order logic with counting. Somewhat to our surprise, we have not seen this result being conjectured in the extensive literature on logics for trees. Our proof is based on a global variant of local equivalence notions on nodes of trees. This variant applies to entire trees, and involves counting ancestors of locally equivalent nodes.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get aa440213-a8b7-48e5-8e33-a7bf188cf99dCited by top-tier papers1
Ask how each one uses itRelated papers
- Counting Bounded Tree Depth HomomorphismsMartin GroheLICS 2020 · 21 citations
- Polyregular Functions on Unordered Trees of Bounded HeightMikolaj Bojanczyk, Bartek KlinPOPL 2024 · 2 citations
- Register Automata with Extrema Constraints, and an Application to Two-Variable LogicSzymon Torunczyk, Thomas ZeumeLICS 2020 · 2 citations
- The Probabilistic Rabin Tree Theorem*Damian Niwinski, Pawel Parys, Michal SkrzypczakLICS 2023 · 1 citation
- Approximate Evaluation of First-Order Counting QueriesJan Dreier, Peter RossmanithSODA 2021 · 5 citations
