Extending Two-Variable Logic on Trees
Bartosz Bednarczyk, Witold Charatonik, Emanuel Kiero\'nski

TL;DR
This paper investigates the complexity and expressive power of extended two-variable logic over trees, showing that certain extensions do not increase complexity while combined extensions lead to higher complexity.
Contribution
It demonstrates that adding binary symbols or counting quantifiers individually does not increase complexity, but their combination does, and compares the expressive power of these logic fragments.
Findings
Adding binary symbols or counting quantifiers alone does not affect complexity.
Combining binary symbols and counting quantifiers increases complexity significantly.
Two-variable logic with counting quantifiers is equally expressive over ordered trees, but more expressive over unordered trees.
Abstract
The finite satisfiability problem for the two-variable fragment of first-order logic interpreted over trees was recently shown to be ExpSpace-complete. We consider two extensions of this logic. We show that adding either additional binary symbols or counting quantifiers to the logic does not affect the complexity of the finite satisfiability problem. However, combining the two extensions and adding both binary symbols and counting quantifiers leads to an explosion of this complexity. We also compare the expressive power of the two-variable fragment over trees with its extension with counting quantifiers. It turns out that the two logics are equally expressive, although counting quantifiers do add expressive power in the restricted case of unordered trees.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · semigroups and automata theory · Logic, Reasoning, and Knowledge
