Lune

LICS2023Top-tier venue

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point 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.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Schema-Based Query Optimisation for Graph DatabasesChandan Sharma, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2025 · 4 citations

Related papers

  1. Counting Bounded Tree Depth HomomorphismsMartin GroheLICS 2020 · 21 citations
  2. Polyregular Functions on Unordered Trees of Bounded HeightMikolaj Bojanczyk, Bartek KlinPOPL 2024 · 2 citations
  3. Register Automata with Extrema Constraints, and an Application to Two-Variable LogicSzymon Torunczyk, Thomas ZeumeLICS 2020 · 2 citations
  4. The Probabilistic Rabin Tree Theorem*Damian Niwinski, Pawel Parys, Michal SkrzypczakLICS 2023 · 1 citation
  5. Approximate Evaluation of First-Order Counting QueriesJan Dreier, Peter RossmanithSODA 2021 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines