+ All Categories
Home > Documents > Discrete Structures - CM0246 Lattices - EAFIT Structures - CM0246 Lattices Andrés Sicard-Ramírez...

Discrete Structures - CM0246 Lattices - EAFIT Structures - CM0246 Lattices Andrés Sicard-Ramírez...

Date post: 17-May-2018
Category:
Upload: trannhu
View: 219 times
Download: 3 times
Share this document with a friend
31
Discrete Structures - CM0246 Lattices Andrés Sicard-Ramírez Universidad EAFIT Semester 2014-2
Transcript

Discrete Structures - CM0246Lattices

Andrés Sicard-Ramírez

Universidad EAFIT

Semester 2014-2

Lattices from the Partial Orders Theory

Definition (Lattice)A lattice (retículo) is a poset where every pair of elements has both asupremum and an infimum.

ExampleThe following poset is a lattice.

𝑎

𝑏𝑐

𝑑

𝑒

𝑓

Lattices 2/31

Lattices from the Partial Orders Theory

Definition (Lattice)A lattice (retículo) is a poset where every pair of elements has both asupremum and an infimum.

ExampleThe following poset is a lattice.

𝑎

𝑏𝑐

𝑑

𝑒

𝑓

Lattices 3/31

Lattices from the Partial Orders Theory

Example (counter-example)The following poset is not a lattice because the upper bounds of the pair{𝑏, 𝑐} are 𝑑, 𝑒 and 𝑓 , but this set has not a least upper bound.

𝑎

𝑏 𝑐

𝑑 𝑒

𝑓

Lattices 4/31

Lattices from the Partial Orders Theory

Example (counter-example)The following poset is not a lattice because for example, the pair {1, 2}has not supremum.

2 …10 𝑛 …

Lattices 5/31

Lattices from the Partial Orders Theory

Examples(ℤ+, ∣) is a lattice where the supremum is the least common multipleand the infimum is the greatest common divisor.

Let 𝐴 be a set. Is (𝑃 (𝐴), ⊆) a lattice?

Lattices 6/31

Lattices from the Partial Orders Theory

Examples(ℤ+, ∣) is a lattice where the supremum is the least common multipleand the infimum is the greatest common divisor.Let 𝐴 be a set. Is (𝑃 (𝐴), ⊆) a lattice?

Lattices 7/31

Algebraic Structures

Definition (Algebraic structure)An algebraic structure on a set 𝐴 ≠ 0 is essentially a collection of 𝑛-aryoperations on 𝐴 (Cohn 1981, p. 41).

Example (Semigroup)A semigroup (𝑆, ∗) is a set 𝑆 with an associative binary operation∗ ∶ 𝑆 × 𝑆 → 𝑆.

Example (Monoid)A monoid (𝑀, ∗, 𝜀) is a semigroup (𝑀, ∗) with an element 𝜀 ∈ 𝑀 which isan unit for ∗, i.e. (∀𝑥)(𝑥 ∗ 𝜀 = 𝜀 ∗ 𝑥 = 𝑥).

Lattices 8/31

Lattices from the Algebraic Structures Theory

Definition (Lattice)Let ∧ and ∨ be two binaries operations, called meet and join, respectively.A lattice (retículo) is an algebraic structure (𝐿, ∧, ∨), which satisfy thefollowing axioms for all 𝑥, 𝑦 and 𝑧 in 𝐿 (Lipschutz and Lipson 2007):

𝑥 ∧ 𝑦 = 𝑦 ∧ 𝑥 (Commutative laws)𝑥 ∨ 𝑦 = 𝑦 ∨ 𝑥

(𝑥 ∧ 𝑦) ∧ 𝑧 = 𝑥 ∧ (𝑦 ∧ 𝑧) (Associative laws)(𝑥 ∨ 𝑦) ∨ 𝑧 = 𝑥 ∨ (𝑦 ∨ 𝑧)

𝑥 ∧ (𝑥 ∨ 𝑦) = 𝑥 (Absortion laws)𝑥 ∨ (𝑥 ∧ 𝑦) = 𝑥

Lattices 9/31

Lattices from the Algebraic Structures Theory

ExampleLet 𝐴 be a set. (𝑃 (𝐴), ∩, ∪) is a lattice.

Lattices 10/31

Lattices from the Algebraic Structures Theory

Definition (Dual)The dual of any statement in a lattice (𝐿, ∧, ∨) is the statement obtainedby interchanging ∧ and ∨.

ExampleThe dual of 𝑥 ∧ (𝑦 ∨ 𝑥) = 𝑥 ∨ 𝑥 is 𝑥 ∨ (𝑦 ∧ 𝑥) = 𝑥 ∧ 𝑥.

Theorem (Principle of duality)The dual of any theorem in a lattice is also an theorem (Lipschutz andLipson 2007).

Proof.The dual of every axiom in a lattice is also an axiom. Hence, the dualtheorem can be proved by using the dual of each step of the proof of theoriginal theorem.

Lattices 11/31

Lattices from the Algebraic Structures Theory

Definition (Dual)The dual of any statement in a lattice (𝐿, ∧, ∨) is the statement obtainedby interchanging ∧ and ∨.

ExampleThe dual of 𝑥 ∧ (𝑦 ∨ 𝑥) = 𝑥 ∨ 𝑥 is 𝑥 ∨ (𝑦 ∧ 𝑥) = 𝑥 ∧ 𝑥.

Theorem (Principle of duality)The dual of any theorem in a lattice is also an theorem (Lipschutz andLipson 2007).

Proof.The dual of every axiom in a lattice is also an axiom. Hence, the dualtheorem can be proved by using the dual of each step of the proof of theoriginal theorem.

Lattices 12/31

Lattices from the Algebraic Structures Theory

Definition (Dual)The dual of any statement in a lattice (𝐿, ∧, ∨) is the statement obtainedby interchanging ∧ and ∨.

ExampleThe dual of 𝑥 ∧ (𝑦 ∨ 𝑥) = 𝑥 ∨ 𝑥 is 𝑥 ∨ (𝑦 ∧ 𝑥) = 𝑥 ∧ 𝑥.

Theorem (Principle of duality)The dual of any theorem in a lattice is also an theorem (Lipschutz andLipson 2007).

Proof.The dual of every axiom in a lattice is also an axiom. Hence, the dualtheorem can be proved by using the dual of each step of the proof of theoriginal theorem.

Lattices 13/31

Lattices from the Algebraic Structures Theory

Definition (Dual)The dual of any statement in a lattice (𝐿, ∧, ∨) is the statement obtainedby interchanging ∧ and ∨.

ExampleThe dual of 𝑥 ∧ (𝑦 ∨ 𝑥) = 𝑥 ∨ 𝑥 is 𝑥 ∨ (𝑦 ∧ 𝑥) = 𝑥 ∧ 𝑥.

Theorem (Principle of duality)The dual of any theorem in a lattice is also an theorem (Lipschutz andLipson 2007).

Proof.The dual of every axiom in a lattice is also an axiom. Hence, the dualtheorem can be proved by using the dual of each step of the proof of theoriginal theorem.

Lattices 14/31

Lattices from the Algebraic Structures Theory

ExampleLet (𝐿, ∧, ∨) be a lattice. Prove the idempotent laws

𝑥 ∧ 𝑥 = 𝑥, (1)𝑥 ∨ 𝑥 = 𝑥. (2)

Proof of (1).𝑥 ∧ 𝑥 = 𝑥 ∧ (𝑥 ∨ (𝑥 ∧ 𝑦)) (second absortion law)

= 𝑥 (first absortion law)

Proof of (2).By principle of duality on (1).

Lattices 15/31

Lattices from the Algebraic Structures Theory

ExampleLet (𝐿, ∧, ∨) be a lattice. Prove the idempotent laws

𝑥 ∧ 𝑥 = 𝑥, (1)𝑥 ∨ 𝑥 = 𝑥. (2)

Proof of (1).𝑥 ∧ 𝑥 = 𝑥 ∧ (𝑥 ∨ (𝑥 ∧ 𝑦)) (second absortion law)

= 𝑥 (first absortion law)

Proof of (2).By principle of duality on (1).

Lattices 16/31

Lattices from the Algebraic Structures Theory

ExampleLet (𝐿, ∧, ∨) be a lattice. Prove the idempotent laws

𝑥 ∧ 𝑥 = 𝑥, (1)𝑥 ∨ 𝑥 = 𝑥. (2)

Proof of (1).𝑥 ∧ 𝑥 = 𝑥 ∧ (𝑥 ∨ (𝑥 ∧ 𝑦)) (second absortion law)

= 𝑥 (first absortion law)

Proof of (2).By principle of duality on (1).

Lattices 17/31

Lattices from the Algebraic Structures Theory

Exercise (Rosen (2004), Problem 40, p. 500)Prove that if 𝑥 and 𝑦 are elements of a lattice (𝐿, ∧, ∨) then 𝑥 ∨ 𝑦 = 𝑦, ifand only if, 𝑥 ∧ 𝑦 = 𝑥.

Proof →.Let’s suppose 𝑥 ∨ 𝑦 = 𝑦. Then

𝑥 = 𝑥 ∧ (𝑥 ∨ 𝑦) (first absortion law)= 𝑥 ∧ 𝑦 (hypothesis)

Lattices 18/31

Lattices from the Algebraic Structures Theory

Exercise (Rosen (2004), Problem 40, p. 500)Prove that if 𝑥 and 𝑦 are elements of a lattice (𝐿, ∧, ∨) then 𝑥 ∨ 𝑦 = 𝑦, ifand only if, 𝑥 ∧ 𝑦 = 𝑥.

Proof →.Let’s suppose 𝑥 ∨ 𝑦 = 𝑦. Then

𝑥 = 𝑥 ∧ (𝑥 ∨ 𝑦) (first absortion law)= 𝑥 ∧ 𝑦 (hypothesis)

Lattices 19/31

Lattices from the Algebraic Structures Theory

Exercise (cont.)

Proof ←.Let’s suppose 𝑥 ∧ 𝑦 = 𝑥. Then

𝑦 = 𝑦 ∨ (𝑦 ∧ 𝑥) (second absortion law)= 𝑦 ∨ (𝑥 ∧ 𝑦) (commutative law)= 𝑦 ∨ 𝑥 (hypothesis)= 𝑥 ∨ 𝑦 (commutative law)

Lattices 20/31

Equivalence of the Definitions

TheoremLet (𝐿, ∧, ∨) be a lattice. Then (𝐿, ≼) is a partial order, where the relation ≼is defined by (Lipschutz and Lipson 2007):

𝑥 ≼ 𝑦 def= 𝑥 ∧ 𝑦 = 𝑥.

Proof.1. The relation ≼ is reflexive

𝑥 ∧ 𝑥 = 𝑥 (idempotency), for all 𝑥 ∈ 𝐿. Therefore 𝑥 ≼ 𝑥, for all𝑥 ∈ 𝐿.

Lattices 21/31

Equivalence of the Definitions

TheoremLet (𝐿, ∧, ∨) be a lattice. Then (𝐿, ≼) is a partial order, where the relation ≼is defined by (Lipschutz and Lipson 2007):

𝑥 ≼ 𝑦 def= 𝑥 ∧ 𝑦 = 𝑥.Proof.

1. The relation ≼ is reflexive𝑥 ∧ 𝑥 = 𝑥 (idempotency), for all 𝑥 ∈ 𝐿. Therefore 𝑥 ≼ 𝑥, for all𝑥 ∈ 𝐿.

Lattices 22/31

Equivalence of the Definitions

Proof (cont.)2. The relation ≼ is antisymmetric

Suppose 𝑥 ≼ 𝑦 and 𝑦 ≼ 𝑥, then 𝑥 ∧ 𝑦 = 𝑥 and 𝑦 ∧ 𝑥 = 𝑦. Therefore

𝑥 = 𝑥 ∧ 𝑦 (hypothesis)= 𝑦 ∧ 𝑥 (commutative law)= 𝑦 (hypothesis)

That is, ≼ is antisymmetric.

Lattices 23/31

Equivalence of the Definitions

Proof (cont.)3. The relation ≼ is transitive

Suppose 𝑥 ≼ 𝑦 and 𝑦 ≼ 𝑧, then 𝑥 ∧ 𝑦 = 𝑥 and 𝑦 ∧ 𝑧 = 𝑦. Therefore

𝑥 ∧ 𝑧 = (𝑥 ∧ 𝑦) ∧ 𝑧 (hypothesis)= 𝑥 ∧ (𝑦 ∧ 𝑧) (associativity law)= 𝑥 ∧ 𝑦 (hypothesis)= 𝑥 (hypothesis)

That is, 𝑥 ≼ 𝑧.

Lattices 24/31

Equivalence of the Definitions

RemarkLet (𝐿, ∧, ∨) be a lattice and let be (𝐿, ≼) the order partial induced by(𝐿, ∧, ∨). It is possible prove that (𝐿, ≼) is a lattice.

Lattices 25/31

Equivalence of the Definitions

Theorem (Rosen (2004), Problem 39, p. 500)Let (𝐿, ≼) be a lattice. Then (𝐿, ∧, ∨) is a lattice, where

𝑥 ∧ 𝑦 def= inf(𝑥, 𝑦),𝑥 ∨ 𝑦 def= sup(𝑥, 𝑦),

Proof.1. Commutative laws for ∧ and ∨ (Rosen’s solution).

Because inf(𝑥, 𝑦) = inf(𝑦, 𝑥) and sup(𝑥, 𝑦) = sup(𝑦, 𝑥), it followsthat 𝑥 ∧ 𝑦 = 𝑦 ∧ 𝑥 and 𝑥 ∨ 𝑦 = 𝑦 ∨ 𝑥.

Lattices 26/31

Equivalence of the Definitions

Theorem (Rosen (2004), Problem 39, p. 500)Let (𝐿, ≼) be a lattice. Then (𝐿, ∧, ∨) is a lattice, where

𝑥 ∧ 𝑦 def= inf(𝑥, 𝑦),𝑥 ∨ 𝑦 def= sup(𝑥, 𝑦),

Proof.1. Commutative laws for ∧ and ∨ (Rosen’s solution).

Because inf(𝑥, 𝑦) = inf(𝑦, 𝑥) and sup(𝑥, 𝑦) = sup(𝑦, 𝑥), it followsthat 𝑥 ∧ 𝑦 = 𝑦 ∧ 𝑥 and 𝑥 ∨ 𝑦 = 𝑦 ∨ 𝑥.

Lattices 27/31

Equivalence of the Definitions

Proof (cont.)2. Associative laws for ∧ and ∨ (Rosen’s solution).

Using the definition, (𝑥 ∧ 𝑦) ∧ 𝑧 is a lower bound of 𝑥, 𝑦 and 𝑧 thatis greater than every other lower bound. Because 𝑥, 𝑦 and 𝑧 playinterchangeable roles, 𝑥 ∧ (𝑦 ∧ 𝑧) is the same element.

Similarly, (𝑥 ∨ 𝑦) ∨ 𝑧 is an upper bound of 𝑥, 𝑦 and 𝑧 that is less thanevery other upper bound. Because 𝑥, 𝑦 and 𝑧 play interchangeableroles, 𝑥 ∨ (𝑦 ∨ 𝑧) is the same element.

Lattices 28/31

Equivalence of the Definitions

Proof (cont.)2. Associative laws for ∧ and ∨ (Rosen’s solution).

Using the definition, (𝑥 ∧ 𝑦) ∧ 𝑧 is a lower bound of 𝑥, 𝑦 and 𝑧 thatis greater than every other lower bound. Because 𝑥, 𝑦 and 𝑧 playinterchangeable roles, 𝑥 ∧ (𝑦 ∧ 𝑧) is the same element.

Similarly, (𝑥 ∨ 𝑦) ∨ 𝑧 is an upper bound of 𝑥, 𝑦 and 𝑧 that is less thanevery other upper bound. Because 𝑥, 𝑦 and 𝑧 play interchangeableroles, 𝑥 ∨ (𝑦 ∨ 𝑧) is the same element.

Lattices 29/31

Equivalence of the Definitions

Proof (cont.)3. Absortion laws for ∧ and ∨ (Rosen’s solution).

To show that 𝑥 ∧ (𝑥 ∨ 𝑦) = 𝑥 it is sufficient to show that 𝑥 is thegreatest lower bound of 𝑥, and 𝑥 ∨ 𝑦. Note that 𝑥 is a lower boundof 𝑥, and because 𝑥 ∨ 𝑦 is by definition greater than 𝑥, 𝑥 is a lowerbound for it as well. Therefore, 𝑥 is a lower bound. But any lowerbound of 𝑥 has to be less than 𝑥, so 𝑥 is the greatest lower bound.

The second statement is the dual of the first; we omit its proof.

Lattices 30/31

References

Cohn, P. M. (1981). Universal Algebra. Revised edition. D. ReidelPublishing Company (cit. on p. 8).Lipschutz, S. and Lipson, M. L. (2007). Schaum’s Outline of DiscreteMathematics. 3rd ed. McGraw-Hill (cit. on pp. 9, 11–14, 21, 22).Rosen, K. H. (2004). Matemática Discreta y sus Aplicaciones. 5th ed.McGraw-Hill (cit. on pp. 18, 19, 26, 27).

Lattices 31/31


Recommended