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.
翻译:这些注释展示了一阶和二阶修道院逻辑在引言目的的弦学中的基本原理。我们讨论了一阶一阶逻辑,并表明该逻辑的表达性严格来说不如 " 极地国家自治 ",因为它只捕捉了严格的普通语言子集 -- -- 非计算语言。然后我们引入了 " 极地第二阶 " 逻辑;这种逻辑在逻辑上是 " 极地第一阶 " 逻辑的超级集,并准确地捕捉了普通语言。我们还展示了如何将一个自动地图转换成一个相应的公式,反之亦然。最后,我们讨论了使用各类语言的逻辑定性作为自动核查技术的基础。