Testing Implementations of Formally Verified Algorithms
Paper i proceeding, 2005

Algorithms described in literature can often be used to solve practical, industrial problems. In safety-critical industrial settings, algorithms that have been formally verified should be even more attractive candidates for implementations. Nevertheless, we observe little transfer of algorithms from research papers into products. In this paper we describe a case study on the implementation of algorithms for the widely known and broadly studied problem of leader election. Despite thousands of articles on that topic, it still requires a lot of engineering to select the relevant articles, and get a correct algorithm implemented in an industrial setting. Modifications are necessary to meet all requirements. We propose adaptation and testing of formal properties as a realistic and cheap way to check the correctness of the modifications, since performing a formal proof seems unrealistic for industrial systems. We show how we use the properties stated in the articles to guide our tests.

Författare

Thomas Arts

Chalmers, Tillämpad informationsteknologi

Koen Lindström Claessen

Chalmers, Data- och informationsteknik, Datavetenskap

John Hughes

Chalmers, Data- och informationsteknik, Datavetenskap

Hans Svensson

Chalmers, Data- och informationsteknik, Datavetenskap

Proceedings of the 5th Conference on Software Engineering Research and Practice in Sweden

Ämneskategorier

Programvaruteknik