@article{morris:2022:sceventb, author = {Morris, K. and Snook, C. and Hoang, T. S. and Hulette, G. and Armstrong, R. and Butler, M.}, year = {2022}, month = mar, title = {Formal verification and validation of run-to-completion style state charts using Event-B}, journal = {Innovations in Systems and Software Engineering}, abstract = {State chart notations with ‘run to completion’ semantics are popular with engineers for designing controllers that react to environment events with a sequence of state transitions but lack formal refinement and rigorous verification methods. State chart models are typically used to design complex control systems that respond to environmental triggers with a sequential process. The model is usually constructed at a concrete level and verified and validated using animation techniques relying on human judgement. Event-B, on the other hand, is based on refinement from an initial abstraction and is designed to make formal verification by automatic theorem provers feasible. Abstraction and formal verification provide greater assurance that critical (e.g. safety or security) properties are not violated by the control system. In this paper, we introduce a notion of refinement into a ‘run to completion’ state chart modelling notation and leverage Event-B’s tool support for theorem proving. We describe the difficulties in translating ‘run to completion’ semantics into Event-B refinements and suggest a solution. We illustrate our approach and show how models can be validated at different refinement levels using our scenario checker animation tools. We show how critical invariant properties can be verified by proof despite the reactive nature of the system and how behavioural aspects of the system can be verified by testing the expected reactions using a temporal logic, model checking approach. To verify liveness, we outline a proof that the run to completion is deadlock-free and converges to complete the run.}, issn = {1614-5054}, url = {https://doi.org/10.1007/s11334-021-00416-4}, doi = {10.1007/s11334-021-00416-4}, }