TY - JOUR AU - Klarlund, Nils AU - Møller, Anders AU - Schwartzbach, Michael I. PY - 2000/06/10 Y2 - 2024/03/28 TI - MONA Implementation Secrets JF - BRICS Report Series JA - BRICS VL - 7 IS - 40 SE - Articles DO - 10.7146/brics.v7i40.20206 UR - https://tidsskrift.dk/brics/article/view/20206 SP - AB - The MONA tool provides an implementation of automaton-based decision procedures for the logics WS1S and WS2S. It has been used for numerous applications, and it is remarkably efficient in practice, even though it faces a theoretically non-elementary worst-case complexity. The implementation has matured over a period of six years. Compared to the<br />first naive version, the present tool is faster by several orders of magnitude. This speedup is obtained from many different contributions working on all levels of the compilation and execution of formulas. We present<br />an overview of MONA and a selection of implementation "secrets" that have been discovered and tested over the years, including formula reductions, DAGification, guided tree automata, three-valued logic, eager minimization, BDD-based automata representations, and cache-conscious data structures. We describe these techniques and quantify their respective effects by experimenting with separate versions of the MONA tool that in turn omit each of them. ER -