Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132923 views
License: OTHER
Kernel:
%%html <link href="http://mathbook.pugetsound.edu/beta/mathbook-content.css" rel="stylesheet" type="text/css" /> <link href="https://aimath.org/mathbook/mathbook-add-on.css" rel="stylesheet" type="text/css" /> <style>.subtitle {font-size:medium; display:block}</style> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic" rel="stylesheet" type="text/css" /> <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700&subset=latin,latin-ext" rel="stylesheet" type="text/css" /><!-- Hide this cell. --> <script> var cell = $(".container .cell").eq(0), ia = cell.find(".input_area") if (cell.find(".toggle-button").length == 0) { ia.after( $('<button class="toggle-button">Toggle hidden code</button>').click( function (){ ia.toggle() } ) ) ia.hide() } </script>

Important: to view this notebook properly you will need to execute the cell above, which assumes you have an Internet connection. It should already be selected, or place your cursor anywhere above to select. Then press the "Run" button in the menu bar above (the right-pointing arrowhead), or press Shift-Enter on your keyboard.

ParseError: KaTeX parse error: \newcommand{\lt} attempting to redefine \lt; use \renewcommand

Section19.1Lattices

¶

SubsectionPartially Ordered Sets

¶

We begin the study of lattices and Boolean algebras by generalizing the idea of inequality. Recall that a on a set XX is a subset of X×X.X \times X\text{.} A relation PP on XX is called a of XX if it satisfies the following axioms.

  1. The relation is : (a,a)∈P(a, a) \in P for all a∈X.a \in X\text{.}

  2. The relation is : if (a,b)∈P(a,b) \in P and (b,a)∈P,(b,a) \in P\text{,} then a=b.a = b\text{.}

  3. The relation is : if (a,b)∈P(a, b) \in P and (b,c)∈P,(b, c) \in P\text{,} then (a,c)∈P.(a, c) \in P\text{.}

We will usually write a⪯ba \preceq b to mean (a,b)∈P(a, b) \in P unless some symbol is naturally associated with a particular partial order, such as a≤ba \leq b with integers aa and b,b\text{,} or A⊂BA \subset B with sets AA and B.B\text{.} A set XX together with a partial order ⪯\preceq is called a , or .

Example19.1

The set of integers (or rationals or reals) is a poset where a≤ba \leq b has the usual meaning for two integers aa and bb in Z.{\mathbb Z}\text{.}

Example19.2

Let XX be any set. We will define the of XX to be the set of all subsets of X.X\text{.} We denote the power set of XX by P(X).{\mathcal P}(X)\text{.} For example, let X={a,b,c}.X = \{ a, b, c \}\text{.} Then P(X){\mathcal P}(X) is the set of all subsets of the set {a,b,c}:\{ a, b, c \}\text{:}

∅{a}{b}{c}{a,b}{a,c}{b,c}{a,b,c}.\begin{align*} & \emptyset & & \{ a \} & & \{ b \} & & \{ c \} &\\ & \{ a, b \} & & \{ a, c\} & &\{ b, c\} & & \{ a, b, c \}. & \end{align*}

On any power set of a set X,X\text{,} set inclusion, ⊂,\subset\text{,} is a partial order. We can represent the order on {a,b,c}\{ a, b, c \} schematically by a diagram such as the one in Figure 19.3.

Figure19.3Partial order on P({a,b,c})\mathcal P( \{ a, b, c \})
Example19.4

Let GG be a group. The set of subgroups of GG is a poset, where the partial order is set inclusion.

Example19.5

There can be more than one partial order on a particular set. We can form a partial order on N{\mathbb N} by a⪯ba \preceq b if a∣b.a \mid b\text{.} The relation is certainly reflexive since a∣aa \mid a for all a∈N.a \in {\mathbb N}\text{.} If m∣nm \mid n and n∣m,n \mid m\text{,} then m=n;m = n\text{;} hence, the relation is also antisymmetric. The relation is transitive, because if m∣nm \mid n and n∣p,n \mid p\text{,} then m∣p.m \mid p\text{.}

Example19.6

Let X={1,2,3,4,6,8,12,24}X = \{ 1, 2, 3, 4, 6, 8, 12, 24 \} be the set of divisors of 24 with the partial order defined in Example 19.5. Figure 19.7 shows the partial order on X.X\text{.}

Figure19.7A partial order on the divisors of 24

Let YY be a subset of a poset X.X\text{.} An element uu in XX is an of YY if a⪯ua \preceq u for every element a∈Y.a \in Y\text{.} If uu is an upper bound of YY such that u⪯vu \preceq v for every other upper bound vv of Y,Y\text{,} then uu is called a or of Y.Y\text{.} An element ll in XX is said to be a of YY if l⪯al \preceq a for all a∈Y.a \in Y\text{.} If ll is a lower bound of YY such that k⪯lk \preceq l for every other lower bound kk of Y,Y\text{,} then ll is called a or of Y.Y\text{.}

Example19.8

Let Y={2,3,4,6}Y = \{ 2, 3, 4, 6 \} be contained in the set XX of Example 19.6. Then YY has upper bounds 12 and 24, with 12 as a least upper bound. The only lower bound is 1; hence, it must be a greatest lower bound.

As it turns out, least upper bounds and greatest lower bounds are unique if they exist.

Theorem19.9

Let YY be a nonempty subset of a poset X.X\text{.} If YY has a least upper bound, then YY has a unique least upper bound. If YY has a greatest lower bound, then YY has a unique greatest lower bound.

Proof

Let u1u_1 and u2u_2 be least upper bounds for Y.Y\text{.} By the definition of the least upper bound, u1⪯uu_1 \preceq u for all upper bounds uu of Y.Y\text{.} In particular, u1⪯u2.u_1 \preceq u_2\text{.} Similarly, u2⪯u1.u_2 \preceq u_1\text{.} Therefore, u1=u2u_1 = u_2 by antisymmetry. A similar argument show that the greatest lower bound is unique.

On many posets it is possible to define binary operations by using the greatest lower bound and the least upper bound of two elements. A is a poset LL such that every pair of elements in LL has a least upper bound and a greatest lower bound. The least upper bound of a,b∈La, b \in L is called the of aa and bb and is denoted by a∨b.a \vee b\text{.} The greatest lower bound of a,b∈La, b \in L is called the of aa and bb and is denoted by a∧b.a \wedge b\text{.}

Example19.10

Let XX be a set. Then the power set of X,X\text{,} P(X),{\mathcal P}(X)\text{,} is a lattice. For two sets AA and BB in P(X),{\mathcal P}(X)\text{,} the least upper bound of AA and BB is A∪B.A \cup B\text{.} Certainly A∪BA \cup B is an upper bound of AA and B,B\text{,} since A⊂A∪BA \subset A \cup B and B⊂A∪B.B \subset A \cup B\text{.} If CC is some other set containing both AA and B,B\text{,} then CC must contain A∪B;A \cup B\text{;} hence, A∪BA \cup B is the least upper bound of AA and B.B\text{.} Similarly, the greatest lower bound of AA and BB is A∩B.A \cap B\text{.}

Example19.11

Let GG be a group and suppose that XX is the set of subgroups of G.G\text{.} Then XX is a poset ordered by set-theoretic inclusion, ⊂.\subset\text{.} The set of subgroups of GG is also a lattice. If HH and KK are subgroups of G,G\text{,} the greatest lower bound of HH and KK is H∩K.H \cap K\text{.} The set H∪KH \cup K may not be a subgroup of G.G\text{.} We leave it as an exercise to show that the least upper bound of HH and KK is the subgroup generated by H∪K.H \cup K\text{.}

In set theory we have certain duality conditions. For example, by De Morgan's laws, any statement about sets that is true about (A∪B)′(A \cup B)' must also be true about A′∩B′.A' \cap B'\text{.} We also have a duality principle for lattices.

Axiom19.12Principle of Duality

Any statement that is true for all lattices remains true when ⪯\preceq is replaced by ⪰\succeq and ∨\vee and ∧\wedge are interchanged throughout the statement.

The following theorem tells us that a lattice is an algebraic structure with two binary operations that satisfy certain axioms.

Theorem19.13

If LL is a lattice, then the binary operations ∨\vee and ∧\wedge satisfy the following properties for a,b,c∈L.a, b, c \in L\text{.}

  1. Commutative laws: a∨b=b∨aa \vee b = b \vee a and a∧b=b∧a.a \wedge b = b \wedge a\text{.}

  2. Associative laws: a∨(b∨c)=(a∨b)∨ca \vee ( b \vee c) = (a \vee b) \vee c and a∧(b∧c)=(a∧b)∧c.a \wedge (b \wedge c) = (a \wedge b) \wedge c\text{.}

  3. Idempotent laws: a∨a=aa \vee a = a and a∧a=a.a \wedge a = a\text{.}

  4. Absorption laws: a∨(a∧b)=aa \vee (a \wedge b) = a and a∧(a∨b)=a.a \wedge ( a \vee b ) =a\text{.}

Proof

By the Principle of Duality, we need only prove the first statement in each part.

(1) By definition a∨ba \vee b is the least upper bound of {a,b},\{ a, b\}\text{,} and b∨ab \vee a is the least upper bound of {b,a};\{ b, a \}\text{;} however, {a,b}={b,a}.\{ a, b\} = \{ b, a \}\text{.}

(2) We will show that a∨(b∨c)a \vee ( b \vee c) and (a∨b)∨c(a \vee b) \vee c are both least upper bounds of {a,b,c}.\{ a, b, c \}\text{.} Let d=a∨b.d = a \vee b\text{.} Then c⪯d∨c=(a∨b)∨c.c \preceq d \vee c = (a \vee b) \vee c\text{.} We also know that

a⪯a∨b=d⪯d∨c=(a∨b)∨c.\begin{equation*} a \preceq a \vee b =d \preceq d \vee c = (a \vee b) \vee c. \end{equation*}

A similar argument demonstrates that b⪯(a∨b)∨c.b \preceq (a \vee b) \vee c\text{.} Therefore, (a∨b)∨c(a \vee b) \vee c is an upper bound of {a,b,c}.\{ a, b, c \}\text{.} We now need to show that (a∨b)∨c(a \vee b) \vee c is the least upper bound of {a,b,c}.\{ a, b, c\}\text{.} Let uu be some other upper bound of {a,b,c}.\{ a, b, c \}\text{.} Then a⪯ua \preceq u and b⪯u;b \preceq u\text{;} hence, d=a∨b⪯u.d = a \vee b \preceq u\text{.} Since c⪯u,c \preceq u\text{,} it follows that (a∨b)∨c=d∨c⪯u.(a \vee b) \vee c = d \vee c \preceq u\text{.} Therefore, (a∨b)∨c(a \vee b) \vee c must be the least upper bound of {a,b,c}.\{ a, b, c\}\text{.} The argument that shows a∨(b∨c)a \vee ( b \vee c) is the least upper bound of {a,b,c}\{ a, b, c \} is the same. Consequently, a∨(b∨c)=(a∨b)∨c.a \vee ( b \vee c) = (a \vee b) \vee c\text{.}

(3) The join of aa and aa is the least upper bound of {a};\{ a \}\text{;} hence, a∨a=a.a \vee a = a\text{.}

(4) Let d=a∧b.d = a \wedge b\text{.} Then a⪯a∨d.a \preceq a \vee d\text{.} On the other hand, d=a∧b⪯a,d = a \wedge b \preceq a\text{,} and so a∨d⪯a.a \vee d \preceq a\text{.} Therefore, a∨(a∧b)=a.a \vee ( a \wedge b) = a\text{.}

Given any arbitrary set LL with operations ∨\vee and ∧,\wedge\text{,} satisfying the conditions of the previous theorem, it is natural to ask whether or not this set comes from some lattice. The following theorem says that this is always the case.

Theorem19.14

Let LL be a nonempty set with two binary operations ∨\vee and ∧\wedge satisfying the commutative, associative, idempotent, and absorption laws. We can define a partial order on LL by a⪯ba \preceq b if a∨b=b.a \vee b = b\text{.} Furthermore, LL is a lattice with respect to ⪯\preceq if for all a,b∈L,a, b \in L\text{,} we define the least upper bound and greatest lower bound of aa and bb by a∨ba \vee b and a∧b,a \wedge b\text{,} respectively.

Proof

We first show that LL is a poset under ⪯.\preceq\text{.} Since a∨a=a,a \vee a = a\text{,} a⪯aa \preceq a and ⪯\preceq is reflexive. To show that ⪯\preceq is antisymmetric, let a⪯ba \preceq b and b⪯a.b \preceq a\text{.} Then a∨b=ba \vee b = b and b∨a=a.b \vee a = a\text{.}By the commutative law, b=a∨b=b∨a=a.b = a \vee b = b \vee a = a\text{.} Finally, we must show that ⪯\preceq is transitive. Let a⪯ba \preceq b and b⪯c.b \preceq c\text{.} Then a∨b=ba \vee b = b and b∨c=c.b \vee c = c\text{.} Thus,

a∨c=a∨(b∨c)=(a∨b)∨c=b∨c=c,\begin{equation*} a \vee c = a \vee (b \vee c ) = ( a \vee b) \vee c = b \vee c = c, \end{equation*}

or a⪯c.a \preceq c\text{.}

To show that LL is a lattice, we must prove that a∨ba \vee b and a∧ba \wedge b are, respectively, the least upper and greatest lower bounds of aa and b.b\text{.} Since a=(a∨b)∧a=a∧(a∨b),a=(a \vee b) \wedge a = a \wedge (a \vee b)\text{,} it follows that a⪯a∨b.a \preceq a \vee b\text{.} Similarly, b⪯a∨b.b \preceq a \vee b\text{.} Therefore, a∨ba \vee b is an upper bound for aa and b.b\text{.} Let uu be any other upper bound of both aa and b.b\text{.} Then a⪯ua \preceq u and b⪯u.b \preceq u\text{.} But a∨b⪯ua \vee b \preceq u since

(a∨b)∨u=a∨(b∨u)=a∨u=u.\begin{equation*} (a \vee b) \vee u = a \vee (b \vee u) = a \vee u = u. \end{equation*}

The proof that a∧ba \wedge b is the greatest lower bound of aa and bb is left as an exercise.