We introduce a novel resource analysis for typed term rewrite systems based on a potential-based type system. This type system gives rise to polynomial bounds on the innermost runtime complexity. We relate the thus obtained amortised resource analysis to polynomial interpretations and obtain the perhaps surprising result that whenever a rewrite system R can be well-typed, then there exists a polynomial interpretation that orients R. For this we adequately adapt the standard notion of polynomial interpretations to the typed setting.
Realizability Interpretation and Normalization of Typed Call-by-Need $$λ$$-calculus With Control
我们定义了一个变体的可实现性,其中实现者是一个长期和一个替代对。这个变体允许我们证明一个简单类型的按需调用$$λ$-$calculus with control due to Ariola et al. Indeed, in such call-by-need calculus, substitutions have to be delayed until knowing if an argument is really needed. In a second step, we extend the proof to a call-by-need $$ λ$-演算的规范化,该演算配备了一个等价于经典二阶谓词逻辑的类型系统,代表了向证明按需调用经典二阶算术的规范化迈出的一步,该算术由第二作者引入,以提供依赖选择公理的证明即程序解释。
Faculty of Technical Sciences, University of Novi Sad(诺维萨德大学技术科学学院);Mathematical Institute of the Serbian Academy of Sciences and Arts(塞尔维亚科学院数学研究所);School of Computer Science, University of Birmingham(伯明翰大学计算机学院)