English

Cumulative-Time Signal Temporal Logic

Logic in Computer Science 2025-04-15 v1

Abstract

Signal Temporal Logic (STL) is a widely adopted specification language in cyber-physical systems for expressing critical temporal requirements, such as safety conditions and response time. However, STL's expressivity is not sufficient to capture the cumulative duration during which a property holds within an interval of time. To overcome this limitation, we introduce Cumulative-Time Signal Temporal Logic (CT-STL) that operates over discrete-time signals and extends STL with a new cumulative-time operator. This operator compares the sum of all time steps for which its nested formula is true with a threshold. We present both a qualitative and a quantitative (robustness) semantics for CT-STL and prove both their soundness and completeness properties. We provide an efficient online monitoring algorithm for both semantics. Finally, we show the applicability of CT-STL in two case studies: specifying and monitoring cumulative temporal requirements for a microgrid and an artificial pancreas.

Keywords

Cite

@article{arxiv.2504.10325,
  title  = {Cumulative-Time Signal Temporal Logic},
  author = {Hongkai Chen and Zeyu Zhang and Shouvik Roy and Ezio Bartocci and Scott A. Smolka and Scott D. Stoller and Shan Lin},
  journal= {arXiv preprint arXiv:2504.10325},
  year   = {2025}
}

Comments

20 pages, 7 figures, 2 tables

R2 v1 2026-06-28T22:57:48.753Z