Electronic Proceedings in Theoretical Computer Science (Jul 2016)

Generating Counterexamples for Model Checking by Transformation

  • G. W. Hamilton

DOI
https://doi.org/10.4204/EPTCS.216.4
Journal volume & issue
Vol. 216, no. Proc. VPT 2016
pp. 65 – 82

Abstract

Read online

Counterexamples explain why a desired temporal logic property fails to hold. The generation of counterexamples is considered to be one of the primary advantages of model checking as a verification technique. Furthermore, when model checking does succeed in verifying a property, there is typically no independently checkable witness that can be used as evidence for the verified property. Previously, we have shown how program transformation techniques can be used for the verification of both safety and liveness properties of reactive systems. However, no counterexamples or witnesses were generated using the described techniques. In this paper, we address this issue. In particular, we show how the program transformation technique distillation can be used to facilitate the construction of counterexamples and witnesses for temporal properties of reactive systems. Example systems which are intended to model mutual exclusion are analysed using these techniques with respect to both safety (mutual exclusion) and liveness (non-starvation), with counterexamples being generated for those properties which do not hold.