Don’t Mind the Formalization Gap: The Design and Usage of hs-to-coq

Antal Spector-Zabusky, University of Pennsylvania


Using proof assistants to perform formal, mechanical software verification is a powerful technique for producing correct software. However, the verification is time-consuming and limited to software written in the language of the proof assistant. As an approach to mitigating this tradeoff, this dissertation presents hs-to-coq, a tool for translating programs written in the Haskell programming language into the Coq proof assistant, along with its applications and a general methodology for using it to verify programs. By introducing edit files containing programmatic descriptions of code transformations, we provide the ability to flexibly adapt our verification goals to exist anywhere on the spectrum between “increased confidence” and “full functional correctness”.

Subject Area

Computer science

Recommended Citation

Spector-Zabusky, Antal, "Don’t Mind the Formalization Gap: The Design and Usage of hs-to-coq" (2021). Dissertations available from ProQuest. AAI28489719.