Ch15 (FD)-rules
Ch15 (FD)-rules
PK: BranchNo
PK: StaffNo
PK: StaffNo
• Determinant
• Attribute or group of attributes on left-
hand side of arrow
− Soundness: ( FA ⊆ F + )
I.e. Every new FD X → Y derived from a given set of FDs F using Armstrong's Axioms is such
that F ⊨ {X → Y}
− Completeness: ( F + ⊆ FA )
I.e Any FD X → Y logically implied by F (i.e. F’ ⊨ {X → Y}) can be derived from F using
Armstrong’s Axioms
Other Inference Rules
⚫ IR4: Decomposition or Projective rule
{X → YZ} ⊨ {X → Y}
⚫ IR5: Union or Additive rule
{X → Y, X → Z} ⊨ {X → YZ}
⚫ IR6: Pseudo transitive rule
{X → Y, WY → Z} ⊨ {WX → Z}
Proofs of Axioms/ Rules
IR1(Reflexive) If 𝑋 ⊇ 𝑌 then 𝑋 → 𝑌 i.e. F ⊨ {X → Y | Y ⊆ X} for any X.
Such FDs are called as Trivial FDs
Proof of IR1.
Suppose thatIf 𝑋 ⊇ 𝑌 and that two tuples t1 and t2 exist in some relation r(R)
instance such that
t1 [X] = t2 [X]. Then t1[Y] = t2[Y] because 𝑋 ⊇ 𝑌;
Hence, 𝑋 → 𝑌 must hold in r (relation state).
IR2: (Augmentation) {X → Y} ⊨ {XZ → YZ}, Z ⊆ R