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.
Similar content being viewed by others
Notes
See [4] for multi-valued variants of LTL.
References
Aalst WMP, Pesic M, Schonenberg H (2009) Declarative workflows: balancing between flexibility and support. Comput Sci Res Dev 23(2):99–113
Artemov SN, Beklemishev LD (2005) Provability logic. In: Handbook of philosophical logic, volume XIII, 2 edn, pp 181–360. Springer, Berlin
Bacchus F, Kabanza F (2000) Using temporal logics to express search control knowledge for planning. Artif Intell 116(1):123–191
Bauer A, Leucker M, Schallhart C (2010) Comparing LTL semantics for runtime verification. J Log Comput 20(3):651–674
Bergstra JA, Tucker JV (1983) Initial and final algebra semantics for data type specifications: two characterization theorems. SIAM J Comput 12(2):366–387
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
Cresswell MJ (1984) An incomplete decidable modal logic. J Symb Log 49(2):520–527
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
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
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
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
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
Diekert V, Gastin P (2002) LTL is expressively complete for Mazurkiewicz traces. J Comput Syst Sci 64(2):396–418
Fischer MJ, Ladner RE (1979) Propositional dynamic logic of regular programs. J Comput Syst Sci 18(2):194–211
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
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
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
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
Goldblatt R (2003) Mathematical modal logic: a view of its evolution. J Appl Log 1(5–6):309–392
Havelund K, Roşu G (2004) Efficient monitoring of safety properties. Int J Softw Tools Technol Transfer 6(2):158–173
Hoare CAR (1969) An axiomatic basis for computer programming. Commun ACM 12(10):576–580
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
Kamp HW (1968) Tense logic and the theory of linear order. Ph.D. thesis, University of California, Los Angeles
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
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
Lichtenstein O, Pnueli A (2000) Propositional temporal logics: decidability and completeness. Log J IGPL 8(1):55–85
Lichtenstein O, Pnueli A, Zuck L (1985) The glory of the past. In: Logics of programs, volume 193 of LNCS, pp 196–218. Springer
Manna Z, Pnueli A (1992) The temporal logic of reactive and concurrent systems—specification. Springer, Berlin
Manna Z, Pnueli A (1995) Temporal verification of reactive systems—safety. Springer, Berlin
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
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
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
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
Redko VN (1964) On defining relations for the algebra of regular events. Ukrainskii Matematicheskii Zhurnal 16:120–126
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
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
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
Roşu G, Havelund K (2005) Rewriting-based techniques for runtime verification. Autom Softw Eng 12:151–197
Ş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)
Salomaa A (1966) Two complete axiom systems for the algebra of regular events. J ACM 13(1):158–169
Sistla AP, Clarke EM (1985) The complexity of propositional linear temporal logics. J ACM 32(3):733–749
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
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
Thiagarajan P, Walukiewicz I (2002) An expressively complete linear time temporal logic for Mazurkiewicz traces. Inf Comput 179(2):230–249
van der Aalst WMP, Pesic M, Schonenberg H (2009) Declarative workflows: balancing between flexibility and support. Comput Sci R&D 23(2):99–113
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
Wolper P (1983) Temporal logic can be more expressive. Inf Control 56(1):72–99
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
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
Corresponding author
Rights and permissions
About this article
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
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10703-018-0321-3