Skip to main content

Affine Systems of ODEs in Isabelle/HOL for Hybrid-Program Verification

  • Conference paper
  • First Online:
Software Engineering and Formal Methods (SEFM 2020)

Abstract

We formalise mathematical components for solving affine and linear systems of ordinary differential equations in Isabelle/HOL. The formalisation integrates the theory stacks of linear algebra and analysis and substantially adds content to both of them. It also serves to improve extant verification components for hybrid systems by increasing proof automation, removing certification procedures, and decreasing the number of proof obligations. We showcase these advantages through examples.

This work was funded by CONACYT’s scholarship no. 440404.

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 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.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

References

  1. Althoff, M., et al.: ARCH-COMP19 category report: continuous and hybrid systems with linear continuous dynamics. In: ARCH19, pp. 14–40 (2019)

    Google Scholar 

  2. Alur, R.: Formal verification of hybrid systems. In: EMSOFT 2011, pp. 273–278. ACM (2011)

    Google Scholar 

  3. Armstrong, A., Gomes, V.B.F., Struth, G.: Building program construction and verification tools from algebraic principles. Form. Asp. Comput. 28(2), 265–293 (2015). https://doi.org/10.1007/s00165-015-0343-1

    Article  MathSciNet  MATH  Google Scholar 

  4. Desharnais, J., Möller, B., Struth, G.: Algebraic notions of termination. Log. Methods Comput. Sci. 7(1) (2011)

    Google Scholar 

  5. Divasón, J., Aransay, J.: Gauss-Jordan algorithm and its applications. Archive of Formal Proofs (2014)

    Google Scholar 

  6. Divasón, J., Kunc̆ar, O., Thiemann, R., Yamada, A.: Perron-Frobenius theorem for spectral radius analysis. Archive of Formal Proofs (2016)

    Google Scholar 

  7. Foster, S., Huerta y Munive, J.J., Struth, G.: Differential hoare logics and refinement calculi for hybrid systems with Isabelle/HOL. In: Fahrenberg, U., Jipsen, P., Winter, M. (eds.) RAMiCS 2020. LNCS, vol. 12062, pp. 169–186. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-43520-2_11

    Chapter  Google Scholar 

  8. Friedland, B., Director, S.W.: Control Systems Design: An Introduction to State-Space Methods. McGraw-Hill Higher Education, New York (1985)

    Google Scholar 

  9. Gomes, V.B.F., Struth, G.: Modal Kleene algebra applied to program correctness. In: Fitzgerald, J., Heitmeyer, C., Gnesi, S., Philippou, A. (eds.) FM 2016. LNCS, vol. 9995, pp. 310–325. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-48989-6_19

    Chapter  Google Scholar 

  10. Hirsch, M.W., Smale, S., Devaney, R.L.: Differential Equations, Dynamical Systems, and Linear Algebra. Academic Press, Cambridge (1974)

    MATH  Google Scholar 

  11. Immler, F.: Formally verified computation of enclosures of solutions of ordinary differential equations. In: Badger, J.M., Rozier, K.Y. (eds.) NFM 2014. LNCS, vol. 8430, pp. 113–127. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-06200-6_9

    Chapter  Google Scholar 

  12. Immler, F., Hölzl, J.: Numerical analysis of ordinary differential equations in Isabelle/HOL. In: Beringer, L., Felty, A. (eds.) ITP 2012. LNCS, vol. 7406, pp. 377–392. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-32347-8_26

    Chapter  Google Scholar 

  13. Immler, F., Hölzl, J.: Ordinary differential equations. Archive of Formal Proofs (2012). https://www.isa-afp.org/entries/Ordinary_Differential_Equations.shtml

  14. 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

    Article  Google Scholar 

  15. Kozen, D.: Kleene algebra with tests. ACM TOPLAS 19(3), 427–443 (1997)

    Article  MathSciNet  Google Scholar 

  16. Loos, S.M., Platzer, A., Nistor, L.: Adaptive cruise control: hybrid, distributed, and now formally verified. In: Butler, M., Schulte, W. (eds.) FM 2011. LNCS, vol. 6664, pp. 42–56. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-21437-0_6

    Chapter  Google Scholar 

  17. Huerta y Munive, J.J.: Verification components for hybrid systems. Archive of Formal Proofs (2019). https://www.isa-afp.org/entries/Hybrid_Systems_VCs.html

  18. Huerta y Munive, J.J.: Matrices for odes. Archive of Formal Proofs (2020). https://www.isa-afp.org/entries/Matrices_for_ODEs.html

  19. Huerta y Munive, J.J., Struth, G.: Predicate transformer semantics for hybrid systems: verification components for Isabelle/HOL (2019). arXiv:1909.05618

  20. Huerta y Munive, J.J., Struth, G.: Verifying hybrid systems with modal Kleene algebra. In: Desharnais, J., Guttmann, W., Joosten, S. (eds.) RAMiCS 2018. LNCS, vol. 11194, pp. 225–243. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-02149-8_14

    Chapter  Google Scholar 

  21. Platzer, A.: Virtual Substitution & Real Arithmetic. Logical Foundations of Cyber-Physical Systems, pp. 607–628. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-63588-0_21

    Chapter  MATH  Google Scholar 

  22. Teschl, G.: Ordinary Differential Equations and Dynamical Systems. AMS, Premstätten (2012)

    Book  Google Scholar 

  23. Thiemann, R., Yamada, A.: Matrices, Jordan normal forms, and spectral radius theory. Archive of Formal Proofs (2015)

    Google Scholar 

Download references

Acknowledgements

The author wishes to thank the reviewers for their insightful comments. He also thanks Georg Struth, Harsh Beohar, Rayna Dimitrova, Kirill Bogdanov and Michael Foster for discussions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jonathan Julián Huerta y Munive .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Huerta y Munive, J.J. (2020). Affine Systems of ODEs in Isabelle/HOL for Hybrid-Program Verification. In: de Boer, F., Cerone, A. (eds) Software Engineering and Formal Methods. SEFM 2020. Lecture Notes in Computer Science(), vol 12310. Springer, Cham. https://doi.org/10.1007/978-3-030-58768-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-58768-0_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-58767-3

  • Online ISBN: 978-3-030-58768-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics