Skip to main content
QUICK REVIEW

[论文解读] A Complete Characterization of Complete Intersection-Type Theories

Mariangiola Dezani-Ciancaglini, Furio Honsell|ArXiv.org|Nov 23, 2000
Logic, programming, and type systems参考文献 17被引用 5
一句话总结

本文对三种典型的集合论语义下的λ-演算类型指派系统给出了完整的交集类型理论表征:推断语义、简单语义和F-语义。通过引入类型上预序关系≤的闭包条件,实现了无需直接分析类型判断即可进行完备性验证的可处理方法,并将先前结果推广至任意λ-应用结构,而不仅限于λ-模型。

ABSTRACT

We characterize those intersection-type theories which yield complete intersection-type assignment systems for lambda-calculi, with respect to the three canonical set-theoretical semantics for intersection-types: the inference semantics, the simple semantics and the F-semantics. These semantics arise by taking as interpretation of types subsets of applicative structures, as interpretation of the intersection constructor set-theoretic inclusion, and by taking the interpretation of the arrow constructor a' la Scott, with respect to either any possible functionality set, or the largest one, or the least one. These results strengthen and generalize significantly all earlier results in the literature, to our knowledge, in at least three respects. First of all the inference semantics had not been considered before. Secondly, the characterizations are all given just in terms of simple closure conditions on the preorder relation on the types, rather than on the typing judgments themselves. The task of checking the condition is made therefore considerably more tractable. Lastly, we do not restrict attention just to lambda-models, but to arbitrary applicative structures which admit an interpretation function. Thus we allow also for the treatment of models of restricted lambda-calculi. Nevertheless the characterizations we give can be tailored just to the case of lambda-models.

研究动机与目标

  • 表征在三种典型的集合论语义下,哪些交集类型理论能产生λ-演算的完备类型指派系统。
  • 将完备性结果从λ-模型推广至任意λ-应用结构,从而涵盖受限演算(如传值调用)的处理。
  • 提供一种句法化的、基于预序的完备性判据,取代以往较难处理的基于类型判断的条件。
  • 引入并分析交集类型的推断语义,该语义此前在该语境中尚未被考虑。
  • 通过在≤上施加简单的闭包条件,统一并强化先前的完备性结果,实现对所有三种语义的统一表征。

提出的方法

  • 定义交集类型的三种典型语义:推断语义(任意函数集)、简单语义(所有函数集)和F-语义(仅包含典范函数代表)。
  • 将类型解释为应用结构的子集,其中∩表示集合交集,→通过逻辑谓词表示Scott风格的函数空间。
  • 通过类型上预序≤的闭包条件表征完备性,而非通过类型判断,从而简化验证过程。
  • 利用预序≤推导出类型理论相对于每种语义实现可靠与完备的必要与充分条件。
  • 通过仅要求存在一个解释函数,将结果从λ-模型推广至λ-应用结构。
  • 将该表征应用于证明:简单语义和F-语义的完备性蕴含其商化版本的完备性,并通过类似推理将结果扩展至多态类型。

实验结果

研究问题

  • RQ1哪些交集类型理论在推断语义下能产生完备的类型指派系统?
  • RQ2如何通过≤上的闭包条件对完备性进行句法表征,而非基于类型判断?
  • RQ3在任意λ-应用结构(而不仅限于λ-模型)中,F-语义的完备性需满足何种条件?
  • RQ4在完备性方面,三种典型语义——推断、简单和F——之间有何关系?能否从两个语义的完备性推出第三个的完备性?
  • RQ5该表征能否扩展至多态与交集类型系统?Hindley规则在此类语境中起到何种作用?

主要发现

  • 本文对尚未被研究过的推断语义下的完备交集类型理论提供了完整表征。
  • 完备性完全由类型上预序≤的简单闭包条件表征,使得验证比以往基于类型判断的方法显著更易处理。
  • 该表征统一适用于所有三种典型语义:推断、简单和F-语义,每种语义对≤具有不同但明确定义的闭包性质。
  • 研究结果通过将先前工作从λ-模型推广至任意λ-应用结构而得到扩展,从而覆盖了传值调用等受限λ-演算的模型。
  • 证明了F-语义的完备性条件等价于Hindley规则的可接受性以及Ω≁Ω→Ω的不可推导性,证实了早期的猜想。
  • 简单语义和F-语义的完备性蕴含其商化版本的完备性,且通过类似的闭包原理,结果可扩展至多态类型体系。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。