首页> 外文会议>Interactive theorem proving >Formalization of a Polymorphic Subtyping Algorithm
【24h】

Formalization of a Polymorphic Subtyping Algorithm

机译:多态子类型化算法的形式化

获取原文
获取原文并翻译 | 示例

摘要

Modern functional programming languages such as Haskell support sophisticated forms of type-inference, even in the presence of higher-order polymorphism. Central to such advanced forms of type-inference is an algorithm for polymorphic subtyping. This paper formalizes an algorithmic specification for polymorphic subtyping in the Abella theorem prover. The algorithmic specification is shown to be decidable, and sound and complete with respect to Odersky and Laeufer's well-known declarative formulation of polymorphic subtyping. While the meta-theoretical results are not new, as far as we know our work is the first to mechanically formalize them. Moreover, our algorithm differs from those currently in the literature by using a novel approach based on worklist judgements. Worklist judgements simplify the propagation of information required by the unification process during subtyping. Furthermore they enable a simple formulation of the meta-theoretical properties, which can be easily encoded in theorem provers.
机译:诸如Haskell之类的现代函数式编程语言即使在存在高阶多态性的情况下也支持复杂的类型推断形式。这种高级类型推断的核心是一种多态子类型化算法。本文正式确定了Abella定理证明者中多态子类型的算法规范。对于Odersky和Laeufer的多态子类型的著名声明式表示法,该算法规范是可确定的,健全且完整的。虽然元理论的结果并不新鲜,但据我们所知,我们的工作是第一个将其机械化的形式。此外,我们的算法与文献中的算法有所不同,它使用了基于工作清单判断的新颖方法。工作表判断简化了子类型化过程中统一过程所需信息的传播。此外,它们使亚理论性质的简单表述变得容易,这些定理可以很容易地在定理证明中编码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号