Type-level property based testing

Thomas Ekström Hansen*, Edwin Charles Brady

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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.
Original languageEnglish
Title of host publicationTyDe 2024: Proceedings of the 9th ACM SIGPLAN international workshop on type-driven development
EditorsSandra Alves, Jesper Cockx
Place of PublicationNew York
PublisherACM
Pages37 - 49
ISBN (Print)9798400711039
DOIs
Publication statusPublished - 28 Aug 2024
EventWorkshop on Type-Driven Development (TyDe 2024) - Milan, Italy
Duration: 2 Sept 20247 Sept 2024
https://icfp24.sigplan.org/home/tyde-2024

Workshop

WorkshopWorkshop on Type-Driven Development (TyDe 2024)
Abbreviated titleTyDe 2024
Country/TerritoryItaly
CityMilan
Period2/09/247/09/24
Internet address

Fingerprint

Dive into the research topics of 'Type-level property based testing'. Together they form a unique fingerprint.

Cite this