Extended static checking for haskell
Proceedings of the 2006 ACM SIGPLAN workshop on Haskell
Static contract checking for Haskell
Proceedings of the 36th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages
Random generators for dependent types
ICTAC'04 Proceedings of the First international conference on Theoretical Aspects of Computing
Hi-index | 0.00 |
We propose a method for improving confidence in thecorrectness of Haskell programs by combining testing andproving. Testing is used for debugging programs and specificationbefore a costly proof attempt. During a proof development,testing also quickly eliminates wrong conjectures.Proving helps us to decompose a testing task in a way thatis guaranteed to be correct. To demonstrate the method wehave extended the Agda/Alfa proof assistant for dependenttype theory with a tool for random testing. As an examplewe show how the correctness of a BDD-algorithm written inHaskell is verified by testing properties of component functions.We also discuss faithful translations from Haskell totype theory.