Formal analysis of the continuous dynamics of cyber-physical systems using theorem proving

Abstract Transform methods, such as the Laplace and the Fourier transforms, are widely used for analyzing the continuous dynamics of the physical components of Cyber–physical Systems (CPS). Traditionally, the transform methods based analysis of CPS is conducted using paper-and-pencil proof methods, computer-based simulations or computer algebra systems. However, all these methods cannot capture the continuous aspects of physical systems in their true form and thus unable to provide a complete analysis, which poses a serious threat to the safety of CPS. To overcome these limitations, we propose to use higher-order-logic theorem proving to reason about the dynamical behavior of CPS, based on the Laplace and the Fourier transforms, which ensures the absolute accuracy of this analysis. For this purpose, this paper presents a higher-order-logic formalization of the Laplace and the Fourier transforms, including the verification of their classical properties and uniqueness. This formalization plays a vital role in formally verifying the solutions of differential equations in both the time and the frequency domain and thus facilitates formal dynamical analysis of CPS. For illustration, we formally analyze an industrial robot and an equalizer using the HOL Light  theorem prover.

[1]  J. Schiff The Laplace Transform: Theory and Applications , 1999 .

[2]  Osman Hasan,et al.  On the Formalization of Fourier Transform in Higher-order Logic , 2016, ITP.

[3]  Osman Hasan,et al.  Formalization of Transform Methods Using HOL Light , 2017, CICM.

[4]  André Platzer,et al.  European Train Control System: A Case Study in Formal Verification , 2009, ICFEM.

[5]  Bruce M. McMillin,et al.  Model-Checking BNDC Properties in Cyber-Physical Systems , 2009, 2009 33rd Annual IEEE International Computer Software and Applications Conference.

[6]  R. Bracewell The Fourier Transform and Its Applications , 1966 .

[7]  Edmund M. Clarke,et al.  Formal Verification of Curved Flight Collision Avoidance Maneuvers: A Case Study , 2009, FM.

[8]  C. Swartz,et al.  Introduction to Gauge Integrals , 2001 .

[9]  A. M. Cohen Numerical Methods for Laplace Transform Inversion , 2007 .

[10]  Edmund M. Clarke,et al.  Computing differential invariants of hybrid systems as fixedpoints , 2008, Formal Methods Syst. Des..

[11]  André Platzer,et al.  Differential Dynamic Logic for Verifying Parametric Hybrid Systems , 2007, TABLEAUX.

[12]  Giancarlo Succi,et al.  Authentication in cloud-driven IoT-based big data environment: Survey and outlook , 2019, J. Syst. Archit..

[13]  Fa-Long Luo,et al.  Signal processing for 5G : algorithms and implementations , 2016 .

[14]  Jean-Baptiste Jeannin,et al.  Formal verification of ACAS X, an industrial airborne collision avoidance system , 2015, 2015 International Conference on Embedded Software (EMSOFT).

[15]  André Platzer,et al.  On Provably Safe Obstacle Avoidance for Autonomous Robotic Ground Vehicles , 2013, Robotics: Science and Systems.

[16]  Osman Hasan,et al.  Towards Probabilistic Formal Modeling of Robotic Cell Injection Systems , 2017, MARS@ETAPS.

[17]  J. Y. S. Luh,et al.  An anatomy of industrial robots and their controls , 1983 .

[18]  Donald J. Newman,et al.  Fourier Uniqueness Via Complex Variables , 1974 .

[19]  Umair Siddique,et al.  On the Formalization of Z-Transform in HOL , 2014, ITP.

[20]  Gang Chen,et al.  Formalization of Laplace Transform in Coq , 2017, 2017 International Conference on Dependable Systems and Their Applications (DSA).

[21]  Jie Zhang,et al.  The Formalization of Discrete Fourier Transform in HOL , 2015 .

[22]  Antonio J. Durán Guardeño,et al.  Misfortunes of a mathematicians' trio using Computer Algebra Systems: Can we trust? , 2013, ArXiv.

[23]  Andrea Domenici,et al.  A PVS-Simulink Integrated Environment for Model-Based Analysis of Cyber-Physical Systems , 2018, IEEE Transactions on Software Engineering.

[24]  Osman Hasan,et al.  Formal Verification of Cyber-Physical Systems: Coping with Continuous Elements , 2013, ICCSA.

[25]  Umair Siddique,et al.  Formal Verification of Platoon Control Strategies , 2018, SEFM.

[26]  Osman Hasan,et al.  Formal Analysis of Continuous-time Systems using Fourier Transform , 2019, J. Symb. Comput..

[27]  Xin Chen,et al.  Toward online hybrid systems model checking of cyber-physical systems' time-bounded short-run behavior , 2011, SIGBED.

[28]  S. Lang Complex Analysis , 1977 .

[29]  Howard J. Wilcox,et al.  An Introduction to Lebesgue Integration and Fourier Series , 1978 .

[30]  J. Yeh,et al.  Real Analysis: Theory of Measure and Integration , 2006 .

[31]  J. Y. S. Luh,et al.  Conventional controller design for industrial robots — A tutorial , 1983, IEEE Transactions on Systems, Man, and Cybernetics.

[32]  John Harrison,et al.  The HOL Light Theory of Euclidean Space , 2012, Journal of Automated Reasoning.

[33]  R. Beerends,et al.  Fourier and Laplace Transforms: Contents , 2003 .

[34]  Edmund M. Clarke,et al.  Statistical Model Checking for Cyber-Physical Systems , 2011, ATVA.

[35]  Constantine H. Houpis,et al.  Linear Control System Analysis and Design with MATLAB , 2013 .

[36]  Insup Lee,et al.  Cyber-physical systems: The next computing revolution , 2010, Design Automation Conference.

[37]  Stefan Hauck-Stattelmann,et al.  Container-based architecture for flexible industrial control applications , 2018, J. Syst. Archit..

[38]  André Platzer,et al.  Towards Formal Verification of Freeway Traffic Control , 2012, 2012 IEEE/ACM Third International Conference on Cyber-Physical Systems.

[39]  B. Fine,et al.  The Fundamental Theorem of Algebra , 1997 .

[40]  Osman Hasan,et al.  Formalization of Laplace Transform Using the Multivariable Calculus Theory of HOL-Light , 2013, LPAR.

[41]  Christel Baier,et al.  Principles of model checking , 2008 .

[42]  Osman Hasan,et al.  Formal Analysis of Linear Control Systems Using Theorem Proving , 2017, ICFEM.

[43]  Yi Wang,et al.  Formalization of continuous Fourier transform in verifying applications for dependable cyber-physical systems , 2020, J. Syst. Archit..

[44]  André Platzer,et al.  Adaptive Cruise Control: Hybrid, Distributed, and Now Formally Verified , 2011, FM.

[45]  Max Born,et al.  Principles of optics - electromagnetic theory of propagation, interference and diffraction of light (7. ed.) , 1999 .

[46]  Osman Hasan,et al.  Formally Verifying Transfer Functions of Linear Analog Circuits , 2017, IEEE Design & Test.

[47]  Sofiène Tahar,et al.  Formal Verification Methods , 2015 .

[48]  John Harrison,et al.  Handbook of Practical Logic and Automated Reasoning , 2009 .