Logic programming with equations
This paper is a contribution to the amalgamation of logic programming (as embodied in PROLOG and functional programming (as embodied in languages like SASL, KRC, HOPE, or in dialects of LISP like LISPKIT LISP or SCHEME). We investigate how equational rewriting, which we assume is an adequate model for functional programming, can be performed within the context of logic programming. The equational program plus the standard equality axioms (reflexivity, symmetry, transitivity, and substitutivity) is our standard of correctness: we regard it as a logic specification from which the result of any evaluation must be a logical consequence. Although the standard equality axioms plus the equations formally qualify as a PROLOG program, their use as such is computationally infeasible because the SLD-resolution search space contains many refutations yielding useless answers and many infinite branches. To obtain feasible evaluations conforming to our standard of correctness, we investigate two approaches: the interpretational one and the compilational one. In the interpretational approach we use as logic program the equations themselves, but replace the standard axioms of equality by suitably chosen logical consequences having the property that the PROLOG interpreter mimics equational rewriting without search. In the compilational approach we obtain an efficient PROLOG program by translating the equations to a set of Horn clauses not involving equality and discarding the equality axioms altogether. We prove correctness for both approaches.
- Computation of full logic programs using one-variable environments
- Incremental constraint satisfaction for equational logic programming
- Transforming Boolean equalities into constraints
- Unification modulo an equality theory for equational logic programming
- Unifying theories for logic programming
- An equational approach to logic programming
- Equivalent logic programs
- scientific article; zbMATH DE number 4191131 (Why is no real title available?)
- Combining Logic Programming and Equation Solving
- Comments on “logic programming with equations”
- scientific article; zbMATH DE number 3921956 (Why is no real title available?)
- A theory of complete logic programs with equality
- scientific article; zbMATH DE number 3945331 (Why is no real title available?)
- Implementation of an interpreter for abstract equations
- scientific article; zbMATH DE number 3958699 (Why is no real title available?)
- scientific article; zbMATH DE number 4037157 (Why is no real title available?)
- scientific article; zbMATH DE number 4043302 (Why is no real title available?)
- scientific article; zbMATH DE number 4045106 (Why is no real title available?)
- scientific article; zbMATH DE number 4078853 (Why is no real title available?)
- Prolog: subsumption of equality axioms by the homogeneous form
- Combinatory forms for equational programming: Instances, unification and narrowing
- Solving higher-order equations. From logic to programming
- A program transformation from equational programs into logic programs
- scientific article; zbMATH DE number 826301 (Why is no real title available?)
- Narrowing and unification in functional programming —An evaluation mechanism for absolute set abstraction
- Classes of equational programs that compile into efficient machine code
- Hybrid implementations of algebraic specifications
- From Boolean equalities to constraints
- Design strategies for rewrite rules
- Subset-equational programming in intelligent decision systems
- Recursion equation sets computing logic programs
This page was built for publication: Logic programming with equations
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3768368)