Back to search

Johns Hopkins University

Toward a tool to verify complex data structure invariants

Abstract

dc:description.abstract

Formal methods provide the potential to create effective tools for finding bugs in software. However, the effectiveness of existing tools is limited: many existing static analysis tools provide limited abstractions, and interactive theorem proving techniques while providing deeper verifications are often too tedious to be practical. The goal of our research is to make interactive theorem proving techniques more practical to use. We started by developing the PEDANTIC framework in Coq which is based on Separation logic to document and reason about program invariants. Initial experience with PEDANTIC in Coq showed such reasoning to be quite tedious: proving invariants correct was slow and cumbersome. So, we next developed two tools aimed at improving prover productivity. First we developed CoqPIE, an interactive IDE aimed at streamlining common proof development tasks such as replaying theorems when there are changes. Next we developed an advanced rewriting library which gives Coq more powerful expression simplification algorithms. To stress test PEDANTIC and these new tools, we culminated with a verification of data structure invariants of the DPLL satisfiability solver algorithm, a complex 200-line C program. While the DPLL proof is not fully complete, key pieces of the proof are done and many important tactics and other building blocks were developed. Overall, the research presented gives a greater understanding of many proof development productivity issues and how to address these issues in practice.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor dc:publisher
Johns Hopkins University
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Roe, Kenneth D
Advisor dc:contributor.advisor
  • Smith, Scott F.
Committee members dc:contributor.committeemember
  • Green, Matthew D.
  • Nguyen, ThanhVu
ORCID person:identifier.orcid

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
http://jhir.library.jhu.edu/handle/1774.2/59170

Chain of custody

source
Harvested from
Johns Hopkins University
Base URL
jscholarship.library.jhu.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Roe, Kenneth D. Toward a tool to verify complex data structure invariants. Doctoral thesis, Johns Hopkins University, 2018. http://jhir.library.jhu.edu/handle/1774.2/59170