Armstrong's Axioms in Functional Dependency in DBMS (original) (raw)

Last Updated : 28 Feb, 2026

Armstrong's Axioms refer to a set of inference rules that are used to test the logical implication of functional dependencies.

The following are different axioms.

axioms

Axioms

**Example: Let's assume the following functional dependencies:

****{A} → {B}**
****{B} → {C}**
****{A, C} → {D}**

1. **Reflexivity: Since any set of attributes determines its subset, we can immediately infer the following:

2. **Augmentation: If we know that ****{A} → {B}**, we can add the same attribute (or set of attributes) to both sides:

3. **Transitivity: If we know ****{A} → {B}** and ****{B} → {C}**, we can infer that:

Although Armstrong's axioms are sound and complete, there are additional rules for functional dependencies that are derived from them. These rules are introduced to simplify operations and make the process easier.

Secondary Rules

These rules can be derived from the above axioms.

**Example: Let's assume we have the following functional dependencies in a relation schema:

****{A} → {B}**
****{A} → {C}**
****{X} → {Y}**
****{Y, Z} → {W}**

Now, let's apply the **Secondary Rules to derive new functional dependencies.

1. **Union Rule: If **A → B and **A → C, then by the **Union Rule, we can infer:

2. **Composition Rule: Since **A → B and **X → Y hold, then by the **Composition Rule, we can infer:

3. **Decomposition Rule: Using the dependency A ** BC (derived in step 1), the **Decomposition Rule allows us to break it back down to infer:

4. **Pseudo Transitivity Rule: Since X → Y and YZ → W hold, the **Pseudo Transitivity Rule, rule allows us to substitute YYY with XXX in the second dependency to infer:

Armstrong Relation

An Armstrong Relation for a set of functional dependencies F is a relation (table) that perfectly represents F. It must satisfy all functional dependencies in the F+ Closure and strictly violate all functional dependencies that are NOT in the F+ Closure. In a given set of dependencies, the size of the minimum Armstrong Relation can be an exponential function of the number of attributes present in the dependency under consideration.

Why Armstrong Axioms Are Considered Sound and Complete?