cs.AIApr 9, 2026

Parameterized Complexity Of Representing Models Of MSO Formulas

Authors: Petr Kučera, Petr Martinek

Organizations: Department of Theoretical Computer Science and Mathematical Logic, Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

Abstract

Monadic second order logic (MSO2) plays an important role in parameterized complexity due to the Courcelle's theorem. This theorem states that the problem of checking if a given graph has a property specified by a given MSO2 formula can be solved by a parameterized linear time algorithm with respect to the treewidth of the graph and the size of the formula. We extend this result by showing that models of MSO2 formula with free variables can be represented with a decision diagram whose size is parameterized linear in the above mentioned parameter. In particular, we show a parameterized linear upper bound on the size of a sentential decision diagram (SDD) when treewidth is considered and a parameterized linear upper bound on the size of an ordered binary decision diagram (OBDD) when considering the pathwidth in the parameter. In addition, building on a lower bound on the size of OBDD by Razgon (2014), we show that there is an MSO2 formula and a class of graphs with bounded treewidth which do not admit an OBDD with the size parameterized by the treewidth. Our result offers a new perspective on the Courcelle's theorem and connects it to the area of knowledge representation.

Figures & tables

Explore similar work

CardsList
  1. A canonical generalization of OBDD

    Apr 7, 2026Florent Capelli, YooJung Choi, Stefan Mengel +2

  2. Monadic Second-Order Logic in HOL: Deep and Shallow with Automated Faithfulness (Extended Preprint)

    Sep 7, 2026Christoph Benzmueller, Daniel KirchnerInteractive Theorem Proving

  3. A Fast Model Counting Algorithm for Two-Variable Logic with Counting and Modulo Counting Quantifiers

    May 5, 2026Shixin Sun, Astrid Klipfel, Ondřej Kuželka +2Efficient Inference