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

结合类型和大小约束检查高阶条件重写系统的终止性

Combining typing and size constraints for checking the termination of higher-order conditional rewrite systems

Frédéric Blanqui, Colin Riba

摘要:

在以前的工作中,第一作者扩展到高阶重写和依赖类型中使用类型中的大小注释,这是一种终止证明技术,称为基于类型或大小的终止,最初为ML类程序开发。在这里,我们通过考虑条件重写和显式量化以及对大小注释的约束更进一步。这允许更精确地描述函数输出的大小如何取决于其输入的大小。因此,我们可以检查更多函数的终止。首先给出了一个基于约束求解的通用类型检测算法。然后,我们给出了Presburger算法中的一个带约束的终止准则。据我们所知,这是高阶条件重写的第一个终止准则,考虑到终止的条件。

英文摘要:

In a previous work, the first author extended to higher-order rewriting and dependent types the use of size annotations in types, a termination proof technique called type or size based termination and initially developed for ML-like programs. Here, we go one step further by considering conditional rewriting and explicit quantifications and constraints on size annotations. This allows to describe more precisely how the size of the output of a function depends on the size of its inputs. Hence, we can check the termination of more functions. We first give a general type-checking algorithm based on constraint solving. Then, we give a termination criterion with constraints in Presburger arithmetic. To our knowledge, this is the first termination criterion for higher-order conditional rewriting taking into account the conditions in termination.

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

↑