Hostname: page-component-6898cfcb55-th4rj Total loading time: 0 Render date: 2026-11-11T10:02:06.983Z Has data issue: false hasContentIssue false

A light-weight integration of automated and interactive theorem proving

Published online by Cambridge University Press:  12 November 2014

KARIM KANSO
Affiliation:
Department of Computer Science, Swansea University, Swansea, SA2 8PP, United Kindgom Email: cskarim@swansea.ac.uk, a.g.setzer@swansea.ac.uk
ANTON SETZER
Affiliation:
Department of Computer Science, Swansea University, Swansea, SA2 8PP, United Kindgom Email: cskarim@swansea.ac.uk, a.g.setzer@swansea.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

In this paper, aimed at dependently typed programmers, we present a novel connection between automated and interactive theorem proving paradigms. The novelty is that the connection offers a better trade-off between usability, efficiency and soundness when compared to existing techniques. This technique allows for a powerful interactive proof framework that facilitates efficient verification of finite domain theorems and guided construction of the proof of infinite domain theorems. Such situations typically occur with industrial verification. As a case study, an embedding of SAT and CTL model checking is presented, both of which have been implemented for the dependently typed proof assistant Agda.

Finally, an example of a real world railway control system is presented, and shown using our proof framework to be safe with respect to an abstract model of trains not colliding or derailing. We demonstrate how to formulate safety directly and show using interactive theorem proving that signalling principles imply safety. Therefore, a proof by an automated theorem prover that the signalling principles hold for a concrete system implies the overall safety. Therefore, instead of the need for domain experts to validate that the signalling principles imply safety they only need to make sure that the safety is formulated correctly. Therefore, some of the validation is replaced by verification using interactive theorem proving.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2014