Lecture from: 21.10.2024 | Video: Videos ETHZ

Partially Ordered Sets (Posets)

Example

The powerset of the set , denoted as , forms a poset under the subset relation .

  1. Reflexivity:

    • For any subset , we need to show that:
    • By the definition of subset, every set is a subset of itself. Therefore, reflexivity holds for all subsets in the powerset.
  2. Antisymmetry:

    • Assume and are subsets of such that:
    • This implies that every element of is in , and every element of is in .
    • Hence, and must contain exactly the same elements, which gives:
    • Thus, antisymmetry is satisfied.
  3. Transitivity:

    • Assume , , and are subsets of such that:
    • We need to show that:
    • By the definition of subset, if every element of is in , and every element of is in , then every element of must also be in . Therefore, we have:
    • This confirms that transitivity holds.

Since the powerset satisfies reflexivity, antisymmetry, and transitivity, it qualifies as a partially ordered set (poset) under the subset relation .

Hasse Diagram

A Hasse diagram is a graphical representation of a partially ordered set (poset) that illustrates the relationships between its elements. In a Hasse diagram, the elements are represented as vertices, and the order relations are depicted as edges connecting these vertices. The diagram is drawn in such a way that if (meaning is less than or equal to ), then is placed lower than in the diagram.

Example:

For the poset , the Hasse diagram can be constructed as follows:

Diagram: The Hasse diagram is structured as follows:

In this diagram:

  • The empty set is at the bottom since it is a subset of all other sets.
  • Each set is positioned above the sets it covers, illustrating the subset relationships.

Example:

Let us consider the set of all factors of 24, denoted as , with the relation of divisibility denoted by . This relation states that for elements and in , we write if divides without a remainder.

The Hasse diagram for this poset can be constructed by placing the elements in a vertical arrangement based on the divisibility relation. The diagram is structured as follows:

In this diagram:

  • The number 1 is at the bottom since it divides all other numbers.
  • Each number is placed above the numbers that it divides, illustrating the divisibility relationships.
  • Lines connect the numbers to indicate direct divisibility, meaning that no other element in the set can be placed between them in the order.

Product of Posets

Let us define two posets and take their cross product.

Given two posets:

The product poset is defined as:

Where the relation is defined as follows:

Explanation

  • In this definition, the product poset consists of all ordered pairs formed by taking one element from and one element from .
  • The ordering of these pairs is determined by the individual orderings of the elements in each poset.
  • Specifically, the pair is less than or equal to the pair if the first component is related to in poset and the second component is related to in poset .

This construction allows us to combine the structures of the two posets into a new poset, preserving the order relations of both.

Visualization

Visually, we can imagine taking the cross product of two lines, each with two elements. This results in a diamond shape in the Hasse diagram.

For example, consider two posets:

The product poset consists of the pairs:

The Hasse diagram for this product would look like a diamond:

In this diagram:

  • Each pair represents an element of the product poset.
  • The lines connect pairs according to the defined relation, illustrating how the elements are ordered based on the individual posets.

The Product is a Poset (Theorem 3.12)

Let us denote the two posets as and . The product poset is defined as:

where the relation is defined as:

We will prove that satisfies the properties of a poset: reflexivity, antisymmetry, and transitivity.

Proof:
  1. Reflexivity:

    • For every element , we have:
    • Since both and are posets, reflexivity holds for each individual element. Thus, reflexivity is satisfied for the product poset.
  2. Antisymmetry:

    • Assume and .
    • By definition of the product order, we have:
      • From :
      • From :
    • Since and , by the antisymmetry property of , we conclude that .
    • Similarly, from and , we conclude that .
    • Therefore, we have , which proves antisymmetry.
  3. Transitivity:

    • Assume and .
    • By definition of the product order, we have:
      • From :
      • From :
    • By the transitivity property of :
    • By the transitivity property of :
    • Therefore, we have:

    which proves transitivity.

Since we have shown that reflexivity, antisymmetry, and transitivity hold for the relation in the product poset , we conclude that the product of two posets is itself a poset.

Lexicographical Ordering

Lexicographical ordering is a way of ordering pairs of elements from two posets based on their individual orderings.

Given two posets and , we define the relation on the Cartesian product as follows:

This means that the pair is less than or equal to the pair in lexicographical order if:

  1. The first element of the first pair, , is less than the first element of the second pair, .
  2. Alternatively, if the first elements are equal (), then the second element must be less than or equal to in the poset .

Proof that is a Poset:

To prove that is a poset, we need to establish the three properties: reflexivity, antisymmetry, and transitivity.

  1. Reflexivity:

    • For any , we have:
    • This holds true since both and are reflexive relations.
  2. Antisymmetry:

    • Assume and .
    • From the definitions of , we have two cases to consider:
      • Case 1: If and , then by the antisymmetry property of , we must have .
      • Case 2: If and and , then by the antisymmetry property of , we conclude that .
    • Thus, we have , proving antisymmetry.
  3. Transitivity:

    • Assume and .
    • By the definition of , we analyze the possible cases:
      • Case 1: If and , then by the transitivity property of , we have .
      • Case 2: If and , then we must have , which implies:
      • Case 3: If and , and , then by the transitivity of we conclude:
      • Case 4: If and , and , then we get:
    • In all cases, we conclude that:

    proving transitivity.

Since we have established reflexivity, antisymmetry, and transitivity for the relation , we conclude that is indeed a poset.

Special Elements in Posets

Let be a poset, and let be some subset of . The following special elements exist:

Minimal and Maximal Elements

  • An element is a minimal element of if there exists no element such that .
  • An element is a maximal element of if there exists no element such that .

Least and Greatest Elements

  • An element is the least element of if for all .
  • An element is the greatest element of if for all .

Lower and Upper Bounds

  • An element is a lower bound of if for all .
  • An element is an upper bound of if for all .

Greatest Lower Bound and Least Upper Bound

  • An element is the greatest lower bound (also known as the infimum) of if is the greatest element of the set of all lower bounds of .
  • An element is the least upper bound (also known as the supremum) of if is the least element of the set of all upper bounds of .

Some interesting dualisms or parallels can be observed from these definitions:

  1. Greatest Common Divisor (GCD):

    • When we consider a poset on the set of natural numbers using the “divides” relation, the greatest lower bound (or infimum) corresponds to the greatest common divisor (GCD) of two numbers. For example, if we have two numbers and , the GCD of and is the largest number that divides both and .
  2. Powerset and Set Operations:

    • In the case of the powerset, where we consider the subset relationship, the infimum (greatest lower bound) of a collection of sets is represented by the intersection of those sets.
    • Conversely, the least upper bound (or supremum) corresponds to the union of the sets. This means that the supremum of a collection of sets is the smallest set that contains all the sets in the collection.

Meet, Join, and Lattices

In the context of partially ordered sets (posets), we can define two important operations known as meet and join:

  1. Meet: The meet of two elements and in a poset , denoted as , is defined as the greatest lower bound (infimum) of and . If and have an infimum, we call it their meet. This means that if:

    • and , and
    • for any other element such that and , it follows that .
  2. Join: The join of two elements and , denoted as , is defined as the least upper bound (supremum) of and . If and have a supremum, we call it their join. This means that if:

    • and , and
    • for any other element such that and , it follows that .
  3. Lattice: A poset in which every pair of elements has both a meet and a join is called a lattice. This means that for any elements and in the poset, both (infimum) and (supremum) exist within the set.

A lattice is a special type of poset where every pair of elements has both a meet and a join. In other words, for any , both and exist within the set.

Functions

A function is a special type of relation. A function from domain to codomain is defined by specific properties:

  1. For every , there exists a such that (i.e., is totally defined).
  2. For all and for all , if and , then (i.e., is well-defined).

In simpler terms:

  1. Totally defined: Every point in A maps to a point in B.
  2. Well defined: Every point in A maps to one and only one point in B.

A function can be understood as a mapping from to , assigning to every a unique element in . This unique element is usually denoted as .

We write to indicate the domain and codomain of , and we can define the function using the notation:

For example, we can define a function as follows:

Injective, Surjective, Bijective

In the context of functions, we often classify them based on their properties of mapping elements between the domain and codomain. These classifications include:

  1. Injective (One-to-One): A function is called injective if for every , whenever , it follows that . In other words, different elements in the domain map to different elements in the codomain.

  2. Surjective (Onto): A function is called surjective if for every , there exists at least one such that . This means that the function covers the entire codomain.

  3. Bijective (One-to-One and Onto): A function is called bijective if it is both injective and surjective. This means there is a perfect pairing between the elements of the domain and codomain; each element in the domain maps to a unique element in the codomain, and every element in the codomain is the image of some element in the domain.

These classifications are essential in understanding the behavior of functions and their inverses.

Functions vs Relations

If we denote a relationship as and state that this relationship is a function (i.e., it is totally defined and well-defined), then we can express it as:

In this case, assigns a unique element in the codomain to each element in the domain.

Similarly, if we have another function , we can represent the composition of the functions and as:

This composition can also be denoted as (if we look at it from the relation standpoint), which means that we first apply to and then apply to the result. For more details on the composition of relations, see Composition of Relations.

However: It’s common to write for function compositions, even though this notation might seem illogical. In this case, we interpret as being applied to the output of , which can sometimes lead to confusion. It’s important to clarify the order of application when discussing function compositions.

Cardinality of Sets and Countability

The concept of cardinality helps us measure the “size” of sets, particularly in distinguishing between countable and uncountable sets.

Definitions:

  1. Equinumerous Sets: Two sets and are called equinumerous, denoted , if there exists a bijection (a one-to-one and onto function) between and . This means that both sets have the same cardinality, or the same “number” of elements.

  2. Domination of Sets: A set dominates a set , denoted , if there exists an injective (one-to-one) function from to . Equivalently, is equinumerous with some subset of . In this case, has at least as many elements as . In simple terms: each point in A uniquely maps to a point in B, but not all points in B may map to a point in A. i.e B is at least as big as A. .

  3. Countable Sets: A set is called countable if there exists an injective function from to the set of natural numbers , meaning . If no such function exists, the set is called uncountable.

Countable sets can be either finite or infinite, but the key is that they can be enumerated in some way. In contrast, uncountable sets cannot be fully enumerated, as their size exceeds that of the natural numbers.

Example: Prime Numbers vs Natural Numbers

The set of prime numbers is countable because we can establish a bijection between the prime numbers and the natural numbers .

A bijection can be defined by simply mapping each natural number to the -th prime number. For example:

This function is injective (each maps to a unique prime) and surjective (every prime number appears as an image of some ). Therefore, the set of prime numbers is equinumerous with , proving that the primes are countable.

Example: Integers are Countable

The set of integers is also countable. We know this because , meaning the integers are equinumerous with the natural numbers.

A bijection is given by the function:

This function maps the natural numbers to the integers by alternating between positive and negative values, starting from . It ensures that every integer is paired with exactly one natural number, proving that the set of integers is countable.

Example:

The goal is to find a bijection between the open interval and the set of real numbers . One way to understand this is through a geometric interpretation.

Imagine a line segment on the -plane, starting at , passing through , and ending at . This line sits at , and its -coordinates range from to .

Now, if we project lines from the point to every point on this segment, we can cover all points on the real number line . This geometric mapping can be used to create a bijection between and . Each point in corresponds uniquely to a point on the real line, ensuring that this projection reaches every real number.

This approach gives us a visual way of understanding the bijection, establishing that is equinumerous with , or .

Example:

The Cartesian product represents the set of all ordered pairs of natural numbers, i.e., . Even though seems “larger” than , we can demonstrate that it is actually countable and has the same cardinality as , i.e., .

To show this, we need to find a bijection between and . One way to achieve this is by using a diagonalization argument (also known as Cantor’s pairing function).

Cantor’s Pairing Function

Cantor’s pairing function is a bijection that maps each pair of natural numbers to a single natural number. The function is defined as:

This function ensures that every pair of natural numbers is associated with a unique natural number. Here’s how the mapping works:

  • , etc.

Imagine arranging the pairs in a grid, where corresponds to the row and to the column. By following a diagonal traversal of this grid, we can systematically list all pairs in a sequence that corresponds to a natural number, proving that is countable.

Thus, , showing that the product of two countably infinite sets is itself countably infinite.

Continue here: 11 Functions, Relations, Cardinality, Countability, Cantor’s Diagonalization Argument