Formula size game and model checking for modal substitution calculus

Veeti Ahvonen, Reijo Jaakkola, Antti Kuusisto

TL;DR

This paper provides the first comprehensive game-theoretic and complexity-theoretic analysis of Modal Substitution Calculus (MSC) and its variants, which are increasingly used to characterize Graph Neural Networks (GNNs) and distributed systems. The authors introduce a novel formula-size game to measure the descriptive succinctness of these logics and establish precise complexity bounds for model checking, revealing deep connections to space-bounded Turing machines and the modal $\mu$-calculus.

What Problem Does This Paper Address?

Modal Substitution Calculus (MSC) is a rule-based, bisimulation-invariant logic originally designed to capture the expressive power of distributed automata. Recently, variants of MSC—such as Graded MSC (GMSC) and Global Graded MSC (GGMSC)—have emerged as powerful tools for logically characterizing recurrent neural networks and GNNs.

Despite their utility in descriptive complexity, two fundamental questions remained unanswered:

  1. How can we characterize and compare the size and succinctness of formulas within these logics?
  2. What is the computational complexity of model checking (verifying if a given graph/structure satisfies a logic program) and satisfiability for these frameworks?

This paper tackles these gaps to provide a solid theoretical foundation for analyzing the efficiency and limits of logic-based computing architectures.

Methods

The authors approach these problems using game-theoretic semantics and structural complexity theory:

  • Co-inductive Semantic Games: They introduce two new types of semantic games played by two players (Eloise and Abelard) over Kripke models to evaluate logic programs. One tracks iteration rounds explicitly using a "clock," while the other operates globally over the entire model by tracing interpretations backward.
  • Formula-Size Games: Inspired by Adler-Immerman games, they construct a game played by two players (Samson and Delilah). Samson attempts to prove that a program of size at most $k$ can separate two classes of models. Crucially, the authors prove that over finite models, Samson does not need a "uniform strategy" (playing strictly according to a single pre-determined formula), simplifying the game's application.
  • Asynchronous Semantics: By removing the "clocks" from the semantic games, they define asynchronous variants of the logics ($\text{MSC}^A$, $\text{GMSC}^A$, etc.), allowing variables to iterate independently.

Datasets

Not discussed in the paper. This is a purely theoretical paper in mathematical logic and computational complexity; no empirical datasets or benchmarks were used.

Key Insights and Ideas

  • Equivalence to Linear Turing Machines: The authors establish that standard MSC, GMSC, and GGMSC have exactly the same expressive power as deterministic linear tape-bounded Turing machines over words. This bridges a fascinating gap between descriptive logic and classical space-bounded complexity classes.
  • The Complexity Split (Synchronous vs. Asynchronous): Tracking the exact iteration round (synchronous semantics) forces the logic to behave like a space-bounded machine, driving model-checking complexity up to PSPACE. Removing the clock (asynchronous semantics) aligns the logic with the modal $\mu$-calculus, dropping the complexity significantly to PTIME.
  • A Universal Meta-Reduction: The paper demonstrates a uniform way to computably reduce any recursively enumerable problem to MSC model checking by padding the input words. This highlights the surprising, inherent computational universality of rule-based modal substitution.

Key Results

The paper maps out the exact complexity landscape for model checking and satisfiability across the MSC family:

  • Standard Logics (MSC, GMSC, GGMSC): Both combined and data complexities for model checking are PSPACE-complete.
  • Asynchronous Logics ($\text{MSC}^A$, $\text{GMSC}^A$, $\text{GGMSC}^A$): Both complexities drop to PTIME-complete.
  • Propositional Fragment (Substitution Calculus, SC):
  • Standard SC model checking is PSPACE-complete (combined complexity) but Constant time ($O(1)$) for data complexity.
  • Asynchronous $\text{SC}^A$ model checking is PTIME-complete (combined) and Constant time ($O(1)$) for data complexity.
  • Satisfiability: SC satisfiability is PSPACE-complete, while $\text{SC}^A$ satisfiability is NP-complete.

Limitations and Future Work

  • Expressibility Limits: While the authors proved that the "prime reachability property" (checking if a path length is a prime number) cannot be expressed by a restricted positive fragment of GGMSC, they note that proving this holds for the full GGMSC logic remains a non-trivial open challenge.
  • Succinctness of Neural Networks: A promising direction highlighted by the authors is using their newly minted formula-size games to study the succinctness of these logics. Because MSC variants closely track GNN architectures, bounds on formula sizes could translate directly into theoretical bounds on the size and efficiency of neural network architectures.

Summary updated

BibTeX
@misc{ahvonen2025formula,
  author = {Veeti Ahvonen and Reijo Jaakkola and Antti Kuusisto},
  title = {{Formula size game and model checking for modal substitution calculus}},
  year = {2025},
  eprint = {2505.07966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.07966},
}
Figure