Maximal, Minimal Elements and Bounds

Consider the set of proper divisors of 60, excluding 60 itself. Order this set by divisibility. Which elements sit "on top," with nothing above them? Which sit "at the bottom"? A careless student might say there is a single largest divisor. But 20, 12, and 30 are all maximal. None divides another, and none is exceeded by any other element of the set. This distinction matters: an element merely having nothing above it differs from an element being above everything else. This is one of the first places where the naive picture of "ordering things" breaks down. The precise machinery of Partially Ordered Sets becomes indispensable here. This chapter isolates four closely related but genuinely distinct notions. First, maximal and minimal elements: local, order-theoretic peaks and valleys. Second, greatest and least elements: global, unique when they exist. Third, upper and lower bounds, together with suprema and infima: external reference points that need not belong to the set at all. Confusing these ideas is one of the most common errors in early exposure to order theory. This is not merely pedantic. The difference between "maximal" and "greatest" is exactly the difference between a locally best choice and a globally optimal one. This distinction has real teeth in optimization, game theory, and the design of algorithms that search partially ordered structures. The payoff for getting this right is structural. Once suprema and infima are pinned down precisely, one can ask a further question. Does every pair of elements have one? A "yes" answer is precisely the definition of a Lattice. Zorn's Lemma is a cornerstone of set-theoretic reasoning. It is used to prove the existence of maximal ideals, bases of vector spaces, and much else. It is literally a statement about the existence of maximal elements in chains. None of this is accessible without first being fastidious about what "maximal" does and does not mean. This article gives the formal definitions and draws the Hasse-diagram intuition. It proves the basic uniqueness and existence facts, with full hypotheses. It works two asymmetric examples in detail. It shows exactly what goes wrong when finiteness or totality is dropped. It closes with the standard traps, historical context, and the doorway this material opens toward chains, antichains, and lattice theory.

Key takeaways
  • A maximal element has nothing strictly above it; a minimal element has nothing strictly below it — these are local notions and a poset may have several.
  • A greatest (top) element is above every other element; a least (bottom) element is below every other element — these are global and, when they exist, unique.
  • An upper bound of a subset need not belong to the subset; the least upper bound (supremum) is the smallest such bound, if one exists.
  • Lower bounds and the greatest lower bound (infimum) are defined dually.
  • In a finite nonempty poset, maximal and minimal elements always exist; greatest and least elements need not.
  • Key idea: maximality is a purely local, possibly non-unique property, while greatest/least and sup/inf are global uniqueness statements that can fail to exist entirely.

Where this lives today

In abstract algebra, Zorn's Lemma — a direct descendant of the maximal-element existence question — is used to prove that every nonzero ring with unity has a maximal ideal, and that every vector space has a basis; both proofs hinge on finding a maximal (not merely large) element in a suitably ordered collection. In linear programming and optimization, feasible regions form posets under componentwise comparison, and Pareto-optimal solutions in multi-objective optimization are precisely the maximal elements of the feasibility poset under a dominance order — a setting where, exactly as in Example 1, there are typically many incomparable optimal points rather than one greatest solution. In database theory and computer science, the "skyline query" problem in query optimization asks a database to return exactly the maximal elements of a dataset under a multi-attribute dominance relation, directly instantiating this chapter's maximal-versus-greatest distinction at scale. In lattice theory itself, requiring every pair of elements to have a supremum and infimum inside the poset is precisely the definition of a Lattice, making this chapter's careful sup/inf machinery the immediate prerequisite for that entire theory. In cryptography and access-control models, security clearances are frequently modeled as a poset of "clearance levels" where the absence of a greatest element (several incomparable top-secret compartments) is intentional, preventing any single credential from dominating all others.

Ask the tutor: Can you show me why Zorn's Lemma needs "every chain has an upper bound" instead of just "the poset is finite"?

DefinitionMaximal, minimal, greatest, least elements; bounds; suprema and infima

Let (P,⪯)(P, \preceq) be a partially ordered set and let S⊆PS \subseteq P be nonempty.

Maximal / minimal. An element m∈Sm \in S is maximal in SS if there is no x∈Sx \in S with m≺xm \prec x (that is, m⪯xm \preceq x and m≠xm \neq x). Dually, m∈Sm \in S is minimal in SS if there is no x∈Sx \in S with x≺mx \prec m.

Greatest / least. An element g∈Sg \in S is the greatest element (or maximum) of SS if x⪯gx \preceq g for every x∈Sx \in S. An element ℓ∈S\ell \in S is the least element (or minimum) of SS if ℓ⪯x\ell \preceq x for every x∈Sx \in S.

Upper / lower bounds. For S⊆PS \subseteq P (not necessarily requiring u∈Su \in S), an element u∈Pu \in P is an upper bound of SS if x⪯ux \preceq u for every x∈Sx \in S. An element ℓ∈P\ell \in P is a lower bound of SS if ℓ⪯x\ell \preceq x for every x∈Sx \in S.

Supremum / infimum. An element u∈Pu \in P is the least upper bound or supremum of SS, written u=sup⁡Su = \sup S, if uu is an upper bound of SS and u⪯vu \preceq v for every upper bound vv of SS. Dually, ℓ=inf⁡S\ell = \inf S is a lower bound of SS such that ℓ′⪯ℓ\ell' \preceq \ell for every lower bound ℓ′\ell' of SS. All of these are defined relative to the ambient order ⪯\preceq, and "greatest," "least," "sup," "inf" are each unique when they exist (proved below); "maximal" and "minimal" carry no such uniqueness guarantee.

Intuition

Picture a Hasse Diagram: elements drawn as dots, with x≺yx \prec y shown by placing yy above xx and drawing an edge when the relation is covering (nothing sits strictly between them). Maximal elements are exactly the dots with no edges leaving upward — the "local peaks" of the diagram, of which there can be many side by side. A greatest element, if it exists, is a single dot connected upward (via some chain of edges) to every other dot in the diagram — the unique apex of the whole picture. The four proper divisors of 6060 other than 6060 itself and 11 — say restrict to S={2,3,4,5,6,10,12,15,20,30}S = \{2,3,4,5,6,10,12,15,20,30\} ordered by divisibility — illustrate the gap between "maximal" and "greatest" sharply: 12,20,3012, 20, 30 are each maximal (no other element of SS is a multiple of them within SS), yet none of the three divides another, so SS has no greatest element at all. Bounds and suprema live one level of abstraction higher: they are statements about a subset relative to the whole poset, and the bounding element need not be a member of the subset. In the poset of positive integers under divisibility, the subset {4,6}\{4, 6\} has upper bounds 12,24,36,…12, 24, 36, \ldots — none of which is 44 or 66 — and the least of these upper bounds is 12=lcm⁡(4,6)12 = \operatorname{lcm}(4,6), the supremum.

Figure
Divisors of 60 minus {1,60}, ordered by divisibility: three maximal elements, no greatest element
12 20 30 4 6 10 15 2 3 5 S = divisors of 60, excluding 1 and 60 Maximal: 12, 20, 30 (top row) — pairwise incomparable, so no greatest element exists.
TheoremUniqueness of greatest/least elements and of suprema/infima; existence of extremal elements in finite posets

Let (P,⪯)(P,\preceq) be a poset and S⊆PS \subseteq P nonempty.

(a) Uniqueness of greatest/least. If SS has a greatest element, it is unique; likewise for a least element.

(b) Uniqueness of sup/inf. If sup⁡S\sup S exists in PP, it is unique; likewise for inf⁡S\inf S.

(c) Greatest ⇒\Rightarrow maximal, and greatest ⇒\Rightarrow sup. If gg is the greatest element of SS, then gg is the unique maximal element of SS, and g=sup⁡Sg = \sup S.

(d) Existence in finite nonempty posets. If SS is finite and nonempty, then SS has at least one maximal element and at least one minimal element.

(e) Non-implication. A finite nonempty poset SS need not have a greatest or least element, even though maximal and minimal elements must exist by (d).

Proof

We prove each part using direct antisymmetry arguments (parts a–c), strong induction on ∣S∣|S| (part d), and a single explicit counter-instance (part e), which by itself constitutes a valid proof of a non-implication.

(a) Suppose g1,g2∈Sg_1, g_2 \in S are both greatest elements of SS. Since g1g_1 is greatest, g2⪯g1g_2 \preceq g_1 (apply the defining property of g1g_1 to the element g2∈Sg_2 \in S). Since g2g_2 is greatest, g1⪯g2g_1 \preceq g_2 (apply the defining property of g2g_2 to g1∈Sg_1 \in S). By antisymmetry of ⪯\preceq, g1=g2g_1 = g_2. The argument for least elements is identical with all inequalities reversed (this is the order-dual statement, valid because ⪰\succeq is itself a partial order whenever ⪯\preceq is).

(b) Suppose u1,u2∈Pu_1, u_2 \in P are both suprema of SS. By definition, u1u_1 is an upper bound of SS and u2⪯vu_2 \preceq v for every upper bound vv of SS; taking v=u1v = u_1 gives u2⪯u1u_2 \preceq u_1. Symmetrically, since u2u_2 is an upper bound and u1u_1 is a least upper bound, u1⪯u2u_1 \preceq u_2. Antisymmetry gives u1=u2u_1 = u_2. The infimum case is the order-dual argument.

(c) Let gg be the greatest element of SS. First, gg is maximal in SS: if some x∈Sx \in S satisfied g≺xg \prec x, then in particular x⪯gx \preceq g would fail to hold as equality is excluded, but the defining property of gg demands x⪯gx \preceq g for all x∈Sx \in S including this one — contradiction (since g≺xg \prec x and x⪯gx \preceq g together with antisymmetry would force g=xg = x, contradicting g≠xg \neq x from g≺xg \prec x). Hence no such xx exists, so gg is maximal. Uniqueness of this maximal element follows because any maximal element m∈Sm \in S must satisfy m⪯gm \preceq g (by the greatest-element property applied to mm); if m≠gm \neq g then m≺gm \prec g, contradicting maximality of mm (since g∈Sg \in S witnesses an element strictly above mm). So m=gm = g. Next, g=sup⁡Sg = \sup S: certainly gg is an upper bound of SS by definition of greatest element. If vv is any other upper bound of SS, then since g∈Sg \in S, the bound property gives g⪯vg \preceq v. This is exactly the requirement that gg is ⪯\preceq every upper bound, i.e. gg is the least upper bound. By part (b) this supremum is unique, and it equals gg.

(d) We induct on n=∣S∣≥1n = |S| \geq 1. Base case n=1n = 1: S={s}S = \{s\}. Vacuously there is no x∈Sx \in S with s≺xs \prec x (the only candidate is x=sx = s, excluded since s≠ss \neq s is false), so ss is maximal; the same element is minimal by the symmetric vacuous argument. Inductive step: suppose every nonempty poset of size nn has a maximal element, and let SS have n+1n+1 elements. Pick any a∈Sa \in S and let S′=S∖{a}S' = S \setminus \{a\}, which has nn elements. Two cases:

  • If n=0n = 0, then S={a}S = \{a\} and we are in the base case already handled.
  • If n≥1n \geq 1, by the inductive hypothesis S′S' has a maximal element mm. Compare mm and aa:
  • If a⊁ma \not\succ m (i.e., it is not the case that m≺am \prec a), we claim mm is maximal in SS. Suppose not: some x∈Sx \in S has m≺xm \prec x. Since mm is maximal in S′S', this xx cannot lie in S′S', so x=ax = a, giving m≺am \prec a, contradicting a⊁ma \not\succ m. So no such xx exists and mm is maximal in SS.
  • If m≺am \prec a, we claim aa is maximal in SS. Suppose some x∈Sx \in S has a≺xa \prec x. If x∈S′x \in S', then m≺a≺xm \prec a \prec x gives m≺xm \prec x (transitivity) with x∈S′x \in S', contradicting maximality of mm in S′S'. If x=ax = a, then a≺aa \prec a is false by irreflexivity implicit in strict order — contradiction either way. So aa is maximal in SS.

In both cases SS has a maximal element, completing the induction. The existence of a minimal element follows by applying the just-proved statement to the dual poset (P,⪰)(P, \succeq), which is again a partial order (reflexivity, antisymmetry, transitivity all transfer immediately by swapping the roles of the two sides of each inequality), and a maximal element of SS under ⪰\succeq is precisely a minimal element of SS under ⪯\preceq.

(e) We exhibit a single finite nonempty poset with no greatest element, which suffices to disprove the universal claim "every finite nonempty poset has a greatest element." Take P={a,b}P = \{a, b\} with the discrete order a⪯aa \preceq a, b⪯bb \preceq b only (no relation between aa and bb); this is trivially a valid partial order (reflexive, and vacuously antisymmetric and transitive). Both aa and bb are maximal (and minimal), by (d)'s base-case argument applied to each singleton-comparable element, yet neither is greatest: aa is not greatest because b⪯̸ab \not\preceq a, and bb is not greatest because a⪯̸ba \not\preceq b. So S=PS = P is a finite nonempty poset with two maximal elements and no greatest element, proving (e). ■\blacksquare

∎

Worked examples

Example 1 (a genuinely asymmetric divisibility poset). Let P={2,3,4,6,8,9,12,18,24,36}P = \{2, 3, 4, 6, 8, 9, 12, 18, 24, 36\}, ordered by divisibility (x⪯yx \preceq y iff x∣yx \mid y). We locate every extremal notion for the whole set PP and for a designated subset. Maximal elements of PP. Check each candidate for a strictly larger multiple still inside PP:

  • 2424: is 2424 a proper divisor of anything else in PP? The only larger elements are 3636, and 24∤3624 \nmid 36 (since 36/24=1.536/24 = 1.5). So 2424 is maximal.
  • 3636: no element of PP exceeds 3636, so 3636 is maximal automatically.
  • 1818: is 18∣3618 \mid 36? Yes, 36=2⋅1836 = 2 \cdot 18. So 1818 is not maximal.
  • 1212: 12∣2412 \mid 24 (24=2⋅1224 = 2\cdot 12) and 12∣3612\mid 36 (36=3⋅1236=3\cdot12), so 1212 is not maximal.
  • Checking the rest (2,3,4,6,8,92,3,4,6,8,9) similarly, each divides some larger element of PP (e.g. 8∣248 \mid 24, 9∣189\mid 18, etc.), so none is maximal.

Hence PP has exactly two maximal elements: 2424 and 3636. Since 24∤3624 \nmid 36 and 36∤2436 \nmid 24, they are incomparable, so by Theorem: Uniqueness of greatest/least (c)–(contrapositive), PP cannot have a greatest element — a set with a greatest element has a unique maximal element, but PP has two. Minimal elements of PP. The candidates 22 and 33 divide nothing smaller in PP and nothing in PP divides them except themselves, so both are minimal; every other element (e.g. 4=2⋅24 = 2\cdot 2) is divisible by 22 or 33, hence not minimal. So PP has two minimal elements: 22 and 33, and again no least element. Bounds and sup/inf of a subset. Let S={4,6,9}⊆PS = \{4, 6, 9\} \subseteq P. Search PP for upper bounds, i.e. elements divisible by all of 4,6,94, 6, 9: we need divisibility by lcm⁡(4,6,9)=36\operatorname{lcm}(4,6,9) = 36. Checking PP, the only element divisible by 3636 is 3636 itself. So 3636 is the only upper bound of SS lying in PP, hence trivially the least one:

sup⁡S=36.\sup S = 36.

For lower bounds of SS in PP: we need elements of PP dividing all of 4,6,94,6,9 simultaneously. The only common divisor of 4,6,94, 6, 9 is 11, which is not in PP. So SS has no lower bound in PP at all, and in particular inf⁡S\inf S does not exist in PP — a concrete illustration that bounds can fail to exist even in a finite poset, because the ambient set PP (not just SS) may simply omit the needed element.

Example 2 (a poset of subsets, illustrating bounds that exist but lie strictly outside the subset). Let U={1,2,3,4,5}U = \{1,2,3,4,5\} and let P=P(U)∖{∅,U}P = \mathcal P(U) \setminus \{\emptyset, U\} (all subsets of UU except the empty set and UU itself), ordered by inclusion ⊆\subseteq. This PP is a genuinely large, asymmetric poset (30 elements). Consider

S={{1,2},{1,3},{2,3}}⊆P.S = \{\{1,2\}, \{1,3\}, \{2,3\}\} \subseteq P.

Upper bounds of SS in PP. An upper bound B∈PB \in P must satisfy {1,2}⊆B\{1,2\}\subseteq B, {1,3}⊆B\{1,3\}\subseteq B, {2,3}⊆B\{2,3\}\subseteq B simultaneously, forcing {1,2,3}⊆B\{1,2,3\} \subseteq B. The smallest set satisfying this is B0={1,2,3}B_0 = \{1,2,3\} itself, which is in PP (it is neither ∅\emptyset nor UU). Other upper bounds exist too: {1,2,3,4}\{1,2,3,4\}, {1,2,3,5}\{1,2,3,5\}, and {1,2,3,4,5}=U\{1,2,3,4,5\}=U is excluded from PP, so the upper bounds of SS inside PP are exactly {1,2,3},{1,2,3,4},{1,2,3,5}\{1,2,3\}, \{1,2,3,4\}, \{1,2,3,5\}. Is B0={1,2,3}B_0=\{1,2,3\} the least of these under ⊆\subseteq? Yes: {1,2,3}⊆{1,2,3,4}\{1,2,3\} \subseteq \{1,2,3,4\} and {1,2,3}⊆{1,2,3,5}\{1,2,3\}\subseteq\{1,2,3,5\}, and no other upper bound is smaller. So

sup⁡S={1,2,3},\sup S = \{1,2,3\},

and notably sup⁡S∉S\sup S \notin S — the supremum of a subset need never belong to the subset itself, which is the precise reason sup/inf are defined via bounds in the ambient poset PP rather than as a special case of "greatest element of SS." Lower bounds of SS in PP. A lower bound LL must satisfy L⊆{1,2}L \subseteq \{1,2\}, L⊆{1,3}L \subseteq \{1,3\}, L⊆{2,3}L \subseteq \{2,3\} simultaneously. The intersection of these three sets is ∅\emptyset, so L⊆∅L \subseteq \emptyset, forcing L=∅L = \emptyset — but ∅∉P\emptyset \notin P by construction. Hence SS has no lower bound in PP, so inf⁡S\inf S does not exist, exactly as in Example 1 but now for a structural (not just numerical) reason: the poset was deliberately built by deleting the one element (∅\emptyset) that would have served as the bound. This pair of examples shows the same phenomenon from two angles — arithmetic (divisibility) and combinatorial (set inclusion) — and demonstrates that the non-existence of a bound is not a pathology of infinite posets; it can happen in a 10- or 30-element finite poset the moment the ambient set is not "closed downward/upward enough."

CounterexampleDropping finiteness: existence of maximal/minimal elements can fail

Theorem (d) requires SS to be finite. Drop this hypothesis and existence fails outright. Let P=ZP = \mathbb{Z}, the integers, with the usual order ≤\leq, and take S=ZS = \mathbb{Z} itself (or any set unbounded above, such as S=NS = \mathbb{N}). Claim: S=ZS = \mathbb{Z} has no maximal element. Suppose for contradiction m∈Zm \in \mathbb{Z} were maximal in Z\mathbb{Z}. Then m+1∈Zm+1 \in \mathbb{Z} satisfies m<m+1m < m+1, i.e. m≺m+1m \prec m+1 with m+1∈Sm+1 \in S, directly contradicting the defining property of maximality (there must be no element of SS strictly above mm). So no maximal element exists. The identical argument with m−1m - 1 shows Z\mathbb Z has no minimal element either. This is not a failure of the proof of (d) — it is a failure of the hypothesis: the induction in the proof of (d) explicitly builds SS up one element at a time from a finite base case, and there is no way to run finitely many inductive steps to reach an infinite set. The moment SS is infinite, "add one more element and compare" need never terminate, and indeed here it provably cannot, since Z\mathbb Z has no largest integer. This is precisely why more delicate machinery (well-ordering, or Zorn's Lemma, which trades finiteness for a chain-completeness hypothesis) is required to recover any analogous existence statement for infinite posets.

Scope, edge cases & common traps

SituationWhat can happenWhy
Finite nonempty posetMaximal & minimal elements always existTheorem part (d), induction
Finite poset, several incomparable maximaNo greatest elementGreatest would force uniqueness of maximal (part c)
Infinite poset (e.g. Z\mathbb Z, or open interval (0,1)(0,1))Maximal/minimal may fail to existFiniteness hypothesis of (d) is essential — see counterexample
Subset SS inside poset PPsup⁡S\sup S may not lie in SS, or may not exist in PP at allBounds range over all of PP, not just SS; PP may lack the needed element
Totally ordered (chain) finite posetMaximal = greatest, minimal = least, both uniqueEvery pair comparable, so a maximal element beats all others directly

The mathematician behind it

Origins · 1 minFelix Hausdorff and how this was discovered
FH
Felix Hausdorff
1868–1942 · foundational set theory and order theory, University of Bonn

Hausdorff formulated an early maximal-chain principle — now often called the Hausdorff Maximal Principle — asserting that every partially ordered set contains a maximal chain (a totally ordered subset not properly contained in any larger chain within the poset). This result, equivalent to the Axiom of Choice, is a direct ancestor of the modern statement known as Zorn's Lemma, and it depends essentially on the careful distinction between maximal and greatest elements developed in this article: a maximal chain need not be, and generally is not, comparable to every other chain in the poset. Hausdorff's 1914 treatise Grundzüge der Mengenlehre laid out much of the modern language of order relations, partial orders, and order types used throughout combinatorics and set theory today.

History
- 1883–1908 — Georg Cantor develops the theory of ordered sets and well-orderings, the direct predecessor of the modern poset axioms.
- 1914 — Felix Hausdorff publishes Grundzüge der Mengenlehre, formalizing partial orders and proving the Hausdorff Maximal Principle.
- 1922 — Kazimierz Kuratowski proves a version of the maximal principle independently, in the context of set theory.
- 1935 — Max Zorn states the lemma bearing his name, isolating maximal-element existence in posets satisfying a chain-upper-bound condition, streamlining prior formulations for use across algebra.
- 1939–1940 — Nicolas Bourbaki's collective treatises popularize the modern definitional apparatus of posets, bounds, and lattices used essentially unchanged today.
What exactly is the difference between "maximal" and "greatest"?

A maximal element of SS has no element of SS strictly above it — it could still be incomparable to many other elements. A greatest element of SS must be comparable to, and above or equal to, every element of SS. Greatest implies maximal and forces uniqueness (proved above), but maximal does not imply greatest: a poset can have several maximal elements sitting side by side, none of which dominates the others. The gap between the two is exactly the gap between a poset and a totally ordered chain — in a chain the two notions coincide.

Can a set have more than one supremum?

No. If u1u_1 and u2u_2 both satisfy the definition of least upper bound of SS, each is an upper bound of SS, so applying the "least" property of each to the other forces u1⪯u2u_1 \preceq u_2 and u2⪯u1u_2 \preceq u_1; antisymmetry of the partial order then forces u1=u2u_1 = u_2. This is exactly the uniqueness argument given in the proof of the central theorem, and it is why the notation sup⁡S\sup S (a single symbol, not a set of candidates) is legitimate.

Does the supremum of SS have to belong to SS?

No, and this is one of the most important subtleties in the whole topic. The supremum is defined as the least element of the set of upper bounds of SS, a set that lives in the ambient poset PP and typically has nothing to do with membership in SS. In Example 2 above, sup⁡{{1,2},{1,3},{2,3}}={1,2,3}\sup\{\{1,2\},\{1,3\},\{2,3\}\} = \{1,2,3\}, and {1,2,3}\{1,2,3\} is not one of the original three sets. When the supremum does happen to lie in SS, it automatically equals the greatest element of SS, by part (c) of the central theorem.

Why do finite posets always have maximal elements but not always greatest elements?

Existence of a maximal element only requires finding some element with nothing above it, and a simple induction (remove one element, apply the inductive hypothesis, compare the new element to the found maximal element) always produces one, as long as there are only finitely many elements to exhaust. A greatest element is a much stronger requirement — a single element comparable to and dominating everyone — and finiteness gives no mechanism for forcing full comparability. Incomparable elements can coexist as separate local peaks indefinitely, which is precisely what a Hasse diagram with multiple top nodes displays.

What happens to these notions in an infinite poset such as the real numbers?

In (R,≤)(\mathbb R, \leq), no element is maximal or minimal, and R\mathbb R itself has neither a greatest nor a least element, matching the counterexample above (finiteness was essential). However R\mathbb R has an important extra property that finite posets and general infinite posets can lack: the completeness axiom, which guarantees that every nonempty subset bounded above has a supremum in R\mathbb R. That guarantee is not automatic from the poset axioms alone — it is an additional structural hypothesis about R\mathbb R specifically, and it is exactly what fails for Q\mathbb Q, where {x∈Q:x2<2}\{x \in \mathbb Q : x^2 < 2\} is bounded above but has no rational supremum.

How does this material connect to lattices?

A poset in which every pair of elements x,yx, y has both a supremum x∨yx \vee y and an infimum x∧yx \wedge y is called a Lattice. The uniqueness of sup and inf proved here is exactly what makes ∨\vee and ∧\wedge well-defined binary operations on a lattice, rather than merely relations. Chapters on lattices build directly on this uniqueness theorem, and the notion of maximal/minimal elements reappears there in the study of atoms and coatoms — the maximal elements just above the bottom, and minimal elements just below the top, of a bounded lattice.

Is there a quick test for whether a finite poset has a greatest element?

Yes: a finite poset SS has a greatest element if and only if it has exactly one maximal element and that unique maximal element is comparable to every other element of SS. Having a unique maximal element alone is not sufficient in general infinite posets, but checking direct comparability is always valid and is the fastest concrete test in a finite Hasse diagram: if the diagram has a single top node connected (through the order, not necessarily directly) to every other node, that node is the greatest element; if there are multiple top nodes, there is no greatest element at all.

Before this

Where this leads