Skip to main content

Refinements of Hybrid Dynamical Systems Logic

  • Conference paper
  • First Online:
Rigorous State-Based Methods (ABZ 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14010))

Included in the following conference series:

  • 315 Accesses

Abstract

Hybrid dynamical systems describe the mixed discrete dynamics and continuous dynamics of cyber-physical systems such as aircraft, cars, trains, and robots. To justify correctness of their safety-critical controls for their physical models, differential dynamic logic (\(\textsf {dL}\)) provides deductive specification and verification techniques implemented in the theorem prover KeYmaera X. The logic \(\textsf {dL}\) is useful for proving, e.g., that all runs of a hybrid dynamical system are safe (\([{\alpha }]\varphi \)), or that there is a run of the hybrid dynamical system ultimately reaching the desired goal (\(\langle {\alpha }\rangle {\varphi }\)). Combinations of \(\textsf {dL}\)’s operators naturally represent safety, liveness, stability and other properties. Variations of \(\textsf {dL}\) serve additional purposes. Differential refinement logic (dRL) adds an operator \(\alpha \le \beta \) expressing that hybrid system \(\alpha \) refines hybrid system \(\beta \), which is useful, e.g., for relating concrete system implementations to their abstract verification models. Just like \(\textsf {dL}\), dRL is a logic closed under all operators, which opens up systematic ways of simultaneously relating systems and their properties, of reducing system properties to system relations or, vice versa, reducing system relations to system properties. Differential game logic (dGL) adds the ability of referring to winning strategies of players in hybrid games, which is useful for establishing correctness properties of systems where the actions of different agents may interfere. \(\textsf {dL}\) and its variations have been used in KeYmaera X for verifying ground robot obstacle avoidance, the Next-Generation Airborne Collision Avoidance System ACAS X, and the kinematics of train control in the Federal Railroad Administration model with track terrain influence and air pressure brake propagation.

This material is supported by the Alexander von Humboldt Foundation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    KeYmaera X is available as open-source at http://keymaeraX.org/.

  2. 2.

    The KeYmaera X prover inherits its name from its predecessor KeYmaera [48] which was based on the KeY prover [2] and explains the spelling. KeYmaera is a homophone to Chimaera, the hybrid animal from ancient Greek mythology, which is a hybrid mixture of multiple animals just like KeYmaera is a prover mixing discrete and continuous mathematics and multiple theorem proving techniques.

References

  1. Abate, A., Tiwari, A., Sastry, S.: Box invariance in biologically-inspired dynamical systems. Automatica (2009)

    Google Scholar 

  2. Ahrendt, W., et al.: The KeY tool. Softw. Syst. Model. 4(1), 32–54 (2005). https://doi.org/10.1007/s10270-004-0058-x

    Article  Google Scholar 

  3. Alur, R.: Principles of Cyber-Physical Systems. MIT Press, Cambridge (2015)

    Google Scholar 

  4. Asarin, E., Dang, T., Maler, O.: Verification and Synthesis of Hybrid Systems. In: Control Engineering. Birkhäuser, Basel (2006)

    Google Scholar 

  5. Bohrer, B., Platzer, A.: A hybrid, dynamic logic for hybrid-dynamic information flow. In: Dawar and Grädel [16], pp. 115–124. https://doi.org/10.1145/3209108.3209151

  6. Bohrer, B., Platzer, A.: Constructive hybrid games. In: Peltier, N., Sofronie-Stokkermans, V. (eds.) IJCAR 2020. LNCS (LNAI), vol. 12166, pp. 454–473. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51074-9_26

    Chapter  Google Scholar 

  7. Bohrer, B., Platzer, A.: Refining constructive hybrid games. In: Ariola, Z.M. (ed.) 5th International Conference on Formal Structures for Computation and Deduction, FSCD 2020, June 29-July 6, 2020, Paris, France. LIPIcs, vol. 167, pp. 14.1-14.19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020). https://doi.org/10.4230/LIPIcs.FSCD.2020.14

  8. Bohrer, B., Platzer, A.: Structured proofs for adversarial cyber-physical systems. ACM Trans. Embed. Comput. Syst. 20(5s), 1–26 (2021). https://doi.org/10.1145/3477024. special issue on EMSOFT 2021

  9. Bohrer, B., Rahli, V., Vukotic, I., Völp, M., Platzer, A.: Formally verified differential dynamic logic. In: Bertot, Y., Vafeiadis, V. (eds.) Certified Programs and Proofs - 6th ACM SIGPLAN Conference, CPP 2017, January 16–17 2017, Paris, France, pp. 208–221. ACM, New York (2017). https://doi.org/10.1145/3018610.3018616

  10. Bohrer, B., Tan, Y.K., Mitsch, S., Myreen, M.O., Platzer, A.: VeriPhy: verified controller executables from verified cyber-physical system models. In: Grossman, D. (ed.) Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2018, pp. 617–630. ACM (2018). https://doi.org/10.1145/3192366.3192406

  11. Bohrer, R.: Practical End-to-End Verification of Cyber-Physical Systems. Ph.D. thesis, Computer Science Department, School of Computer Science, Carnegie Mellon University (2021)

    Google Scholar 

  12. Bohrer, R.: Chemical case studies in KeYmaera X. In: Groote, J.F., Huisman, M. (eds.) Formal Methods for Industrial Critical Systems - 27th International Conference, FMICS 2022, LNCS, 14–15 September 2022, Warsaw, Poland, vol. 13487, pp. 103–120. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-15008-1_8

  13. Branicky, M.S.: Studies in Hybrid Systems: Modeling, Analysis, and Control. Ph.D. thesis, Dept. Elec. Eng. and Computer Sci., Massachusetts Inst. Technol., Cambridge, MA (1995)

    Google Scholar 

  14. Christofides, P.D., El-Farra, N.H.: Control of Nonlinear and Hybrid Process Systems: Designs for Uncertainty, Constraints and Time-Delays. Lecture Notes in Control and Information Sciences. Springer, Cham (2005). https://doi.org/10.1007/b105110

  15. Cleaveland, R., Mitsch, S., Platzer, A.: Formally verified next-generation airborne collision avoidance games in ACAS X. ACM Trans. Embed. Comput. Syst. 22(1), 1–30 (2023). https://doi.org/10.1145/3544970

    Article  Google Scholar 

  16. Dawar, A., Grädel, E. (eds.): Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science. ACM, New York (2018)

    Google Scholar 

  17. Fulton, N., Mitsch, S., Bohrer, B., Platzer, A.: Bellerophon: tactical theorem proving for hybrid systems. In: Ayala-Rincón, M., Muñoz, C.A. (eds.) ITP 2017. LNCS, vol. 10499, pp. 207–224. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66107-0_14

    Chapter  MATH  Google Scholar 

  18. Fulton, N., Mitsch, S., Quesel, J.-D., Völp, M., Platzer, A.: KeYmaera X: an axiomatic tactical theorem prover for hybrid systems. In: Felty, A.P., Middeldorp, A. (eds.) CADE 2015. LNCS (LNAI), vol. 9195, pp. 527–538. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21401-6_36

    Chapter  Google Scholar 

  19. Grosu, R., et al.: From cardiac cells to genetic regulatory networks. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 396–411. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22110-1_31

    Chapter  Google Scholar 

  20. Henzinger, T.A., Kopke, P.W., Puri, A., Varaiya, P.: What’s decidable about hybrid automata? J. Comput. Syst. Sci. 57(1), 94–124 (1998). https://doi.org/10.1006/jcss.1998.1581

    Article  MathSciNet  MATH  Google Scholar 

  21. Jeannin, J., et al.: A formally verified hybrid system for safe advisories in the next-generation airborne collision avoidance system. STTT 19(6), 717–741 (2017). https://doi.org/10.1007/s10009-016-0434-1

  22. Kabra, A., Mitsch, S., Platzer, A.: Verified train controllers for the federal railroad administration train kinematics model: balancing competing brake and track forces. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 41(11), 4409–4420 (2022). https://doi.org/10.1109/TCAD.2022.3197690

  23. Kosaian, K., Tan, Y.K., Platzer, A.: A first complete algorithm for real quantifier elimination in Isabelle/HOL. In: Pientka, B., Zdancewic, S. (eds.) Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs, pp. 211–224. ACM, New York (2023). https://doi.org/10.1145/3573105.3575672

  24. Lee, E.A., Seshia, S.A.: Introduction to Embedded Systems - A Cyber-Physical Systems Approach. Lulu.com, Morrisville (2013)

    MATH  Google Scholar 

  25. Liberzon, D.: Switching in Systems and Control. Systems and Control: Foundations and Applications. Birkhäuser, Boston (2003)

    Google Scholar 

  26. Logic in Computer Science (LICS), 2012 27th Annual IEEE Symposium on. IEEE, Los Alamitos (2012)

    Google Scholar 

  27. Loos, S.M.: Differential Refinement Logic. Ph.D. thesis, Computer Science Department, School of Computer Science, Carnegie Mellon University (2016)

    Google Scholar 

  28. Loos, S.M., Platzer, A.: Differential refinement logic. In: Grohe, M., Koskinen, E., Shankar, N. (eds.) LICS, pp. 505–514. ACM, New York (2016). https://doi.org/10.1145/2933575.2934555

  29. Lunze, J., Lamnabhi-Lagarrigue, F.: Handbook of Hybrid Systems Control: Theory, Tools, Applications. Cambridge University Press, Cambridge (2009). https://doi.org/10.1017/CBO9780511807930

    Book  MATH  Google Scholar 

  30. Mitra, S.: Verifying Cyber-Physical Systems: A Path to Safe Autonomy. MIT Press, Cambridge (2021)

    Google Scholar 

  31. Mitsch, S., Ghorbal, K., Vogelbacher, D., Platzer, A.: Formal verification of obstacle avoidance and navigation of ground robots. Int. J. Robot. Res. 36(12), 1312–1340 (2017). https://doi.org/10.1177/0278364917733549

    Article  Google Scholar 

  32. Mitsch, S., Platzer, A.: ModelPlex: Verified runtime validation of verified cyber-physical system models. Form. Methods Syst. Des. 49(1-2), 33–74 (2016). https://doi.org/10.1007/s10703-016-0241-z. special issue of selected papers from RV’14

  33. Mitsch, S., Platzer, A.: A retrospective on developing hybrid system provers in the KeYmaera family. In: Ahrendt, W., Beckert, B., Bubel, R., Hähnle, R., Ulbrich, M. (eds.) Deductive Software Verification: Future Perspectives. LNCS, vol. 12345, pp. 21–64. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-64354-6_2

    Chapter  Google Scholar 

  34. Nerode, A.: Logic and control. In: Cooper, S.B., Löwe, B., Sorbi, A. (eds.) CiE 2007. LNCS, vol. 4497, pp. 585–597. Springer, Berlin (2007). https://doi.org/10.1007/978-3-540-73001-9_61

    Chapter  MATH  Google Scholar 

  35. Nerode, A., Kohn, W.: Models for hybrid systems: automata, topologies, controllability, observability. In: Grossman, R.L., Nerode, A., Ravn, A.P., Rischel, H. (eds.) Hybrid Systems. LNCS, vol. 736, pp. 317–356. Springer, Berlin (1992). https://doi.org/10.1007/3-540-57318-6_35

    Chapter  Google Scholar 

  36. Platzer, A.: Differential dynamic logic for hybrid systems. J. Autom. Reas. 41(2), 143–189 (2008). https://doi.org/10.1007/s10817-008-9103-8

    Article  MathSciNet  MATH  Google Scholar 

  37. Platzer, A.: Differential Dynamic Logics: Automated Theorem Proving for Hybrid Systems. Ph.D. thesis, Department of Computing Science, University of Oldenburg (2008)

    Google Scholar 

  38. Platzer, A.: Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-14509-4

    Book  MATH  Google Scholar 

  39. Platzer, A.: Stochastic differential dynamic logic for stochastic hybrid programs. In: Bjørner, N., Sofronie-Stokkermans, V. (eds.) CADE 2011. LNCS (LNAI), vol. 6803, pp. 446–460. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22438-6_34

    Chapter  Google Scholar 

  40. Platzer, A.: A complete axiomatization of quantified differential dynamic logic for distributed hybrid systems. Log. Meth. Comput. Sci. 8(4:17), 1–44 (2012). https://doi.org/10.2168/LMCS-8(4:17)2012. special issue for selected papers from CSL’10

  41. Platzer, A.: The complete proof theory of hybrid systems. In: LICS [26], pp. 541–550. https://doi.org/10.1109/LICS.2012.64

  42. Platzer, A.: Logics of dynamical systems. In: LICS [26], pp. 13–24. https://doi.org/10.1109/LICS.2012.13

  43. Platzer, A.: Differential game logic. ACM Trans. Comput. Log. 17(1), 1–51 (2015). https://doi.org/10.1145/2817824

  44. Platzer, A.: Logic & proofs for cyber-physical systems. In: Olivetti, N., Tiwari, A. (eds.) IJCAR 2016. LNCS (LNAI), vol. 9706, pp. 15–21. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-40229-1_3

    Chapter  Google Scholar 

  45. Platzer, A.: A complete uniform substitution calculus for differential dynamic logic. J. Autom. Reason. 59(2), 219–265 (2017). https://doi.org/10.1007/s10817-016-9385-1

    Article  MathSciNet  MATH  Google Scholar 

  46. Platzer, A.: Differential hybrid games. ACM Trans. Comput. Log. 18(3), 1–44 (2017). https://doi.org/10.1145/3091123

  47. Platzer, A.: Logical Foundations of Cyber-Physical Systems. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-63588-0

    Book  MATH  Google Scholar 

  48. Platzer, A., Quesel, J.-D.: KeYmaera: a hybrid theorem prover for hybrid systems (system description). In: Armando, A., Baumgartner, P., Dowek, G. (eds.) IJCAR 2008. LNCS (LNAI), vol. 5195, pp. 171–178. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-71070-7_15

    Chapter  Google Scholar 

  49. Platzer, A., Quesel, J.-D.: European train control system: a case study in formal verification. In: Breitman, K., Cavalcanti, A. (eds.) ICFEM 2009. LNCS, vol. 5885, pp. 246–265. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-10373-5_13

    Chapter  Google Scholar 

  50. Platzer, A., Quesel, J.-D., Rümmer, P.: Real world verification. In: Schmidt, R.A. (ed.) CADE 2009. LNCS (LNAI), vol. 5663, pp. 485–501. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-02959-2_35

    Chapter  Google Scholar 

  51. Platzer, A., Tan, Y.K.: Differential equation axiomatization: the impressive power of differential ghosts. In: Dawar and Grädel [16], pp. 819–828. https://doi.org/10.1145/3209108.3209147

  52. Platzer, A., Tan, Y.K.: Differential equation invariance axiomatization. J. ACM 67(1), 1–66 (2020). https://doi.org/10.1145/3380825

  53. van der Schaft, A.J., Schumacher, H.: An Introduction to Hybrid Dynamical Systems, Lecture Notes in Control and Information Sciences, vol. 251. Springer, Cham (1999). https://doi.org/10.1007/BFb0109998

  54. Scharager, M., Cordwell, K., Mitsch, S., Platzer, A.: Verified quadratic virtual substitution for real arithmetic. In: Huisman, M., Păsăreanu, C., Zhan, N. (eds.) FM 2021. LNCS, vol. 13047, pp. 200–217. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-90870-6_11

    Chapter  Google Scholar 

  55. Tabuada, P.: Verification and Control of Hybrid Systems: A Symbolic Approach. Springer, Berlin (2009). https://doi.org/10.1007/978-1-4419-0224-5

    Book  MATH  Google Scholar 

  56. Tan, Y.K., Mitsch, S., Platzer, A.: Verifying switched system stability with logic. In: Bartocci, E., Putot, S. (eds.) Hybrid Systems: Computation and Control (part of CPS Week 2022), HSCC2022. ACM (2022). https://doi.org/10.1145/3501710.3519541

  57. Tan, Y.K., Platzer, A.: An axiomatic approach to existence and liveness for differential equations. Form. Aspects Comput. (2), 461–518 (2021). https://doi.org/10.1007/s00165-020-00525-0

  58. Tan, Y.K., Platzer, A.: Deductive Stability Proofs for Ordinary Differential Equations. In: TACAS 2021. LNCS, vol. 12652, pp. 181–199. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-72013-1_10

    Chapter  MATH  Google Scholar 

  59. Tan, Y.K., Platzer, A.: Switched systems as hybrid programs. In: Jungers, R.M., Ozay, N., Abate, A. (eds.) 7th IFAC Conference on Analysis and Design of Hybrid Systems, IFAC-PapersOnLine, ADHS 2021, Brussels, Belgium, 7–9 July 2021, vol. 54, pp. 247–252. Elsevier (2021). https://doi.org/10.1016/j.ifacol.2021.08.506

Download references

Acknowledgment

I am much indebted to Katherine Kosaian, Jonathan Laurent, Noah Abou El Wafa, and Dominique Méry for their valuable feedback.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to André Platzer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Platzer, A. (2023). Refinements of Hybrid Dynamical Systems Logic. In: Glässer, U., Creissac Campos, J., Méry, D., Palanque, P. (eds) Rigorous State-Based Methods. ABZ 2023. Lecture Notes in Computer Science, vol 14010. Springer, Cham. https://doi.org/10.1007/978-3-031-33163-3_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-33163-3_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-33162-6

  • Online ISBN: 978-3-031-33163-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics