Skip to main content

Model-Guided Synthesis for LTL over Finite Traces

  • Conference paper
  • First Online:
Verification, Model Checking, and Abstract Interpretation (VMCAI 2024)

Abstract

Satisfiability and synthesis are two fundamental problems for Linear Temporal Logic, both of which can be solved on the automaton constructed from the input formula. In general, satisfiability is easier than synthesis in both theory and practice, as satisfiability needs only to find a satisfying trace, while synthesis has to find a winning strategy.

This paper presents a novel technique called MoGuS, which improves the performance of synthesis for \(\textsc {LTL}_f\), a variant of LTL interpreted over finite traces, by repeatedly invoking an \(\textsc {LTL}_f\) satisfiability checker to guide its search for a winning strategy. Satiisfiabiity checkers have not been used before in the context of \(\textsc {LTL}_f\) synthesis. MoGuS computes a satisfying trace of the input formula, and then uses the formula-progression technique to compute the states on the fly in the automaton run. It then checks whether there exists a winning strategy from each of the states. If not, the current state is marked as a ‘failure’ state (as it can never produce a winning strategy), the checking rolls back to its predecessor state, and the process repeats. MoGuS returns ‘Realizable’ if the initial state turns out to be winning, and ‘Unrealizable’ otherwise. We conducted an extensive experimental evaluation of MoGuS by comparing it to different state-of-the-art \(\textsc {LTL}_f\) synthesis algorithms on a large set of benchmarks. The results show that MoGuS has the most stable and the best overall performance on the tested benchmarks.

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 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.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

Data Availability Statement

To support the experimental results, the source code of MoGuSer and benchmarks is available at https://drive.google.com/file/d/1ohOa4Kl4R4br095k-kVJcWV87U5XON5q/view?usp=sharing.

Notes

  1. 1.

    From the preliminary evaluations, our previous synthesizer OLFS [43] performs much worse than other tested tools, so it is excluded in the comparison.

  2. 2.

    See https://spot.lre.epita.fr/man/randltl.1.html.

References

  1. The reactive synthesis competition. http://www.syntcomp.org/

  2. Althoff, C.S., Thomas, W., Wallmeier, N.: Observations on determinization of Büchi automata. In: Farré, J., Litovsky, I., Schmitz, S. (eds.) CIAA 2005. LNCS, vol. 3845, pp. 262–272. Springer, Heidelberg (2006). https://doi.org/10.1007/11605157_22

    Chapter  Google Scholar 

  3. Aminof, B., De Giacomo, G., Murano, A., Rubin, S.: Synthesis under assumptions. In: Sixteenth International Conference on Principles of Knowledge Representation and Reasoning, pp. 615–616. AAAI Press (2018)

    Google Scholar 

  4. Aminof, B., De Giacomo, G., Murano, A., Rubin, S.: Planning under LTL environment specifications. In: Proceedings of the Twenty-Ninth International Conference on Automated Planning and Scheduling, pp. 31–39. AAAI Press (2019)

    Google Scholar 

  5. Bacchus, F., Kabanza, F.: Planning for temporally extended goals. Ann. Math. Artif. Intell. 22, 5–27 (1998)

    Article  MathSciNet  Google Scholar 

  6. Bansal, S., Giacomo, G.D., Stasio, A.D., Li, Y., Vardi, M.Y., Zhu, S.: Compositional safety LTL synthesis. In: Verified Software: Theories, Tools, and Experiments (VSTTE) (2022)

    Google Scholar 

  7. Bansal, S., Li, Y., Tabajara, L., Vardi, M.: Hybrid compositional reasoning for reactive synthesis from finite-horizon specifications. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, vol. 34, pp. 9766–9774. AAAI Press (2020)

    Google Scholar 

  8. Bloem, R., Jobstmann, B., Piterman, N., Pnueli, A., Saar, Y.: Synthesis of reactive(1) designs. J. Comput. Syst. Sci. 78(3), 911–938 (2012)

    Google Scholar 

  9. 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 

  10. Bryant, R.: Graph-based algorithms for Boolean-function manipulation. IEEE Trans. Comput. C-35(8), 677–691 (1986)

    Google Scholar 

  11. Büchi, J.: On a decision method in restricted second order arithmetic. In: Proceedings of International Congress on Logic, Method, and Philosophy of Science. 1960, pp. 1–12. Stanford University Press (1962)

    Google Scholar 

  12. Büchi, J., Landweber, L.: Solving sequential conditions by finite-state strategies. Trans. AMS 138, 295–311 (1969)

    Article  MathSciNet  Google Scholar 

  13. Calude, C.S., Jain, S., Khoussainov, B., Li, W., Stephan, F.: Deciding parity games in quasipolynomial time. In: Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, pp. 252–263. Association for Computing Machinery, New York (2017)

    Google Scholar 

  14. Camacho, A., Bienvenu, M., McIlraith, S.A.: Finite LTL synthesis with environment assumptions and quality measures. In: Sixteenth International Conference on Principles of Knowledge Representation and Reasoning, pp. 454–463. AAAI Press (2018)

    Google Scholar 

  15. Camacho, A., McIlraith, S.A.: Strong fully observable non-deterministic planning with LTL and LTLf goals. In: Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, pp. 5523–5531 (2019)

    Google Scholar 

  16. Camacho, A., Triantafillou, E., Muise, C.J., Baier, J.A., McIlraith, S.A.: Non-deterministic planning with temporally extended goals: LTL over finite and infinite traces. In: Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, pp. 3716–3724. AAAI Press (2017)

    Google Scholar 

  17. Church, A.: Logic, arithmetics, and automata. In: Proceedings of International Congress of Mathematicians, 1962, pp. 23–35. Institut Mittag-Leffler (1963)

    Google Scholar 

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

    MathSciNet  Google Scholar 

  19. Darwiche, A.: SDD: a new canonical representation of propositional knowledge bases. In: Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence, pp. 819–826. AAAI Press (2011)

    Google Scholar 

  20. De Giacomo, G., Vardi, M.: Linear temporal logic and linear dynamic logic on finite traces. In: Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, pp. 854–860. AAAI Press (2013)

    Google Scholar 

  21. De Giacomo, G., Favorito, M.: Compositional approach to translate LTLf/LDLf into deterministic finite automata. In: Proceedings of the International Conference on Automated Planning and Scheduling, vol. 31, pp. 122–130 (2021)

    Google Scholar 

  22. De Giacomo, G., Rubin, S.: Automata-theoretic foundations of fond planning for LTLf and LDLf goals. In: Proceedings of the 27th International Joint Conference on Artificial Intelligence, pp. 4729–4735. AAAI Press (2018)

    Google Scholar 

  23. Duret-Lutz, A., et al.: From spot 2.0 to spot 2.10: what’s new? In: Shoham, S., Vizel, Y. (eds.) CAV 2022. LNCS, vol. 13372, pp. 174–187. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-13188-2_9

  24. 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 

  25. Emerson, E., Jutla, C.: The complexity of tree automata and logics of programs. In: Proceedings of 29th IEEE Symposium on Foundations of Computer Science, pp. 328–337 (1988)

    Google Scholar 

  26. Emerson, E., Jutla, C.: Tree automata, \(\mu \)-calculus and determinacy. In: Proceedings of 32nd IEEE Symposium on Foundations of Computer Science, pp. 368–377 (1991)

    Google Scholar 

  27. Fuggitti, F.: FOND planning for LTLf and PLTLf goals (2020). https://doi.org/10.48550/ARXIV.2004.07027

  28. Giacomo, G.D., Vardi, M.Y.: Synthesis for LTL and LDL on finite traces. In: Proceedings of the 24th International Conference on Artificial Intelligence, pp. 1558–1564. AAAI Press (2015)

    Google Scholar 

  29. Giacomo, G.D., Favorito, M., Li, J., Vardi, M.Y., Xiao, S., Zhu, S.: LTLf synthesis as and-or graph search: knowledge compilation at work. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, pp. 3292–3298. AAAI Press (2022)

    Google Scholar 

  30. 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 

  31. Kupferman, O.: Avoiding determinization. In: Proceedings of 21st IEEE Symposium on Logic in Computer Science, pp. 243–254 (2006)

    Google Scholar 

  32. Kupferman, O., Vardi, M.Y.: Model checking of safety properties. In: Halbwachs, N., Peled, D. (eds.) CAV 1999. LNCS, vol. 1633, pp. 172–183. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48683-6_17

    Chapter  Google Scholar 

  33. Li, J., Rozier, K.Y., Pu, G., Zhang, Y., Vardi, M.Y.: SAT-based explicit LTLf satisfiability checking. In: The Thirty-Third AAAI Conference on Artificial Intelligence, pp. 2946–2953. AAAI Press (2019)

    Google Scholar 

  34. Li, J., Zhang, L., Pu, G., Vardi, M.Y., He, J.: LTL\(_f\) satisfibility checking. In: Proceedings of the Twenty-First European Conference on Artificial Intelligence, pp. 513–518. IOS Press (2014)

    Google Scholar 

  35. Luo, W., Wan, H., Du, J., Li, X., Fu, Y., Ye, R., Zhang, D.: Teaching LTLf satisfiability checking to neural network. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, pp. 3292–3298. AAAI Press (2022)

    Google Scholar 

  36. 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 

  37. Michaud, T., Colange, M.: Reactive synthesis from LTL specification with spot. In: Proceedings Seventh Workshop on Synthesis, SYNT@CAV 2018. Electronic Proceedings in Theoretical Computer Science (2018)

    Google Scholar 

  38. Pnueli, A.: The temporal logic of programs. In: 18th Annual Symposium on Foundations of Computer Science, pp. 46–57. IEEE (1977). https://doi.org/10.1109/SFCS.1977.32

  39. Pnueli, A., Rosner, R.: On the synthesis of an asynchronous reactive module. In: Ausiello, G., Dezani-Ciancaglini, M., Della Rocca, S.R. (eds.) ICALP 1989. LNCS, vol. 372, pp. 652–671. Springer, Heidelberg (1989). https://doi.org/10.1007/BFb0035790

    Chapter  Google Scholar 

  40. Rabin, M.: Automata on infinite objects and Church’s problem. American Mathematical Society (1972)

    Google Scholar 

  41. Safra, S.: On the complexity of \(\omega \)-automata. In: Proceedings of 29th IEEE Symposium on Foundations of Computer Science, pp. 319–327 (1988)

    Google Scholar 

  42. Shi, Y., Xiao, S., Li, J., Guo, J., Pu, G.: SAT-based automata construction for LTL over finite traces. In: 27th Asia-Pacific Software Engineering Conference (APSEC), pp. 1–10. IEEE (2020). https://doi.org/10.1109/APSEC51365.2020.00008

  43. Xiao, S., Li, J., Zhu, S., Shi, Y., Pu, G., Vardi, M.Y.: On the fly synthesis for LTL over finite traces. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, pp. 6530–6537. AAAI Press (2021)

    Google Scholar 

  44. Zhang, X., Xiao, S., Xia, Y., Li, J., Chen, M., Pu, G.: Accelerate safety model checking based on complementary approximate reachability. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 42(9), 3105–3117 (2023). https://doi.org/10.1109/TCAD.2023.3236272

    Article  Google Scholar 

  45. Zhu, S., Tabajara, L., Li, J., Pu, G., Vardi, M.: Symbolic LTLf synthesis. In: Proceedings of the 26th International Joint Conference on Artificial Intelligence, pp. 1362–1369. AAAI Press (2017)

    Google Scholar 

  46. Zhu, S., Giacomo, G.D., Pu, G., Vardi, M.Y.: LTL\(f\) synthesis with fairness and stability assumptions. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, pp. 3088–3095. AAAI Press (2020)

    Google Scholar 

  47. Zhu, S., Tabajara, L.M., Li, J., Pu, G., Vardi, M.Y.: A symbolic approach to safety ltl synthesis. In: 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 

Download references

Acknowledgements

This work is supported by National Natural Science Foundation of China (Grant #U21B2015 and #62372178), “Digital Silk Road” Shanghai International Joint Lab of Trustworthy Intelligent Software under Grant 22510750100, Shanghai Collaborative Innovation Center of Trusted Industry Internet Software, by US NSF grants IIS-1527668, CCF-1704883, IIS-1830549, CNS-2016656, and by US DoD MURI grant N00014-20-1-2787.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jianwen Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Xiao, S. et al. (2024). Model-Guided Synthesis for LTL over Finite Traces. In: Dimitrova, R., Lahav, O., Wolff, S. (eds) Verification, Model Checking, and Abstract Interpretation. VMCAI 2024. Lecture Notes in Computer Science, vol 14499. Springer, Cham. https://doi.org/10.1007/978-3-031-50524-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-50524-9_9

  • Published:

  • Publisher Name: Springer, Cham

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

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics