基础可扩展协递归
Foundational Extensible Corecursion
摘要:
本文提出了一个形式化的框架,安全地定义共递归函数的总设置,基于共递归高达和关系参数。最终产品是一个通用的corecursor,它允许在行为良好的操作(包括构造函数)下进行corecursive(甚至递归)调用。行为良好的协递归函数可以注册为这样的函数,从而增加了协递归函数的表达能力。元理论在Isabelle证明助手中被形式化,并形成了原型工具的核心。上递归是从第一原理推导出来的,不需要新的公理或逻辑的扩展。
英文摘要:
This paper presents a formalized framework for defining corecursive functions safely in a total setting, based on corecursion up-to and relational parametricity. The end product is a general corecursor that allows corecursive (and even recursive) calls under well-behaved operations, including constructors. Corecursive functions that are well behaved can be registered as such, thereby increasing the corecursor's expressiveness. The metatheory is formalized in the Isabelle proof assistant and forms the core of a prototype tool. The corecursor is derived from first principles, without requiring new axioms or extensions of the logic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。