机械化精炼类型(扩展)
Mechanizing Refinement Types (extended)
摘要:
基于精化类型的实用检查器使用隐式语义子类型和参数多态性的组合来简化规范并自动验证程序的复杂属性。然而,一个正式的元理论会计的完善型系统使用这种组合已被证明是难以捉摸的。我们提出了一个结合语义子类型和参数多态性的核心精化演算λ_RF。我们开发了这个演算的元理论,并证明了类型系统的可靠性。最后,我们使用基于精化类型的LiquidHaskell作为证明检查器,给出了我们的元理论的完整机械化,展示了精化如何用于机械化。
英文摘要:
Practical checkers based on refinement types use the combination of implicit semantic sub-typing and parametric polymorphism to simplify the specification and automate the verification of sophisticated properties of programs. However, a formal meta-theoretic accounting of the soundness of refinement type systems using this combination has proved elusive. We present λ_RF a core refinement calculus that combines semantic sub-typing and parametric polymorphism. We develop a meta-theory for this calculus and prove soundness of the type system. Finally, we give a full mechanization of our meta-theory using the refinement-type based LiquidHaskell as a proof checker, showing how refinements can be used for mechanization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。