Tom Kelliher, CS 318
Mar. 8, 2002
Return homework Monday. Midterm review Monday. Midterm will cover Chapters 1--7.
Introduction to functional dependencies.
Midterm review.
Using Armstrong's Axioms:
.
entails
.
and
entail
.
and
entail
. (Union)
entails
and
.
(Decomposition)
.
Therefore, an algorithm exists to do entailment checking.
.
is in the attribute closure
of
with respect to
.

implies
for each
.
By the union property then,
.
.
Why?
Correctness. Use induction. (Not the entire proof.)closure :=
![]()
repeat
old := closure
if there is an FDsuch that
then
closure :=![]()
until old = closure
return closure
.
Observe
. Why?
By decomposition,
.
.
Suppose we have
where
. Justify each of the
following steps.
Observe
.
So
.
Therefore
.
Suppose we have
, where
and
contains

entails
and
.