JOURNAL ARTICLE

Inference of monotonicity constraints in datalog programs

Abstract

Datalog (i.e., function-free logic) programs with monotonicity constraints on extensional predicates are considered. A monotonicity constraint states that one argument of a predicate is always less than another argument, according to some partial order. Relations of an extensional database are required to satisfy the monotonicity constraints imposed on their predicates. More specifically, a partial order is defined on the domain (i.e., set of constants) of the database, and every tuple of each relation satisfies the monotonicity constraints imposed on its predicate. An algorithm is given for inferring all monotonicity constraints that hold in relations of the intensional database from monotonicity constraints that hold in the extensional database. A complete inference algorithm is also given for disjunctions of monotonicity and equality constraints. It is shown that the inference of monotonicity constraints in programs is a complete problem for exponential time. For linear programs, this problem is complete for polynomial space.

Keywords:
Datalog Monotonic function Tuple Predicate (mathematical logic) Inference Mathematics First-order logic Computer science Rule of inference Discrete mathematics Theoretical computer science Programming language Artificial intelligence

Metrics

56
Cited By
4.20
FWCI (Field Weighted Citation Impact)
8
Refs
0.95
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Formal Methods in Verification
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Logic, programming, and type systems
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Inference of monotonicity constraints in Datalog programs

Alexander BrodskyYehoshua Sagiv

Journal:   Annals of Mathematics and Artificial Intelligence Year: 1999 Vol: 26 (1-4)Pages: 29-57
JOURNAL ARTICLE

Optimizing chain datalog programs and their inference procedures

Anke Rieger

Journal:   Technische Universität Dortmund Eldorado (Technische Universität Dortmund) Year: 1996
JOURNAL ARTICLE

Preservation of integrity constraints in definite DATALOG programs

Ke WangLi Yan Yuan

Journal:   Information Processing Letters Year: 1992 Vol: 44 (4)Pages: 185-193
JOURNAL ARTICLE

Datalog with Negation and Monotonicity

Bas KetsmanChristoph Koch

Journal:   Leibniz-Zentrum für Informatik (Schloss Dagstuhl) Year: 2020
BOOK-CHAPTER

Bottom-up evaluation of Datalog programs with arithmetic constraints

Laurent FribourgMarcos Veloso Peixoto

Lecture notes in computer science Year: 1994 Pages: 311-325
© 2026 ScienceGate Book Chapters — All rights reserved.