Lesson 16 +35 XP

Lattices: Semilattices, Types & Properties

1. Semilattices and Lattices

StructureCondition (for every pair a, b)
Join semilatticeLUB a ∨ b exists
Meet semilatticeGLB a ∧ b exists
Latticeboth a ∨ b and a ∧ b exist

Examples

  • (P(S), ⊆) is a lattice with ∨ = ∪, ∧ = ∩.
  • (Z⁺, ∣) is a lattice with ∨ = lcm, ∧ = gcd.
  • Dₙ = set of divisors of n under ∣ is a lattice (D₃₆, D₃₀, …).
  • Every chain is a lattice: a ∨ b = max, a ∧ b = min.
  • A "V" shape (a below both b and c, nothing above them) is a meet semilattice but not a join semilattice: b ∨ c does not exist.

Lattice or not? Checking join and meet for every pairLattice or not? Checking join and meet for every pair

💡 Tip

To show a poset is not a lattice, find one pair with two incomparable minimal upper bounds (or no upper bound at all). For example, if b and c both lie below d and e, and d, e are incomparable, then b ∨ c does not exist.

Operation tables

For L = {1, 2, 3, 5, 30} under divisibility: 2 ∨ 3 = 30 (6 is not in L), 2 ∧ 3 = 1, 2 ∨ 30 = 30, 5 ∧ 30 = 5. Every pair has a join and meet in L, so L is a lattice.

For L = P({1, 2}) under ⊆: {1} ∨ {2} = {1, 2}, {1} ∧ {2} = φ.

2. Properties of ∨ and ∧

LawJoinMeet
Idempotenta ∨ a = aa ∧ a = a
Commutativea ∨ b = b ∨ aa ∧ b = b ∧ a
Associative(a ∨ b) ∨ c = a ∨ (b ∨ c)(a ∧ b) ∧ c = a ∧ (b ∧ c)
Absorptiona ∨ (a ∧ b) = aa ∧ (a ∨ b) = a

Also a ≼ b ⇔ a ∨ b = b ⇔ a ∧ b = a. Principle of duality: swapping ∨ ↔ ∧ (and ≼ ↔ ≽) turns any theorem into another theorem.

3. Types of Lattices

TypeDefinition
Boundedhas a greatest element 1 and a least element 0 (every finite lattice is bounded)
Distributivea ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c) for all a, b, c (and dually)
Complementedbounded, and every a has a complement a′ with a ∨ a′ = 1, a ∧ a′ = 0
Boolean algebracomplemented and distributive

The diamond M₃ and pentagon N₅ are the two non-distributive latticesThe diamond M₃ and pentagon N₅ are the two non-distributive lattices

Theorem. In a distributive lattice, complements (when they exist) are unique. Proof. Let a′ and a″ both be complements of a. Then a′ = a′ ∧ 1 = a′ ∧ (a ∨ a″) = (a′ ∧ a) ∨ (a′ ∧ a″) = 0 ∨ (a′ ∧ a″) = a′ ∧ a″. By symmetry a″ = a″ ∧ a′. Hence a′ = a″. ∎

Key test. A lattice is distributive iff it contains no sublattice isomorphic to the diamond M₃ or the pentagon N₅.

  • In M₃ (0 < a, b, c < 1): a ∧ (b ∨ c) = a ∧ 1 = a but (a ∧ b) ∨ (a ∧ c) = 0 ∨ 0 = 0 ✗. Also a has two complements (b and c).
  • In N₅: 0 < a < c < 1 and 0 < b < 1, with b incomparable to a and c. Then c ∧ (a ∨ b) = c ∧ 1 = c but (c ∧ a) ∨ (c ∧ b) = a ∨ 0 = a ✗.

Dₙ examples

  • D₃₀ = {1, 2, 3, 5, 6, 10, 15, 30}: complement of d is 30/d (e.g. 2′ = 15) - a Boolean algebra (cube).
  • D₁₂: 2 has no complement-lcm(2, x) = 12 forces x = 12, but gcd(2, 12) = 2 ≠ 1. So D₁₂ is distributive but not complemented.
  • Dₙ is a Boolean algebra iff n is square-free (a product of distinct primes).

4. Sublattices and Product Lattices

A sublattice is a subset closed under ∨ and ∧.

The direct product L₁ × L₂ is ordered componentwise: (a₁, b₁) ≼ (a₂, b₂) iff a₁ ≼ a₂ and b₁ ≼ b₂, with (a₁, b₁) ∨ (a₂, b₂) = (a₁ ∨ a₂, b₁ ∨ b₂) and similarly for ∧.

Solved. L = {1, 2} (a chain). L × L = {(1,1), (1,2), (2,1), (2,2)} - its Hasse diagram is a square (diamond): (1,1) at the bottom, (1,2) and (2,1) in the middle (incomparable), (2,2) at the top. It is isomorphic to P({a, b}).

🎯 END-TERM EXAM PREP

📝 IPU End-Term Exam Corner (5-10 Marks)

  • Q1. Define lattice, join semilattice and meet semilattice with Hasse diagrams. Is D₃₆ a lattice? (5 Marks)
  • Q2. Define distributive and complemented lattices. Show that complements in a distributive lattice are unique. (10 Marks)
  • Q3. Write the ∨ and ∧ operation tables for L = {1, 2, 3, 5, 30} under divisibility. (5 Marks)
  • Q4. Show that D₃₀ is a Boolean algebra but D₁₂ is not complemented. (5 Marks)