Efficient algorithms for program equivalence for confluent concurrent constraint programming

被引:0
|
作者
Pino, Luis F. [1 ,2 ]
Bonchi, Filippo [3 ]
Valencia, Frank [2 ,4 ]
机构
[1] INRIA, DGA, F-91128 Palaiseau, France
[2] Ecole Polytech, CNRS, LIX, UMR X 7161, F-91128 Palaiseau, France
[3] Univ Lyon, ENS Lyon, LIP, UMR 5668,CNRS,ENS Lyon,UCBL,INRIA, F-69364 Lyon, France
[4] Ecole Polytech, CNRS, F-91128 Palaiseau, France
关键词
Concurrent constraint programming; Bisimulation; Partition refinement; Observational equivalence; SEMANTICS; BISIMULATION; CALCULI;
D O I
10.1016/j.scico.2014.12.003
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrent Constraint Programming (CCP) is a well-established declarative framework from concurrency theory. Its foundations and principles e.g., semantics, proof systems, axiomatizations, have been thoroughly studied for over the last two decades. In contrast, the development of algorithms and automatic verification procedures for CCP have hitherto been far too little considered. To the best of our knowledge there is only one existing verification algorithm for the standard notion of CCP program (observational) equivalence. In this paper we first show that this verification algorithm has an exponential-time complexity even for programs from a representative sub-language of CCP; the summation-free fragment (CCP\+). We then significantly improve on the complexity of this algorithm by providing two alternative polynomial-time decision procedures for CCP\+ program equivalence. Each of these two procedures has an advantage over the other. One has a better time complexity. The other can be easily adapted for the full language of CCP to produce significant state space reductions. The relevance of both procedures derives from the importance of CCP\+. This fragment, which has been the subject of many theoretical studies, has strong ties to first-order logic and an elegant denotational semantics, and it can be used to model real-world situations. Its most distinctive feature is that of confluence, a property we exploit to obtain our polynomial procedures. Finally, we also study the congruence issues regarding CCP's program equivalence. (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:135 / 155
页数:21
相关论文
共 50 条
  • [41] ACTORS AS A SPECIAL CASE OF CONCURRENT CONSTRAINT PROGRAMMING
    KAHN, KM
    SARASWAT, VA
    SIGPLAN NOTICES, 1990, 25 (10): : 57 - 66
  • [42] Data-parallel concurrent constraint programming
    Tong, BM
    Leung, HF
    JOURNAL OF LOGIC PROGRAMMING, 1998, 35 (02): : 103 - 150
  • [43] A Symbolic Model for Timed Concurrent Constraint Programming
    Arias, Jaime
    Guzman, Michell
    Olarte, Carlos
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2015, 312 : 161 - 177
  • [44] A concurrent constraint programming interpretation of access permissions
    Olarte, Carlos
    Pimentel, Elaine
    Rueda, Camilo
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2018, 18 (02) : 252 - 295
  • [45] Proving Concurrent Constraint Programming Correct, Revisited
    Olarte, Carlos
    Pimentel, Elaine
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2015, 312 : 179 - 195
  • [46] Models and emerging trends of concurrent constraint programming
    Olarte, Carlos
    Rueda, Camilo
    Valencia, Frank D.
    CONSTRAINTS, 2013, 18 (04) : 535 - 578
  • [47] Concurrent Constraint Programming Research Programmes - Redux
    Saraswat, Vijay
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING, CP 2014, 2014, 8656 : 6 - 8
  • [48] Mobile agents based on concurrent constraint programming
    Paralic, M
    MODULAR PROGRAMMING LANGUAGES, PROCEEDINGS, 2001, 1897 : 62 - 75
  • [49] A Labelled Semantics for Soft Concurrent Constraint Programming
    Gadducci, Fabio
    Santini, Francesco
    Pino, Luis F.
    Valencia, Frank D.
    COORDINATION MODELS AND LANGUAGES, COORDINATION 2015, 2015, 9037 : 133 - 149
  • [50] A fully abstract semantics for concurrent constraint programming
    Nystrom, SO
    Jonsson, B
    INFORMATION AND COMPUTATION, 1998, 146 (02) : 138 - 180