计算机科学 > 计算机科学中的逻辑
[提交于 2017年11月13日]
标题:A Type Checking Algorithm for Higher-rank, Impredicative and Second-order Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study a type checking algorithm that is able to type check a nontrivial subclass of functional programs that use features such as higher-rank, impredicative and second-order types. The only place the algorithm requires type annotation is before each function declaration. We prove the soundness of the type checking algorithm with respect to System $\mathbf{F}_{\omega}$, i.e. if the program is type checked, then the type checker will produce a well-typed annotated System $\mathbf{F}_{\omega}$ term. We extend the basic algorithm to handle pattern matching and let-bindings. We implement a prototype type checker and test it on a variety of functional programs.
提交历史
来自:Peng Fu[v1] 2017年11月13日 星期一 17:30:12 UTC