street ccity, but no non-trivial functional dependencies.
is in 4NF with respect to a set
of functional
and multivalued dependencies if for all multivalued dependencies in
of the form
,
where
and
, at least one of the
following hold:
is a trivial multivalued dependency.
is a superkey for scheme
.
holding on
, where
is not a superkey.
implies
,
by the replication rule,
cannot be in 4NF.

loan# is a nontrivial multivalued dependency and cname
is not a superkey for the scheme.

be a relation scheme and
a set of functional and multivalued dependencies on
.
and
form a decomposition of
.
:

into
two schemes
and
, one of the two above dependencies must hold.
be a relation scheme.
be a decomposition of
.
be the set of functional and multivalued dependencies holding on
.
to
is the set
consisting of:
that include only attributes of
.
where
and
is in
.
is dependency preserving
with respect to a set
of functional and multivalued dependencies if for every set of relations
such that for all
,
satisfies
, there exists a relation
that satisfies
and for which
for all
.
there exists a relation
on the entire scheme
that the decomposed
schemes can be derived from, and that
also satisfies the functional and multivalued dependencies.
.

is not in 4NF, as we have
and
is not a superkey.

is now in 4NF, but
is not.
(how did we get this?),
our algorithm then decomposes
into

is now in 4NF, but
is not.
is in
(why?) then the restriction
of this dependency to
gives us
.
into

and
.
Figure 6.4: Projection of relation
onto a 4NF decomposition of
.
.
to
is
and some trivial
dependencies.
satisfies
as there are no pairs
with the same
value.
satisfies all functional and multivalued dependencies since no two tuples have the same
value on any attribute.
and
.
.
on
that satisfies
and decomposes into
and
.
.
does not satisfy
.
containing
and satisfying
must
include the tuple
.
includes a tuple
that
is not in
.
.
Figure 6.5: A relation
that does not satisfy
.