Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-10T01:32:38.404Z Has data issue: false hasContentIssue false

Tight typings and split bounds, fully developed

Part of: ICFP2018

Published online by Cambridge University Press:  19 May 2020

BENIAMINO ACCATTOLI
Affiliation:
Inria & LIX, École Polytechnique, UMR 7161, Palaiseau, France (e-mail: beniamino.accattoli@inria.fr)
STÉPHANE GRAHAM-LENGRAND
Affiliation:
SRI International, USA (e-mail: stephane.graham-lengrand@csl.sri.com)
DELIA KESNER
Affiliation:
IRIF, CNRS, Université de Paris & Institut Universitaire de France, France (e-mail: kesner@irif.fr)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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 and Graham-Lengrand to provide exact bounds. Our typing judgements carry 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 λ-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 terms 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.

Information

Type
Research Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.