TY - JOUR AU - Henriksen, Jesper G. AU - Jensen, Ole J.L. AU - Jørgensen, Michael E. AU - Klarlund, Nils AU - Paige, Robert AU - Rauhe, Theis AU - Sandholm, Anders B. PY - 1995/01/21 Y2 - 2024/03/29 TI - MONA: Monadic Second-Order Logic in Practice JF - BRICS Report Series JA - BRICS VL - 2 IS - 21 SE - Articles DO - 10.7146/brics.v2i21.19923 UR - https://tidsskrift.dk/brics/article/view/19923 SP - AB - The purpose of this article is to introduce Monadic Second-order<br />Logic as a practical means of specifying regularity. The logic is a<br />highly succinct alternative to the use of regular expressions. We have built a tool MONA, which acts as a decision procedure and as a translator to finite-state automata. The tool is based on new algorithms for minimizing finite-state automata that use binary decision diagrams (BDDs) to represent<br />transition functions in compressed form. A byproduct of this work is a<br />new bottom-up algorithm to reduce BDDs in linear time without hashing.<br />The potential applications are numerous. We discuss text processing,<br />Boolean circuits, and distributed systems. Our main example is an automatic proof of properties for the "Dining Philosophers with Encyclopedia" example by Kurshan and MacMillan. We establish these properties for the parameterized case without the use of induction.<br />Our results show that, contrary to common beliefs, high computational<br />complexity may be a desired feature of a specification formalism. ER -