scholarly journals Selective Unification in (Constraint) Logic Programming*

2020 ◽  
Vol 177 (3-4) ◽  
pp. 359-383
Author(s):  
Fred Mesnard ◽  
Étienne Payet ◽  
Germán Vidal

Concolic testing is a well-known validation technique for imperative and object oriented programs. In a previous paper, we have introduced an adaptation of this technique to logic programming. At the heart of our framework lies a specific procedure that we call “selective unification”. It is used to generate appropriate run-time goals by considering all possible ways an atom can unify with the heads of some program clauses. In this paper, we show that the existing algorithm for selective unification is not complete in the presence of non-linear atoms. We then prove soundness and completeness for a restricted version of the problem where some atoms are required to be linear. We also consider concolic testing in the context of constraint logic programming and extend the notion of selective unification accordingly.

1997 ◽  
Vol 28 (10) ◽  
pp. 987-999 ◽  
Author(s):  
SAFAAI DERIS ◽  
SIGERU OMATU ◽  
HIROSHI OHTA ◽  
PATHIAH ABD SAMAT

2001 ◽  
Vol 1 (4) ◽  
pp. 409-445 ◽  
Author(s):  
JAVIER LEACH ◽  
SUSANA NIEVA ◽  
MARIO RODRÍGUEZ-ARTALEJO

Constraint Logic Programming (CLP) and Hereditary Harrop formulas (HH) are two well known ways to enhance the expressivity of Horn clauses. In this paper, we present a novel combination of these two approaches. We show how to enrich the syntax and proof theory of HH with the help of a given constraint system, in such a way that the key property of HH as a logic programming language (namely, the existence of uniform proofs) is preserved. We also present a procedure for goal solving, showing its soundness and completeness for computing answer constraints. As a consequence of this result, we obtain a new strong completeness theorem for CLP that avoids the need to build disjunctions of computed answers, as well as a more abstract formulation of a known completeness theorem for HH.


2001 ◽  
Vol 19 (3) ◽  
pp. 209-255 ◽  
Author(s):  
Agostino Dovier ◽  
Enrico Pontelli ◽  
Gianfranco Rossi

Sign in / Sign up

Export Citation Format

Share Document