Confluence Modulo Equivalence with Invariants in Constraint Handling Rules

被引:3
|
作者
Gall, Daniel [1 ]
Fruehwirth, Thom [1 ]
机构
[1] Univ Ulm, Inst Software Engn & Programming Languages, D-89069 Ulm, Germany
关键词
D O I
10.1007/978-3-319-90686-7_8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 simplifies the confluence proofs by using well established CHR analysis methods.
引用
收藏
页码:116 / 131
页数:16
相关论文
共 50 条
  • [1] Confluence Modulo Equivalence in Constraint Handling Rules
    Christiansen, Henning
    Kirkeby, Maja H.
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2014), 2015, 8981 : 41 - 58
  • [2] On proving confluence modulo equivalence for Constraint Handling Rules
    Christiansen, Henning
    Kirkeby, Maja H.
    [J]. FORMAL ASPECTS OF COMPUTING, 2017, 29 (01) : 57 - 95
  • [3] Confluence of CHR Revisited: Invariants and Modulo Equivalence
    Christiansen, Henning
    Kirkeby, Maja H.
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, LOPSTR 2018, 2019, 11408 : 94 - 111
  • [4] Diagrammatic confluence for Constraint Handling Rules
    Haemmerle, Remy
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2012, 12 : 737 - 753
  • [5] Observable confluence for constraint handling rules
    Duck, Gregory J.
    Stuckey, Peter J.
    Sulzmann, Martin
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 224 - +
  • [6] SMCHR: Satisfiability modulo constraint handling rules
    Duck, Gregory J.
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2012, 12 : 601 - 618
  • [7] Parallelizing union-find in constraint handling rules using confluence analysis
    Frühwirth, T
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2005, 3668 : 113 - 127
  • [8] Confluence and Semantics of Constraint Simplification Rules
    Abdennadher S.
    Frühwirth T.
    Meuss H.
    [J]. Constraints, 1999, 4 (2) : 133 - 165
  • [9] Confluence and convergence modulo equivalence in probabilistically terminating reduction systems
    Kirkeby, Maja H.
    Christiansen, Henning
    [J]. INTERNATIONAL JOURNAL OF APPROXIMATE REASONING, 2019, 105 : 217 - 228
  • [10] Constraint solving with constraint handling rules
    Frühwirth, T
    [J]. INTENSIONAL PROGRAMMING II: BASED ON THE PAPERS AT ISLIP'99, 2000, : 14 - 30