Records for Logic Programming

Abstract CFT is a new constraint system providing records as logical data structure for constraint (logic) programming. It can be seen as a generalization of the rational tree system employed in Prolog II, where finer-grained constraints are used and where subtrees are identified by keywords rather than by position. CFT is defined by a first-order structure consisting of so-called feature trees. Feature trees generalize the ordinary trees corresponding to first-order terms by having their edges labeled with field names called features. The mathematical semantics given by the feature tree structure is complemented with a logical semantics given by five axiom schemes, which we conjecture to comprise a complete axiomatization of the feature tree structure. We present a decision method for CFT, which decides entailment and disentailment between possibly existentially quantified constraints. Since CFT satisfies the independence property, our decision method can also be employed for checking the satisfiability of conjunctions of positive and negative constraints. This includes quantified negative constraints such as ∀ y ∀ z(x≠f(y,z)) . The paper also presents an idealized abstract machine processing negative and positive constraints incrementally. We argue that an optimized version of the machine can decide satisfiability and entailment in quasilinear time.

[1]  H. B. Allen,et al.  A Functional Grammar , 1946 .

[2]  Michael J. Maher,et al.  Unification Revisited , 1988, Foundations of Deductive Databases and Logic Programming..

[3]  Seif Haridi,et al.  Programming Paradigms of the Andorra Kernel Language , 1991, ISLP.

[4]  Gert Smolka,et al.  A Feature-Based Constraint System for Logic Programming with Entailment , 1992, FGCS.

[5]  Nachum Dershowitz,et al.  Termination of Rewriting , 1987, J. Symb. Comput..

[6]  Hassan Aït-Kaci,et al.  Warren's Abstract Machine: A Tutorial Reconstruction , 1991 .

[7]  Hassan Aâ¢t-Kaci Warren's Abstract Machine: A Tutorial Reconstruction , 1991 .

[8]  B. Courcelle Fundamental properties of infinite trees , 1983 .

[9]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[10]  Vijay A. Saraswat,et al.  Concurrent constraint programming , 1989, POPL '90.

[11]  Bob Carpenter,et al.  Typed Feature Structures: A Generalization of First-Order Terms , 1991, ISLP.

[12]  Gert Smolka,et al.  Feature-Constraint Logics for Unification Grammars , 1989, J. Log. Program..

[13]  H. Aït-Kaci A lattice theoretic approach to computation based on a calculus of partially ordered type structures (property inheritance, semantic nets, graph unification) , 1984 .

[14]  Robert E. Tarjan,et al.  Efficiency of a Good But Not Linear Set Union Algorithm , 1972, JACM.

[15]  Joxan Jaffar,et al.  Constraint logic programming , 1987, POPL '87.

[16]  Michael J. Maher Logic Semantics for a Class of Committed-Choice Programs , 1987, ICLP.

[17]  Ralf Treinen Feature Constraints with First-Class Features , 1993, MFCS.

[18]  Hassan Aït-Kaci,et al.  An Algebraic Semantics Approach to the Effective Resolution of Type Equations , 1986, Theor. Comput. Sci..

[19]  Bob Carpenter,et al.  The logic of typed feature structures , 1992 .

[20]  Andreas Podelski,et al.  Towards a Meaning of LIFE , 1991, J. Log. Program..

[21]  Jean-Louis Lassez,et al.  A constraint sequent calculus , 1990, [1990] Proceedings. Fifth Annual IEEE Symposium on Logic in Computer Science.

[22]  Michael J. Maher Complete axiomatizations of the algebras of finite, rational and infinite trees , 1988, [1988] Proceedings. Third Annual Information Symposium on Logic in Computer Science.

[23]  Vijay Saraswat,et al.  Logic Programming, Proceedings of the 1991 International Symposium, San Diego, California, USA, Oct. 28 - Nov 1, 1991 , 1991, ILPS.

[24]  Hassan Aït-Kaci,et al.  LOGIN: A Logic Programming Language with Built-In Inheritance , 1986, J. Log. Program..

[25]  Dexter Kozen,et al.  The Design and Analysis of Algorithms , 1991, Texts and Monographs in Computer Science.

[26]  Mats Carlsson,et al.  SICStus Prolog User''s Manual , 1993 .

[27]  Gert Smolka,et al.  A Complete and Recursive Feature Theory , 1994, ACL.

[28]  Hassan Aït-Kaci,et al.  Integrating logic and functional programming , 1989, LISP Symb. Comput..

[29]  Martin Odersky,et al.  Constraint-based query optimization for spatial databases , 1991, PODS '91.

[30]  Gert Smolka,et al.  A Complete and Recursive Feature Theory , 1993, ACL.

[31]  Alain Colmerauer,et al.  Equations and Inequations on Finite and Infinite Trees , 1984, FGCS.

[32]  Andreas Podelski,et al.  Towards a Meaning of LIFE , 1991, PLILP.