• Open Access IconOpen Access
  • Cite Icon7
  • https://doi.org/10.1007/bf01530928Copy DOI Icon

Parallelism in logic programs

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

There is a tension between the objectives of avoiding irrelevant computation and extracting parallelism, in that a computational step used to restrict another must precede the latter. Our thesis, following [3], is that evaluation methods can be viewed as implementing a choice ofsideways information propagation graphs, or sips, which determines the set of goals and facts that must be evaluated. Two evaluation methods that implement the same sips can then be compared to see which obtains a greater degree of parallelism, and we provide a formal measure of parallelism to make this comparison. Using this measure, we prove that transforming a program using the Magic Templates algorithm and then evaluating the fixpoint bottom-up provides a “most parallel” implementation for a given choice of sips, without taking resource constraints into account. This result, taken in conjunction with earlier results from [3,27], which show that bottom-up evaluation performs no irrelevant computation and is sound and complete, suggests that a bottom-up approach to parallel evaluation of logic programs is very promising. A more careful analysis of the relative overheads in the top-down and bottom-up evaluation paradigms is needed, however, and we discuss some of the issues. The abstract model allows us to establish several results comparing other proposed parallel evaluation methods in the logic programming and deductive database literature, thereby showing some natural, and sometimes surprising, connections. We consider the limitations of the abstract model and of the proposed bottom-up evaluation method, including the inability of sips to describe certain evaluation methods, and the effect of resource constraints. Our results shed light on the limits of the sip paradigm of computation, which we extend in the process.

Similar Papers
  • Conference Article
  • Citations1

Effective Realization Of Systolic Functions In Logic Programs

  • Oct 25, 1988
  • Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE
  • Albert C Chen +2
  • Book Chapter
  • Citations6

Pipelined Bottom-Up Evaluation of Datalog Programs: The Push Method

  • Jan 01, 2018
  • Stefan Brass +1
  • Book Chapter
  • Citations60

CHR∀: A flexible query language

  • Jan 01, 1998
  • Slim Abdennadher +1
  • Dissertation
  • Citations90

An abstract machine based execution model for computer architecture design and efficient implementation of logic programs in parallel.

  • Aug 01, 1986
  • Manuel V Hermenegildo
  • Research Article

Remembering Papua New Guinea: An Eccentric Ethnography (review)

  • Dec 06, 2005
  • The Contemporary Pacific
  • Dan Jorgensen
  • Research Article
  • Citations3

Proximate drivers of population inter-annual variation in seed output for a masting conifer species

  • Aug 02, 2021
  • Forest Ecology and Management
  • Xoaquín Moreira +2
  • PDF
  • Research Article
  • Citations1

Program Evaluation and Improvement by a Homeless Community Using a Human Centered Design Approach

  • Apr 01, 2024
  • Journal of Participatory Research Methods
  • Conner Olson +3
  • Conference Article
  • Citations25

More efficient datalog queries

  • Jun 12, 2011
  • K Tuncay Tekle +1
  • Conference Article
  • Citations14

A hierarchical fuzzy inference method for skill evaluation of machine operators

  • Jul 01, 2009
  • Kalevi Tervo +2
  • Book Chapter
  • Citations1

New3 Cost Benefit Analysis

  • Jan 01, 2006
  • Sardar M N Islam +1
  • Book Chapter

Speculative Computations in Or-Parallel Tabled Logic Programs

  • Jan 01, 2004
  • Ricardo Rocha +2
  • Conference Article
  • Citations3

The influence of class order on rule induction results

  • Apr 01, 2014
  • Christina B Class
  • Research Article
  • Citations40

Preference queries in deductive databases

  • Mar 01, 2001
  • New Generation Computing
  • Kannan Govindarajan +2
  • Book Chapter
  • Citations4

A General Framework for Static Cost Analysis of Parallel Logic Programs

  • Jan 01, 2020
  • Maximiliano Klemen +4
  • Book Chapter
  • Citations4

Alias Control for Deterministic Parallelism

  • Jan 01, 2013
  • Robert L Bocchino
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.