Tight Typings and Split Bounds

被引:0
|
作者
Accattoli, Beniamino [1 ,2 ]
Graham-Lengrand, Stephane [1 ,3 ]
Kesner, Delia [2 ,4 ,5 ]
机构
[1] INRIA, LIX, Paris, France
[2] Ecole Polytech, Palaiseau, France
[3] CNRS, INRIA, LIX, Paris, France
[4] CNRS, IRIF, Paris, France
[5] Univ Paris Diderot, Paris, France
关键词
lambda-calculus; type systems; cost models;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Multi types-aka non-idempotent intersection types-have been used to obtain quantitative bounds on higher-order programs, as pioneered by de Carvalho. Notably, they bound at the same time the number of evaluation steps and the size of the result. Recent results show that the number of steps can be taken as a reasonable time complexity measure. At the same time, however, these results suggest that multi types provide quite lax complexity bounds, because the size of the result can be exponentially bigger than the number of steps. Starting from this observation, we refine and generalise a technique introduced by Bernadet & Graham-Lengrand to provide exact bounds for the maximal strategy. Our typing judgements carry two counters, one measuring evaluation lengths and the other measuring result sizes. In order to emphasise the modularity of the approach, we provide exact bounds for four evaluation strategies, both in the A-calculus (head, leftmost-outermost, and maximal evaluation) and in the linear substitution calculus (linear head evaluation). Our work aims at both capturing the results in the literature and extending them with new outcomes. Concerning the literature, it unifies de Carvalho and Bernadet & Graham-Lengrand via a uniform technique and a complexity-based perspective. The two main novelties are exact split bounds for the leftmost strategy- the only known strategy that evaluates temis to full normal forms and provides a reasonable complexity measure and the observation that the computing device hidden behind multi types is the notion of substitution at a distance, as implemented by the linear substitution calculus.
引用
收藏
页数:30
相关论文
共 50 条
  • [21] Tight space bounds for -exclusion
    Taubenfeld, Gadi
    [J]. DISTRIBUTED COMPUTING, 2014, 27 (03) : 165 - 179
  • [22] Tight Bounds for Asynchronous Renaming
    Alistarh, Dan
    Aspnes, James
    Censor-Hillel, Keren
    Gilbert, Seth
    Guerraoui, Rachid
    [J]. JOURNAL OF THE ACM, 2014, 61 (03)
  • [23] Tight bounds for divisible subdivisions
    Das, Shagnik
    Draganic, Nemanja
    Steiner, Raphael
    [J]. JOURNAL OF COMBINATORIAL THEORY SERIES B, 2024, 165 : 1 - 19
  • [24] TIGHT LOWER BOUNDS FOR SHELLSORT
    WEISS, MA
    SEDGEWICK, R
    [J]. JOURNAL OF ALGORITHMS, 1990, 11 (02) : 242 - 251
  • [25] The underdetermination of typings
    Westerhoff, J
    [J]. ERKENNTNIS, 2003, 58 (03) : 379 - 414
  • [26] TIGHT EXPONENTIAL BOUNDS FOR HYPERBOLIC TANGENT
    Bagul, Yogesh J.
    Dhaigude, Ramkrishna M.
    Chesneau, Christophe
    Kostic, Marko
    [J]. JORDAN JOURNAL OF MATHEMATICS AND STATISTICS, 2022, 15 (4A): : 807 - 821
  • [27] Tight bounds on American option prices
    Chung, San-Lin
    Hung, Mao-Wei
    Wang, Jr-Yan
    [J]. JOURNAL OF BANKING & FINANCE, 2010, 34 (01) : 77 - 89
  • [28] Tight Risk Bounds for Histogram Classifier
    Nedel'ko, Victor M.
    [J]. 2016 11TH INTERNATIONAL FORUM ON STRATEGIC TECHNOLOGY (IFOST), PTS 1 AND 2, 2016,
  • [29] On tight bounds for binary frameproof codes
    Guo, Chuan
    Stinson, Douglas R.
    Tran Van Trung
    [J]. DESIGNS CODES AND CRYPTOGRAPHY, 2015, 77 (2-3) : 301 - 319
  • [30] Tight bounds for Sketches in Traffic Validation
    Lopez, Ester
    Navarro, Leandro
    [J]. PROCEEDINGS OF THE 2017 IEEE 14TH INTERNATIONAL CONFERENCE ON NETWORKING, SENSING AND CONTROL (ICNSC 2017), 2017, : 210 - 215