arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.10389cs.LOmath.LO
收藏

火球的种类(扩展版)

Types of Fireballs (Extended Version)

Beniamino Accattoli, Giulio Guerrieri

摘要:

Plotkin的按值调用演算的良好性质主要依赖于对弱求值和闭项的限制。开放式按值调用是更一般的设置,其中评估较弱,但条款可能是开放的。这种延伸是微妙的,文献中载有一些建议。最近,Accattoli和Guerrieri对这些建议进行了详细的业务和实施研究,表明从终止的角度来看,它们是等同的,而且在时间成本模型一级也是如此。本文探讨了开放的按值调用的指称语义,通过多类型(又名非幂等交集类型)改编de Carvalho的按名称调用的分析。我们的类型系统的特点规范化,从而提供了一个足够的关系语义。此外,类型推导进行定量信息的成本评估:其大小的边界的数量的评估步骤和大小的范式,我们也推导出精确的界限。这项研究主要依赖于一个新的,完善的介绍火球演算,最简单的建议,开放调用的价值,这是更容易的外延调查。

英文摘要:

The good properties of Plotkin's call-by-value lambda-calculus crucially rely on the restriction to weak evaluation and closed terms. Open call-by-value is the more general setting where evaluation is weak but terms may be open. Such an extension is delicate, and the literature contains a number of proposals. Recently, Accattoli and Guerrieri provided detailed operational and implementative studies of these proposals, showing that they are equivalent from the point of view of termination, and also at the level of time cost models. This paper explores the denotational semantics of open call-by-value, adapting de Carvalho's analysis of call-by-name via multi types (aka non-idempotent intersection types). Our type system characterises normalisation and thus provides an adequate relational semantics. Moreover, type derivations carry quantitative information about the cost of evaluation: their size bounds the number of evaluation steps and the size of the normal form, and we also characterise derivations giving exact bounds. The study crucially relies on a new, refined presentation of the fireball calculus, the simplest proposal for open call-by-value, that is more apt to denotational investigations.

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

↑