约束处理规则中模等价与不变量的合流
Confluence Modulo Equivalence with Invariants in Constraint Handling Rules
摘要:
Confluence表示状态转换系统的属性,即状态可以以多种方式重写,从而产生相同的结果。虽然它是一个理想的属性,但在实际应用中,汇合往往过于严格,因为它还考虑了在实践中永远无法达到的状态。此外,有时在实际上下文中具有相同语义的状态由于不同的句法表示而被认为是不同的状态。通过在状态上引入适当的不变量和等价关系,程序可以具有模等价关系w.r.t.在实践中经常需要的不变量。本文给出了模等价汇流的一个充要判据。提出了约束处理规则(Constraint Handling Rules,简称REQ)的不变量。这是第一种方法,涵盖了基于不变量的合流模等价的事实标准语义的CHR。有一个权衡之间的实用性和简单的证明合流属性。因此,一个更好的管理子集的等价关系已被确定,允许拟议的合流标准和简化的合流证明,使用完善的可扩展性分析方法。
英文摘要:
Confluence denotes the property of a state transition system that states can be rewritten in more than one way yielding the same result. Although it is a desirable property, confluence is often too strict in practical applications because it also considers states that can never be reached in practice. Additionally, sometimes states that have the same semantics in the practical context are considered as different states due to different syntactic representations. By introducing suitable invariants and equivalence relations on the states, programs may have the property to be confluent modulo the equivalence relation w.r.t. the invariant which often is desirable in practice. In this paper, a sufficient and necessary criterion for confluence modulo equivalence w.r.t. an invariant for Constraint Handling Rules (CHR) is presented. It is the first approach that covers invariant-based confluence modulo equivalence for the de facto standard semantics of CHR. There is a trade-off between practical applicability and the simplicity of proving a confluence property. Therefore, a better manageable subset of equivalence relations has been identified that allows for the proposed confluence criterion and and simplifies the confluence proofs by using well established CHR analysis methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。