Skip to main content

Compositional Safety LTL Synthesis

  • Conference paper
  • First Online:
Verified Software. Theories, Tools and Experiments. (VSTTE 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13800))

Abstract

Reactive synthesis holds the promise of generating automatically a verifiably correct program from a high-level specification. A popular such specification language is Linear Temporal LogicĀ (LTL). Unfortunately, synthesizing programs from general LTL formulas, which relies on first constructing a game arena and then solving the game, does not scale to large instances. The specifications from practical applications are usually large conjunctions of smaller LTL formulas, which inspires existing compositional synthesis approaches to take advantage of this structural information. The main challenge here is that they solve the game only after obtaining the game arena, the most computationally expensive part in the procedure. In this work, we propose a compositional synthesis technique to tackle this difficulty by synthesizing a program for each small conjunct separately and composing them one by one. While this approach does not work for general LTL formulas, we show here that it does work for Safety LTL formulas, a popular and important fragment of LTL. While we have to compose all the programs of small conjuncts in the worst case, we can prune the intermediate programs to make later compositions easier and immediately conclude unrealizable as soon as some part of the specification is found unrealizable. By comparing our compositional approach with a portfolio of all other approaches, we observed that our approach was able to solve a notable number of instances not solved by others. In particular, experiments on scalable conjunctive benchmarks showed that our approach scale well and significantly outperform current Safety LTL synthesis techniques. We conclude that our compositional approach is an important contribution to the algorithmic portfolio of Safety LTL synthesis.

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

References

  1. Baier, C., Katoen, J.: Principles of Model Checking. MIT Press, Cambridge (2008)

    MATHĀ  Google ScholarĀ 

  2. Bansal, S., Li, Y., Tabajara, L.M., Vardi, M.Y.: Hybrid compositional reasoning for reactive synthesis from finite-horizon specifications. In: AAAI, pp. 9766ā€“9774 (2020)

    Google ScholarĀ 

  3. Bernet, J., Janin, D., Walukiewicz, I.: Permissive strategies: from parity games to safety games. RAIRO Theor. Inform. Appl. 36(3), 261ā€“275 (2002)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  4. Bloem, R., Jobstmann, B., Piterman, N., Pnueli, A., Saā€™ar, Y.: Synthesis of reactive (1) designs. J. Comput. Syst. Sci. 78(3), 911ā€“938 (2012)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  5. Bohy, A., BruyĆØre, V., Filiot, E., Jin, N., Raskin, J.-F.: Acacia+, a tool for LTL synthesis. In: Madhusudan, P., Seshia, S.A. (eds.) CAV 2012. LNCS, vol. 7358, pp. 652ā€“657. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-31424-7_45

    ChapterĀ  Google ScholarĀ 

  6. Chang, E., Manna, Z., Pnueli, A.: Characterization of temporal property classes. In: Kuich, W. (ed.) ICALP 1992. LNCS, vol. 623, pp. 474ā€“486. Springer, Heidelberg (1992). https://doi.org/10.1007/3-540-55719-9_97

    ChapterĀ  Google ScholarĀ 

  7. Church, A.: Application of recursive arithmetic to the problem of circuit synthesis. J. Symb. Log. 28(4), 289ā€“290 (1963)

    Google ScholarĀ 

  8. Cimatti, A., Geatti, L., Gigante, N., Montanari, A., Tonetta, S.: Expressiveness of extended bounded response LTL. In: GandALF 2021, pp. 152ā€“165 (2021)

    Google ScholarĀ 

  9. De Giacomo, G., Favorito, M.: Compositional approach to translate LTL\(_f\)/LDL\(_f\) into deterministic finite automata. In: ICAPS, pp. 122ā€“130 (2021)

    Google ScholarĀ 

  10. Duret-Lutz, A., Lewkowicz, A., Fauchille, A., Michaud, T., Renault, Ɖ., Xu, L.: Spot 2.0ā€”a framework for LTL and \(\omega \)-automata manipulation. In: Artho, C., Legay, A., Peled, D. (eds.) ATVA 2016. LNCS, vol. 9938, pp. 122ā€“129. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46520-3_8

    ChapterĀ  Google ScholarĀ 

  11. Ehlers, R., Raman, V.: Slugs: extensible GR(1) synthesis. In: Chaudhuri, S., Farzan, A. (eds.) CAV 2016. LNCS, vol. 9780, pp. 333ā€“339. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-41540-6_18

    ChapterĀ  Google ScholarĀ 

  12. Esparza, J., KřetĆ­nskĆ½, J., Sickert, S.: From LTL to deterministic automata - a safraless compositional approach. Formal Methods Syst. Des. 49(3), 219ā€“271 (2016)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  13. Faymonville, P., Finkbeiner, B., Tentrup, L.: BoSy: an experimentation framework for bounded synthesis. In: Majumdar, R., Kunčak, V. (eds.) CAV 2017. LNCS, vol. 10427, pp. 325ā€“332. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63390-9_17

    ChapterĀ  Google ScholarĀ 

  14. Filiot, E., Jin, N., Raskin, J.: Antichains and compositional algorithms for LTL synthesis. Formal Methods Syst. Des. 39(3), 261ā€“296 (2011). https://doi.org/10.1007/s10703-011-0115-3

    ArticleĀ  MATHĀ  Google ScholarĀ 

  15. Finkbeiner, B., Geier, G., Passing, N.: Specification decomposition for reactive synthesis. In: NFM, pp. 113ā€“130 (2021)

    Google ScholarĀ 

  16. Finkbeiner, B., Passing, N.: Dependency-based compositional synthesis. In: Hung, D.V., Sokolsky, O. (eds.) ATVA 2020. LNCS, vol. 12302, pp. 447ā€“463. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-59152-6_25

    ChapterĀ  Google ScholarĀ 

  17. Giacomo, G.D., Vardi, M.Y.: Linear temporal logic and linear dynamic logic on finite traces. In: IJCAI, pp. 854ā€“860 (2013)

    Google ScholarĀ 

  18. Henriksen, J.G., et al.: Mona: monadic second-order logic in practice. In: Brinksma, E., Cleaveland, W.R., Larsen, K.G., Margaria, T., Steffen, B. (eds.) TACAS 1995. LNCS, vol. 1019, pp. 89ā€“110. Springer, Heidelberg (1995). https://doi.org/10.1007/3-540-60630-0_5

    ChapterĀ  Google ScholarĀ 

  19. Kupferman, O., Piterman, N., Vardi, M.Y.: Safraless compositional synthesis. In: Ball, T., Jones, R.B. (eds.) CAV 2006. LNCS, vol. 4144, pp. 31ā€“44. Springer, Heidelberg (2006). https://doi.org/10.1007/11817963_6

    ChapterĀ  Google ScholarĀ 

  20. Kupferman, O., Vardi, M.Y.: Model checking of safety properties. Formal Methods Syst. Des. 19(3), 291ā€“314 (2001). https://doi.org/10.1023/A:1011254632723

    ArticleĀ  MATHĀ  Google ScholarĀ 

  21. Kupferman, O., Vardi, M.Y.: Safraless decision procedures. In: FOCS, pp. 531ā€“542 (2005)

    Google ScholarĀ 

  22. Meyer, P.J., Sickert, S., Luttenberger, M.: Strix: explicit reactive synthesis strikes back! In: Chockler, H., Weissenbacher, G. (eds.) CAV 2018. LNCS, vol. 10981, pp. 578ā€“586. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96145-3_31

    ChapterĀ  Google ScholarĀ 

  23. Michaud, T., Colange, M.: Reactive synthesis from LTL specification with spot. In: SYNT@CAV (2018)

    Google ScholarĀ 

  24. Plaku, E., Kavraki, L.E., Vardi, M.Y.: Falsification of LTL safety properties in hybrid systems. Int. J. Softw. Tools Technol. Transf. 15(4), 305ā€“320 (2013). https://doi.org/10.1007/s10009-012-0233-2

    ArticleĀ  MATHĀ  Google ScholarĀ 

  25. Pnueli, A.: The temporal logic of programs. In: FOCS, pp. 46ā€“57 (1977)

    Google ScholarĀ 

  26. Pnueli, A., Rosner, R.: On the synthesis of a reactive module. In: POPL, pp. 179ā€“190 (1989)

    Google ScholarĀ 

  27. Sickert, S., Esparza, J.: An efficient normalisation procedure for linear temporal logic and very weak alternating automata. In: LICS, pp. 831ā€“844 (2020)

    Google ScholarĀ 

  28. Sistla, A.P.: Safety, liveness and fairness in temporal logic. Formal Aspects Comput. 6(5), 495ā€“512 (1994). https://doi.org/10.1007/BF01211865

    ArticleĀ  MATHĀ  Google ScholarĀ 

  29. Sohail, S., Somenzi, F.: Safety first: a two-stage algorithm for the synthesis of reactive systems. Int. J. Softw. Tools Technol. Transf. 15(5ā€“6), 433ā€“454 (2013). https://doi.org/10.1007/s10009-012-0224-3

    ArticleĀ  Google ScholarĀ 

  30. Somenzi, F.: CUDD: CU decision diagram package 3.0.0. University of Colorado at Boulder

    Google ScholarĀ 

  31. Tabajara, L.M., Vardi, M.Y.: Partitioning techniques in LTL\(_f\) synthesis. In: IJCAI, pp. 5599ā€“5606 (2019)

    Google ScholarĀ 

  32. Vardi, M.Y.: From verification to synthesis. In: Shankar, N., Woodcock, J. (eds.) VSTTE 2008. LNCS, vol. 5295, p. 2. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-87873-5_2

    ChapterĀ  Google ScholarĀ 

  33. Zhu, S., Tabajara, L.M., Li, J., Pu, G., Vardi, M.Y.: A symbolic approach to safety ltl synthesis. In: Strichman, O., Tzoref-Brill, R. (eds.) HVC 2017. LNCS, vol. 10629, pp. 147ā€“162. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70389-3_10

    ChapterĀ  Google ScholarĀ 

  34. Zhu, S., Tabajara, L.M., Li, J., Pu, G., Vardi, M.Y.: Symbolic LTL\(_f\) synthesis. In: IJCAI, pp. 1362ā€“1369 (2017)

    Google ScholarĀ 

  35. Zhu, S., Tabajara, L.M., Pu, G., Vardi, M.Y.: On the power of automata minimization in temporal synthesis. In: GandALF, pp. 117ā€“134 (2021)

    Google ScholarĀ 

Download references

Acknowledgement

This work is supported in part by the ERC Advanced Grant WhiteMech (No. 834228), the EU ICT-48 2020 project TAILOR (No. 952215), the PRIN project RIPER (No. 20203FFYLK), the National Natural Science Foundation of China (Grant Nos. 62102407 and 61836005), CAS grant QYZDB-SSW-SYS019, NSF grants IIS-1527668, CCF-1704883, IIS-1830549, CNS-2016656, DoD MURI grant N00014-20-1-2787, and an award from the Maryland Procurement Office.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shufang Zhu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bansal, S., De Giacomo, G., Di Stasio, A., Li, Y., Vardi, M.Y., Zhu, S. (2023). Compositional Safety LTL Synthesis. In: Lal, A., Tonetta, S. (eds) Verified Software. Theories, Tools and Experiments.. VSTTE 2022. Lecture Notes in Computer Science, vol 13800. Springer, Cham. https://doi.org/10.1007/978-3-031-25803-9_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-25803-9_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-25802-2

  • Online ISBN: 978-3-031-25803-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics