约束处理规则的汇流模等价性证明
On Proving Confluence Modulo Equivalence for Constraint Handling Rules
摘要:
以前的结果证明汇流的约束处理规则扩展在两个方面,以允许一个更大的和更现实的类的约束处理程序被认为是合流。首先,我们介绍了放松的概念的合流模等价到上下文的收敛:而收敛的终止程序意味着所有的替代派生查询导致完全相同的最终状态,合流模等价只需要最终状态是等价的相对于一个等价关系为给定的程序。其次,我们允许非逻辑的内置谓词,如var/1和不完整的谓词,如is/2,在以前的工作中被忽略的融合。为此,一个新的操作语义的开发,其中包括这样的谓词。此外,这种语义不同于早期的方法,它的简单性而不失一般性,它也可以被推荐为未来的研究CHR。对于纯粹的逻辑子集的证明,可以表示在一阶逻辑,我们表明是不够的,在目前的情况下。我们已经引入了一个正式的元语言,允许推理抽象的状态和派生元级的限制,反映了非逻辑和不完整的谓词。这种语言表示子证明的图表,这有利于系统枚举的证明情况下,指向机械支持这种证明。
英文摘要:
Previous results on proving confluence for Constraint Handling Rules are extended in two ways in order to allow a larger and more realistic class of CHR programs to be considered confluent. Firstly, we introduce the relaxed notion of confluence modulo equivalence into the context of CHR: while confluence for a terminating program means that all alternative derivations for a query lead to the exact same final state, confluence modulo equivalence only requires the final states to be equivalent with respect to an equivalence relation tailored for the given program. Secondly, we allow non-logical built-in predicates such as var/1 and incomplete ones such as is/2, that are ignored in previous work on confluence. To this end, a new operational semantics for CHR is developed which includes such predicates. In addition, this semantics differs from earlier approaches by its simplicity without loss of generality, and it may also be recommended for future studies of CHR. For the purely logical subset of CHR, proofs can be expressed in first-order logic, that we show is not sufficient in the present case. We have introduced a formal meta-language that allows reasoning about abstract states and derivations with meta-level restrictions that reflect the non-logical and incomplete predicates. This language represents subproofs as diagrams, which facilitates a systematic enumeration of proof cases, pointing forward to a mechanical support for such proofs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。