Skip to main content
Log in

Finite-trace linear temporal logic: coinductive completeness

  • Published:
Formal Methods in System Design Aims and scope Submit manuscript

Abstract

Linear temporal logic (LTL) is suitable not only for infinite-trace systems, but also for finite-trace systems. In particular, LTL with finite-trace semantics is frequently used as a specification formalism in runtime verification, in artificial intelligence, and in business process modeling. The satisfiability of LTL with finite-trace semantics, a known PSPACE-complete problem, has been recently studied and both indirect and direct decision procedures have been proposed. However, the proof theory of LTL with finite traces is not that well understood. Specifically, complete proof systems of LTL with only infinite or with both infinite and finite traces have been proposed in the literature, but complete proof systems directly for LTL with only finite traces are missing. The only known results are indirect, by translation to other logics, e.g., infinite-trace LTL. This paper proposes a direct sound and complete proof system for finite-trace LTL. The axioms and proof rules are natural and expected, except for one rule of coinductive nature, reminiscent of the Gödel–Löb axiom.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. See [4] for multi-valued variants of LTL.

References

  1. Aalst WMP, Pesic M, Schonenberg H (2009) Declarative workflows: balancing between flexibility and support. Comput Sci Res Dev 23(2):99–113

    Article  Google Scholar 

  2. Artemov SN, Beklemishev LD (2005) Provability logic. In: Handbook of philosophical logic, volume XIII, 2 edn, pp 181–360. Springer, Berlin

  3. Bacchus F, Kabanza F (2000) Using temporal logics to express search control knowledge for planning. Artif Intell 116(1):123–191

    Article  MathSciNet  MATH  Google Scholar 

  4. Bauer A, Leucker M, Schallhart C (2010) Comparing LTL semantics for runtime verification. J Log Comput 20(3):651–674

    Article  MathSciNet  MATH  Google Scholar 

  5. Bergstra JA, Tucker JV (1983) Initial and final algebra semantics for data type specifications: two characterization theorems. SIAM J Comput 12(2):366–387

    Article  MathSciNet  MATH  Google Scholar 

  6. Bienvenu M, Fritz C, McIlraith SA (2006) Planning with qualitative temporal preferences. In: Proceedings of the 10th international conference on principles of knowledge representation and reasoning (KR’06), pp 134–144. AAAI Press

  7. Cresswell MJ (1984) An incomplete decidable modal logic. J Symb Log 49(2):520–527

    Article  MathSciNet  MATH  Google Scholar 

  8. d’Amorim M, Roşu G (2005) Efficient monitoring of \(\omega \)-languages. In: Proceedings of the 17th international conference on computer aided verification, CAV’05, volume 3576 of LNCS, pp 364–378. Springer

  9. De Giacomo G, De Masellis R, Grasso M, Maggi FM, Montali M (2014) Monitoring business metaconstraints based on LTL and LDL for finite traces. In: Sadiq S, Soffer P, Völzer H (eds) Proceedings of the 12th international conference on business process management, BPM’14, volume 8659 of LNCS, pp 1–17

  10. De Giacomo G, Vardi MY (2013) Linear temporal logic and linear dynamic logic on finite traces. In: Proceedings of the 23rd international joint conference on artificial intelligence, IJCAI’13, pp 854–860. AAAI Press

  11. De Giacomo G, Vardi MY (2015) Synthesis for LTL and LDL on finite traces. In: Proceedings of the 24th international joint conference on artificial intelligence, IJCAI’15, pp 1558–1564. AAAI Press

  12. De Giacomo G, Vardi MY (2016) LTL\({}_{\text{f}}\) and LDL\({}_{\text{ f }}\) synthesis under partial observability. In: Proceedings of the 25th international joint conference on artificial intelligence, IJCAI’16, pp 1044–1050. AAAI Press

  13. Diekert V, Gastin P (2002) LTL is expressively complete for Mazurkiewicz traces. J Comput Syst Sci 64(2):396–418

    Article  MathSciNet  MATH  Google Scholar 

  14. Fischer MJ, Ladner RE (1979) Propositional dynamic logic of regular programs. J Comput Syst Sci 18(2):194–211

    Article  MathSciNet  MATH  Google Scholar 

  15. Gabaldon A (2004) Precondition control and the progression algorithm. In: Proceedings of the 9th international conference on principles of knowledge representation and reasoning, KR’04, pp 634–643. AAAI Press

  16. Gerevini AE, Haslum P, Long D, Saetti A, Dimopoulos Y (2009) Deterministic planning in the fifth international planning competition: PDDL3 and experimental evaluation of the planners. Artif Intell 173(5):619–668

    Article  MathSciNet  MATH  Google Scholar 

  17. Giannakopoulou D, Havelund K (2001) Automata-based verification of temporal properties on running programs. In: Proceedings of the 16th international conference on automated software engineering, pp 412–416. IEEE Computer Society

  18. Goldblatt R (1992) Logics of time and computation. Number 7 in CSLI Lecture Notes, 2nd edn. Center for the Study of Language and Information, Stanford, CA

  19. Goldblatt R (2003) Mathematical modal logic: a view of its evolution. J Appl Log 1(5–6):309–392

    Article  MathSciNet  MATH  Google Scholar 

  20. Havelund K, Roşu G (2004) Efficient monitoring of safety properties. Int J Softw Tools Technol Transfer 6(2):158–173

    Article  Google Scholar 

  21. Hoare CAR (1969) An axiomatic basis for computer programming. Commun ACM 12(10):576–580

    Article  MATH  Google Scholar 

  22. Jard C, Jéron T (1990) On-line model checking for finite linear temporal logic specifications. In: Proceedings of the international workshop of automatic verification methods for finite state systems, volume 407 of LNCS, pp 189–196. Springer

  23. Kamp HW (1968) Tense logic and the theory of linear order. Ph.D. thesis, University of California, Los Angeles

  24. Lee I, Kannan S, Kim M, Sokolsky O, Viswanathan M (1999) Runtime assurance based on formal specifications. In: Proceedings of the international conference on parallel and distributed processing techniques and applications, PDPTA’99, pp 279–287. CSREA Press

  25. Li J, Zhang L, Pu G, Vardi MY, He J (2014) LTLf satisfiability checking. In: Proceedings of the 21st European conference on artificial intelligence, ECAI’14, volume 263 of frontiers in artificial intelligence and applications, pp 513–518

  26. Lichtenstein O, Pnueli A (2000) Propositional temporal logics: decidability and completeness. Log J IGPL 8(1):55–85

    Article  MathSciNet  MATH  Google Scholar 

  27. Lichtenstein O, Pnueli A, Zuck L (1985) The glory of the past. In: Logics of programs, volume 193 of LNCS, pp 196–218. Springer

  28. Manna Z, Pnueli A (1992) The temporal logic of reactive and concurrent systems—specification. Springer, Berlin

    Book  MATH  Google Scholar 

  29. Manna Z, Pnueli A (1995) Temporal verification of reactive systems—safety. Springer, Berlin

    Book  MATH  Google Scholar 

  30. Moore B, Peña L, Roşu G (2018) Program verification by coinduction. In: Proceedings of the 27th European symposium on programming, ESOP’18, volume 10801 of LNCS, pp 589–618. Springer

  31. Pešić M, Bošnački D, van der Aalst WMP (2010) Enacting declarative languages using LTL: avoiding errors and improving performance. In: Model checking software—proceedings of the 17th international SPIN workshop, volume 6349 of LNCS, pp 146–161. Springer

  32. Pesic M, van der Aalst WMP (2006) A declarative approach for flexible business processes management. In: Proceedings of the 4th international conference on business process management, BPM’06, volume 4102 of LNCS, pp 169–180. Springer

  33. Pnueli A (1977) The temporal logic of programs. In: Proceedings of the 18th annual symposium on foundations of computer science, FOCS’77, pp 46–57. IEEE Computer Society

  34. Redko VN (1964) On defining relations for the algebra of regular events. Ukrainskii Matematicheskii Zhurnal 16:120–126

    Google Scholar 

  35. Roşu G (2016) Finite-trace linear temporal logic: coinductive completeness. In: Proceedings of the 16th international conference on runtime verification, RV’16, volume 10012 of LNCS, pp 333–350. Springer

  36. Roşu G, Ştefănescu A (2012) Checking reachability using matching logic. In: Proceedings of the 27th conference on object-oriented programming, systems, languages, and applications, OOPSLA’12, pp 555–574. ACM

  37. Roşu G, Ştefănescu A, Ciobâcă c, Moore BM (2013) One-path reachability logic. In Proceedings of the 28th symposium on logic in computer science, LICS’13, pp 358–367. IEEE

  38. Roşu G, Havelund K (2005) Rewriting-based techniques for runtime verification. Autom Softw Eng 12:151–197

    Article  Google Scholar 

  39. Ştefănescu A, Ciobâcă Ş, Mereuţă R, Moore BM, Şerbănuţă TF, Roşu G (2014) All-path reachability logic. In: Proceedings of the 25th conference on rewriting techniques and applications and 12th conference on typed lambda calculi and applications (RTA-TLCA’14)

  40. Salomaa A (1966) Two complete axiom systems for the algebra of regular events. J ACM 13(1):158–169

    Article  MathSciNet  MATH  Google Scholar 

  41. Sistla AP, Clarke EM (1985) The complexity of propositional linear temporal logics. J ACM 32(3):733–749

    Article  MathSciNet  MATH  Google Scholar 

  42. Sulzmann M, Zechner A (2012) Constructive finite trace analysis with linear temporal logic. In: Proceedings of the 6th international conference on tests and proofs, TAP’12, volume 7305 of LNCS, pp 132–148. Springer

  43. Sun Y, Xu W, Su J (2012) Declarative choreographies for artifacts. In: Liu C, Ludwig H, Toumani F, Yu Q (eds) Proceedings of the 10th international conference on service-oriented computing, ICSOC 2012, pp 420–434. Springer

  44. Thiagarajan P, Walukiewicz I (2002) An expressively complete linear time temporal logic for Mazurkiewicz traces. Inf Comput 179(2):230–249

    Article  MathSciNet  MATH  Google Scholar 

  45. van der Aalst WMP, Pesic M, Schonenberg H (2009) Declarative workflows: balancing between flexibility and support. Comput Sci R&D 23(2):99–113

    Google Scholar 

  46. Wilke T (1999) Classifying discrete temporal properties. In: Proceedings of the 16th annual symposium on theoretical aspects of computer science, STACS’99, volume 1563 of LNCS, pp 32–46. Springer

  47. Wolper P (1983) Temporal logic can be more expressive. Inf Control 56(1):72–99

    Article  MathSciNet  MATH  Google Scholar 

  48. Zhu S, Tabajara LM, Li J, Pu G, Vardi MY (2017) Symbolic LTLf synthesis. In: Proceedings of the 26th international joint conference on artificial intelligence, IJCAI’17, pp 1362–1369. AAAI Press

Download references

Acknowledgements

We would like to warmly thank Yliès Falcone and César Sánchez for organizing the RV’16 conference, and them as well as Martin Steffen and Fred Schneider for lively discussions and debates related to the Coinduction proof rule. We also thank Moshe Vardi for referring us to recent work on finite-trace LTL published in artificial intelligence conferences [10,11,12, 25, 48]; we were not aware of these efforts when we published the RV’16 conference version of this paper [35]. Special thanks to my student Xiaohong Chen, who helped double-check the correctness of the proofs and the appropriateness of the results. Last but not least, we would like to warmly thank the anonymous reviewers for substantial suggestions on how to improve this paper. The work presented in this paper was supported in part by NSF Grants CCF-1421575 and CNS-1619275, and by an IOHK gift (http://iohk.io).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Grigore Roşu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Roşu, G. Finite-trace linear temporal logic: coinductive completeness. Form Methods Syst Des 53, 138–163 (2018). https://doi.org/10.1007/s10703-018-0321-3

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10703-018-0321-3

Keywords

Navigation