{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/251204"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/251204","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Methods for using Agda to prove Safety and Liveness for Concurrent Programs","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Bergsten, Erik","Larsson, Oskar","Rastemo, Tobias","Rutqvist, Oskar","Standar, Anderas"],"institution":null,"degree_name":null,"degree_level":"M2","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2017,"date_issued":"2017","date_published":"2017","updated_at":"2026-11-19T02:52:04Z","subjects":["Data- och informationsvetenskap","Computer and Information Science"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/251204","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/251204","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F251204","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F251204","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"]},{"key":"dc:creator","label":"Author","values":["Bergsten, Erik","Larsson, Oskar","Rastemo, Tobias","Rutqvist, Oskar","Standar, Anderas"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-07-03T14:35:02Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-07-03T14:35:02Z"]},{"key":"dc:date.issued","label":"Date","values":["2017"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Software Engineering (300 hp)","Datateknik 300 hp (civilingenjör)","Engineering Mathematics (300 hp)"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för kandidatexamen","Bachelor Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["M2"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Data- och informationsvetenskap","Computer and Information Science"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/251204"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["Methods for using Agda to prove Safety and Liveness for Concurrent Programs"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)","Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)"],"dc:creator":["Bergsten, Erik","Larsson, Oskar","Rastemo, Tobias","Rutqvist, Oskar","Standar, Anderas"],"dc:date.accessioned":["2019-07-03T14:35:02Z"],"dc:date.available":["2019-07-03T14:35:02Z"],"dc:date.issued":["2017"],"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."],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/251204"],"dc:language.iso":["eng"],"dc:publisher.program":["Software Engineering (300 hp)","Datateknik 300 hp (civilingenjör)","Engineering Mathematics (300 hp)"],"dc:subject":["Data- och informationsvetenskap","Computer and Information Science"],"dc:subject.uppsok":["Technology"],"dc:title":["Methods for using Agda to prove Safety and Liveness for Concurrent Programs"],"dc:type.degree":["Examensarbete för kandidatexamen","Bachelor Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["M2"]},"updated_at":"2026-11-19T02:52:04Z"}