Unifying sets and programs via dependent types
详细信息查看全文 | 推荐本文 |
摘要
We present a foundational framework, which we call D, unifying a lazy programming language with an impredicative constructive set theory IZFR聽by means of dependent types. We show that unification brings many benefits to both worlds. First, D聽supports two paramount paradigms of creating reliable software: correctness by construction and post-construction verification, while retaining the expressiveness of set theory. Second, D聽provides new expressive power, which makes it possible to internalize and prove inside D聽the standard meta-theoretic properties of constructive systems, such as Numerical Existence Property and Program Extraction. Finally, computation arising from the programming language significantly enriches set theory, as we show that D聽is stronger than IZFR聽and that its real numbers behave in a better way.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700