Show that the elements of the lattice (N, <=), where N is the set of positive integers and a <= b if and only if a divides b, satisfy the distributive property.

GATE 1990 · Discrete Mathematics · Lattice · medium

Answer: gcd(a, lcm(b,c)) = lcm(gcd(a,b), gcd(a,c)) for all a, b, c, so (N, |) is a distributive lattice.

  1. Reduce gcd/lcm to min/max of prime exponents: for each prime p let x, y, z be its exponents in a, b, c. Then the exponent of p in gcd(a, lcm(b,c)) is min(x, max(y, z)), and in lcm(gcd(a,b), gcd(a,c)) is max(min(x, y), min(x, z))
  2. Prove the min-over-max identity: min distributes over max (a standard lattice identity for totally ordered numbers): checking the orderings of x, y, z confirms both sides equal the median-type value. Since this holds for every prime exponent, gcd(a, lcm(b,c)) = lcm(gcd(a,b), gcd(a,c)) for all a, b, c, so meet distributes over join