constraint logic programming
Recently Published Documents


TOTAL DOCUMENTS

363
(FIVE YEARS 7)

H-INDEX

25
(FIVE YEARS 0)

Author(s):  
MAXIMILIANO CRISTIÁ ◽  
GIANFRANCO ROSSI

Abstract Formal reasoning about finite sets and cardinality is important for many applications, including software verification, where very often one needs to reason about the size of a given data structure. The Constraint Logic Programming tool $$\{ log\} $$ provides a decision procedure for deciding the satisfiability of formulas involving very general forms of finite sets, although it does not provide cardinality constraints. In this paper we adapt and integrate a decision procedure for a theory of finite sets with cardinality into $$\{ log\} $$ . The proposed solver is proved to be a decision procedure for its formulas. Besides, the new CLP instance is implemented as part of the $$\{ log\} $$ tool. In turn, the implementation uses Howe and King’s Prolog SAT solver and Prolog’s CLP(Q) library, as an integer linear programming solver. The empirical evaluation of this implementation based on +250 real verification conditions shows that it can be useful in practice. Under consideration in Theory and Practice of Logic Programming (TPLP)



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.



2020 ◽  
pp. 1-17
Author(s):  
Amelia Bădică ◽  
Costin Bădică ◽  
Mirjana Ivanović


PLoS ONE ◽  
2020 ◽  
Vol 15 (4) ◽  
pp. e0231331
Author(s):  
Shengbing Ren ◽  
Weijia Zhou ◽  
Haiwei Zhou ◽  
Lei Xia


Author(s):  
Sebastian Krings ◽  
Joshua Schmidt ◽  
Patrick Skowronek ◽  
Jannik Dunkelau ◽  
Dierk Ehmke




2019 ◽  
Vol 19 (5-6) ◽  
pp. 808-825
Author(s):  
FERNANDO SÁENZ-PÉREZ

AbstractThis paper proposes the use of Constraint Logic Programming (CLP) to model SQL queries in a data-independent abstract layer by focusing on some semantic properties for signalling possible errors in such queries. First, we define a translation from SQL to Datalog, and from Datalog to CLP, so that solving this CLP program will give information about inconsistency, tautology, and possible simplifications. We use different constraint domains which are mapped to SQL types, and propose them to cooperate for improving accuracy. Our approach leverages a deductive system that includes SQL and Datalog, and we present an implementation in this system which is currently being tested in classroom, showing its advantages and differences with respect to other approaches, as well as some performance data.



Sign in / Sign up

Export Citation Format

Share Document