Decomposing R into 3NF
The algorithm is much more complicated
1. Get a “minimal cover” of FDs
2. Find a lossless-join decomposition of R (which might miss dependencies)
3. Add additional relations to the decomposition to cover any missing FDs of the cover
Result will be lossless, will be dependency-preserving 3NF; might not be BCNF