Issue No. 04 - August (1994 vol. 6)

ISSN: 1041-4347

pp: 518-533

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/69.298170

ABSTRACT

<p>A program is first-order reducible (FO-reducible) w.r.t. a set IC of integrity constraints if there exists a first-order theory T such that the set of models for T is exactly the set of intended models for the program w.r.t. all possible EDBs. In this case, we say that P is FO-reducible to T w.r.t. IC. For FO-reducible programs, it is possible to characterize, using first-order logic implications, properties of programs that are related to all possible EDBs as in the database context. These properties include, among others, containment of programs, independence of updates w.r.t. queries and integrity constraints, and characterization and implication of integrity constraints in programs, all of which have no known proof procedures. Therefore, many important problems formalized in a nonstandard logic can be dealt with by using the rich reservoir of first-order theorem-proving tools, provided that the program is FO-reducible. The following classes of programs are shown to be FO-reducible: (1) a stratified acyclic program P is FO-reducible to comp(P)/spl cup/IC w.r.t. IC for any set IC of constraints; (2) a general chained program P is FO-reducible to comp(P')/spl cup/IC w.r.t. certain acyclicity constraints IC; and (3) a bounded program P is FO-reducible to comp(P')/spl cup/IC w.r.t. any set IC of constraints, where P' is a nonrecursive program equivalent to P. Some heuristics for constructing FO-reducible programs are described.</p>

INDEX TERMS

eductive databases; query processing; formal logic; logic programming; database theory; programming theory; first-order logic; program properties; order reducible; first-order theory; FO-reducible programs; EDBs; database context; integrity constraints; theorem-proving tools; stratified acyclic program; general chained program; bounded program; nonrecursive program; deductive databases; fixed points; logic programs; perfect models; query answering; updates; extensional database; inference rules

CITATION

K. Wang, L.Y. Yuan, "First-Order Logic Characterization of Program Properties",

*IEEE Transactions on Knowledge & Data Engineering*, vol. 6, no. , pp. 518-533, August 1994, doi:10.1109/69.298170