• Home
  • Search
  • Datalog-Expressibility for Monadic and Guarded Second-Order Logic
  • Cite Icon1
  • https://doi.org/10.1145/3779418Copy DOI Icon

Datalog-Expressibility for Monadic and Guarded Second-Order Logic

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We characterise the sentences in Monadic Second-Order Logic (MSO) that are over finite structures equivalent to a Datalog program, in terms of an existential pebble game. We also show that for every class \({\mathcal{C}}\) of finite structures that can be expressed in MSO and is closed under homomorphisms, and for all \(\ell,k\in{\mathbb{N}}\) , there exists a canonical Datalog program \(\Pi\) of width \((\ell,k)\) in the sense of Feder and Vardi. The same characterisations also hold for Guarded Second-Order Logic (GSO), which properly extends MSO. To prove our results, we show that every class \({\mathcal{C}}\) in GSO whose complement is closed under homomorphisms is a finite union of Constraint Satisfaction Problems (CSPs) of \(\omega\) -categorical structures. The intersection of MSO and Datalog is known to contain the class of nested monadically defined queries (Nemodeq) ; likewise, we show that the intersection of GSO and Datalog contains all problems that can be expressed by the more expressive language of nested guarded queries (GQ \({}^{+}\) ) . Yet, by exploiting our results, we can show that neither of the two query languages can serve as a characterisation, as we exhibit a CSP whose complement corresponds to a query in the intersection of MSO and Datalog that is not expressible in GQ \({}^{+}\) .

Similar Papers
  • Research Article
  • Citations25

Monadic datalog over finite structures of bounded treewidth

  • Oct 01, 2010
  • ACM Transactions on Computational Logic
  • Georg Gottlob +2
  • Research Article

A Functional (Monadic) Second-Order Theory of Infinite Trees

  • Oct 23, 2020
  • Logical Methods in Computer Science
  • Anupam Das +1
  • Preprint Article

Monadic Second Order Finite Satisfiability and Unbounded Tree-Width

  • May 25, 2015
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Tomer Kotek +2
  • Research Article
  • Citations25

Existential second-order logic over strings

  • Jan 01, 2000
  • Journal of the ACM
  • Thomas Eiter +2
  • Book Chapter
  • Citations2

Vertex partitioning problems on partial k-trees

  • Jan 01, 1996
  • Arvind Gupta +3
  • Research Article
  • Citations34

Practical algorithms for MSO model-checking on tree-decomposable graphs

  • Sep 18, 2014
  • Computer Science Review
  • Alexander Langer +3
  • Research Article
  • Citations39

Regular model checking for LTL(MSO)

  • Aug 25, 2011
  • International Journal on Software Tools for Technology Transfer
  • Parosh Aziz Abdulla +4
  • Conference Article
  • Citations6

Existential second-order logic over strings

  • Jun 21, 1998
  • T Eiter +2
  • Book Chapter
  • Citations35

On Matroid Properties Definable in the MSO Logic

  • Jan 01, 2003
  • Petr Hliněný
  • Conference Instance
  • Citations3

Parameterized Communicating Automata: Complementation and Model Checking

  • Jul 22, 2014
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Benedikt Bollig +2
  • Book Chapter
  • Citations24

Model Checking Languages of Data Words

  • Jan 01, 2012
  • Benedikt Bollig +3
  • Conference Article
  • Citations14

Monadic datalog over finite structures with bounded treewidth

  • Jun 11, 2007
  • Georg Gottlob +2
  • Book Chapter
  • Citations2

Expressive Power of Monadic Second-Order Logic and Modal μ-Calculus

  • Jan 01, 2002
  • Philipp Rohde
  • Research Article
  • Citations20

Simplified Algorithmic Metatheorems Beyond MSO: Treewidth and Neighborhood Diversity

  • Dec 04, 2019
  • Logical Methods in Computer Science
  • Dušan Knop +3
  • Conference Article
  • Citations14

Evaluation is MSOL compatible

  • Jan 11, 2013
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Sylvain Salvati +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.