HARE is a framework for carrying out counterexample guided abstraction-refinement (CEGAR) for systems modelled as rectangular hybrid automata. The main difference, between our approach and previous proposals for CEGAR for hybrid automata, is that we consider the abstractions to be hybrid automata as well. This CEGAR scheme is semi-complete for the class of rectangular hybrid automata and complete for the subclass of initialized rectangular automata. Hare makes calls to the HyTech model checker to analyze the abstract models and validate the counterexamples.
Compared to the traditional finite state abstraction of hybrid automata, which involve computing unbounded time successor computation, construction hybrid automata abstractions only involves making local checks about flow equations. Further, when validating counterexamples in a hybrid CEGAR scheme, one is only required to compute time-bounded successors which is often computationally easier than computing time-unbounded successors. Our algorithm of computing abstractions involves the following operations: Collapsing the control states and transitions, dropping the continuous variables and scaling the variables. The refinement algorithm involves splitting control states/transitions, and/or adding variables that many have new dynamics and varying the scaling of each of the variables.
The advantage of considering hybrid automata based abstractions is that this procedure is complete/semi-complete for rectangular hybrid systems. In other words, if the hybrid automata is rectangular and is faulty (i.e. violates the safety specification), then our procedure will terminate by demonstrating the counter example for the safety specification. On the other hand, if the hybrid system is initialized rectangular, then our procedure will always terminate.
HARE is a tool that is developed using C++, Lex and Yacc. Its background model checker is HyTech and it interacts with HyTech using system calls. HyTech can be downloaded from here, some of the libraries used in HyTech are no longer supported and hence we have the fix here for HyTech to work on latest versions of operating systems (Ubuntu 11.04 and 12.04). HARE can be downloaded here and the installation instructions are in the README file.
HARE has been tested on various benchmark examples and the results are formulated below.
|Iter.||Val. (sec)||Abs. Ref. (sec)||HARE (sec)|
- Pavithra Prabhakar
- Parasara Sridhar Duggirala (email) (PhD student, CS)
- Sayan Mitra
- Mahesh Viswanathan
- Pavithra Prabhakar, Parasara Sridhar Duggirala, Sayan Mitra and Mahesh Viswanathan, Hybrid Automata-based CEGAR for Rectangular Hybrid Systems, VMCAI 2013. .pdf .source