Parallel complexity of logical query programs
- 1 October 1986
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 438-454
- https://doi.org/10.1109/sfcs.1986.40
Abstract
We consider the parallel time complexity of logic programs without function symbols, called logical query programs, or Datalog programs. We give a PRAM algorithm for computing the minimum model of a logical query program, and show that for programs with the "polynomial fringe property," this algorithm runs in logarithmic time. As a result, the "linear" and "piecewise linear" classes of logic programs are in NC. Then we examine several nonlinear classes in which the program has a single recursive rule that is an "elementary chain" We show that certain nonlinear programs are related to GSM mappings of a balanced parentheses language, and that this relationship implies the "polynomial fringe property;" hence such programs are in NC. Finally, we describe an approach for demonstrating that certain logical query programs are log space complete for P, and apply it to both elementary single rule programs and nonelementary programs.Keywords
This publication has 15 references indexed in Scilit:
- Querying logical databasesPublished by Association for Computing Machinery (ACM) ,1985
- Parallel tree contraction and its applicationPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1985
- Structure and complexity of relational queriesJournal of Computer and System Sciences, 1982
- Contributions to the Theory of Logic ProgrammingJournal of the ACM, 1982
- Tree-size bounded alternationJournal of Computer and System Sciences, 1980
- Universality of data retrieval languagesPublished by Association for Computing Machinery (ACM) ,1979
- Complete problems for deterministic polynomial timeTheoretical Computer Science, 1976
- The Semantics of Predicate Logic as a Programming LanguageJournal of the ACM, 1976
- The Hardest Context-Free LanguageSIAM Journal on Computing, 1973
- Finite-Turn Pushdown AutomataSIAM Journal on Control, 1966