Proceedings of the ACM on Programming Languages · 2018 · 22 citations · 17 references
ComputingComputer EngineeringComputer ScienceFormal MethodsProgramming LanguagesTheory Of ComputationAbstract Syntax TreesFunctional ProgrammingFunctional VerificationModel CheckingType CheckingType SystemsCoq
Good tools can bring mechanical verification to programs written in mainstream functional languages. We use <pre>hs-to-coq</pre> to translate significant portions of Haskell’s <pre>containers</pre> library into Coq, and verify it against specifications that we derive from a variety of sources including type class laws, the library’s test suite, and interfaces from Coq’s standard library. Our work shows that it is feasible to verify mature, widely-used, highly optimized, and unmodified Haskell code. We also learn more about the theory of weight-balanced trees, extend <pre>hs-to-coq</pre> to handle partiality, and – since we found no bugs – attest to the superb quality of well-tested functional code.
17
Koen Claessen, John Hughes · ACM SIGPLAN Notices · 2011 · 1K citations
Koen Claessen, John Hughes · 2000 · 714 citations
Niki Vazou, Eric L. Seidel, Ranjit Jhala et al. · 2014 · 243 citations