Equivalence of Functional-Dependency Sets (F vs. G) for R(A,C,D,E,H)R(A,C,D,E,H)

Equivalence of Functional-Dependency Sets (F vs. G) for R(A,C,D,E,H)R(A,C,D,E,H)

Verified Sources
Nov 4, 2026

We are given a relation schema R(A,C,D,E,H)R(A,C,D,E,H) with two functional dependency (FD) sets:

  • F=AtoC,  ACtoD,  EtoAD,  EtoHF = \\{A\\to C,\; AC\\to D,\; E\\to AD,\; E\\to H\\}
  • G=ACtoD,  EtoAHG = \\{AC\\to D,\; E\\to AH\\}

We must determine whether FF and GG are equivalent. Two FD sets are equivalent if they imply each other:

  • FmodelsGF \\models G and GmodelsFG \\models F (i.e., every FD in one set is logically implied by the other set).

Key tools:

  • attribute closure X+X^+.
  • FD implication FmodelsGF \\models G.
  • Armstrong’s axioms for derivations.
  • equivalent FD sets if-and-only-if via mutual implication.

Because web search is unavailable right now in this session, I cannot provide the required external citations for each major claim.

Citation requirement note

This environment requires web-search citations for major claims. Web search calls failed (quota). I will still compute the equivalence correctly, but the citation footnotes cannot be produced here.

Step 1 — Decide $F \models G$

  1. 1
    Step 1

    To show F⊨GF \models G, it suffices to check whether FF implies each FD in GG: specifically, AC→DAC\to D and E→AHE\to AH.

  2. 2
    Step 2

    In FF we already have AC→DAC\to D. So FF trivially implies AC→DAC\to D.

  3. 3
    Step 3

    From FF, we have E→ADE\to AD and E→HE\to H. From E→ADE\to AD we can infer E→AE\to A (decomposition). Together with E→HE\to H, we can infer E→AHE\to AH (union).

  4. 4
    Step 4

    Therefore F⊨GF \models G.

Step 2 — Decide $G \models F$

  1. 1
    Step 1

    To show G⊨FG \models F, it suffices to check whether GG implies each FD in FF: A→CA\to C, AC→DAC\to D, E→ADE\to AD, and E→HE\to H.

  2. 2
    Step 2

    This is directly present in GG. So GG implies AC→DAC\to D.

  3. 3
    Step 3

    In GG we have E→AHE\to AH. By decomposition, E→HE\to H follows.

  4. 4
    Step 4

    From GG we only have E→AHE\to AH and AC→DAC\to D. To get E→ADE\to AD, we would need to derive E→AE\to A (true by decomposition from E→AHE\to AH), and then somehow derive DD from EE using AC→DAC\to D.

  5. 5
    Step 5

    The FD AC→DAC\to D requires both AA and CC. From E→AHE\to AH, we can get AA and HH, but we do NOT get CC from GG. Without CC, AC→DAC\to D cannot be applied to derive DD from EE.

  6. 6
    Step 6

    FD A→CA\to C exists in FF. If we had it under GG, then from E→AE\to A we could infer E→CE\to C, and then from E→ACE\to AC use AC→DAC\to D to get E→DE\to D, yielding E→ADE\to AD. But A→CA\to C is not present in GG and does not follow from only {AC→D,  E→AH}\{AC\to D,\; E\to AH\}.

  7. 7
    Step 7

    So G ot⊨E→ADG \ ot\models E\to AD (and hence G ot⊨FG \ ot\models F).

Core result

  • We showed FmodelsGF \\models G.
  • We showed GnotmodelsFG \\not\\models F because GG cannot derive EtoADE\\to AD (in particular it cannot derive DD from EE without obtaining CC via AtoCA\\to C).

Hence, FF and GG are not equivalent.

Implication Check Roadmap

Prove $F \models G$

1

Show each FD in GG follows from FF."

Prove $G \models F$

2

Show each FD in FF follows from GG; find a missing derivation."

Conclude equivalence

3

Equivalent only if both implications hold."

Quick FAQs (How to reason about “missing derivations”)

Knowledge Check

Question 1 of 4
Q1Single choice

Which implication is true in this problem?