Monadic Second-Order Logic with Path-Measure Quantifier is Undecidable

Raphaël Berthon, Emmanuel Filiot, Shibashis Guha, Bastien Maubert, Aniello Murano, Laureline Pinault, Jean-François Raskin, Sasha RubinarXiv 2019

This paper, titled "Monadic Second-Order Logic with Path-Measure Quantifier is Undecidable," settles a significant open question in the field of formal logic and automata theory. It demonstrates that adding even a "qualitative" probabilistic quantifier to one of the most powerful decidable logics—Monadic Second-Order logic (MSO)—crosses the threshold into undecidability.

TL;DR

While standard MSO logic on infinite trees is decidable, this paper proves that adding a quantifier to express that a property holds for "almost all" paths (measure one) makes the logic undecidable. The authors achieve this by showing that the emptiness problem for qualitative universal parity tree automata is undecidable.

What Problem Does This Paper Address?

In computer science, MSO is a "gold standard" logic for describing properties of infinite structures like trees, which often represent all possible executions of a program. A landmark result by Michael Rabin in 1969 proved that MSO on the infinite binary tree is decidable, providing a foundation for automated verification.

However, standard MSO can only talk about "all paths" or "some paths." In modern probabilistic systems, we often care about "almost all paths"—for example, "the program terminates with probability 1." This is captured by the path-measure quantifier ($\forall_{path}^{=1}$). While a more general version of this quantifier (ranging over all sets) was known to be undecidable, the specific case of quantifying over paths remained a tantalizing open question. This paper proves that even this restricted version is too powerful to be decidable.

Methods

The authors use a chain of reductions to prove their point, moving from simple word-based models to complex tree-based logics:

  1. Binary-Branching Word Automata: They start by strengthening a known result about probabilistic word automata. They prove that the "almost-sure" emptiness problem (does any word exist where the automaton accepts with probability 1?) is undecidable even for a very restricted class: binary-branching parity word automata. In these, every state transition is essentially a fair coin flip (probability 1/2).
  2. Structural Transformation: To prove this, they show how to transform "semi-simple" automata (with rational probabilities) into "simple" binary-branching ones. This involves replacing a single complex transition with a small tree of binary choices, as illustrated in their transformation diagram:
Transformation from semi-simple to simple (binary-branching) automata
  1. Tree Automata Reduction: They then reduce the word automaton problem to the emptiness problem for qualitative universal parity tree automata. In this model, a tree is accepted if every possible run has a set of accepting branches with measure 1.
  2. Logical Encoding: Finally, they show that the behavior of these tree automata can be directly encoded into MSO extended with the path-measure quantifier.

Datasets

As a theoretical paper in logic and automata theory, this work does not use empirical datasets or benchmarks. It relies on mathematical proofs and reductions between formal models.

Key Insights and Ideas

  • The Power of "Almost Surely": The "aha moment" is that qualitative information (measure 1 vs. measure < 1) is sufficient to encode undecidable problems. You don't need to specify exact probabilities (like "exactly 0.75") to break decidability.
  • Binary Branching as a Tool: The technical core of the paper is the proof that one can restrict automata to binary branching (coin flips) without losing the ability to encode undecidable problems. This restriction makes the subsequent reduction to tree structures much cleaner.
  • Universal vs. Nondeterministic: The paper highlights a subtle distinction in qualitative semantics. While some qualitative nondeterministic models are decidable, the universal version—where every run must satisfy the measure condition—is what triggers undecidability.

Key Results

  • Theorem 13: The almost-sure emptiness problem for binary-branching parity word automata is undecidable.
  • Theorem 16: The emptiness problem for qualitative universal parity tree automata is undecidable.
  • Theorem 17 (Main Result): The MSO+$\forall_{path}^{=1}$ theory of the infinite binary tree is undecidable.

Limitations and Future Work

The authors acknowledge that a similar result was independently discovered by Bojańczyk, Kelmendi, and Skrzypczak using a different technique (probabilistic automata).

One remaining area of nuance is the co-Büchi acceptance condition. While the authors prove undecidability for Rabin and Parity conditions, they note that previous claims regarding the undecidability of the co-Büchi case under these specific constraints lacked sufficient justification, leaving a small window for further refinement of exactly where the "decidability boundary" lies for simpler acceptance conditions.

Summary updated

BibTeX
@misc{berthon2019monadic,
  author = {Raphaël Berthon and Emmanuel Filiot and Shibashis Guha and Bastien Maubert and Aniello Murano and Laureline Pinault and Jean-François Raskin and Sasha Rubin},
  title = {{Monadic Second-Order Logic with Path-Measure Quantifier is Undecidable}},
  year = {2019},
  eprint = {1901.04349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.04349},
}
Figure