Towards a constraint solver for proving confluence with invariant and equivalence of realistic CHR programs

08/24/2018
by   Henning Christiansen, et al.
0

Confluence of a nondeterministic program ensures a functional input-output relation, freeing the programmer from considering the actual scheduling strategy, and allowing optimized and perhaps parallel implementations. The more general property of confluence modulo equivalence ensures that equivalent inputs are related to equivalent outputs that need not be identical. Constraint Handling Rules (CHR) is an important example of a rewrite based logic programming language, and we aim at a mechanizable method for proving confluence modulo equivalence of terminating programs. While earlier approaches to confluence for CHR programs concern an idealized logic subset, we refer to a semantics compatible with standard Prolog-based implementations. We specify a meta-level constraint language in which invariants and equivalences can be expressed and manipulated, extending our previous theoretical results towards a practical implementation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/09/2018

Confluence Modulo Equivalence with Invariants in Constraint Handling Rules

Confluence denotes the property of a state transition system that states...
research
06/01/2021

Proving Equivalence Between Complex Expressions Using Graph-to-Sequence Neural Models

We target the problem of provably computing the equivalence between two ...
research
05/16/2022

Strong Equivalence of Logic Programs with Counting

In answer set programming, two groups of rules are considered strongly e...
research
10/31/2019

Data Abstraction and Relational Program Logic

In a paper published in 1972 Hoare articulated the fundamental notions o...
research
05/09/2022

Making ProB compatible with SWI-Prolog

Even though the core of the Prolog programming language has been standar...
research
04/18/2019

Behavioural Equivalence via Modalities for Algebraic Effects

The paper investigates behavioural equivalence between programs in a cal...
research
05/26/2018

Confluence of CHR revisited: invariants and modulo equivalence

Abstract simulation of one transition system by another is introduced as...

Please sign up or login with your details

Forgot password? Click here to reset