Vis enkel innførsel

dc.contributor.authorBakseter, Andreas Salhus
dc.date.accessioned2023-06-28T23:55:41Z
dc.date.available2023-06-28T23:55:41Z
dc.date.issued2023-06-01
dc.date.submitted2023-06-28T22:00:23Z
dc.identifier.urihttps://hdl.handle.net/11250/3074222
dc.description.abstractProofs are an important part of mathematics, but they are not without their flaws. Most proofs are written by humans, and humans make mistakes. In this thesis, we explore the use of proof assistants to construct formal versions of informal proofs, and to extract certified and correct programs from these formal proofs. We study a specific case of two problems from lattice theory, solved by Bezem and Coquand in [2]. Firstly, we ask ourselves: are the results from [2] correct? The informal proofs posed in [2], used to justify the correctness of the results, are complex enough that mistakes are possible. Using the Coq proof assistant, we formalize parts of the proofs from [2], to gain more confidence in the correctness of these informal proofs. Secondly, is the process of formalization a feasible one? Transforming an informal proof into a formal proof is not necessarily an easy or straightforward process, and there are several approaches to formalization of a proof. Lastly, is the process of formalization worth the effort? A fully formalized proof gives us almost complete confidence in the correctness of the proof, and hence the result. Moreover, if the proof is constructive, we get the added bonus of extracting a certified program from the proof. In our case, this program has some practical use cases in a real-world setting, mostly as a prototype. Our formalization, done using Coq, can be found in the GitHub repository at [1]. For convenience, the formal proof of the central result has been reproduced in Listing A.1.
dc.language.isoeng
dc.publisherThe University of Bergen
dc.rightsCopyright the Author. All rights reserved
dc.titleA Case Study in Dependent Type Theory: Extracting a Certified Program from the Formal Proof of its Specification
dc.typeMaster thesis
dc.date.updated2023-06-28T22:00:23Z
dc.rights.holderCopyright the Author. All rights reserved
dc.description.degreeMasteroppgave i informatikk
dc.description.localcodeINF399
dc.description.localcodeMAMN-INF
dc.description.localcodeMAMN-PROG
dc.subject.nus754199
fs.subjectcodeINF399
fs.unitcode12-12-0


Tilhørende fil(er)

Thumbnail

Denne innførselen finnes i følgende samling(er)

Vis enkel innførsel