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

条件表达式正规化函数终止性的证明

Proving Termination of Normalization Functions for Conditional Expressions

Lawrence C. Paulson

摘要:

Boyer和Moore讨论了一个递归函数,它将条件表达式转换为范式[1]。很难证明这个函数在所有输入端都终止。比较了三种终止性证明:(1)使用测度函数,(2)在Domain理论中使用LCF,(3)证明了由递归调用模式定义的递归关系是有根据的。最后两个证明本质上是相同的,但在明显不同的逻辑框架进行。这两个证明的“计算意义”是正规化函数的一个明显的全变式。相关函数进行嵌套递归调用。三个终止性证明变得更加复杂:终止性和正确性必须同时证明。递归关系的方法似乎足够灵活,以处理微妙的终止证明,以前域理论似乎是必不可少的。

英文摘要:

Boyer and Moore have discussed a recursive function that puts conditional expressions into normal form [1]. It is difficult to prove that this function terminates on all inputs. Three termination proofs are compared: (1) using a measure function, (2) in domain theory using LCF, (3) showing that its recursion relation, defined by the pattern of recursive calls, is well-founded. The last two proofs are essentially the same though conducted in markedly different logical frameworks. An obviously total variant of the normalize function is presented as the `computational meaning' of those two proofs. A related function makes nested recursive calls. The three termination proofs become more complex: termination and correctness must be proved simultaneously. The recursion relation approach seems flexible enough to handle subtle termination proofs where previously domain theory seemed essential.

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

↑