arXiv · 2407.12726
Type-level Property Based Testing
Abstract
We present an automated framework for solidifying the cohesion between software specifications, their dependently typed models, and implementation at compile time. Model Checking and type checking are currently separate techniques for automatically verifying the correctness of programs. Using Property Based Testing (PBT), Indexed State Monads (ISMs), and dependent types, we are able to model several interesting systems and network protocols, have the type checker verify that our implementation behaves as specified, and test that our model matches the specification's semantics; a step towards combining model and type checking.
Explore related subjects
Keep this discovery
Thomas Ekström Hansen, Edwin Brady. 2024-07-17. Type-level Property Based Testing. https://doi.org/10.1145/3678000.3678206
Cite the original work for its findings. Save a collection to share your selection of sources.