arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1310.1622cs.LO
收藏

非幂等交类型和强正规化

Non-idempotent intersection types and strong normalisation

Alexis Bernadet, Stéphane Jean Lengrand

摘要:

我们提出了一个非幂等交集类型的分类系统,给出了一个包含纯λ-演算、显式替换演算λS和显式替换、压缩和弱化演算λlxr的术语语法.在这三个演算中,一个项是可类型的,当且仅当它是强正规化的,就像在(许多)具有幂等交集的系统中一样。非幂等性将额外的信息引入到类型树中,例如最长约简序列上的简单边界将项约简到其范式。强规范化遵循,而不需要还原技术。利用这一点,我们重新审视了基于交集类型过滤器的λ演算模型,并将其扩展到λS和λlxr。非幂等性简化了一种基于这种过滤器模型的方法,该方法为众所周知的类型系统(例如系统F)产生强规范化的模块化证明。我们还提出了一个过滤器模型,通过正交技术,即作为一个实例的抽象概念的正交模型在本文中正式和经典的可实现性的启发。与其他基于项的实例(其中一个改写了λ演算强规范化的标准证明)相比,基于过滤器的实例在证明λS和λlxr的强规范化结果方面表现得更好。最后,从我们的类型树中读取的最长约简序列的边界被细化为一个精确的度量,从一个特定的类型树(称为主树)中读取;在三个演算中的每一个中,都标识了这样长度的特定约简序列。在λ-演算的情况下,对于最长约化序列,这个复杂性结果是de Carvalho对于线性头约化序列的结果的对应。

英文摘要:

We present a typing system with non-idempotent intersection types, typing a term syntax covering three different calculi: the pure λ-calculus, the calculus with explicit substitutions λS, and the calculus with explicit substitutions, contractions and weakenings λlxr. In each of the three calculi, a term is typable if and only if it is strongly normalising, as it is the case in (many) systems with idempotent intersections. Non-idempotency brings extra information into typing trees, such as simple bounds on the longest reduction sequence reducing a term to its normal form. Strong normalisation follows, without requiring reducibility techniques. Using this, we revisit models of the λ-calculus based on filters of intersection types, and extend them to λS and λlxr. Non-idempotency simplifies a methodology, based on such filter models, that produces modular proofs of strong normalisation for well-known typing systems (e.g. System F). We also present a filter model by means of orthogonality techniques, i.e. as an instance of an abstract notion of orthogonality model formalised in this paper and inspired by classical realisability. Compared to other instances based on terms (one of which rephrases a now standard proof of strong normalisation for the λ-calculus), the instance based on filters is shown to be better at proving strong normalisation results for λS and λlxr. Finally, the bounds on the longest reduction sequence, read off our typing trees, are refined into an exact measure, read off a specific typing tree (called principal); in each of the three calculi, a specific reduction sequence of such length is identified. In the case of the λ-calculus, this complexity result is, for longest reduction sequences, the counterpart of de Carvalho's result for linear head-reduction sequences.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑