English

Lecture Notes on Monadic First- and Second-Order Logic on Strings

Logic in Computer Science 2023-01-26 v1

Abstract

These notes present the essentials of first- and second-order monadic logics on strings with introductory purposes. We discuss Monadic First-Order logic and show that it is strictly less expressive than Finite-State Automata, in that it only captures a strict subset of Regular Languages -- the non-counting ones. We then introduce Monadic Second-Order logic; such a logic is, syntactically, a superset of Monadic First-Order logic and captures Regular Languages exactly. We also show how to transform an automaton into a corresponding formula and vice versa. Finally, we discuss the use of logical characterizations of classes of languages as the basis for automatic verification techniques.

Keywords

Cite

@article{arxiv.2301.10519,
  title  = {Lecture Notes on Monadic First- and Second-Order Logic on Strings},
  author = {Dino Mandrioli and Davide Martinenghi and Angelo Morzenti and Matteo Pradella and Matteo Rossi},
  journal= {arXiv preprint arXiv:2301.10519},
  year   = {2023}
}

Comments

17 pages

R2 v1 2026-06-28T08:19:41.605Z