Conference PaperPDF Available

Current Challenges in the Verification of Hybrid Systems

Authors:

Abstract and Figures

Latest developments brought interesting theoretical results and powerful tools for the reachability analysis of hybrid systems. However, there are still challenging problems to be solved in order to make those technologies applicable to large-scale applications in industrial context. To support this development, in this paper we give a brief overview of available algorithms and tools, and point out some of their individual characteristics regarding various properties which are crucial for the verification of hybrid systems. We present exemplary evaluations on three benchmarks to motivate the need for further development and discuss some of the main challenges for future research in this area.
Content may be subject to copyright.
Current Challenges in the Verification of
Hybrid Systems?
Stefan Schupp1, Erika ´
Abrah´am1, Xin Chen1, Ibtissem Ben Makhlouf1, Goran
Frehse2, Sriram Sankaranarayanan3, and Stefan Kowalewski1
1RWTH Aachen University, Germany
2Verimag, France
3University of Colorado, Boulder
Abstract. Latest developments brought interesting theoretical results
and powerful tools for the reachability analysis of hybrid systems. How-
ever, there are still challenging problems to be solved in order to make
those technologies applicable to large-scale applications in industrial con-
text. To support this development, in this paper we give a brief overview
of available algorithms and tools, and point out some of their individual
characteristics regarding various properties which are crucial for the ver-
ification of hybrid systems. We present exemplary evaluations on three
benchmarks to motivate the need for further development and discuss
some of the main challenges for future research in this area.
Keywords: Hybrid systems, verification, reachability analysis, tool sup-
port, benchmarks.
1 Introduction
Hybrid systems are systems containing both physical components which evolve
continuously over time, as well as discrete components which can influence the
continuous dynamics. Also cyber-physical systems can be seen as hybrid systems,
where communication between distributed components plays a further important
role.
As hybrid systems are often safety critical, in the last two decades much
effort was put into the development of efficient algorithms and powerful tools to
support their safety analysis. Whereas there is a deep-rooted research for pure
continuous and for pure discrete systems, their hybrid combination requires novel
methodologies and the adaptation, integration and extension of previous results.
Nowadays, a number of analysis tools for hybrid systems are available, such
as Ariadne [13], Cora [1], dReach [26], Flow* [12], HSolver [36], Hy-
Create [25], iSAT-ODE [15], KeYmaera [32] and SpaceEx [20]. These tools
?This work was partially supported by the German Research Council (DFG)
in the context of the HyPro project.The original publication is available at
http://www.springerlink.com
2 Schupp et al.
implement different analysis techniques, leading to individual strength and weak-
nesses. For further development it is crucial to learn from previous results by
evaluating these tools to observe and compare their behaviours, and to identify
common obstacles and open problems. Our aim is to support this development
by
describing current analysis techniques, available tools and their individual
properties,
providing exemplary evaluation of a few tools on some benchmarks, and
discussing general problems related to tool evaluation and comparison, and
collecting some important challenges for future research in this area.
The paper is organised as follows: In Section 2 we provide some background
on hybrid systems, their modelling, and techniques for their reachability analysis.
In Section 3 we give a brief overview of some tools and discuss their individual
properties. On the basis of some evaluations in Section 4, we collect challenges
and open problems for future research in Section 5, and conclude the paper in
Section 6.
2 Hybrid Systems Modelling and Reachability Analysis
Hybrid systems are systems with combined discrete-continuous behaviour. Typ-
ical examples are digitally controlled physical processes, or physical processes
with inherent discrete state changes such as phase transitions.
2.1 Modelling
Besides hybrid Petri nets and hybrid programs, a popular modelling formalism
for hybrid systems are hybrid automata [23, 24]. We give a simplified notion of
hybrid automata, where we neglect components which are only relevant for their
parallel composition.
Definition 1 (Hybrid automata: Syntax [23]). Ahybrid automaton is a
tuple H= (Loc,Var,Flow ,Inv,Edge,Init )consisting of:
A finite set Loc of locations or control modes.
A finite ordered set Var ={x1, . . . , xn}of real-valued variables; we also use
the vector notation x= (x1, . . . , xn). The number nis called the dimension of
H. By ˙
Var we denote the set {˙x1,..., ˙xn}of dotted variables (which represent
first derivatives during continuous change), and by Var 0the set {x0
1, . . . , x0
n}
of primed variables (which represent values directly after a discrete change).
Furthermore, PredXis the set of all predicates with free variables from X.
Flow :Loc Pred Var˙
Var specifies for each location its flow or dynamics.
Inv :Loc Pred Var assigns to each location an invariant.
Edge Loc ×Pred Var ×PredVar Var0×Loc is a finite set of discrete tran-
sitions or jumps. For a jump (l1, g, r, l2)Edge, l1is its source location, l2
is its target location, gspecifies the jump’s guard, and rits reset function,
where primed variables represent the state after the step.
Current Challenges in the Verification of Hybrid Systems 3
l0
˙x=v
˙v=9.81
x0
10 x20 v= 0 x= 0 v < 0
v0=0.75v
Fig. 1. The hybrid automaton modelling a bouncing ball with height xand velocity v.
Init :Loc Pred Var assigns to each location an initial predicate.
Example 1 (Bouncing ball). In the classical bouncing ball example, a ball is
dropped from some initial height with zero initial velocity. Due to gravity, the
ball has an acceleration pointing towards the earth. Therefore the ball falls until
it hits the ground, it bounces back into the air, raises until its velocity gets zero,
and starts to fall again. Upon bouncing, the ball loses a fraction of its kinetic
energy.
An example hybrid automaton model for the bouncing ball is shown graph-
ically in Figure 1. The dynamics of raising and falling is modelled in a single
mode Loc ={l0}using two variables Var ={x, v}, where xmodels the verti-
cal position (height) and vthe vertical velocity of the ball. The flow Flow(l0)
is specified by the predicate ˙x=v˙v=9.81 with the gravitational force
as the only influence on the speed of the ball. The invariant Inv(l0) is x0,
which enforces that the ball bounces when it reaches the ground. This bouncing
is represented by the only jump Edge ={(l0, g, r, l0)}with guard ggiven by
x= 0 v < 0 (that means bouncing only occurs when the ball falls from above
and reaches the ground) and reset rspecified by v0= 0.75v(i.e., the sign of the
velocity gets inverted and the velocity is dampened by a constant factor 0.75).
The initial states are described by Init(l0) = (10 x20 v= 0).
The behaviour of a hybrid automaton can be given by an operational seman-
tics. The states of an n-dimensional hybrid automaton are pairs (l, v), where
lLoc is the current location and vRnspecifies the current values of the
variables. Initial states (l, v) satisfy both the initial and the invariant conditions
of location l. State changes are due to time and discrete steps. A time step models
the passage of time: while control stays in a location, the values of the variables
evolve continuously according to a function which satisfies the flow condition of
the current location. Furthermore, the invariant of the location must not be vi-
olated during the whole time step. Given a set of states, the states which can be
visited from it via time evolution according to the flow in the given location form
aflowpipe. When flows are described by linear predicates (i.e., linear differential
equations) we talk about linear dynamics, in the case of polynomial predicates
about non-linear dynamics.Discrete steps follow a jump, moving the control
from one location to another, given that the jump’s guard is satisfied in the
predecessor state. The successor state, resulting from variable resets satisfying
the reset condition, must satisfy the invariant of the target location.
4 Schupp et al.
Definition 2 (Hybrid automata: Semantics). The one-step semantics of a
hybrid automaton H= (Loc,Var,Flow ,Inv ,Edge,Init)of dimension nis speci-
fied by the following operational semantics rules:
lLoc v,v0Rn
f: [0, δ]Rndf /dt =˙
f: (0, δ)Rnf(0) = vf(δ) = v0
(0, δ). f (),˙
f()|=Flow(l)[0, δ]. f ()|=Inv(l)
(l, v)δ
(l, v0)Rule flow
e= (l, g, r, l0)Edge v,v0Rnv|=gv,v0|=rv0|=Inv(l0)
(l, v)e
(l0,v0)Rule jump
Apath of His a (finite or infinite) sequence (l0,v0)δ0
(l1,v1)e1
(l2,v2)δ2
(l3,v3)e3
(l4,v4)δ4
. . . with (li,vi)states of H,δiR0,eiEdge, and
v0|=Init(l0)Inv(l0). A state (l, v)is reachable in Hif there is a path (l0,v0)δ0
(l1,v1)e1
(l2,v2)δ2
. . . of Hwith (l, v)=(li,vi)for some i0.
2.2 Reachability Analysis
The reachability problem for hybrid automata, i.e. the problem to decide whether
a given set of states is reachable in a hybrid automaton, is in general undecidable.
Nevertheless, there exist subclasses of hybrid automata for which the reachability
problem is decidable. For undecidable classes, tools often compute jump-bounded
reachability (reachability via paths with a limited number of jumps) or time-
and jump-bounded reachability (where additionally the time step lengths are
bounded).
Some of those tools implement flowpipe-construction-based methods, which
over-approximate the flowpipe over a bounded time horizon by dividing the
time horizon into smaller segments (whose length is called the time-step size)
and over-approximating the flowpipe for each time segment by a single state
set. These methods use over-approximative geometric and/or symbolic represen-
tations [27] of state sets, e.g., by boxes (hyper-rectangles), convex polytopes,
zonotopes, ellipsoids, support functions or Taylor models. Given an initial state
set, its flowpipe and its discrete successors are computed using efficient opera-
tions on such state set representations and safe (over-approximative) conversions
between them. User-defined parameters and different techniques for reducing the
number of the state sets and the sizes of their representations (on the cost of
a stronger over-approximation) allow to find a balance between efficiency and
precision of the computations. These techniques have their strength in a high
level of automation and in the possibility to increase efficiency or improve the
precision according to the needs of the user. A weakness lies in the fact that, due
to over-approximative techniques, only safety (non-reachability) can be proven
this way, but not unsafety (reachability).
Some other solutions use satisfiability checking algorithms for the reachability
analysis, which is based on the formulation of the one-step reachability relation as
Current Challenges in the Verification of Hybrid Systems 5
mixed integer-real arithmetic formulas. Fast SAT-modulo-theories (SMT) solvers
can be used if the solutions of the Ordinary Differential Equations (ODEs) in the
models are known (e.g., in the case of constant derivatives). When the solutions
are not known, the underlying theories in the solvers can also be extended to cope
with ODEs. These techniques can efficiently combine a wide range of decision
procedures for expressive theories and can theoretically prove both safety and
unsafety. However, running times are hard to predict and computations might
return inconclusive answers, even for decidable problems, if fast but incomplete
solving techniques (e.g., interval constraint propagation) are used.
Last but not least, some other tools are based on theorem proving with an
embedded theory for hybrid systems. On the one hand, these techniques are very
powerful and can handle (at least in theory) a wide range of models using deduc-
tion. On the other hand, these approaches are interactive and need experienced
users. Predefined and user-defined strategies can be of great help to increase the
level of automation and reduce the need for interaction to a minimal level.
3 Tools
The vast variety of tools for hybrid systems verification makes it impossible to
rate one particular tool above the others. Each tool brings its strengths and
weaknesses, which make it suitable for a certain purpose. Knowing these dif-
ferences allows users to choose the right tool for their problem requirements.
In this section we provide an overview of some of the most popular tools (in
alphabetical order) and describe their main capabilities and features; see Table
1 for a short summary.
Ariadne [13] is a software package implementing functionalities for the
reachability analysis of hybrid systems. The package is based on the theory of
computable analysis and on a rigorous function calculus with provable approx-
imation bounds on the computations. Ariadne can handle expressive models
with non-linear differential equations, where state sets can be represented by
Taylor models or grid pavings. Besides others, interval arithmetic along with
interval solvers and propagation mechanisms are applied in the computations.
The support for parallel composition and assume-guarantee reasoning improve
scalability.
Cora [1] is an object-oriented Matlab toolbox which can be used for the fast
implementation of different reachability analysis algorithms for continuous and
hybrid systems. It implements different state set representation types, conversion
algorithms between them, and operations needed for reachability analysis. Addi-
tionally to well-known representations such as boxes, polytopes and zonotopes, it
provides also non-convex representations (polynomial zonotopes) and represen-
tations dedicated to stochastic verification (probabilistic zonotopes). Cora can
be used for the analysis of systems with linear, linear stochastic and non-linear
dynamics with uncertain parameters, where non-linear systems are abstracted
by linear or polynomial systems.
6 Schupp et al.
Tool
Ariadne non-linear ODEs; Taylor models, boxes; interval constraint propaga-
tion, deduction
Cora non-linear ODEs; geometric state set representations; several reacha-
bility analysis algorithms, linear abstraction
dReach non-linear ODEs; logical state set representation; interval constraint
propagation, δ-reachability, bounded model checking
Flow* non-linear ODEs; Taylor models; flowpipe computation
HSolver non-linear ODEs; logical state set representation; interval constraint
propagation
HyCreate non-linear ODEs; boxes; flowpipe computation
iSAT-ODE non-linear ODEs; logical state set representation; interval constraint
propagation, bounded model checking
KeYmaera differential dynamic logic; logical state set representation; deduction,
computer algebra
SpaceEx linear ODEs; geometric and symbolic state set representations; flow-
pipe computation
Table 1. Some hybrid systems reachability analysis tools and their characteristic func-
tionalities.
dReach [26] is an SMT-based tool performing bounded model checking. Un-
safe system runs of bounded length are described by formulas and passed on to
the internal SMT solver dReal [22], which determines its δ-satisfiability us-
ing interval constraint propagation. Due to the generality of interval constraint
propagation, dReach is able to handle non-linear dynamics involving transcen-
dentals. The user can access the SMT calls in SMT-LIB format [5] as well as a
witness for the reachability of the set of bad states.
Flow* is a tool to compute reachable set over-approximations using Taylor-
model-based methods. It is able to handle an expressive class of hybrid system
models such that the continuous dynamics can be defined by non-linear ODEs
with uncertainties, while the jump guards and mode invariants are defined by
polynomial inequalities. The basic technique in use is called Taylor model flow-
pipe construction which is described in [11] and later enhanced by more efficient
algorithms [10]. By properly setting the parameters, the tool shows a good scala-
bility on non-linear case studies and succeeds even on large initial sets. Since the
tool focuses on non-linear systems, its performance on handling convex guards
or invariants is not optimised.
HSolver [36] implements classical interval constraint propagation on top of
the constraint solving package RSolver. Due to its general solving technique, it
can handle expressive non-linear ODEs and non-linear jumps. Though HSolver
uses floating point arithmetic, it uses sound rounding to assure correct results.
Besides verification purposes, the tool can also be used to compute abstractions.
HyCreate [25] is a tool implemented in Java for both time-bounded and
unbounded (complete) reachability analysis from an initial state. The tool is
Current Challenges in the Verification of Hybrid Systems 7
designed for low-dimensional models with non-linear, non-deterministic dynam-
ics. It uses box representation and provides error reduction by splitting boxes
at the cost of increased complexity. HyCreate allows further processing of the
generated output as well as visualisation via projection on a 2D space.
iSAT-ODE [15] performs, similarly to dReach, bounded model checking. It
is based on the iSAT [17] SMT solver, which tightly integrates interval constraint
propagation into a SAT solver. iSAT-ODE extends iSAT with a theory solver
module for ODEs to compute validated numerical enclosures for them using
the VNODE-LP [31] library. This approach can handle expressive models with
non-linear dynamics and transcendental functions. However, despite different
embedded optimisation mechanisms, this expressiveness comes at the cost of
scalability.
KeYmaera [32] is an interactive hybrid tool combining deductive, real alge-
braic, and computer-algebraic prover technologies. Hybrid systems are specified
in differential dynamic logic [33] using the notation of hybrid programs, cover-
ing non-linear dynamics under uncertainties and non-linear jumps. KeYmaera
tries to prove properties of a given system by finding invariants. On the one
hand, this approach is automated but it is still inherently interactive. On the
other hand it is flexible, can cope also with infinite time horizons and paramet-
ric models, and can provide verified counterexamples. A new re-implementation
KeYmaera X [21] is in its early development phase and it can therefore handle
only a restricted model class, but it additionally allows the user to define their
own proof search techniques as tactics.
SpaceEx [20] is designed for complex, high-dimensional models with piece-
wise affine dynamics and non-deterministic inputs. SpaceEx comes with a web-
based graphical user interface and a graphical model editor. Its input language
facilitates the construction of complex models from automata components using
a block-diagram representation. The analysis engine of SpaceEx offers differ-
ent algorithms (LGG [20, 28], STC [18, 19]) which combine geometric state set
representations (template polyhedra), symbolic state set representations (sup-
port functions) and linear programming to achieve maximal scalability while
maintaining high accuracy. The prime goal of SpaceEx being scalability, it uses
floating-point computations that do not formally guarantee soundness.
4 Benchmarking and Evaluation
Although there are many tools available, their comparative evaluation is prob-
lematic. First of all, they do not support the same model classes. The main
differences concern the type of the supported ODEs. Though theoretically un-
spectacular, some tools cannot handle jumps with guard predicate true, or un-
specified (arbitrary) dynamics. Even if the user identified those tools which can
handle a given model class, it is hard to compare their performance: as each
algorithm brings its own set of parameters, it requires expertise and knowledge
about implementation details to properly instantiate the tool parameters to get
optimal results.
8 Schupp et al.
Fig. 2. SpaceEx/STC (left) and Flow* (right) results for the two-tanks benchmark.
Other obstacles are the relatively low number of available benchmarks and
missing input language standards. In some other communities, e.g. in SAT and
SMT solving or in software verification, the development of such standards and
the organisation of annual competitions gave impressive force and led to a new
sequence of innovations in the given areas. A standardised specification language
for hybrid system models could have a similar positive effect. Currently, the
number of available benchmarks is not satisfactory, even though lately some
improvements were achieved [2,8,16]. The situation is worsened by the fact that
nearly each tool has its own input specification language. To solve this problem,
aCIF 3 standard was proposed [6], however, it is not yet widely established
in the community. Furthermore, some approaches for model conversion were
proposed in [4]. A standardisation could drastically improve the situation, enable
the establishment of a competition, give new drive to tool development and thus
contribute to stronger tool functionalities and better efficiency, and ease the
selection of a suitable tool.
To give an impression for the analysis capabilities of available tools and to
motivate some challenges, in the following we give some exemplary verification
results, where we focus on limitations.
Two tanks [8,29]: A two-tank system consists of two connected tanks. The first
is filled with a constant inflow and an additional controlled inflow of a liquid.
A drain at the bottom of the first tank leads to a constant outflow and thus a
constant inflow in the second tank. Conversely, the second tank has a drain which
creates a constant outflow, and a controlled valve which results in an additional
controlled outflow. The hybrid automaton model of this tank system has four
locations, corresponding to the different states of the valves for the controlled in-
and outflows. The dynamics is described by linear differential equations. Initially
both valves are closed, and for the filling levels x1and x2of the first respectively
Current Challenges in the Verification of Hybrid Systems 9
Fig. 3. SpaceEx/LGG results for the three-vehicle platoon benchmark.
the second tank it holds that x1[1.5,2.5] and x2= 1. More details about the
model can be found at [8].
Figure 2 shows the reachability analysis results of SpaceEx/STC (max.
iterations: 50, local time horizon: 5, flowpipe tolerance: 0.1) and Flow* (jump
depth: 2, local time horizon: 5, time-step size: 0.01) on this benchmark. The
initial set is located in the upper right of each diagram. As we can see, the
results on this benchmark are comparable, though Flow* gave a bit more precise
results.
Three-vehicle platoon [7, 8]: The system consists of a human-driven vehicle and
three communicating vehicles following it in a platoon. Two locations are used to
model functioning and disrupted communication, respectively. The flows in the
locations are described by linear differential equations (without uncertainties).
For more details on the model and the initial states see [8].
Some reachability analysis results for this benchmark using SpaceEx/LGG
are shown in Figure 3, using local time horizon 12 and max. iterations 5. The
results show the distance e1between the human-controlled vehicle and the first
following platoon vehicle, and the distance e2between the first and the second
following platoon vehicles, which are initially e1, e2[0.9,1.1] units. The three
results in the first row in Figure 3 are created using boxes while for the results
in the second row octagons are chosen. In the analysis we use time-step sizes
0.3, 0.1 and 0.01 seconds (from left to right in both rows). We can observe that
in general boxes over-approximate more strongly, whereas octagons give more
10 Schupp et al.
-1
-0.5
0
0.5
1
1.5
2
-1 -0.5 0 0.5 1 1.5 2
e2
e1
Fig. 4. SpaceEx/LGG (left) and Flow* (right) results for the three-vehicle platoon
benchmark.
precise results. As expected, for both representations the error can in general be
reduced by reducing the time-step size. The error reduction comes at the cost
of longer running times: for boxes the computations needed 0.05, 0.1 resp. 0.14
seconds, whereas in the case of octagons the computational effort has grown
from 2.97 over 9.5 to 42.4 seconds. Note that the plots in the left column use
different scales.
Furthermore, an interesting effect can be observed in the top-right plot: the
reachable set for precision 0.01 seems to be larger as for time-step size 0.1. How-
ever, this fact is not due to stronger over-approximation. In contrast to Flow*,
where the user specifies a jump depth (i.e., all paths with this number of jumps
are explored), SpaceEx takes the total number of jump successor computations
in the analysis (in this example 5) as input parameter. Some jumps, which were
enabled due to over-approximation with larger step-sizes, are not enabled any
more with step size 0.01. Thus the larger reachable set is due to the fact that
with the finer precision longer paths can be explored.
Some more results for Flow* are presented in Figure 4 (right) in comparison
to the octagon setting in SpaceEx/LGG (left). Both tools used a time-step
size of 0.01 seconds and local time horizon 12, max. iterations was set to 5 in
SpaceEx, and jump depth to 5 in Flow*. The computed reachable set is clearly
larger for Flow* than for SpaceEx. This has two reasons. Firstly, in Flow* all
paths with 5 jumps are considered, in contrast to SpaceEx computing a total of
5 jumps. Secondly, the intersection computations for jumps lead to stronger over-
approximations in Flow*, which accumulate in further computation steps. This
case illustrates that sometimes tools, which were designed for more expressive
model classes (Flow* was designed for non-linear dynamics), work less optimal
on simpler models (here linear dynamics).
Navigation [16]: This benchmark models the movement of an object in a two-
dimensional plane. In our case the plane is subdivided into a 3×3 grid structure,
whereas other configurations with more cells are also possible. The linear dy-
namics inside each cell is determined by its position. The corresponding hybrid
Current Challenges in the Verification of Hybrid Systems 11
Fig. 5. SpaceEx/LGG results for the navigation benchmark (above), Flow* results
below.
automaton models each cell by an own location. Jumps between the locations
are enabled for all states at the boundaries between the cells; these jumps modify
only the location but no other state components. Therefore, this hybrid automa-
ton model exhibits Zeno behaviour, because such switches between the cells can
be done back-and-forth infinitely often, without letting time elapse.
This Zeno behaviour can be observed on the reachability analysis results of
SpaceEx/LGG (max. iterations: 5, local time horizon: 2, time-step size: 0.001)
shown in Figure 5 (top left). In the zoomed part (top right) the effects of the
Zeno behaviour are exposed.
The two plots in the bottom of Figure 5 show some Flow* results (jump
depth: 1 for bottom left and 2 for bottom right, local time horizon: 2, time-step
size: 0.1). We have chosen a larger time-step size for Flow*, in order to make the
same effect of the Zeno behaviour visible in the plots, however, a similar reachable
set is computed also for the smaller time-step size 0.001. For comparability, in
the bottom-left plot, we indicate the SpaceEx domain [0.4,2.0] ×[0.9,1.25] of
the plot above by a rectangle.
12 Schupp et al.
5 Further Challenges
The previously described tools cope with a wide range of models and offer pow-
erful technologies for reachability analysis. Nevertheless, there are several chal-
lenges still to be addressed in order to increase the applicability and usability of
the tools. In this section we discuss some of these challenges.
State set representation: The choice of the state set representation is always a
trade-off between computational complexity and precision. There are many dif-
ferent representations usable for the analysis of a hybrid system. Boxes and poly-
topes are frequently used, also support functions and zonotopes are prominent
for models with linear ODEs, whereas Taylor models can be used also for non-
linear ODEs. However, none of the representations offers an optimal solution,
since they have individual strengths and weaknesses, mainly in the represen-
tation size and in the efficiency of certain operations (e.g., union, intersections,
Minkowski sum, linear transformation, etc.) needed during the reachability anal-
ysis. Although several tools use conversions between representations for certain
computations, context-sensitive approaches are still missing. For example, the
representation could be adopted to the form of the ODEs in different locations.
Also an automated dynamic conversion to reach an optimal trade-off between
precision and efficiency during computation using an iterative refinement tech-
nique is not yet supported. Furthermore, there is rare support for non-convex
representations. Last but not least, most representations are over-approximative,
and therefore applicable for safety verification. However, for proving unsafety,
novel under-approximative computations would be of help.
Precision: Precision is a crucial component during analysis. For systems,
where the distance between the reachable and the unsafe states is small, the
used precision can be crucial for the outcome of the reachability analysis. If the
outcome is inconclusive (the over-approximation intersects with the unsafe state
set), currently the only solution is to re-start the analysis from scratch with new
parameters which lead to an error reduction (e.g., reduction of the time-step size
in the flowpipe construction). However, since higher precision comes with longer
running times, the new parameters must be chosen carefully by the user. An
automatic adaptation of the parameters would be not only more user-friendly,
but could also be applied dynamically to refine the search only along those paths
which led to an intersection with the unsafe state set, instead of executing the
whole analysis with high precision.
Fixed-point recognition: Recognising fixed-points in the reachability analysis,
i.e., when the whole reachable state set of a hybrid system is already checked
for safety, enables the solution of the unbounded reachability problem. How-
ever, in order to detect fixed-points, a huge number of state sets need to be
stored, and successor sets must be tested for inclusion. As this comes at high
costs, current tools use only heuristic checks for fixed-points. A more systematic
check would require a highly efficient storage of state sets and fast operations on
them - a possible approach could use memory-efficient under-approximations in
a representation with fast inclusion and intersection computations (e.g. boxes).
Current Challenges in the Verification of Hybrid Systems 13
Large uncertainties: Uncertainties can be included in the models when, e.g.,
some coefficients of the dynamics cannot be fixed precisely, or in the presence of
time-varying external inputs like natural forces or users. Though systems with
bounded uncertainties can be verified, models with large uncertainties are one
more challenge in the verification of hybrid systems. Each uncertainty intro-
duces a bloating factor which is carried onwards and even aggregated during
the computation of the reachable set. Although a few approaches were proposed
to overcome these limitations (see, e.g., [35]), most tools have problems to find
conclusive answers for models with large uncertainties.
Zeno behaviour: Whenever it is possible to execute an infinite number of
jumps in a finite amount of time, we observe Zeno behaviour (see the naviga-
tion benchmark example and Figure 5). Naturally, no real system exhibits Zeno
behaviour. However, it is hard to avoid Zeno paths in modelling. In [3] the au-
thors distinguish between chattering Zeno (infinite jump sequences with zero
dwell time) and genuine Zeno (infinite jump sequences with nonzero dwell time
in-between converging to zero) behaviour.
Examples for chattering Zeno behaviours can be found in switching systems,
where the state space is divided into grids, each grid having its own dynamics,
modelled by an own location. Switching between different grids does not modify
the continuous state and is always possible whenever the current state lies at
the boundary between two grids. Therefore, infinite back-and-forth switching
on boundaries can happen in such models, causing a problem for reachability
analysis if the reach-set approximation is not idempotent: Even if no new states
are reached, successor states in a sequence of jumps may grow and even diverge
as the approximation errors accumulate. If the reach-set computation is exact
(such as in HyTech or PHAVer), chattering Zeno has no particularly adverse
effect (it may increase the number of image computations necessary to reach a
fixed-point).
Genuine Zeno can be problematic for any computation that follows the exe-
cution of the system, because any finite number of successor computations may
not be able to cover all reachable states. Over-approximations may resolve the
problem if they cover the limit points of the sequence. This can be achieved au-
tomatically with widening operators [14]; here the difficulty lies in keeping the
over-approximation reasonably small [30].
Non-convex invariants: Most tools require that the invariants of the loca-
tions are convex sets, mainly for representation reasons. However, similarly to
programs which might have disjunctions in loop conditions, also non-convex in-
variants appear in hybrid system applications. Though one can apply model
transformation to eliminate non-convex invariants by splitting the non-convex
set into convex subsets and introducing a new location for each convex subset,
with this approach the models are extended with Zeno behaviour, hardening
their analysis (see Figure 6). An efficient analysis without such model transfor-
mations could be enabled for example by non-convex state set representation
techniques.
14 Schupp et al.
Fig. 6. The split of a location with a non-convex invariant (left) into two locations
with convex invariants (right) might introduce Zeno behaviour.
Urgent transitions: Invariants are one possibility in modelling to force the
control to move from one mode to another. Another possibility are urgent tran-
sitions, which must be taken as soon as they are enabled. Urgent transitions
have the advantage that they make the reason for the mode change more visible
(observable), and therefore they are sometimes preferred instead of the usage of
invariants. However, most tools do not support urgent transitions, though their
analysis would even reduce the computation effort: both the expensive compu-
tations of intersections with invariants as well as the computation of flowpipes
from those state sets which are included in the guard of an outgoing urgent
transition become superfluous.
Compositionality: Large systems are usually modelled compositionally as a
set of modules running concurrently. Most available tools build the parallel com-
position of the modules to get a non-compositional model, which can be subse-
quently analysed. However, the composition results in high-dimensional systems,
which pose challenges for the analysis. Compositional analysis techniques would
be advantageous, but there is no straightforward way to extend the available
techniques to support compositionality. As assume-guarantee methods proved
to be useful in program verification, it might also be a promising option in hy-
brid systems reachability analysis. But when we aim at push-button approaches,
suitable assumption-commitment specifications should be derived automatically.
Another possibility could be to analyse the concurrent modules simultaneously
and communicate between the concurrent analysers on synchronisation-relevant
computations using, e.g., partial order reduction techniques.
Counterexamples: Although a few tools, like for example KeYmaera, can
provide counterexamples for unsafe models, most tools do not have this func-
tionality. However, counterexamples are extremely important and provide valu-
able information for system developers to correct unsafe designs. Furthermore,
counterexamples play an important role in counterexample-guided abstraction
refinement (CEGAR).
Current Challenges in the Verification of Hybrid Systems 15
CEGAR: Frequently used in various other research areas, counterexample-
guided abstraction refinement is not yet established in the field of hybrid systems.
Utilising a relaxed version of the problem can introduce a significant speed up
in verification. In case the verification fails, a counterexample path is used to
refine relevant components of the model.
Parallelisation: Regarding the efficiency of the reachability analysis of hybrid
systems, the current main focus lies on improving the efficiency of sequential al-
gorithms. Approaches for parallelisation are rare and not yet well understood.
However, the exploitation of multi-core hardware systems could help to improve
the scalability and the applicability of available technologies to large-scale sys-
tems.
Modelling language expressiveness: To make hybrid automata as a mod-
elling language more attractive and usable for a wider range of applications,
also further extensions regarding expressiveness should be considered. For ex-
ample, cyber-physical systems are distributed hybrid systems, where additionally
to discrete and dynamic aspects, also communication plays an important role.
Spatio-temporal hybrid automata [37] are a possible extension in this direction,
supporting the modelling of communication and other spatial aspects.
Another relevant aspect is randomised behaviour, which can affect either
the dynamics of a system via stochastic differential equations [9] or the discrete
behaviour via probabilistic transitions [38]. The later can involve probabilistic
properties regarding the choice between enabled transitions as well as the when
to take an enabled transition. A pioneer tool in this area is ProHVer [34],
which implements analysis algorithms using a transformation of probabilistic
hybrid automata to hybrid automata without probabilistic components.
6 Conclusion
In this paper we gave a brief introduction to state-of-the-art tools for the reach-
ability analysis of hybrid systems, and discussed current challenges for further
research. Despite great achievements, there is still a need for efforts to increase
applicability and scalability. Standardisation, competitions, and the strengthen-
ing of the functionality and the efficiency of techniques and tools may increase
visibility and intensify the developments in this relevant research area.
References
1. Althoff, M., Dolan, J.M.: Online verification of automated road vehicles using
reachability analysis. IEEE Trans. on Robotics 30(4), 903–918 (2014)
2. Althoff, M., Frehse, G.: Benchmarks of the workshop on applied verification of
continuous and hybrid systems (ARCH) (2014), http://cps-vo.org/group/ARCH/
benchmarks
3. Ames, A.D., Sastry, S.: Characterization of Zeno behavior in hybrid systems using
homological methods. In: Proc. ACC’05. pp. 1160–1165. IEEE Computer Society
Press (2005)
16 Schupp et al.
4. Bak, S., Bogomolov, S., Johnson, T.T.: HYST: A source transformation and trans-
lation tool for hybrid automaton models. In: Proc. of HSCC’15. pp. 128–133. ACM
(2015)
5. Barrett, C., Stump, A., Tinelli, C.: The satisfiability modulo theories library (SMT-
LIB). www.SMT-LIB.org (2010)
6. van Beek, D., Fokkink, W., Hendriks, D., Hofkamp, A., Markovski, J., van de
Mortel-Fronczak, J., Reniers, M.: CIF 3: Model-based engineering of supervisory
controllers. In: Proc. of TACAS’14. LNCS, vol. 8413, pp. 575–580. Springer (2014)
7. Ben Makhlouf, I., Diab, H., Kowalewski, S.: Safety verification of a controlled
cooperative platoon under loss of communication using zonotopes. In: Proc. of
ADHS’12. pp. 333–338. IFAC-PapersOnLine (2012)
8. Benchmarks of continuous and hybrid systems, http://ths.rwth-aachen.de/
research/projects/hypro/benchmarks-of-continuous-and-hybrid-systems/
9. Bujorianu, M., Lygeros, J.: Toward a general theory of stochastic hybrid systems.
In: Stochastic Hybrid Systems, Lecture Notes in Control and Information Science,
vol. 337, pp. 3–30. Springer (2006)
10. Chen, X.: Reachability Analysis of Non-Linear Hybrid Systems Using Taylor Mod-
els. Ph.D. thesis, RWTH Aachen University, Germany (2015)
11. Chen, X., ´
Abrah´am, E., Sankaranarayanan, S.: Taylor model flowpipe construction
for non-linear hybrid systems. In: Proc. of RTSS’12. pp. 183–192. IEEE Computer
Society Press (2012)
12. Chen, X., ´
Abrah´am, E., Sankaranarayanan, S.: Flow*: An analyzer for non-linear
hybrid systems. In: Proc. of CAV’13. LNCS, vol. 8044, pp. 258–263. Springer (2013)
13. Collins, P., Bresolin, D., Geretti, L., Villa, T.: Computing the evolution of hybrid
systems using rigorous function calculus. In: Proc. of ADHS’12. pp. 284–290. IFAC-
PapersOnLine (2012)
14. Cousot, P., Halbwachs, N.: Automatic discovery of linear restraints among variables
of a program. In: Proc. of SIGACT-SIGPLAN. pp. 84–96. ACM (1978)
15. Eggers, A.: Direct Handling of Ordinary Differential Equations in Constraint-
solving-based Analysis of Hybrid Systems. Ph.D. thesis, Universit¨at Oldenburg,
Germany (2014)
16. Fehnker, A., Ivancic, F.: Benchmarks for hybrid systems verification. In: Proc. of
HSCC’04. LNCS, vol. 2993, pp. 326–341. Springer (2004)
17. Fanzle, M., Herde, C., Ratschan, S., Schubert, T., Teige, T.: Efficient solving of
large non-linear arithmetic constraint systems with complex Boolean structure.
Journal on Satisfiability, Boolean Modeling and Computation 1, 209–236 (2007)
18. Frehse, G., Kateja, R., Le Guernic, C.: Flowpipe approximation and clustering in
space-time. In: Proc. of HSCC’13. pp. 203–212. ACM (2013)
19. Frehse, G.: Reachability of hybrid systems in space-time. In: Proc. of EMSOFT’15.
ACM (2015)
20. Frehse, G., Guernic, C.L., Donz´e, A., Ray, R., Lebeltel, O., Ripado, R., Girard, A.,
Dang, T., Maler, O.: SpaceEx: Scalable verification of hybrid systems. In: Proc. of
CAV’11. LNCS, vol. 6806, pp. 379–395. Springer (2011)
21. Fulton, N., Mitsch, S., Quesel, J.D., V¨olp, M., Platzer, A.: KeYmaera X: An ax-
iomatic tactical theorem prover for hybrid systems. In: Proc. of CADE-25. LNCS,
vol. 9195, pp. 527–538. Springer (2015)
22. Gao, S., Kong, S., Clarke, E.M.: dReal: An SMT solver for nonlinear theories over
the reals. In: Proc. of CADE-24, LNCS, vol. 7898, pp. 208–214. Springer (2013)
23. Henzinger, T.: The theory of hybrid automata. In: Proc. of LICS’96. pp. 278–292.
IEEE Computer Society Press (1996)
Current Challenges in the Verification of Hybrid Systems 17
24. Henzinger, T.A., Kopke, P.W., Puri, A., Varaiya, P.: What’s decidable about hy-
brid automata? Journal of Computer and System Sciences 57(1), 94–124 (1998)
25. HyCreate: A tool for overapproximating reachability of hybrid automata, http:
//stanleybak.com/projects/hycreate/hycreate.html
26. Kong, S., Gao, S., Chen, W., Clarke, E.M.: dReach: δ-reachability analysis for
hybrid systems. In: Proc. of TACAS’15. LNCS, vol. 9035, pp. 200–205. Springer
(2015)
27. Le Guernic, C.: Reachability analysis of hybrid systems with linear continuous
dynamics. Ph.D. thesis, Universit´e Joseph-Fourier-Grenoble I, France (2009)
28. Le Guernic, C., Girard, A.: Reachability analysis of linear systems using support
functions. Nonlinear Analysis: Hybrid Systems 4(2), 250–262 (2010)
29. Lygeros, J.: Lecture notes on hybrid systems. In: Notes for the ENSIETA’04 Work-
shop (2004)
30. Maka, H., Frehse, G., Krogh, B.H.: Polyhedral domains and widening for veri-
fication of numerical programs. In: NSV-II: Second International Workshop on
Numerical Software Verification (2009)
31. Nedialkov, N.S.: VNODE-LP – A validated solver for initial value problems in ordi-
nary differential equations. Tech. Rep. CAS-06-06-NN, Department of Computing
and Software, McMaster University, Hamilton, Ontario, Canada (2006)
32. Platzer, A., Quesel, J.: KeYmaera: A hybrid theorem prover for hybrid sys-
tems (system description). In: Proc. of IJCAR’08. LNCS, vol. 5195, pp. 171–178.
Springer (2008)
33. Platzer, A.: Differential dynamic logic for hybrid systems. Journal of Automated
Reasoning 41(2), 143–189 (2008)
34. ProHVer: Safety verification for probabilistic hybrid systems, http://depend.cs.
uni-sb.de/tools/prohver/
35. Ramdani, N., Meslem, N., Candau, Y.: A hybrid bounding method for computing
an over-approximation for the reachable set of uncertain nonlinear systems. IEEE
Trans. Automat. Contr. 54(10), 2352–2364 (2009)
36. Ratschan, S., She, Z.: Safety verification of hybrid systems by constraint propa-
gation based abstraction refinement. In: Proc. of HSCC’05. LNCS, vol. 3414, pp.
573–589. Springer (2005)
37. Shao, Z., Liu, J.: Spatio-temporal hybrid automata for cyber-physical systems. In:
Proc. of ICTAC’13. LNCS, vol. 8049, pp. 337–354. Springer (2013)
38. Sproston, J.: Decidable model checking of probabilistic hybrid automata. In: Proc.
of FTRTFT’00. LNCS, vol. 1926, pp. 31–45. Springer (2000)
... System properties are checked against a formal system model to warrant spot-on global system performance. The generic idea behind the IoMT verification is the reachability analysis of the different states from the hybrid model [26]. Several works addressed IoMT hybrid, state-machine models [26], or Petri Net models [27]. ...
... The generic idea behind the IoMT verification is the reachability analysis of the different states from the hybrid model [26]. Several works addressed IoMT hybrid, state-machine models [26], or Petri Net models [27]. However, literature about procedure validation is scarcer, although the verification process can be generalized to a wide range of IoMT-based systems aiming at very different application fields and particular validation requirements. ...
Chapter
Full-text available
The Internet of Medical Things (IoMT) designates the interconnection of communication-enabled medical-grade devices and their integration into wider-scale health networks to improve patients' health. However, because of health-related systems' critical nature, the IoMT still faces numerous challenges, particularly reliability, safety, and security. This text presents (i) a comprehensive about IoMT improvement through formal methodologies provided by the cyber-physical systems community; (ii) practical applications of medical devices for both patients, staff, caretakers, and healthcare providers; and (iii) unexplored research directions and potential trends to solve uncharted research problems.
... In [4], the conversion of Mixed Logical Dynamical (MLD), which is a model of hybrid system, to the equivalent PWA form is described. Theory and reachability of hybrid systems for large-scale industrial applications are investigated in [5]. The Interaction between hybrid systems and quantum technologies is available in [6] to develop the physical goals. ...
... k is a sequence of optimal weighting factors which is calculated at each step so as to lessen the error signal and the update of the control input is done through (5). This vector is multiplied by the predicted data sequence to update the control input. ...
Article
The present investigation addresses an innovative method based on explicit form of the model predictive control (EMPC) for a constrained Piecewise affine (PWA) class of hybrid systems, considering repetitive disturbance. This model of hybrid systems is investigated due to the fact that PWA modeling structure can approximate nonlinear systems via various operating points, and also because the simulation of PWA models are easy. With EMPC, the problem of optimization is solved in an offline way only once. Unlike conventional EMPC, the process information of the past and the data which are predicted are applied in the proposed strategy. This is the first time that in this study, the investigators adopt an approach in which these predicted data are weighted by another optimization problem (OP) and this weighted predicted sequence along with the past information of the process as an updating control input formula. In fact, two separate OPs are solved simultaneously at each step of proposed EMPC. The first one is linked with calculating the control input from the constrained cost function of EMPC algorithm and the second one concerns finding the optimal weighting factors in order to minimize the error signal, i.e. the difference between the reference path and the output signal at each optimization step of EMPC strategy. The precision of the proposed method is extremely dependent on the accuracy of the process model, so iterative learning control (ILC) algorithm is applied to protecting the process model against the periodic disturbances. These mathematical analyses are proven and validated by simulation results.
... Letv denote the time derivative dv/dt. A linear hybrid system with piecewise affine dynamics is a tuple H = Loc, Var, Lab, inv, init, flow, disc where [36] • Loc is a finite set of locations; ...
Article
Full-text available
Stability is a fundamental requirement of dynamical systems. Most of the works concentrate on verifying stability for a given stability region. In this paper, we tackle the problem of synthesizing $${\mathbb {P}}$$ P - stable abstractions . Intuitively, the $${\mathbb {P}}$$ P -stable abstraction of a dynamical system characterizes the transitions between stability regions in response to external inputs. The stability regions are not given—rather, they are synthesized as their most precise representation with respect to a given set of predicates $${\mathbb {P}}$$ P . A $${\mathbb {P}}$$ P -stable abstraction is enriched by timing information derived from the duration of stabilization. We implement a synthesis algorithm in the framework of Abstract Interpretation that allows different degrees of approximation. We show the representational power of $${\mathbb {P}}$$ P -stable abstractions that provide a high-level account of the behavior of the system with respect to stability, and we experimentally evaluate the effectiveness of the algorithm in synthesizing $${\mathbb {P}}$$ P -stable abstractions for significant systems.
... Es importante entender el comportamiento de los sistemas ciber-físicos como un combinado de sistemas discretos -continuos, es decir, los procesos físicos con cambios de estado discretos inherentes [25] para el control de los sistemas híbridos. ...
Article
Full-text available
Las pruebas utilizadas en el campo de la fisioterapia para la evaluación de la fuerza muscular como Lovett, Daniels, entre otras, son netamente cualitativas y se basan directamente en la experiencia del especialista. La evaluación de un rango de medición angular y fuerza en movimientos de flexión y extensión permitirá diseñar un mecanismo de rehabilitación monitorizada. Con este antecedente, el objetivo de la investigación es el análisis y diseño mecatrónico de una máquina de medición de la fuerza para la rehabilitación monitorizada, enfocado a los movimientos de flexión y extensión. Se utiliza el diseño de la estructura básica de un sistema mecatrónico y sistemas ciber-físicos para garantizar el control y tratamiento de fortalecimiento muscular de forma segura y eficiente evitando lesiones al paciente.Al final del documento se presenta la estructura mecatrónica del mecanismo el cual incluye tres módulos: isocinético, pasivo y análisis de la información. Se concluye con la definición de las características principales que permiten una mejor integración del sistema y un alto aprovechamiento del conocimiento
... An overview of safety verification for hybrid systems is provided by Guéguen et al. [1]. Schupp et al. [5] give an overview of methods for the reachability analysis of hybrid systems and discuss their challenges with respect to verification. In this work, we focus on reachability-based verification techniques. ...
Article
Full-text available
Model-based verification uses a model to reason about the correctness of a real system. This requires the model and the system to be conformant, such that verification results on the model can be transfered to the real system. Especially for hybrid systems, which combine discrete and continuous behavior, defining and checking conformance is a difficult task. In this work, we present reachset conformance for hybrid systems that transfers safety properties from a model to the real system. We show how a model can be adapted to be conformant to measurements of a real system and demonstrate this for a real autonomous vehicle. The obtained reachset conformant model can be used for the verification of safety-critical properties, such as collision avoidance.
Chapter
We propose an approach to synthesize Simplex architectures that are provably correct for a rich class of temporal specifications, and are high-performant by optimizing for the time the advanced controller is active. We achieve provable correctness by performing a static verification of the baseline controller. The result of this verification is a set of states which is proven to be safe, called the recoverable region. During runtime, our Simplex architecture adapts towards a running advanced controller by exploiting proof-on-demand techniques. Verification of hybrid systems is often overly conservative, resulting in over-conservative recoverable regions that cause unnecessary switches to the baseline controller. To avoid these switches, we invoke targeted reachability queries to extend the recoverable region at runtime.Our offline and online verification relies upon reachability analysis, since it allows observation-based extension of the known recoverable region. However, detecting fix-points for bounded liveness properties is a challenging task for most hybrid system reachability analysis tools. We present several optimizations for efficient fix-point computations that we implemented in the state-of-the-art tool HyPro that allowed us to automatically synthesize verified and performant Simplex architectures for advanced case studies, like safe autonomous driving on a race track.
Chapter
This paper presents an approach for the verification of iterative matrix algorithms used in linear algebra for general matrix inversion problems. In particular, the convergence of the Schulz algorithm to solutions with predetermined accuracy and within a required number of steps is examined. Such problems are crucial in safety-critical applications where real-time general matrix inversions algorithms are used. It is described how approaches from computer-aided verification and numerical analysis domain can be effectively combined in order to provide convergence guaranties of the algorithm with mathematical rigor. The proposed method can be generalized to cover a wide class of deterministic matrix flow algorithms appearing in many scientific and engineering problems. The approach is demonstrated with a numerical example.KeywordsAffine arithmeticComputer-aided verificationMatrix iterative solversSchulz matrix inversion algorithm
Chapter
Stability is a fundamental requirement of dynamical systems. Most of the works concentrate on verifying stability for a given stability region. In this paper we tackle the problem of synthesizing-stable abstractions. Intuitively, the -stable abstraction of an open dynamical system characterizes the transitions between stability regions in response to external inputs. The stability regions are not given - rather, they are synthesized as the tightest representation with respect to a given set of relevant predicates . A -stable abstraction is enriched by timing information derived from the duration of stabilization. We implement a synthesis algorithm in the framework of Abstract Interpretation, that allows different degrees of approximation. We show the representational power of -stable abstractions, that provide a high-level account of the behavior of the system with respect to stability, and we experimentally evaluate the effectiveness of a compositional approach, that allows synthesizing -stable abstractions for significant systems.
Article
Due to the ability to handle uncertain nonlinear hybrid systems, barrier certificate based method has been widely used in safety verification problem. In this paper, an efficient framework, combining sum of squares programming with interval analysis, is proposed to generate barrier certificates for uncertain nonlinear hybrid systems. It utilizes the feature of bounded uncertainties to get a deterministic hybrid system, whose barrier certificates can be efficiently computed using sum of squares programming. The computed barrier certificates are then chosen as candidate barrier certificates for the original uncertain hybrid system, and need to be checked the satisfaction of the associated barrier certificate conditions, via an interval analysis based method. As an application, our approach is used to verify safety properties of non-polynomial hybrid systems. Some experimental results are given to show the efficiency of our approach.
Conference Paper
Full-text available
Conference Paper
Full-text available
The engineering of supervisory controllers for large and complex cyber-physical systems requires dedicated engineering support. The Compositional Interchange Format language and toolset have been developed for this purpose. We highlight a model-based engineering framework for the engineering of supervisory controllers and explain how the CIF language and accompanying tools can be used for typical activities in that framework such as modeling, supervisory control synthesis, simulation-based validation, verification, and visualization, real-time testing, and code generation. We mention a number of case studies for which this approach was used in the recent past. We discuss future developments on the level of language and tools as well as research results that may be integrated in the longer term.
Article
Full-text available
A number of powerful and scalable hybrid systems model checkers have recently emerged. Although all of them honor roughly the same hybrid systems semantics, they have drastically different model description languages. This situation (a) makes it difficult to quickly evaluate a specific hybrid automaton model using the different tools, (b) obstructs comparisons of reachability approaches, and (c) impedes the widespread application of research results that perform model modification and could benefit many of the tools. In this paper, we present Hyst, a Hybrid Source Transformer. Hyst is a source-to-source translation tool, currently taking input in the SpaceEx model format, and translating to the formats of HyCreate, Flow∗, or dReach. Internally, the tool supports generic model-to-model transformation passes that serve to both ease the translation and potentially improve reachability results for the supported tools. Although these model transformation passes could be implemented within each tool, the Hyst approach provides a single place for model modification, generating modified input sources for the unmodified target tools. Our evaluation demonstrates Hyst is capable of automatically translating benchmarks in several classes (including affine and nonlinear hybrid automata) to the input formats of several tools. Additionally, we illustrate a general model transformation pass based on pseudo-invariants implemented in Hyst that illustrates the reachability improvement.
Conference Paper
Full-text available
KeYmaera X is a theorem prover for differential dynamic logic ( ), a logic for specifying and verifying properties of hybrid systems. Reasoning about complicated hybrid systems models requires support for sophisticated proof techniques, efficient computation, and a user interface that crystallizes salient properties of the system. KeYmaera X allows users to specify custom proof search techniques as tactics, execute these tactics in parallel, and interface with partial proofs via an extensible user interface. Advanced proof search features—and user-defined tactics in particular—are difficult to check for soundness. To admit extension and experimentation in proof search without reducing trust in the prover, KeYmaera X is built up from a small trusted kernel. The prover kernel contains a list of sound axioms that are instantiated using a uniform substitution proof rule. Isolating all soundness-critical reasoning to this prover kernel obviates the intractable task of ensuring that each new proof search algorithm is implemented correctly. Preliminary experiments suggest that a single layer of tactics on top of the prover kernel provides a rich language for implementing novel and sophisticated proof search techniques.
Chapter
Satisfiability Modulo Theories (SMT) refers to the problem of determining whether a first-order formula is satisfiable with respect to some logical theory. Solvers based on SMT are used as back-end engines in model-checking applications such as bounded, interpolation-based, and predicate-abstraction-based model checking. After a brief illustration of these uses, we survey the predominant techniques for solving SMT problems with an emphasis on the lazy approach, in which a propositional satisfiability (SAT) solver is combined with one or more theory solvers. We discuss the architecture of a lazy SMT solver, give examples of theory solvers, show how to combine such solvers modularly, and mention several extensions of the lazy approach. We also briefly describe the eager approach in which the SMT problem is reduced to a SAT problem. Finally, we discuss how the basic framework for determining satisfiability can be extended with additional functionality such as producing models, proofs, unsatisfiable cores, and interpolants.
Conference Paper
dReach is a bounded reachability analysis tool for nonlinear hybrid systems. It encodes reachability problems of hybrid systems to first-order formulas over real numbers, which are solved by delta-decision procedures in the SMT solver dReach. In this way, dReach is able to handle a wide range of highly nonlinear hybrid systems. It has scaled well on various realistic models from biomedical and robotics applications.
Conference Paper
Recently, efficient reachability algorithms for hybrid systems with piecewise affine dynamics have been developed. They achieve good scalability and precision by using support functions to represent continuous sets. In this paper, we propose an improvement of these algorithms that reduces the overapproximation error of the image computation of discrete transitions (jumps). The critical operation of this image computation is the intersection of the flowpipe with the guard sets of the transitions, since intersection is in general a difficult operation when using support functions. We propose an approach for computing the intersection of the flowpipe with polyhedral guards up to arbitrary accuracy. We reduce computing the support function of the intersection of a single convex set with a guard to a convex minimization problem. To solve it, we present a custom-tailored sandwich algorithm. The intersection of a flowpipe (a sequence of convex sets) with a guard reduces to a set of such minimization problems. Where possible, we use branch-and-bound techniques and solve these minimization problems simultaneously to avoid redundant computations. Experimental results illustrate the gain in accuracy and the performance of the algorithms.
Article
This thesis is devoted to the problem of computing reachable sets of linear and hybrid systems. In the first part, after exposing existing approaches for reachability analysis of linear systems, we present the main contribution of the thesis: a new algorithmic scheme for linear time-invariant systems that definitely outperforms existing algorithms. As the exact implementation furnishes a representation of the reachable sets that is sometimes hard to manipulate, we propose an approximate version that is not subject to the wrapping effect, an uncontrolled growth of the approximation errors. We also discuss a variant of this algorithm specialized to support functions, a functional representation of convex sets. In the second part, we extend this work to hybrid systems. We first show how to deal with the constraints on the continuous dynamics imposed by the invariants. Then, we present algorithms for approximating the intersection of the continuous reachable sets with hyperplanar guards.