Equivalence of the Quotient Term Model and the Least Complete Herbrand Model for a Functional Logic Language

use journal articles in a variety of ways, limited only as required to insure fair attribution to authors and the journal, and to prohibit use in a competing commercial product. See the journal's World Wide Web site for further details. The Journal of Functional and Logic Programming is a peer-reviewed and electronically published scholarly journal that covers a broad scope of topics from functional and logic programming. In particular, it focuses on the integration of the functional and the logic paradigms as well as their common foundations. Abstract This paper addresses the semantics of a rst-order functional logic language , from the viewpoint of conditional equational logic. A functional logic program is regarded as a set of nonlogical axioms of conditional equational logic that are interpreted as deening a function. A query is considered to be an existentially quantiied equation, and solving the query proves the existentially quantiied equation by obtaining a witness. This is justiied by showing equivalence of three models for the functional logic program, i.e., the quotient term model, the least complete Herbrand model, and the operational model of narrowing.

[1]  M. Debbabi,et al.  The Journal of Functional and Logic Programming , 2007 .

[2]  Stéphane Kaplan,et al.  Conditional Rewrite Rules , 1984, Theor. Comput. Sci..

[3]  José Meseguer,et al.  Initiality, induction, and computability , 1986 .

[4]  Corrado Moiso,et al.  A Completeness Result for E-unification Algorithms Based on Conditional Narrowing , 1986, Foundations of Logic and Functional Programming.

[5]  Tetsuo Ida,et al.  Outside-In Conditional Narrowing , 1994 .

[6]  Mario Rodríguez-Artalejo,et al.  On the Completeness of Narrowing as the Operational Semantics of Functional Logic Programming , 1992, CSL.

[7]  Jan A. Bergstra,et al.  Conditional Rewrite Rules: Confluence and Termination , 1986, J. Comput. Syst. Sci..

[8]  Juan José Moreno-Navarro,et al.  Logic Programming with Functions and Predicates: The Language BABEL , 1992, J. Log. Program..

[9]  Corrado Moiso,et al.  Kernel-LEAF: A Logic plus Functional Language , 1991, J. Comput. Syst. Sci..

[10]  Mario Rodríguez-Artalejo,et al.  Denotational Versus Declarative Semantics for Functional Programming , 1991, CSL.

[11]  Joseph A. Goguen,et al.  Initial Algebra Semantics and Continuous Algebras , 1977, J. ACM.

[12]  Wolfgang Wechler,et al.  Universal Algebra for Computer Scientists , 1992, EATCS Monographs on Theoretical Computer Science.

[13]  Jean-Pierre Jouannaud,et al.  Rewrite Systems , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[14]  Corrado Moiso,et al.  A Complete Semantic Characterization of K-Leaf: A Logic Language with Partial Functions , 1987, SLP.

[15]  Michael Hanus,et al.  Compiling Logic Programs with Equality , 1990, PLILP.