On the functional dependency and some generalizations of it