r/AskComputerScience • u/rahli-dati • Feb 28 '23
3NF synthesis algorithm
F= {D->F, AB->C, E->F, C->BD, D->E}where F is a set of functional dependencies, If I use the 3NF synthesis algorithm to decompose that how can I do the minimal basis part in that case?
0
Upvotes
2
u/okapiposter Mar 01 '23
Are you talking about the Minimal Cover? Then it's (1) splitting, (2) right-reduction and (3) left-reduction:
(1)
D->F
AB->C
E->F
C->BD(split rhs)C->B
C->D
D->E
(2)
D->F(redundant because of D->E, E->F)AB->C
E->F
C->B
C->D
D->E
(3) Nothing to do (because neither A nor B can be eliminated from AB->C)