Back to search

Brock University

An Implementation of Separation Logic in Coq

Abstract

dc:description.abstract

For certain applications, the correctness of software involved is crucial, particularly if human life is in danger. In order to achieve correctness, common practice is to gather evidence for program correctness by testing the system. Even though testing may find certain errors in the code, it cannot guarantee that the program is error-free. The program of formal verification is the act of proving or disproving the correctness of the system with respect to a formal specification. A logic for program verification is the so-called Hoare Logic. Hoare Logic can deal with programs that do not utilize pointers, i.e., it allows reasoning about programs that do not use shared mutable data structures. Separation Logic extends Hoare logic that allows pointers, including pointer arithmetic, in the programming language. It has four-pointer manipulating commands which perform the heap operations such as lookup, allocation, deallocation, and mutation. We introduce an implementation of separation logic in the interactive proof system Coq. Besides verifying that separation logic is correct, we will provide several examples of programs and their correctness proof.

Degree

thesis:*
Name thesis:degree_name
M.Sc. Computer Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Faculty of Mathematics and Science
Department dc:contributor.department
Department of Computer Science
Grantor
Brock University
Year dc:date.issued
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Yi

Subjects

dc:subject × 2

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10464/15432

Chain of custody

source
Harvested from
Brock University
Base URL
brocku.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Wang, Yi. An Implementation of Separation Logic in Coq. Masters thesis, Brock University, 2021. https://hdl.handle.net/10464/15432