Linear Temporal Logic (LTL) is the de-facto standard temporal logic for system specification, whose foundational properties have been studied for over five decades. Safety and cosafety properties define notable fragments of LTL, where a prefix of a trace suffices to establish whether a formula is true or not over that trace. In this paper, we study the complexity of the problems of satisfiability, validity, and realizability over infinite and finite traces for the safety and cosafety fragments of LTL. As for satisfiability and validity over infinite traces, we prove that the majority of the fragments have the same complexity as full LTL, that is, they are PSPACE-complete. The picture is radically different for realizability: we find fragments with the same expressive power whose complexity varies from 2EXPTIME-complete (as full LTL) to EXPTIME-complete. Notably, for all cosafety fragments, the complexity of the three problems does not change passing from infinite to finite traces, while for all safety fragments the complexity of satisfiability (resp., realizability) over finite traces drops to NP-complete (resp., ${\Pi}^P_2$-complete).
翻译:线性线性逻辑(LTL)是系统规格的标准标准时间逻辑,其基本特性已经研究了50多年,安全和共同安全特性定义了LTL的显著碎片,在LTL的显著碎片中,一个痕迹的前缀足以确定公式是否真实。在本文中,我们研究LT的安全和共同安全碎片的可尊重性、有效性和可真实性等问题的复杂性。至于LT的安全和共同安全碎片的可尊重性和有效性,我们证明大多数碎片与完全LTL的复杂程度相同,也就是说,它们是PSPACE的完整。对于真实性而言,情况大不相同:我们发现具有相同直观能力的碎片,其复杂性从2EXPTIME的完整(LTL)到EXPTIME的完全性。值得注意的是,对于所有安全碎片来说,这三个问题的复杂性不会从无限的和有限的痕迹转移到有限的痕迹,而对于所有安全性的碎片来说,它们都是SAPCE的复杂程度(resible) $-stality-stolvility.