【24h】

Pure Subtype Systems

机译:纯亚型系统

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

摘要

This paper introduces a new approach to type theory called pure subtype systems. Pure subtype systems differ from traditional approaches to type theory (such as pure type systems) because the theory is based on subtyping, rather than typing. Proper types and typing are completely absent from the theory; the subtype relation is defined directly over objects. The traditional typing relation is shown to be a special case of subtyping, so the loss of types comes without any loss of generality.rnPure subtype systems provide a uniform framework which seamlessly integrates subtyping with dependent and singleton types. The framework was designed as a theoretical foundation for several problems of practical interest, including mixin modules, virtual classes, and feature-oriented programming.rnThe cost of using pure subtype systems is the complexity of the meta-theory. We formulate the subtype relation as an abstract reduction system, and show that the theory is sound if the underlying reductions commute. We are able to show that the reductions commute locally, but have thus far been unable to show that they commute globally. Although the proof is incomplete, it is "close enough" to rule out obvious counter-examples. We present it as an open problem in type theory.
机译:本文介绍了一种称为纯子类型系统的新类型理论方法。纯子类型系统与传统的类型理论方法(例如纯类型系统)不同,因为该理论基于子类型而不是类型。理论上完全没有适当的类型和类型;子类型关系直接在对象上定义。传统的类型关系被证明是子类型的一种特殊情况,因此类型的损失不会损失任何通用性。纯子类型系统提供了一个统一的框架,该框架将子类型与从属和单例类型无缝集成。该框架被设计为解决一些实际问题的理论基础,包括混合模块,虚拟类和面向功能的编程。使用纯子类型系统的成本是元理论的复杂性。我们将子类型关系表述为抽象归约系统,并表明如果基础归约通勤,该理论是合理的。我们能够证明减价是在本地进行的,但到目前为止,尚无法证明其在全球范围内的进行。尽管证据不完整,但它“足够接近”以排除明显的反例。我们将其作为类型理论中的一个开放问题提出。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号