Declarative Compilation for Constraint Logic Programming

被引:1
作者
Gallego Arias, Emilio Jesus [1 ]
Lipton, James [2 ]
Marino, Julio [3 ]
机构
[1] Univ Penn, Philadelphia, PA 19104 USA
[2] Wesleyan Univ, Middletown, CT 06459 USA
[3] Univ Politecn Madrid, Madrid, Spain
来源
LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2014) | 2015年 / 8981卷
关键词
Logic programming; Constraint programming; Relation algebra; Rewriting; Semantics; UNIFICATION;
D O I
10.1007/978-3-319-17822-6_17
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a new declarative compilation of logic programs with constraints into variable-free relational theories which are then executed by rewriting. This translation provides an algebraic formulation of the abstract syntax of logic programs. Management of logic variables, unification, and renaming apart is completely elided in favor of algebraic manipulation of variable-free relation expressions. We prove the translation is sound, and the rewriting system complete with respect to traditional SLD semantics.
引用
收藏
页码:299 / 316
页数:18
相关论文
共 22 条
[1]   On the algebraic structure of declarative programming languages [J].
Amato, Gianluca ;
Lipton, James ;
McGrail, Robert .
THEORETICAL COMPUTER SCIENCE, 2009, 410 (46) :4626-4671
[2]  
Asperti A, 1989, ICLP, P337
[3]   C-EXPRESSIONS - A VARIABLE-FREE CALCULUS FOR EQUATIONAL LOGIC PROGRAMMING [J].
BELLIA, M ;
OCCHIUTO, ME .
THEORETICAL COMPUTER SCIENCE, 1993, 107 (02) :209-252
[4]  
BROOME P, 1994, MIT PS LOG, P269
[5]  
Cheney J., 2004, ALPHA PROLOG LOGIC P
[6]  
Clark K. L., 1977, LOGIC DATA BASES, P293
[7]   A theory of observables for logic programs [J].
Comini, M ;
Levi, G ;
Meo, MC .
INFORMATION AND COMPUTATION, 2001, 169 (01) :23-80
[8]   A new framework for declarative programming [J].
Finkelstein, SE ;
Freyd, P ;
Lipton, J .
THEORETICAL COMPUTER SCIENCE, 2003, 300 (1-3) :91-160
[9]  
Freyd PJ, 1991, CATEGORIES ALLEGORIE
[10]  
Gallego Arias E.J., 2012, LIPICS, V17, P334