计算机科学 > 计算机科学中的逻辑
[提交于 2017年1月27日]
标题:Implementing Open Call-by-Value (Extended Version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The theory of the call-by-value lambda-calculus relies on weak evaluation and closed terms, that are natural hypotheses in the study of programming languages. To model proof assistants, however, strong evaluation and open terms are required. Open call-by-value is the intermediate setting of weak evaluation with open terms, on top of which Gr\'egoire and Leroy designed the abstract machine of Coq. This paper provides a theory of abstract machines for open call-by-value. The literature contains machines that are either simple but inefficient, as they have an exponential overhead, or efficient but heavy, as they rely on a labelling of environments and a technical optimization. We introduce a machine that is simple and efficient: it does not use labels and it implements open call-by-value within a bilinear overhead. Moreover, we provide a new fine understanding of how different optimizations impact on the complexity of the overhead.
提交历史
来自:Giulio Guerrieri[v1] 2017年1月27日 星期五 20:41:19 UTC