NON-IDEMPOTENT INTERSECTION TYPES AND STRONG NORMALISATION

被引:32
作者
Bernadet, Alexis [1 ]
Graham-Lengrand, Stephane [1 ,2 ]
机构
[1] Ecole Polytech, F-91128 Palaiseau, France
[2] CNRS, F-75700 Paris, France
关键词
intersection types; non-idempotence; strong normalisation; orthogonality models; filters; complexity; LAMBDA-TERMS; REDUCTIONS; SYSTEM;
D O I
10.2168/LMCS-9(4:3)2013
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a typing system with non-idempotent intersection types, typing a term syntax covering three different calculi: the pure lambda-calculus, the calculus with explicit substitutions lambda S, and the calculus with explicit substitutions, contractions and weakenings lambda 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 lambda-calculus based on filters of intersection types, and extend them to lambda S and lambda 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 lambda-calculus), the instance based on filters is shown to be better at proving strong normalisation results for lambda S and lambda 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 lambda-calculus, this complexity result is, for longest reduction sequences, the counterpart of de Carvalho's result for linear head-reduction sequences.
引用
收藏
页数:46
相关论文
共 59 条
  • [1] COMPUTATIONAL INTERPRETATIONS OF LINEAR LOGIC
    ABRAMSKY, S
    [J]. THEORETICAL COMPUTER SCIENCE, 1993, 111 (1-2) : 3 - 57
  • [2] Intersection types and lambda models
    Alessi, F
    Barbanera, F
    Dezani-Ciancaglini, M
    [J]. THEORETICAL COMPUTER SCIENCE, 2006, 355 (02) : 108 - 126
  • [3] [Anonymous], 1998, Domains and lambda-calculi
  • [4] Baillot P, 2002, INT FED INFO PROC, V96, P370
  • [5] Baillot P., 2003, CORR
  • [6] A FILTER LAMBDA-MODEL AND THE COMPLETENESS OF TYPE ASSIGNMENT
    BARENDREGT, H
    COPPO, M
    DEZANI-CIANCAGLINI, M
    [J]. JOURNAL OF SYMBOLIC LOGIC, 1983, 48 (04) : 931 - 940
  • [7] Barendregt H, 1984, STUDIES LOGIC FDN MA
  • [8] Exact bounds for lengths of reductions in typed λ-calculus
    Beckmann, A
    [J]. JOURNAL OF SYMBOLIC LOGIC, 2001, 66 (03) : 1277 - 1285
  • [9] Benaissa Z.-El.-A., 1996, Journal of Functional Programming, V6, P699, DOI 10.1017/S0956796800001945
  • [10] Benton N., 1993, Typed Lambda Calculi and Applications. International Conference. TLCA '93, P75, DOI 10.1007/BFb0037099