# The implication problem for functional and multivalued dependencies : An algebraic approach

## Abstract

Computation of the dependency basis is the fundamental step in solving the implication problem for MVDs in relational database theory. We examine this problem from an algebraic perspective. We introduce the notion of the inference basis of a set M of MVDs and show that it contains the maximum information about the logical consequences of M. We propose the notion of an MVD-lattice and develop an algebraic characterization of the inference basis using simple notions from lattice theory. We also establish several properties of MVD-lattices related to the implication problem. Founded on our characterization, we synthesize efficient algorithms for (a) computing the inference basis of a given set M of MVDs; (b) computing the dependency basis of a given attribute set w.r.t. M; and (c) solving the implication problem for MVDs. Finally, we show that our results naturally extend to incorporate FDs also in a way that enables the solution of the implication problem for both FDs and MVDs put together.

## Keywords

Relational Database Lattice Theory Canonical Representation Scheme Lattice Dency Basis## Preview

Unable to display preview. Download preview PDF.

## References

- 1.W.W. Armstrong, "Dependency structures of database relationships", Proc. IFIP 74, North Holland, Amsterdam, 1974, pp.580–583.Google Scholar
- 2.C. Beeri, "On the membership problem for functional and multivalued dependencies in relational databases", ACM TODS 5,3 (Sept. 1980), 241–249.CrossRefGoogle Scholar
- 3.C. Beeri, R. Fagin, and J.H. Howard, "A complete axiomatization for functional and multivalued dependencies in database relations", Proc. ACM SIGMOD Int.Conf. on Management of Data, Toronto, Aug.1977, pp.47–61.Google Scholar
- 4.C. Beeri and M.Y. Vardi, "On the properties of join dependencies", in: Advances in Database Theory Vol.I (H. Gallaire, J. Minker, and J. Nicolas, Eds.), Plenum Press, NY, 1981, pp.25–71.Google Scholar
- 5.G. Birkhoff, Lattice Theory, 3rd ed., Providence, RI: American, Mathematical Society Colloquium Publ. XXV, 1967.Google Scholar
- 6.J. Biskup, "Inferences of multivalued dependencies in fixed and undetermined universes", Theor.Comput.Sci. 10, 1(Jan.1980),93–105.CrossRefGoogle Scholar
- 7.E.F. Codd, "A relational model of data for large shared data banks", CACM 13, 6(June 1970), 377–387.Google Scholar
- 8.—, "Further normalization of the database relational model", in: Data Base Systems (R. Rustin Ed.), Prentice Hall, Englewood Cliffs, NJ, pp.33–64.Google Scholar
- 9.C. Delobel, "Semantics of relations and decomposition process in the relational data model", ACM TODS 3,3 (Sept. 1978), 201–222.CrossRefGoogle Scholar
- 10.R. Fagin, "Multivalued dependencies and a new normal form for relational databases", ACM TODS 2,3 (Sept.1977), 262–278.CrossRefGoogle Scholar
- 11.Z. Galil, "An almost linear-time algorithm for computing a dependency basis in a relational database", JACM 29, 1(Jan. 1982), 96–102.CrossRefGoogle Scholar
- 12.K. Hagihara, et al, "Decision problems for multi-valued dependencies in relational databases", SIAM J. Comput. 8,2 (May 1979), 247–264.CrossRefGoogle Scholar
- 13.W. Kent, "A guide to the five normal forms in relational database theory", CACM 1983.Google Scholar
- 14.V.S. Lakshmann and C.E. Veni Madhavan, "An algebraic theory of functional and multivalued dependencies in relational databases", under preparation.Google Scholar
- 15.T.T. Lee, "An algebraic theory of relational databases", The Bell Syst. Tech. Jl.62, 10 (Dec.1983), 3159–3204.Google Scholar
- 16.—, "Order-preserving representations of the partitions on the finite set", J.Combinatorial Theory, Series A 31, No.2 (Sept.1981), 136–145.CrossRefGoogle Scholar
- 17.A.O. Mendelzon, "On axiomatizing multivalued dependencies in relational databases", JACM 26, 1(Jan.1979), 37–44.CrossRefGoogle Scholar
- 18.K.K. Nambiar, "A study of saturated sets and functional dependencies in relational databases using linear graphs", Proc. 1st Conf. FST and TCS, Bangalore, India, Dec.1981, pp.99–108.Google Scholar
- 19.Y. Sagiv, "An algorithm for inferring multivalued dependencies with an application to propositional logic", JACM 27,2 (April 1980), 250–262.CrossRefGoogle Scholar
- 20.Y. Sagiv, et al, "An equivalence between relational database dependencies and a subclass of propositional logic", JACM 28,3 (July 1981), 435–453.CrossRefGoogle Scholar
- 21.J.D. Ullman, Principles of Database Systems, Computer Science Press, Potmac, Maryland 1983.Google Scholar
- 22.M.Y. Vardi, "Inferring multivalued dependencies from functional and join dependencies", Acta Informatica,19(1983), 305–324.CrossRefGoogle Scholar
- 23.C. Zaniolo, "Analysis and design of relational schemata for database systems", Tech.Rep.UCLA_ENG_7769, Dept. of Comp.Sci., UCLA, July 1976.Google Scholar