ACM Transactions on Programming Languages and Systems · 1989 · 73 citations · 20 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesTheory Of ComputationFunctional ProgrammingLogic ProgrammingPredicate LogicQuery ProcessingLogic Program OptimizationParallel Logic ProgrammingPredicate Analysis
Although the ability to simulate nondeterminism and to compute multiple solutions for a single query is a powerful and attractive feature of logic programming languages, it is expensive in both time and space. Since programs in such languages are very often functional, that is, they do not produce more than one distinct solution for a single input, this overhead is especially undesirable. This paper describes how programs may be analyzed statically to determine which literals and predicates are functional, and how the program may then be optimized using this information. Our notion of “functionality” subsumes the notion of “determinacy” that has been considered by various researchers. Our algorithm is less reliant on language features such as the cut, and thus extends more easily to parallel execution strategies, than others that have been proposed.
20
The Semantics of Predicate Logic as a Programming Language
M. H. van Emden, Robert Kowalski · Journal of the ACM · 1976 · 1.5K citations · Full text
Humanities, Computer Science, Logic +16
The theory of relational databases
Michel Adiba · Science of Computer Programming · 1984 · 969 citations
Doug DeGroot · Future Generation Computer Systems · 1984 · 186 citations