Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Functional dependency
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Properties and axiomatization of functional dependencies == {{Main article|Armstrong's axioms}} Given that ''X'', ''Y'', and ''Z'' are sets of attributes in a relation ''R'', one can derive several properties of functional dependencies. Among the most important are the following, usually called [[Armstrong's axioms]]:<ref name="SilberschatzKorth2010a">{{cite book|author1-link=Abraham Silberschatz|author2-link=Henry F. Korth|author1=Abraham Silberschatz|author2=Henry Korth|author3=S. Sudarshan|title=Database System Concepts|year=2010|publisher=McGraw-Hill|isbn=978-0-07-352332-3|edition=6th|page=339}}</ref> * '''Reflexivity''': If ''Y'' is a subset of ''X'', then ''X'' β ''Y'' * '''Augmentation''': If ''X'' β ''Y'', then ''XZ'' β ''YZ'' * '''Transitivity''': If ''X'' β ''Y'' and ''Y'' β ''Z'', then ''X'' β ''Z'' "Reflexivity" can be weakened to just <math>X \rightarrow \varnothing</math>, i.e. it is an actual [[axiom]], where the other two are proper [[inference rules]], more precisely giving rise to the following rules of syntactic consequence:<ref name="Vardi">M. Y. Vardi. [http://www.cs.rice.edu/~vardi/papers/ttcs87.pdf Fundamentals of dependency theory]. In E. Borger, editor, Trends in Theoretical Computer Science, pages 171β224. Computer Science Press, Rockville, MD, 1987. {{ISBN|0881750840}}</ref> <math>\vdash X \rightarrow \varnothing</math><br/> <math>X \rightarrow Y \vdash XZ \rightarrow YZ</math><br/> <math>X \rightarrow Y, Y \rightarrow Z \vdash X \rightarrow Z</math>. These three rules are a [[Soundness|sound]] and [[Completeness (logic)|complete]] axiomatization of functional dependencies. This axiomatization is sometimes described as finite because the number of inference rules is finite,<ref name="alice">{{Citation |last1=Abiteboul |first1=Serge |author-link=Serge Abiteboul |last2=Hull |first2=Richard B. |author2-link=Richard B. Hull |last3=Vianu |first3=Victor |author3-link=Victor Vianu |title=Foundations of Databases |publisher=Addison-Wesley |year=1995 |isbn=0-201-53771-0 |url=https://archive.org/details/foundationsofdat0000abit/page/164 |pages=[https://archive.org/details/foundationsofdat0000abit/page/164 164β168] }}</ref> with the caveat that the axiom and rules of inference are all [[Schema (logic)|schemata]], meaning that the ''X'', ''Y'' and ''Z'' range over all ground terms (attribute sets).<ref name="Vardi"/> By applying augmentation and transitivity, one can derive two additional rules: * '''Pseudotransitivity''': If ''X'' β ''Y'' and ''YW'' β ''Z'', then ''XW'' β ''Z''<ref name="SilberschatzKorth2010a"/> * '''Composition''': If ''X'' β ''Y'' and ''Z'' β ''W'', then ''XZ'' β ''YW''<ref name="Singh2009">{{cite book|author=S. K. Singh|title=Database Systems: Concepts, Design & Applications|url=https://books.google.com/books?id=8PNCKe2SpRwC&pg=PA323|year=2009|orig-year=2006|publisher=Pearson Education India|isbn=978-81-7758-567-4|page=323}}</ref> One can also derive the [[Armstrong's axioms#Additional rules (Secondary Rules)|'''union''' and '''decomposition''']] rules from Armstrong's axioms:<ref name="SilberschatzKorth2010a"/><ref name="Garcia-MolinaUllman2009">{{cite book|author1=Hector Garcia-Molina|author2=Jeffrey D. Ullman|author3=Jennifer Widom|title=Database systems: the complete book|year=2009|publisher=Pearson Prentice Hall|isbn=978-0-13-187325-4|edition=2nd|page=73}} This is sometimes called the splitting/combining rule.</ref> :''X'' β ''Y'' and ''X'' β ''Z'' [[if and only if]] ''X'' β ''YZ''
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)