Reasoning about FDs
R[A] - a relation F - a set of functional dependencies πΌ β a subset of attributes
Problems
the set F+ contains all the functional dependencies implied by F
F implies a functional dependency f if f holds on every relation that satisfies F
the following 3 rules can be repeatedly applied to compute F+ (Armstrong's Axioms): πΌ, π½, πΎ - subsets of attributes of π΄
these rules are complete (they compute the closure) and sound (no erroneous functional dependencies can be derived)
the following rules can be derived from Armstrong's Axioms:
πΌ, π½, πΎ, πΏ - subsets of attributes of οΏ½
union:
if πΌ β π½ and πΌ β πΎ, then πΌ β π½ πΎ
decomposition:
if πΌ β π½πΎ, then πΌ β π½ and πΌ β πΎ
pseudotransitivity:
if πΌ β π½ and π½πΎ β πΏ, then πΌπΎ β πΏ
compute the closure of a set of attributes under a set of functional dependencies,
e.g. the closure of πΌ under F: πΌ+