互动的效率(Efficiency of Interaction)
The (In)Efficiency of Interaction
摘要:
通过由交互的几何形状所启发的抽象机器来评估高阶函数程序已知会引起$\textit{space}$效率,代价是$\textit{time}$性能通常比传统的、基于环境的抽象机器所能获得的性能差。虽然确实存在前者比后者效率指数更低的非线性项族,但目前还不知道\emph{general}这种现象是如何发生的,以及在最坏的情况下,这种效率低下会持续多久。我们回答这些问题,制定四个不同的知名的抽象机器内一个共同的定义框架,这种方式能够给尖锐的相对时间效率的结果。我们还证明了非幂等交集类型论能够精确地反映交互式抽象机的时间性能,这种方式表明,它的时间效率低下,最终下降从高阶类型的存在。
英文摘要:
Evaluating higher-order functional programs through abstract machines inspired by the geometry of the interaction is known to induce $\textit{space}$ efficiencies, the price being $\textit{time}$ performances often poorer than those obtainable with traditional, environment-based, abstract machines. Although families of lambda-terms for which the former is exponentially less efficient than the latter do exist, it is currently unknown how \emph{general} this phenomenon is, and how far the inefficiencies can go, in the worst case. We answer these questions formulating four different well-known abstract machines inside a common definitional framework, this way being able to give sharp results about the relative time efficiencies. We also prove that non-idempotent intersection type theories are able to precisely reflect the time performances of the interactive abstract machine, this way showing that its time-inefficiency ultimately descends from the presence of higher-order types.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。