Cumulative-Time Signal Temporal Logic
Hongkai Chen, Zeyu Zhang, Shouvik Roy, Ezio Bartocci, Scott A. Smolka, Scott D. Stoller, Shan Lin
TL;DR
CT-STL addresses STL's inability to express cumulative durations by introducing a cumulative-time operator that aggregates the duration a property holds within an interval on discrete-time signals. The authors define qualitative and robustness semantics, prove robustness semantics are sound and complete with respect to the qualitative semantics, and provide online monitoring via RoSI and SlidingC. They validate CT-STL on microgrid voltage management and artificial pancreas control, demonstrating practical benefits for specifying and monitoring cumulative temporal requirements in CPS. This work yields a more expressive, tool-friendly formalism for ensuring safety and performance in timing-critical systems.
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.
