Back to search

Chalmers University of Technology

Methods for using Agda to prove Safety and Liveness for Concurrent Programs

Abstract

dc:description.abstract

It is hard and error-prone to prove that a given concurrent program has a given property. To help develop such proofs, a modern implementation of dependent type theory, the proof checking tool Agda [Nor09], is used. The methods are based on the semi-formal theory of the semantics of concurrent programming from [OL82] (Owicki and Lamport, 1981);. The formalisation and implementation in Agda is done with two di erent approaches, which we call Proof by Construction and Proof by Control Flow. The rst uses the dependent data types of Agda to create proofs in the form of type elements. The second uses recursive functions to check proofs written down as a tree of steps. With each method, how to prove liveness properties for concurrent programs is shown. For safety properties, time constraints restricted the work to proofs for sequential programs. The Agda implementations of these methods work well, but like formal and manually constructed proofs our machine checked proofs are still long and tedious. The implementations have potential for further development.

Degree

thesis:*
Level thesis:degree_level
M2
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Bergsten, Erik
  • Larsson, Oskar
  • Rastemo, Tobias
  • Rutqvist, Oskar
  • Standar, Anderas

Subjects

dc:subject × 2

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Bergsten, Erik; Larsson, Oskar; Rastemo, Tobias; Rutqvist, Oskar; Standar, Anderas. Methods for using Agda to prove Safety and Liveness for Concurrent Programs. M2 thesis, 2017. https://hdl.handle.net/20.500.12380/251204