arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.11023cs.LOcs.FL
收藏

递归格式的无界性:一个更简单的类型系统

Unboundedness for Recursion Schemes: A Simpler Type System

David Barozzini, Paweł Parys, Jan Wróblewski

摘要:

无界性和同时无界性问题的可判定性(又名。高阶递归格式的对角问题)由Clemente,Parys,Salvati和Walukiewicz(2016)建立。然后Parys(2017)提出了一个最佳复杂度的过程;这个过程使用了一个复杂的类型系统,涉及多个标志和标记。我们在这里提出了一个更简单和更直观的类型系统服务于相同的目的。我们证明,这种类型的系统允许解决无界性问题的递归计划,被广泛认为是一个子类,称为安全的计划。对于不安全的递归模式,我们只有类型系统的可靠性:如果一个人可以建立一个类型派生,声称递归模式是无界的,那么它确实是无界的。不安全递归模式的类型系统的完整性是一个悬而未决的问题。更进一步,我们讨论了类型系统的扩展,允许处理同时无界性问题。我们还设计并实现了一种算法,可以完全自动检查给定递归方案的无界性,并在短时间内完成各种输入。

英文摘要:

Decidability of the problems of unboundedness and simultaneous unboundedness (aka. the diagonal problem) for higher-order recursion schemes was established by Clemente, Parys, Salvati, and Walukiewicz (2016). Then a procedure of optimal complexity was presented by Parys (2017); this procedure used a complicated type system, involving multiple flags and markers. We present here a simpler and much more intuitive type system serving the same purpose. We prove that this type system allows to solve the unboundedness problem for a widely considered subclass of recursion schemes, called safe schemes. For unsafe recursion schemes we only have soundness of the type system: if one can establish a type derivation claiming that a recursion scheme is unbounded then it is indeed unbounded. Completeness of the type system for unsafe recursion schemes is left as an open question. Going further, we discuss an extension of the type system that allows to handle the simultaneous unboundedness problem. We also design and implement an algorithm that fully automatically checks unboundedness of a given recursion scheme, completing in a short time for a wide variety of inputs.

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

↑