Skip to main content

Using Sat Solvers for Synchronization Issues in Partial Deterministic Automata

  • Conference paper
  • First Online:
Mathematical Optimization Theory and Operations Research (MOTOR 2019)

Abstract

We approach the task of computing a carefully synchronizing word of minimum length for a given partial deterministic automaton, encoding the problem as an instance of SAT and invoking a SAT solver. Our experimental results demonstrate that this approach gives satisfactory results for automata with up to 100 states even if very modest computational resources are used.

Supported by the Ministry of Science and Higher Education of the Russian Federation, projects no. 1.580.2016 and 1.3253.2017, and the Competitiveness Enhancement Program of Ural Federal University.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The conventional concept of an NFA includes distinguishing two non-empty subsets of Q consisting of initial and final states. As these play no role in our considerations, the above simplified definition well suffices for the purpose of this paper.

  2. 2.

    We refer the reader to [4, Chapters 3 and 10] for a detailed account of profound connections between codes and automata.

  3. 3.

    We refer the reader to the survey [10] or to the handbook [6] for a detailed discussion of the approach and examples of its successful applications in various areas.

  4. 4.

    In principle, it may happen that we never reach such an instance (which indicates that either \(\mathscr {A}\) is not carefully synchronizing or the minimum length of carefully synchronizing words for \(\mathscr {A}\) is too big so that MiniSat cannot handle the resulting SAT instance) but we have not observed such “bad” cases in our experiments with randomly generated PFAs.

References

  1. Altun, Ö.F., Atam, K.T., Karahoda, S., Kaya, K.: Synchronizing heuristics: speeding up the slowest. In: Yevtushenko, N., Cavalli, A.R., Yenigün, H. (eds.) ICTSS 2017. LNCS, vol. 10533, pp. 243–256. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67549-7_15

    Chapter  Google Scholar 

  2. Ananichev, D.S., Volkov, M.V.: Some results on Černý type problems for transformation semigroups. In: Araújo, I.M., Branco, M.J.J., Fernandes, V.H., Gomes, G.M.S. (eds.) Semigroups and Languages, pp. 23–42. World Scientific, Singapore (2004). https://doi.org/10.1142/9789812702616_0002

    Chapter  MATH  Google Scholar 

  3. Ananichev, D.S., Volkov, M.V., Gusev, V.V.: Primitive digraphs with large exponents and slowly synchronizing automata. J. Math. Sci. 192(3), 263–278 (2013). https://doi.org/10.1007/s10958-013-1392-8

    Article  MathSciNet  MATH  Google Scholar 

  4. Berstel, J., Perrin, D., Reutenauer, C.: Codes and Automata. Cambridge University Press, Cambridge (2009). https://doi.org/10.1017/CBO9781139195768

    Book  MATH  Google Scholar 

  5. Burkhard, H.-D.: Zum Längenproblem homogener Experimente an determinierten und nicht-deterministischen Automaten. Elektronische Informationsverarbeitung und Kybernetik 12, 301–306 (1976)

    MathSciNet  MATH  Google Scholar 

  6. Biere, A., Heule, M., van Maaren, H., Walsh, T. (eds.): Handbook on Satisfiability. IOS Press, Amsterdam (2009)

    MATH  Google Scholar 

  7. de Bondt, M., Don, H., Zantema, H.: Lower bounds for synchronizing word lengths in partial automata. Int. J. Foundations Comput. Sci. 30(1), 29–60 (2019). https://doi.org/10.1142/S0129054119400021

    Article  MathSciNet  MATH  Google Scholar 

  8. Eén, N., Sörensson, N.: An extensible SAT-solver. In: Giunchiglia, E., Tacchella, A. (eds.) SAT 2003. LNCS, vol. 2919, pp. 502–518. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24605-3_37

    Chapter  Google Scholar 

  9. Eén, N., Sörensson, N.: The MiniSat Page. http://minisat.se

  10. Gomes, C.P., Kautz, H., Sabharwal, A., Selman, B.: Satisfiability solvers. In: van Harmelen, F., Lifschitz, V., Porter, B. (eds.) Handbook of Knowledge Representation, vol. I, pp. 89–134. Elsevier, Amsterdam (2008). https://doi.org/10.1016/S1574-6526(07)03002-7

    Chapter  Google Scholar 

  11. Goralčík, P., Hedrlín, Z., Koubek, V., Ryšlinková, J.: A game of composing binary relations. RAIRO Inform. Théor. 16(4), 365–369 (1982)

    Article  MathSciNet  Google Scholar 

  12. Güniçen, C., Erdem, E., Yenigün, H.: Generating shortest synchronizing sequences using answer set programming. In: Fink, M., Lierler, Y. (eds.) Answer Set Programming and Other Computing Paradigms, 6th International Workshop, ASPOCP 2013, pp. 117–127 (2013). https://arxiv.org/abs/1312.6146

  13. Imreh, B., Steinby, M.: Directable nondeterministic automata. Acta Cybernetica 14, 105–115 (1999)

    MathSciNet  MATH  Google Scholar 

  14. Ito, M.: Algebraic Theory of Automata and Languages. World Scientific, Singapore (2004). https://doi.org/10.1142/4791

    Book  MATH  Google Scholar 

  15. Ito, M., Shikishima-Tsuji, K.: Some results on directable automata. In: Karhumäki, J., Maurer, H., Păun, G., Rozenberg, G. (eds.) Theory Is Forever. LNCS, vol. 3113, pp. 125–133. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-27812-2_12

    Chapter  Google Scholar 

  16. Ito, M., Shikishima-Tsuji, K.: Shortest directing words of nondeterministic directable automata. Discrete Math. 308(21), 4900–4905 (2008). https://doi.org/10.1016/j.disc.2007.09.010

    Article  MathSciNet  MATH  Google Scholar 

  17. Karahoda, S., Erenay, O.T., Kaya, K., Türker, U.C., Yenigün, H.: Parallelizing heuristics for generating synchronizing sequences. In: Wotawa, F., Nica, M., Kushik, N. (eds.) ICTSS 2016. LNCS, vol. 9976, pp. 106–122. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47443-4_7

    Chapter  Google Scholar 

  18. Karahoda, S., Kaya, K., Yenigün, H.: Synchronizing heuristics: speeding up the fastest. Expert Syst. Appl. 94, 265–275 (2018). https://doi.org/10.1016/j.eswa.2017.10.054

    Article  Google Scholar 

  19. Kowalski, J., Roman, A.: A new evolutionary algorithm for synchronization. In: Squillero, G., Sim, K. (eds.) EvoApplications 2017. LNCS, vol. 10199, pp. 620–635. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-55849-3_40

    Chapter  Google Scholar 

  20. Kari, J., Volkov, M.V.: Černý’s conjecture and the road coloring problem. In: Pin, J.-É (ed.) Handbook of Automata Theory, vol. I. EMS Publishing House (in print)

    Google Scholar 

  21. Natarajan, B.K.: An algorithmic approach to the automated design of parts orienters. In: Proceedings 27th Annual Symposium Foundations Computer Science, pp. 132–142. IEEE Press (1986). https://doi.org/10.1109/SFCS.1986.5

  22. Natarajan, B.K.: Some paradigms for the automated design of parts feeders. Int. J. Robot. Res. 8(6), 89–109 (1989). https://doi.org/10.1177/027836498900800607

    Article  Google Scholar 

  23. Martyugin, P.V.: Lower bounds for the length of the shortest carefully synchronizing words for two- and three-letter partial automata. Diskretn. Anal. Issled. Oper. 15(4), 44–56 (2008)

    MathSciNet  MATH  Google Scholar 

  24. Martyugin, P.V.: A lower bound for the length of the shortest carefully synchronizing words. Russian Math. 54(1), 46–54 (2010). https://doi.org/10.3103/S1066369X10010056. (Iz. VUZ)

    Article  MathSciNet  MATH  Google Scholar 

  25. Martyugin, P.V.: Synchronization of automata with one undefined or ambiguous transition. In: Moreira, N., Reis, R. (eds.) CIAA 2012. LNCS, vol. 7381, pp. 278–288. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-31606-7_24

    Chapter  MATH  Google Scholar 

  26. Martyugin, P.V.: Careful synchronization of partial automata with restricted alphabets. In: Bulatov, A.A., Shur, A.M. (eds.) CSR 2013. LNCS, vol. 7913, pp. 76–87. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38536-0_7

    Chapter  Google Scholar 

  27. Martyugin, P.V.: Complexity of problems concerning carefully synchronizing words for PFA and directing words for NFA. Theor. Comput. Syst. 54(2), 293–304 (2014). https://doi.org/10.1007/s00224-013-9516-6

    Article  MathSciNet  MATH  Google Scholar 

  28. Papadimitriou, C.H.: Computational Complexity. Addison-Wesley, Boston (1994)

    MATH  Google Scholar 

  29. Pixley, C., Jeong, S.-W., Hachtel, G.D: Exact calculation of synchronization sequences based on binary decision diagrams. In: Proceedings 29th Design Automation Conference, pp. 620–623. IEEE Press (1992)

    Google Scholar 

  30. Podolak, I.T., Roman, A., Jȩdrzjczyk, D.: Application of hierarchical classifier to minimal synchronizing word problem. In: Rutkowski, L., Korytkowski, M., Scherer, R., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M. (eds.) ICAISC 2012. LNCS, vol. 7267, pp. 421–429. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-29347-4_49

    Chapter  Google Scholar 

  31. Podolak, I.T., Roman, A., Szykuła, M., Zieliński, B.: A machine learning approach to synchronization of automata. Expert Syst. Appl. 97, 357–371 (2018). https://doi.org/10.1016/j.eswa.2017.12.043

    Article  Google Scholar 

  32. Roman, A.: Genetic algorithm for synchronization. In: Dediu, A.H., Ionescu, A.M., Martín-Vide, C. (eds.) LATA 2009. LNCS, vol. 5457, pp. 684–695. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-00982-2_58

    Chapter  Google Scholar 

  33. Rystsov, I.K.: Asymptotic estimate of the length of a diagnostic word for a finite automaton. Cybernetics 16(1), 194–198 (1980). https://doi.org/10.1007/bf01069104

    Article  MATH  Google Scholar 

  34. Rystsov, I.K.: Polynomial complete problems in automata theory. Inf. Process. Lett. 16(3), 147–151 (1983). https://doi.org/10.1016/0020-0190(83)90067-4

    Article  MathSciNet  MATH  Google Scholar 

  35. Rystsov, I.K.: Reset words for commutative and solvable automata. Theor. Comput. Sci. 172(1), 273–279 (1997). https://doi.org/10.1016/s0304-3975(96)00136-3

    Article  MathSciNet  MATH  Google Scholar 

  36. Shabana, H.: \(D_2\)-synchronization in nondeterministic automata. Ural Math. J. 4(2), 99–110 (2018). https://doi.org/10.15826/umj.2018.2.011

    Article  MathSciNet  Google Scholar 

  37. Shabana, H., Volkov, M.V.: Using Sat solvers for synchronization issues in nondeterministic automata. Siberian Electron. Math. Rep. 15, 1426–1442 (2018). https://doi.org/10.17377/semi.2018.15.117

    Article  MATH  Google Scholar 

  38. Skvortsov, E., Tipikin, E.: Experimental study of the shortest reset word of random automata. In: Bouchou-Markhoff, B., Caron, P., Champarnaud, J.-M., Maurel, D. (eds.) CIAA 2011. LNCS, vol. 6807, pp. 290–298. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22256-6_27

    Chapter  MATH  Google Scholar 

  39. Volkov, M.V.: Synchronizing automata and the Černý Conjecture. In: Martín-Vide, C., Otto, F., Fernau, H. (eds.) LATA 2008. LNCS, vol. 5196, pp. 11–27. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-88282-4_4

    Chapter  Google Scholar 

Download references

Acknowledgements

The authors are very much indebted to the referees for their valuable remarks.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mikhail V. Volkov .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Shabana, H., Volkov, M.V. (2019). Using Sat Solvers for Synchronization Issues in Partial Deterministic Automata. In: Bykadorov, I., Strusevich, V., Tchemisova, T. (eds) Mathematical Optimization Theory and Operations Research. MOTOR 2019. Communications in Computer and Information Science, vol 1090. Springer, Cham. https://doi.org/10.1007/978-3-030-33394-2_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-33394-2_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-33393-5

  • Online ISBN: 978-3-030-33394-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics