A Tale of Two Provers: Verifying Monoidal String Matching in Liquid Haskell and Coq
We demonstrate for the first time that Liquid Haskell, a refinement type checker for Haskell programs, can be used for arbitrary theorem proving by verifying a monoidal string matching algorithm implemented in Haskell. We use refinement types to specify correctness properties, Haskell terms to express proofs of these properties, and Liquid Haskell to check the proofs. We evaluate Liquid Haskell as a theorem prover by replicating our 1428 LoC proof in a dependently-typed language (Coq - 1136 LoC); we compare both proofs, uncovering the relative advantages and disadvantages of the two provers.
Thu 7 Sep Times are displayed in time zone: (GMT+01:00) Greenwich Mean Time : Belfast change
|15:30 - 16:00|
|16:00 - 16:30|