强按值调用与多重类型
Strong Call-by-Value and Multi Types
AI总结:
本文利用Ehrhard的按值调用多重类型研究λ演算的外部策略,证明其终止性与收缩多重类型可指派性等价,并揭示外部策略与按扩展值调用方法不等价。
摘要:
本文为λ演算的强(即可能在抽象下进行的)按值调用求值提供了基础。最近,Accattoli等人提出了一种λ演算的按值调用强求值形式,即外部策略,并证明了其在时间上的合理性。在此,我们使用一种语义工具来研究外部策略,即Ehrhard的按值调用多重类型,它是交集类型的一种变体。我们证明,当一个项可用所谓的收缩多重类型进行类型指派时,外部策略恰好终止,这模仿了强按名调用的类似结果。此外,外部策略在无类型设置中是规范化的,也就是说,只要范式存在,它就能达到范式。我们还考虑了Biernacka等人证明在时间上合理的强求值的按扩展值调用方法。结果表明这两种方法并不等价:项可能在外部策略下发散,但在按扩展值调用下终止。
英文摘要:
This paper provides foundations for strong (that is, possibly under abstraction) call-by-value evaluation for the lambda-calculus. Recently, Accattoli et al. proposed a form of call-by-value strong evaluation for the lambda-calculus, the external strategy, and proved it reasonable for time. Here, we study the external strategy using a semantical tool, namely Ehrhard's call-by-value multi types, a variant of intersection types. We show that the external strategy terminates exactly when a term is typable with so-called shrinking multi types, mimicking similar results for strong call-by-name. Additionally, the external strategy is normalizing in the untyped setting, that is, it reaches the normal form whenever it exists. We also consider the call-by-extended-value approach to strong evaluation shown reasonable for time by Biernacka et al. The two approaches turn out to not be equivalent: terms may be externally divergent but terminating for call-by-extended-value.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。