Home

Functional Dependencies in a Relational Database and Propositional Logic


Author(s) : R. Fagin, 
Publisher : N/A
Publication Date : 1977
ISSN : N/A
Abstract : Abstract: An equivalence is shown between functional dependency statements of a relational database, where ?+ ? has the meaning of ?determines, ? and implicational statements of propositional logic, where ?.$ ? has the meaning of ?implies. ? Specifically, it is shown that a dependency statement is a consequence of a set of dependency statements iff the corresponding implicational statement is a con-sequence of the corresponding set of implicational statements. The database designer can take advantage of this equivalence to reduce problems of interest to him to simpler problems in propositional logic. A detailed algorithm is presented for such an application. Two proofs of the equivalence are presented: a ?syntactic ? proof and a ?semantic ? proof. The syntactic proof proceeds in several steps. It is shown that I) Armstrong?s Dependency Axioms are complete for dependency statements in the usual logical sense that they are strong enough to prove every consequence, and that 2) Armstrong?s Axioms are also complete for implicational statements in proposi-tional logic. The equivalence then follows from 1) and 2). The other proof proceeds by considering appropriate semantic interpreta-tions for the propositional variables. The Delobel-Casey Relational Database Decomposition Theorems, which heretofore have seemed somewhat fortuitous, are immediate and natural corollaries of the equivalence. Furthermore, a counterexample is demonstrat-ed, which shows that what seems to be a mild extension of the equivalence fails.,