The First-Order Logic of Signals

Formalizing properties of systems with continuous dynamics is a challenging task. In this paper, we propose a formal framework for specifying and monitoring rich temporal properties of real-valued signals. We introduce signal first-order logic (SFO) as a specification language that combines first-order logic with linear-real arithmetic and unary function symbols interpreted as piecewise-linear signals. We first show that while the satisfiability problem for SFO is undecidable, its membership and monitoring problems are decidable. We develop an offline monitoring procedure for SFO that has polynomial complexity in the size of the input trace and the specification, for a fixed number of quantifiers and function symbols. We show that the algorithm has computation time linear in the size of the input trace for the important fragment of bounded-response specifications interpreted over input traces with finite variability. We can use our results to extend signal temporal logic with first-order quantifiers over time and value parameters, while preserving its efficient monitoring. We finally demonstrate the practical appeal of our logic through a case study in the microelectronics domain.

[1]  Sanjit A. Seshia,et al.  Mining Requirements From Closed-Loop Control Models , 2015, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[2]  Rüdiger Loos,et al.  Applying Linear Quantifier Elimination , 1993, Comput. J..

[3]  George E. Collins,et al.  Quantifier elimination for real closed fields by cylindrical algebraic decomposition , 1975 .

[4]  Thomas A. Henzinger,et al.  The benefits of relaxing punctuality , 1991, PODC '91.

[5]  Georgios E. Fainekos,et al.  Querying Parametric Temporal Logic Properties on Embedded Systems , 2012, ICTSS.

[6]  Fred Kröger,et al.  Temporal Logic of Programs , 1987, EATCS Monographs on Theoretical Computer Science.

[7]  Oded Maler,et al.  Robust Satisfaction of Temporal Logic over Real-Valued Signals , 2010, FORMATS.

[8]  Thomas Ferrère,et al.  Efficient Robust Monitoring for STL , 2013, CAV.

[9]  Thomas A. Henzinger,et al.  A really temporal logic , 1994, JACM.

[10]  Dejan Nickovic,et al.  Parametric Identification of Temporal Properties , 2011, RV.

[11]  Paul Caspi,et al.  Timed regular expressions , 2002, JACM.

[12]  Dogan Ulus,et al.  Timed Pattern Matching , 2014, FORMATS.

[13]  Dejan Nickovic,et al.  Monitoring Temporal Properties of Continuous Signals , 2004, FORMATS/FTRTFT.

[14]  Dejan Nickovic,et al.  Trace Diagnostics Using Temporal Implicants , 2015, ATVA.

[15]  Roberto Bagnara,et al.  Not necessarily closed convex polyhedra and the double description method , 2005, Formal Aspects of Computing.

[16]  Lubos Brim,et al.  STL⁎: Extending signal temporal logic with signal-value freezing operator , 2014, Inf. Comput..

[17]  Dogan Ulus,et al.  On the Quantitative Semantics of Regular Expressions over Real-Valued Signals , 2017, FORMATS.

[18]  Manolis Koubarakis,et al.  Complexity Results for First-Order Theories of Temporal Constraints , 1994, KR.

[19]  Thomas Ferrère,et al.  Efficient Parametric Identification for STL , 2018, HSCC.

[20]  Ezio Bartocci,et al.  Data-Driven Statistical Learning of Temporal Logic Properties , 2014, FORMATS.

[21]  Dejan Nickovic,et al.  Specification-Based Monitoring of Cyber-Physical Systems: A Survey on Theory, Tools and Applications , 2018, Lectures on Runtime Verification.

[22]  David Monniaux A Quantifier Elimination Algorithm for Linear Real Arithmetic , 2008, LPAR.

[23]  M. Fischer,et al.  SUPER-EXPONENTIAL COMPLEXITY OF PRESBURGER ARITHMETIC , 1974 .

[24]  Ron Koymans,et al.  Specifying real-time properties with metric temporal logic , 1990, Real-Time Systems.

[25]  Calin Belta,et al.  Temporal Logics for Learning and Detection of Anomalous Behavior , 2017, IEEE Transactions on Automatic Control.

[26]  Jeanne Ferrante,et al.  A Decision Procedure for the First Order Theory of Real Addition with Order , 1975, SIAM J. Comput..

[27]  Ursula Dresdner,et al.  Computation Finite And Infinite Machines , 2016 .

[28]  George J. Pappas,et al.  Robustness of temporal logic specifications for continuous-time signals , 2009, Theor. Comput. Sci..