arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1403.3336cs.PL
收藏

可执行文件细化类型

Executable Refinement Types

Kenneth Knowles

摘要:

本文介绍了可执行精化类型,它通过半判定谓词精化结构类型,并建立了它们的元理论和相应的实现技术。这些结果对于一般的不可判定类型系统是有用的。具体贡献包括:(1)可执行精化类型的类型可靠性和扩展等价的逻辑关系(2)针对可执行细化类型的混合类型检查,其以新颖的方式混合了静态和动态检查,在某种意义上比任何可判定的近似在静态上执行得更好;(3)类型重构算法--当被适当地重新定义以应用于不可判定类型系统时,即使类型检查不是可判定的,重构也是可判定的;(4)一种新的使用存在类型与依赖类型,以确保逻辑公式的语言在类型检查下是封闭的(5)可执行细化类型的原型实现Sage,使得所有动态错误都被传达回编译器,并且是thore-static错误。

英文摘要:

This dissertation introduces executable refinement types, which refine structural types by semi-decidable predicates, and establishes their metatheory and accompanying implementation techniques. These results are useful for undecidable type systems in general. Particular contributions include: (1) Type soundness and a logical relation for extensional equivalence for executable refinement types (though type checking is undecidable); (2) hybrid type checking for executable refinement types, which blends static and dynamic checks in a novel way, in some sense performing better statically than any decidable approximation; (3) a type reconstruction algorithm - reconstruction is decidable even though type checking is not, when suitably redefined to apply to undecidable type systems; (4) a novel use of existential types with dependent types to ensure that the language of logical formulae is closed under type checking (5) a prototype implementation, Sage, of executable refinement types such that all dynamic errors are communicated back to the compiler and are thenceforth static errors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑