Skip to main content
Log in

Relativizations for the Logic-Automata Connection

  • Published:
Higher-Order and Symbolic Computation

Abstract

BDDs and their algorithms implement a decision procedure for Quantified Propositional Logic. BDDs are a kind of acyclic automata. But unrestricted automata (recognizing unbounded strings of bit vectors) can be used to decide monadic second-order logics, which are more expressive. Prime examples are WS1S, a number-theoretic logic, or the string-based logical notation of introductory texts. One problem is that it is not clear which one is to be preferred in practice. For example, it is not known whether these two logics are computationally equivalent to within a linear factor, that is, whether a formula ϕ of one logic can be transformed to a formula %phis;′ of the other such that %phis;′ is true if and only if ϕ is and such that ϕ′ is decided in time linear in that of the time for ϕ.

Another problem is that first-order variables in either version are given automata-theoretic semantics according to relativizations, which are syntactic means of restricting the domain of quantification of a variable. Such relativizations lead to technical arbitrations that may involve normalizing each subformula in an asymmetric manner or may introduce spurious state space explosions.

In this paper, we investigate these problems through studies of congruences on strings. This algebraic framework is adapted to language-theoretic relativizations, where regular languages are intersected with restrictions. The restrictions are also regular languages. We introduce ternary and sexpartite characterizations of relativized regular languages. From properties of the resulting congruences, we are able to carry out detailed state space analyses that allow us to address the two problems.

We report briefly on practical experiments that support our results. We conclude that WS1S with first-order variables can be robustly implemented in a way that efficiently subsumes string-based notations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Ayari, A. and Basin, D. Bounded model construction for monadic second-order logics. In Computer Aided Verification, 2000 pp. 99–112.

  2. Basin, D. and Klarlund, N. 1998, Automata based symbolic reasoning in hardware verification. Formal Methods in System Design, Extended version of “Hardware verification using monadic second-order logic,” Computer aided verification: 7th International Conference, CAV ‘95, LNCS 939, 1995, pp. 255–288.

  3. Bell, J. and Machover, M. A Course in Mathematical Logic. North-Holland, 1977.

  4. Bryant, R. E. Symbolic Boolean manipulation with ordered binary-decision diagrams. ACM Computing Surveys, 24(3) (1992) 293–318.

    Article  Google Scholar 

  5. Büchi, J. Weak second-order arithmetic and finite automata. Z. Math. Logik Grundl. Math., 6 (1960) 66–92.

    Google Scholar 

  6. Elgot, C. Decision problems of finite automata design and related arithmetics. Trans. Amer. Math. Soc., 98 (1961) 21–52.

    Google Scholar 

  7. Henriksen, J., Jensen, J., Jørgensen, M., Klarlund, N., Paige, B., Rauhe, T., and Sandholm, A. Mona: Monadic Second-order logic in practice. In Tools and Algorithms for the Construction and Analysis of Systems, First International Workshop, TACAS ‘95, LNCS 1019, 1996.

  8. Elgaard, J., Klarlund, N., A.M. Mona 1.x: New techniques for WS1S and WS2S. In Computer Aided Verification, CAV ‘98, Proceedings, Vol. 1427 of LNCS. Springer Verlag, 1998.

  9. Kelb, P., Margaria, T., Mendler, M., and Gsottberger, C. Mosel: A flexible toolset for Monadic Second-order Logic. In Computer Aided Verification, CAV ‘97, Proceedings, 1997,

  10. Klarlund, N. Mona & Fido: The logic-automaton connection in practice. In CSL ‘97 Proceedings. LNCS 1414, Springer-Verlag, 1998.

  11. Klarlund, N. and Møller, A. MONA Version 1.3 User Manual, BRICS. URL: http://www.brics.dk/mona, 1998,

  12. Klarlund, N., Møller, A., and Schwartzbach, M. MONA implementation Secrets. International Journal of Foundations of Computer Science, 13(4) (2002) 571–586.

    Article  MathSciNet  Google Scholar 

  13. Møller, A. and Schwartzbach, M. The pointer assertion logic engine. In Proceedings of ACM SIGPLAN Conference of Programming Language Design and Implementation, 2001.

  14. Smith, M. and Klarlund, N. Verification of a sliding window protocol using IOA and MONA. In FORTE/PSTV 2000: IFIP TC6 WG6.1 Joint International Conference on Formal Description Techniques for Distributed Systems and Communication Protocols (FORTE XIII), and Protocol Specification, Testing, and Verification (PSTV XX). Kluwer Academic Publishers, 2000 pp. 19–34.

  15. Straubing, H. Finite Automata, Formal Logic, and Circuit Complexity. Birkhäuser, 1994.

  16. Thomas, W. Languages, automata, and logic. In Handbook of Formal Languages. G. Rozenberg and A. Salomaa (Eds.). Springer Verlag, Chapt. Languages, automata, and logic, 1997.

  17. Trakhtenbrot, B. Finite automata and the logic of one-place predicates. Sib. Math. J, 3 (1962) 103–131. In Russian. English translation: AMS Transl., 59 (1966), 23–55.

  18. Vaillette, N. Logical specification of finite-state transductions for NLP. Natural Language Engineering, 9(1) (2003).

Download references

Author information

Authors and Affiliations

Authors

Additional information

Dedicated to the memory of Bob Paige and his contributions to automata algorithms

Some of the material in this paper appeared in Computer Aided Verification, CAV ‘99, LNCS 1633, 1999, under the title “A theory of restrictions for logics and automata.” This work was carried out while the author was with AT&T Labs–Research; itwas also supported in part by grant CCR-0341658 from the National Science Foundation.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Klarlund, N. Relativizations for the Logic-Automata Connection. Higher-Order Symb Comput 18, 79–120 (2005). https://doi.org/10.1007/s10990-005-7007-4

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10990-005-7007-4

Keywords

Navigation