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 条
  • [1] Tight Typings and Split Bounds
    Accattoli, Beniamino
    Graham-Lengrand, Stephane
    Kesner, Delia
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES, 2018,
  • [2] Tight typings and split bounds, fully developed
    Accattoli, Beniamino
    Graham-Lengrand, Ephane
    Kesner, Delia
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2020, 30
  • [3] On Tight Bounds for the Lasso
    van de Geer, Sara
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2018, 19
  • [4] Tight bounds on plurality
    Srivastava, N
    Taylor, AD
    [J]. INFORMATION PROCESSING LETTERS, 2005, 96 (03) : 93 - 95
  • [5] TIGHT BOUNDS FOR CAPACITIES
    KAMPKE, T
    [J]. COMPUTERS & MATHEMATICS WITH APPLICATIONS, 1994, 27 (08) : 67 - 86
  • [6] Tight bounds for the probability of overfitting
    K. V. Vorontsov
    [J]. Doklady Mathematics, 2009, 80 : 793 - 796
  • [7] Tight Bounds for Distributed Selection
    Kuhn, Fabian
    Locher, Thomas
    Wattenhofer, Roger
    [J]. SPAA'07: PROCEEDINGS OF THE NINETEENTH ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2007, : 145 - +
  • [8] Tight bounds for popping algorithms
    Guo, Heng
    He, Kun
    [J]. RANDOM STRUCTURES & ALGORITHMS, 2020, 57 (02) : 371 - 392
  • [9] TIGHT LOWER BOUNDS FOR SHELLSORT
    WEISS, MA
    SEDGEWICK, R
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 318 : 255 - 262
  • [10] Tight bounds for the normal distribution
    Chen, HW
    [J]. AMERICAN MATHEMATICAL MONTHLY, 1999, 106 (01): : 76 - 76