计算机科学 > 程序设计语言
[提交于 2024年7月17日]
标题:Type-level Property Based Testing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Thomas E. Hansen[v1] 2024年7月17日 星期三 16:43:41 UTC