Abstract

AbstractThis paper is a tutorial on how to model hybrid systems as hybrid programs in differential dynamic logic and how to prove complex properties about these complex hybrid systems in KeYmaera, an automatic and interactive formal verification tool for hybrid systems. Hybrid systems can model highly nontrivial controllers of physical plants, whose behaviors are often safety critical such as trains, cars, airplanes, or medical devices. Formal methods can help design systems that work correctly. This paper illustrates how KeYmaera can be used to systematically model, validate, and verify hybrid systems. We develop tutorial examples that illustrate challenges arising in many real-world systems. In the context of this tutorial, we identify the impact that modeling decisions have on the suitability of the model for verification purposes. We show how the interactive features of KeYmaera can help users understand their system designs better and prove complex properties for which the automatic prover of KeYmaera still takes an impractical amount of time. We hope this paper is a helpful resource for designers of embedded and cyber–physical systems and that it illustrates how to master common practical challenges in hybrid systems verification.

Highlights

  • These examples are carefully chosen to illustrate common phenomena that occur in practice, while being easier to understand than the full details of our specific case studies1: here, we illustrate hybrid systems and KeYmaera by considering motion in a series of car models

  • In order to model this, in formula (14) we extended the plant from the previous example and prevent the continuous dynamics from evolving beyond what is possible in the real world

  • The specific differential inequality v ≤ ad used in this example models that the effective braking force and the effective acceleration force are subject to disturbance d; the disturbance is negligible when the acceleration or braking force is small, but it grows with increasing force

Read more

Summary

Introduction

Hybrid systems [3, 17, 26] feature both discrete and continuous dynamics, which is important for modeling and understanding systems with computerized or embedded We develop a series of tutorial examples that illustrate how to master increasingly complicated challenges in hybrid systems design and verification These examples are carefully chosen to illustrate common phenomena that occur in practice, while being easier to understand than the full details of our specific case studies: here, we illustrate hybrid systems and KeYmaera by considering motion in a series of car models. We emphasize that KeYmaera is in no way restricted to car dynamics but has been shown to work for more general dynamics, including hybrid systems with nonlinear differential equations, differential inequalities, and differential-algebraic constraints

Hybrid Systems by Example
Hybrid Programs
Proving with KeYmaera
Related Tools
KeYmaera Tutorial
Example 1
Example 2
Example 3
Acceleration Velocity Position Safety Margin
Example 4
Example 5
Example 6
Example 7
Example 8
Example 9
5.10 Example 10
Hybrid Time
Design
Discrete Actions with Nonzero Duration
Disjoint Tests and Evolution Domains
Non-Existence of Systems
Summary and Outlook
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call