Recent from talks
Nothing was collected or created yet.
Total order
View on WikipediaThis article includes a list of general references, but it lacks sufficient corresponding inline citations. (February 2016) |
In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation on some set , which satisfies the following for all and in :
- (reflexive).
- If and then (transitive).
- If and then (antisymmetric).
- or (strongly connected, formerly called totality).
Requirements 1. to 3. just make up the definition of a partial order. Reflexivity (1.) already follows from strong connectedness (4.), but is required explicitly by many authors nevertheless, to indicate the kinship to partial orders.[1] Total orders are sometimes also called simple,[2] connex,[3] or full orders.[4]
A set equipped with a total order is a totally ordered set;[5] the terms simply ordered set,[2] linearly ordered set,[3][5] toset[6] and loset[7][8] are also used. The term chain is sometimes defined as a synonym of totally ordered set,[5] but generally refers to a totally ordered subset of a given partially ordered set.
An extension of a given partial order to a total order is called a linear extension of that partial order.
Strict and non-strict total orders
[edit]For delimitation purposes, a total order as defined above is sometimes called non-strict order. For each (non-strict) total order there is an associated relation , called the strict total order associated with that can be defined in two equivalent ways:
- if and (reflexive reduction).
- if not (i.e., is the complement of the converse of ).
Conversely, the reflexive closure of a strict total order is a (non-strict) total order.
Thus, a strict total order on a set is a strict partial order on in which any two distinct elements are comparable. That is, a strict total order is a binary relation on some set , which satisfies the following for all and in :
- Not (irreflexive).
- If then not (asymmetric).
- If and then (transitive).
- If , then or (connected).
Asymmetry follows from transitivity and irreflexivity;[9] moreover, irreflexivity follows from asymmetry.[10]
Examples
[edit]- Any subset of a totally ordered set X is totally ordered for the restriction of the order on X.
- The unique order on the empty set, ∅, is a total order.
- Any set of ordinal numbers (more strongly, these are well-orders).
- If X is any set and f an injective function from X to a totally ordered set then f induces a total ordering on X by setting x1 ≤ x2 if and only if f(x1) ≤ f(x2).
- The lexicographical order on the Cartesian product of a family of totally ordered sets, indexed by a well ordered set, is itself a total order.
- The set of real numbers ordered by the usual "less than or equal to" (≤) or "greater than or equal to" (≥) relations is totally ordered. Hence each subset of the real numbers is totally ordered, such as the natural numbers, integers, and rational numbers. Each of these can be shown to be the unique (up to an order isomorphism) "initial example" of a totally ordered set with a certain property, (here, a total order A is initial for a property, if, whenever B has the property, there is an order isomorphism from A to a subset of B):[11][citation needed]
- The natural numbers form an initial non-empty totally ordered set with no upper bound.
- The integers form an initial non-empty totally ordered set with neither an upper nor a lower bound.
- The rational numbers form an initial totally ordered set which is dense in the real numbers. Moreover, the reflexive reduction < is a dense order on the rational numbers.
- The real numbers form an initial unbounded totally ordered set that is connected in the order topology (defined below).
- Ordered fields are totally ordered by definition. They include the rational numbers and the real numbers. Every ordered field contains an ordered subfield that is isomorphic to the rational numbers. Any Dedekind-complete ordered field is isomorphic to the real numbers.
- The letters of the alphabet ordered by the standard dictionary order, e.g., A < B < C etc., is a strict total order.
Chains
[edit]The term chain is sometimes defined as a synonym for a totally ordered set, but it is generally used for referring to a subset of a partially ordered set that is totally ordered for the induced order.[1][12] Typically, the partially ordered set is a set of subsets of a given set that is ordered by inclusion, and the term is used for stating properties of the set of the chains. This high number of nested levels of sets explains the usefulness of the term.
A common example of the use of chain for referring to totally ordered subsets is Zorn's lemma which asserts that, if every chain in a partially ordered set X has an upper bound in X, then X contains at least one maximal element.[13] Zorn's lemma is commonly used with X being a set of subsets; in this case, the upper bound is obtained by proving that the union of the elements of a chain in X is in X. This is the way that is generally used to prove that a vector space has Hamel bases and that a ring has maximal ideals.
In some contexts, the chains that are considered are order isomorphic to the natural numbers with their usual order or its opposite order. In this case, a chain can be identified with a monotone sequence, and is called an ascending chain or a descending chain, depending whether the sequence is increasing or decreasing.[14]
A partially ordered set has the descending chain condition if every descending chain eventually stabilizes.[15] For example, an order is well founded if it has the descending chain condition. Similarly, the ascending chain condition means that every ascending chain eventually stabilizes. For example, a Noetherian ring is a ring whose ideals satisfy the ascending chain condition.
In other contexts, only chains that are finite sets are considered. In this case, one talks of a finite chain, often shortened as a chain. In this case, the length of a chain is the number of inequalities (or set inclusions) between consecutive elements of the chain; that is, the number minus one of elements in the chain.[16] Thus a singleton set is a chain of length zero, and an ordered pair is a chain of length one. The dimension of a space is often defined or characterized as the maximal length of chains of subspaces. For example, the dimension of a vector space is the maximal length of chains of linear subspaces, and the Krull dimension of a commutative ring is the maximal length of chains of prime ideals.
"Chain" may also be used for some totally ordered subsets of structures that are not partially ordered sets. An example is given by regular chains of polynomials. Another example is the use of "chain" as a synonym for a walk in a graph.
Further concepts
[edit]Lattice theory
[edit]One may define a totally ordered set as a particular kind of lattice, namely one in which we have
- for all a, b.
We then write a ≤ b if and only if . Hence a totally ordered set is a distributive lattice.
Finite total orders
[edit]A simple counting argument will verify that any non-empty finite totally ordered set (and hence any non-empty subset thereof) has a least element. Thus every finite total order is in fact a well order. Either by direct proof or by observing that every well order is order isomorphic to an ordinal one may show that every finite total order is order isomorphic to an initial segment of the natural numbers ordered by <. In other words, a total order on a set with k elements induces a bijection with the first k natural numbers. Hence it is common to index finite total orders or well orders with order type ω by natural numbers in a fashion which respects the ordering (either starting with zero or with one).
Category theory
[edit]Totally ordered sets form a full subcategory of the category of partially ordered sets, with the morphisms being maps which respect the orders, i.e. maps f such that if a ≤ b then f(a) ≤ f(b).
A bijective map between two totally ordered sets that respects the two orders is an isomorphism in this category.
Order topology
[edit]For any totally ordered set X we can define the open intervals
- (a, b) = {x | a < x and x < b},
- (−∞, b) = {x | x < b},
- (a, ∞) = {x | a < x}, and
- (−∞, ∞) = X.
We can use these open intervals to define a topology on any ordered set, the order topology.
When more than one order is being used on a set one talks about the order topology induced by a particular order. For instance if N is the natural numbers, < is less than and > greater than we might refer to the order topology on N induced by < and the order topology on N induced by > (in this case they happen to be identical but will not in general).
The order topology induced by a total order may be shown to be hereditarily normal.
Completeness
[edit]A totally ordered set is said to be complete if every nonempty subset that has an upper bound, has a least upper bound. For example, the set of real numbers R is complete but the set of rational numbers Q is not. In other words, the various concepts of completeness (not to be confused with being "total") do not carry over to restrictions. For example, over the real numbers a property of the relation ≤ is that every non-empty subset S of R with an upper bound in R has a least upper bound (also called supremum) in R. However, for the rational numbers this supremum is not necessarily rational, so the same property does not hold on the restriction of the relation ≤ to the rational numbers.
There are a number of results relating properties of the order topology to the completeness of X:
- If the order topology on X is connected, X is complete.
- X is connected under the order topology if and only if it is complete and there is no gap in X (a gap is two points a and b in X with a < b such that no c satisfies a < c < b.)
- X is complete if and only if every bounded set that is closed in the order topology is compact.
A totally ordered set (with its order topology) which is a complete lattice is compact. Examples are the closed intervals of real numbers, e.g. the unit interval [0,1], and the affinely extended real number system (extended real number line). There are order-preserving homeomorphisms between these examples.
Sums of orders
[edit]For any two disjoint total orders and , there is a natural order on the set , which is called the sum of the two orders or sometimes just :
- For , holds if and only if one of the following holds:
- and
- and
- and
Intuitively, this means that the elements of the second set are added on top of the elements of the first set.
More generally, if is a totally ordered index set, and for each the structure is a linear order, where the sets are pairwise disjoint, then the natural total order on is defined by
- For , holds if:
- Either there is some with
- or there are some in with ,
Decidability
[edit]The first-order theory of total orders is decidable, i.e. there is an algorithm for deciding which first-order statements hold for all total orders. Using interpretability in S2S, the monadic second-order theory of countable total orders is also decidable.[17]
Orders on the Cartesian product of totally ordered sets
[edit]There are several ways to take two totally ordered sets and extend to an order on the Cartesian product, though the resulting order may only be partial. Here are three of these possible orders, listed such that each order is stronger than the next:
- Lexicographical order: (a,b) ≤ (c,d) if and only if a < c or (a = c and b ≤ d). This is a total order.
- (a,b) ≤ (c,d) if and only if a ≤ c and b ≤ d (the product order). This is a partial order.
- (a,b) ≤ (c,d) if and only if (a < c and b < d) or (a = c and b = d) (the reflexive closure of the direct product of the corresponding strict total orders). This is also a partial order.
Each of these orders extends the next in the sense that if we have x ≤ y in the product order, this relation also holds in the lexicographic order, and so on. All three can similarly be defined for the Cartesian product of more than two sets.
Applied to the vector space Rn, each of these make it an ordered vector space.
See also examples of partially ordered sets.
A real function of n real variables defined on a subset of Rn defines a strict weak order and a corresponding total preorder on that subset.
Related structures
[edit]| Transitive binary relations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
in general (it might, or might not, hold). For example, that every equivalence relation is symmetric, but not necessarily antisymmetric, is indicated by All definitions tacitly require the homogeneous relation be transitive: for all if and then |
A binary relation that is antisymmetric, transitive, and reflexive (but not necessarily total) is a partial order.
A group with a compatible total order is a totally ordered group.
There are only a few nontrivial structures that are (interdefinable as) reducts of a total order. Forgetting the orientation results in a betweenness relation. Forgetting the location of the ends results in a cyclic order. Forgetting both data results use of point-pair separation to distinguish, on a circle, the two intervals determined by a point-pair.[18]
See also
[edit]- Artinian ring – Ring in abstract algebra
- Countryman line
- Order theory – Branch of mathematics
- Permutation – Mathematical version of an order change
- Prefix order – a downward total partial order
- Ranking – Relationship between items in a set
- Suslin's problem – Problem in set theory
- Well-order – Class of mathematical orderings
Notes
[edit]- ^ a b Halmos 1968, Ch.14.
- ^ a b Birkhoff 1967, p. 2.
- ^ a b Schmidt & Ströhlein 1993, p. 32.
- ^ Fuchs 1963, p. 2.
- ^ a b c Davey & Priestley 1990, p. 3.
- ^ Young AP, Modgil S, Rodrigues O. Prioritised Default Logic as Rational Argumentation (PDF). Proceedings of the 15th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2016). Retrieved 16 January 2025.
- ^ Strohmeier, Alfred; Genillard, Christian; Weber, Mats (1 August 1990). "Ordering of characters and strings". ACM SIGAda Ada Letters (7): 84. doi:10.1145/101120.101136. S2CID 38115497.
- ^ Ganapathy, Jayanthi (1992). "Maximal Elements and Upper Bounds in Posets". Pi Mu Epsilon Journal. 9 (7): 462–464. ISSN 0031-952X. JSTOR 24340068.
- ^ Let , assume for contradiction that also . Then by transitivity, which contradicts irreflexivity.
- ^ If , the not by asymmetry.
- ^ This definition resembles that of an initial object of a category, but is weaker.
- ^ Roland Fraïssé (December 2000). Theory of Relations. Studies in Logic and the Foundations of Mathematics. Vol. 145 (1st ed.). Elsevier. ISBN 978-0-444-50542-2. Here: p. 35
- ^ Brian A. Davey and Hilary Ann Priestley (1990). Introduction to Lattices and Order. Cambridge Mathematical Textbooks. Cambridge University Press. ISBN 0-521-36766-2. LCCN 89009753. Here: p. 100
- ^ Yiannis N. Moschovakis (2006) Notes on set theory, Undergraduate Texts in Mathematics (Birkhäuser) ISBN 0-387-28723-X, p. 116
- ^ that is, beyond some index, all further sequence members are equal
- ^ Davey and Priestly 1990, Def.2.24, p. 37
- ^ Weyer, Mark (2002). "Decidability of S1S and S2S". Automata, Logics, and Infinite Games. Lecture Notes in Computer Science. Vol. 2500. Springer. pp. 207–230. doi:10.1007/3-540-36387-4_12. ISBN 978-3-540-00388-5.
- ^ Macpherson, H. Dugald (2011), "A survey of homogeneous structures", Discrete Mathematics, 311 (15): 1599–1634, doi:10.1016/j.disc.2011.01.024
References
[edit]- Birkhoff, Garrett (1967). Lattice Theory. Colloquium Publications. Vol. 25. Providence: Am. Math. Soc.
- Davey, Brian A.; Priestley, Hilary Ann (1990). Introduction to Lattices and Order. Cambridge Mathematical Textbooks. Cambridge University Press. ISBN 0-521-36766-2. LCCN 89009753.
- Fuchs, L (1963). Partially Ordered Algebraic Systems. Pergamon Press.
- George Grätzer (1971). Lattice theory: first concepts and distributive lattices. W. H. Freeman and Co. ISBN 0-7167-0442-0
- Halmos, Paul R. (1968). Naive Set Theory. Princeton: Nostrand.
- John G. Hocking and Gail S. Young (1961). Topology. Corrected reprint, Dover, 1988. ISBN 0-486-65676-4
- Rosenstein, Joseph G. (1982). Linear orderings. New York: Academic Press.
- Schmidt, Gunther; Ströhlein, Thomas (1993). Relations and Graphs: Discrete Mathematics for Computer Scientists. Berlin: Springer-Verlag. ISBN 978-3-642-77970-1.
External links
[edit]- "Totally ordered set", Encyclopedia of Mathematics, EMS Press, 2001 [1994]
Total order
View on GrokipediaDefinitions and Variants
Non-strict total order
A non-strict total order, also known as a total order or linear order, is a binary relation on a set that is reflexive, antisymmetric, transitive, and total.[4] This means that for every pair of elements in , they are comparable under , allowing for the possibility that and if and only if .[4] The axioms defining a non-strict total order on a set are as follows:- Reflexivity: For all , .[4]
- Antisymmetry: For all , if and , then .[4]
- Transitivity: For all , if and , then .[4]
- Totality: For all , either or .[4]
Strict total order
A strict total order, also known as a strict linear order, is a binary relation on a set that satisfies four key axioms: irreflexivity, asymmetry, transitivity, and strict totality (or trichotomy).[6][7] Irreflexivity requires that no element is related to itself: for all , . Asymmetry ensures that the relation cannot hold in both directions: if , then . Transitivity means that if and , then . Strict totality, or trichotomy, states that for any , exactly one of the following holds: , , or .[8][6] Strict total orders are in bijective correspondence with non-strict total orders. Given a non-strict total order on , define the strict relation by This satisfies irreflexivity (since is false), asymmetry (if then by antisymmetry of ), transitivity (inherited from ), and trichotomy (from totality and reflexivity of ).[7][6] Conversely, given a strict total order on , define the non-strict relation by This is reflexive (by irreflexivity of ), antisymmetric (by asymmetry of ), transitive (by transitivity of ), and total (by trichotomy). These constructions are inverses: applying the first to and then the second yields the original , and vice versa, establishing the bijection.[7][6] In graph theory, a strict total order corresponds to a tournament where the directed edges reflect the ordering, though the focus here remains on relational properties.[9]Examples
Real numbers and integers
The standard total order on the integers is defined by if and only if is a non-negative integer. This relation is reflexive, as for any . It is antisymmetric, since if and , then and , implying and thus . Transitivity holds because if and , then . The order is total, as for any , either or .[1]/19:_Partially_ordered_sets/19.04:_Total_Orders) The standard total order on the real numbers is defined analogously by if and only if . This satisfies the axioms of a total order in the same manner as for , leveraging the ordered field structure of . Unlike , the order on is dense: for any in , there exists such that . Additionally, is complete, meaning every non-empty subset of that is bounded above has a least upper bound in . The real numbers also satisfy the Archimedean property: for any and , there exists such that .[1]/01:_Tools_for_Analysis/1.05:_The_Completeness_Axiom_for_the_Real_Numbers)[10][11] The rational numbers inherit the standard total order from , defined by if and only if for . However, is not complete; for example, the set is bounded above but has no least upper bound in ./19:_Partially_ordered_sets/19.04:_Total_Orders)[12]Ordinal numbers
Ordinal numbers provide a canonical example of well-ordered total orders, extending the natural numbers into the transfinite realm. An ordinal number is defined as the order type of a well-ordered set, meaning it represents a total order that is isomorphic to the initial segment of ordinals up to . The smallest infinite ordinal, denoted , is the order type of the natural numbers under the standard ordering, serving as the base case for transfinite ordinals.[13] A key property distinguishing ordinal total orders is well-ordering: every non-empty subset of an ordinal has a least element with respect to the order. This ensures no infinite descending chains exist, enabling systematic traversal. In contrast, the real numbers under the usual order do not form a well-order, as the set of negative reals has no least element.[14][15] Transfinite induction is a fundamental principle for proving properties on ordinals, analogous to mathematical induction on naturals but extended to well-ordered sets. To show a property holds for all ordinals , verify for the zero ordinal, and assume for all to prove ; the well-ordering then implies for every . This method, developed by Cantor in the 1880s, underpins many results in set theory.[16] Examples illustrate the structure of ordinals beyond . The ordinal consists of the naturals followed by an additional point greater than all of them. The ordinal is two copies of in sequence, while arranges many copies of . Finite total orders correspond briefly to the initial ordinals for . Ordinal arithmetic, such as addition, is defined recursively and lacks commutativity: , as adding one before absorbs into the limit, whereas appends one after and yields a distinct successor ordinal.[13][17]Equivalent Concepts
Chain in a poset
In a partially ordered set (poset) , a chain is a subset such that for every pair of elements , either or , making totally ordered under the induced order from .[18] A chain is maximal if there is no larger chain that properly contains . A poset is itself a total order if and only if is a chain, meaning every pair of elements in is comparable.[19] Zorn's lemma states that if every chain in a nonempty poset has an upper bound in , then has a maximal element.[20] This result has significant applications, such as proving that every vector space has a basis by applying Zorn's lemma to the poset of linearly independent subsets ordered by inclusion.[21] Dilworth's theorem provides a duality between chains and antichains in finite posets, where an antichain is a subset in which no two distinct elements are comparable (i.e., for all distinct , neither nor ).[22] Specifically, the theorem asserts that the size of the largest antichain in equals the minimum number of chains needed to cover .[23]Linear order
A total order is also known by several synonymous terms, including linear order, complete order, and serial order. The term "total order" (or Totalordnung in German) was introduced by Felix Hausdorff in his seminal 1914 work Grundzüge der Mengenlehre, where he formalized the concept within the foundations of set theory.[24] In contrast, the term "linear order" emerged earlier in set theory from the contributions of Georg Cantor, who in the 1890s developed the theory of order types to classify linearly arranged sets, such as the rationals as the unique countable dense linear order without endpoints. The synonym "serial order" appears in early 20th-century literature, notably in Edward V. Huntington's 1917 exposition on continua as types of serial order.[25] "Complete order" is occasionally used interchangeably with total order to emphasize the comparability of every pair of elements, though it can overlap with notions of completeness in ordered fields.[26] In set theory, a total order is frequently conceptualized as a linear extension of a partial order—a total order that contains the original partial order as a subrelation, ensuring all elements remain comparable while preserving existing inequalities. This perspective is central to constructions like topological sorting, an algorithm that produces a linear extension of the partial order induced by a directed acyclic graph, with applications in scheduling and dependency resolution. Such extensions highlight total orders as maximal chains within broader partially ordered sets (posets). Two total orders and are order-isomorphic if there exists a bijection such that for all , if and only if . This bijection preserves the order structure entirely, establishing that the orders are essentially identical up to relabeling of elements. Order types are the equivalence classes of total orders under order isomorphism, providing a way to classify them up to structural similarity. For instance, the order type of the integers under the standard order is the bidirectional infinite discrete sequence , often denoted as .[27] In contrast, the order type of the rational numbers under is dense, meaning between any two distinct elements there exists another, and it is the unique countable dense linear order without endpoints, as characterized by Cantor.[1]Properties and Constructions
Lattice connections
Every total order induces a lattice structure where the meet operation is defined as and the join operation as .[28] These operations always exist for any pair of elements due to the totality of the order, ensuring that every pair has a unique greatest lower bound and least upper bound.[29] The resulting lattice is distributive, satisfying the identities and its dual . This follows from the comparability of elements in the total order, which guarantees that the min and max operations distribute over each other across all possible orderings of .[28] Lattices arising from total orders are also modular, satisfying whenever , a property weaker than distributivity but implied by it in this context.[28] In such lattices, infima and suprema exist for all bounded subsets if the underlying total order is conditionally complete, meaning every nonempty subset bounded above (below) has a least upper bound (greatest lower bound); however, general total orders are not Dedekind-complete unless specified, as exemplified by the rational numbers where certain bounded subsets lack suprema within the set.[30] Finite total orders form special cases of these finite distributive lattices.[28]Finite total orders
A finite total order on a set of elements is unique up to order isomorphism, consisting solely of the linear chain where the elements are strictly increasing: . This uniqueness arises because any total order on a finite set must compare every pair of distinct elements, resulting in a single, unbroken sequence without branches or incomparable elements.[31] When the underlying set is labeled with distinct elements, the number of possible total orders equals , as each permutation of the labels corresponds to a unique way to extend the set into a total order via linear arrangement.[32] This enumeration highlights the simplicity of finite total orders, where the totality ensures that every permutation serves as a valid ordering without violating comparability.[33] The Hasse diagram of a finite total order with elements forms a single vertical path of edges, connecting each consecutive pair in the chain, with no additional branches due to the complete comparability of all elements.[34] This linear structure in the Hasse diagram underscores the absence of parallelism or forks typical in more general partially ordered sets. In applications to computer science, the structure of finite total orders informs the analysis of sorting algorithms, where determining the order of elements under a total order requires at least comparisons in the worst case for any comparison-based method, reflecting the possible orderings.[35] Finite total orders also serve as bounded lattices, with the infimum and supremum operations defined explicitly by the minimum and maximum elements in any subset.Sums of total orders
In order theory, the sum of two total orders and is defined on their disjoint union , where the order preserves the original orders within and within , and every element of is strictly less than every element of .[36] This construction, often called the ordinal sum or lexicographic sum, concatenates the orders sequentially, placing entirely after .[37] The operation is associative but not commutative. For instance, the sum of a singleton total order (order type 1) and the order type of the natural numbers satisfies , as the initial element merges into the countable chain without extending it beyond ; however, is strictly larger than , introducing a maximal element absent in .[37] Iterating this sum yields multiples, such as denoting two copies of in sequence.[36] More generally, for a total order and an indexed family of total orders , the sum is the total order on the disjoint union , equipped with elements represented as pairs for and . The order is lexicographic: if , or if and .[38] This extends the binary case recursively: for successor indices, append the next component; for limit indices, take the supremum of prior partial sums.[36] Such sums preserve totality: the resulting order on the disjoint union is always a total order, as the lexicographic rule ensures comparability between any two elements via their indices or within components.[37] If each is well-ordered and is well-ordered, the sum is well-ordered, with no infinite descending chains due to the well-founded indices and components.[36] In the context of ordinal numbers as canonical well-orders, these sums define ordinal addition, exemplified by .[37]Advanced Structures
Categorical view
In category theory, the category TO has as objects all total orders, that is, pairs where is a set equipped with a total order relation . The morphisms in TO are the order-preserving maps, also known as monotone functions: for total orders and , a morphism satisfies implies for all . Isomorphisms in TO are the bijective order-preserving maps whose inverses are also order-preserving. These isomorphisms identify total orders that are order-isomorphic, preserving the relational structure exactly. The category TO is a full subcategory of the category Pos of posets and order-preserving maps, via the inclusion functor that forgets the totality property. The initial object in TO is the empty total order, the empty set with the (vacuously total) empty relation, as there exists a unique morphism from it to any total order. The terminal object is the singleton total order, a set with one element, to which there is a unique morphism from any total order. Additionally, there is an embedding functor from the category FinSet of finite sets and functions to TO, sending a finite set to its free total order (a chain of the same cardinality) and functions to their induced order-preserving maps where applicable, though typically realized through canonical enumerations. An important adjunction involves the free total order completion of posets. The inclusion functor has a left adjoint that constructs a linear extension of a given poset, extending the partial order to a total order while preserving the original relations; this "free" completion ensures the universal property that any order-preserving map from the poset to a total order factors uniquely through the extension. This adjunction captures the process of linear extensions categorically, highlighting how total orders freely generate from partial ones.Order topology
In order theory, for a totally ordered set and an element , a ray is a subset of that is bounded by . There are four types of rays: the open upward ray , the closed upward ray , the open downward ray , and the closed downward ray . Upward rays are bounded below by , while downward rays are bounded above by .[39] The order topology on a totally ordered set is generated by the subbasis consisting of all open rays and , for all .[40] The basis for this topology is formed by finite intersections of these subbasis elements, yielding open intervals , along with unbounded rays when lacks a minimum or maximum element.[41] On the real numbers equipped with the standard total order, the order topology coincides with the familiar Euclidean topology, which is Hausdorff and connected.[42] In general, the order topology on any totally ordered set is Hausdorff—and thus satisfies the separation axiom—since for distinct points in , the open sets and separate them.[40] The order topology is compact if and only if the total order on is Dedekind complete (every nonempty subset bounded above has a least upper bound in ) and possesses both a least and a greatest element; representative examples include all finite total orders and the closed unit interval under the standard ordering.[43] Moreover, when the total order is dense (between any two distinct elements there lies another), Dedekind completeness ensures that the resulting topological space is connected.[44]Completeness axioms
A total order is said to be Dedekind-complete if every non-empty subset of that is bounded above has a least upper bound, or supremum, in .[45] This property ensures the absence of "gaps" in the order beyond those filled by elements of . For instance, the real numbers under the standard order form a Dedekind-complete total order, as every bounded above non-empty subset has a supremum.[45] In contrast, the rational numbers are not Dedekind-complete; the set is bounded above but has no least upper bound in .[45] A stronger notion is well-completeness, where every subset of —bounded or unbounded—has both a supremum and an infimum in . This property implies Dedekind-completeness, as bounded above subsets are a special case. The class of ordinal numbers provides an example: under the standard order, every set of ordinals has a supremum given by their union, and every non-empty subset has an infimum given by its least element, making the ordinals well-complete.[46] For initial segments (subsets bounded above), this aligns with the well-ordering ensuring suprema exist without gaps.[46] In the context of ordered fields, another form of completeness is Cauchy completeness: every Cauchy sequence converges to an element of the field. The real numbers are Cauchy complete, while the rationals are not, as the sequence approximating is Cauchy but does not converge in .[47] For Archimedean ordered fields, Dedekind-completeness is equivalent to Cauchy completeness.[45] A total order is Dedekind-complete if and only if every Dedekind cut —a partition of into non-empty and with all elements of less than all of , having no maximum, and having no minimum—fails to exist without being filled; equivalently, every such potential cut has either a maximum in or a minimum in .[48] This characterization highlights that completeness prevents irrational gaps definable by cuts. Dedekind-complete ordered fields are precisely the real closed fields, as the completeness ensures algebraic closure in the ordered sense: every positive element has a square root, and every odd-degree polynomial has a root.[45] The real numbers exemplify this, being the unique (up to isomorphism) Dedekind-complete real closed field.[45]Products and Extensions
Lexicographic product
The lexicographic order, also known as dictionary order, on the Cartesian product of two totally ordered sets and is defined by declaring if and only if either or ( and ), where denotes the strict part of the order.[49] The corresponding non-strict order is obtained by including equality: if and, in the case , .[49] This construction prioritizes the first component, comparing elements only in the second component when the first components are equal. The lexicographic order preserves totality: if both and are total orders, then is also a total order.[49][50] For any two elements and in , either , , or , ensuring comparability via the total orders on the components.[49] Unlike the componentwise product order, which is generally partial, the lexicographic order is a linear extension that guarantees totality on the product.[50] The lexicographic order is not commutative, meaning the order on differs from that on . For example, on with the standard order on , the lexicographic order yields the order type , isomorphic to , where sequences are ordered first by the initial natural number (running through copies of ) and then within each copy by the second component.[49][51] Reversing the components would instead produce an order where the second (now first) component is primary, resulting in a different structure, such as for finite cases or highlighting the asymmetry in infinite products.[51] Regarding well-ordering, the lexicographic product of two well-orders is itself a well-order. If and are well-orders, then every non-empty subset of has a least element under , as any descending chain must stabilize in the first component (by well-ordering of ) and then descend in the second (impossible by well-ordering of ).[51] For instance, under lexicographic order is well-ordered with type .[49] In applications, the lexicographic order is fundamental for dictionary ordering of sequences or tuples, where elements are compared position-by-position until a difference arises, as in alphabetical listings.[50] It also enables multi-dimensional sorting in computing, such as ordering records by primary key first and secondary key thereafter, ensuring a total ranking for data structures like arrays or databases.[50]Related order types
A total order is a partial order in which every pair of distinct elements is comparable, meaning for any two elements and , either or . In contrast, a partial order is a binary relation that is reflexive, antisymmetric, and transitive, but it permits the existence of incomparable elements, where neither relation holds between a pair. For example, the componentwise order on , defined by if and , is a partial order because pairs like and are incomparable.[52][53] Preorders generalize partial orders by relaxing antisymmetry, requiring only reflexivity and transitivity, which allows for symmetric pairs representing indifference. A total preorder, also known as a weak order, is a preorder where every pair of elements is comparable, either or , but non-antisymmetry permits equivalence classes of elements that are indifferent to each other, ordered totally among classes. For instance, in preference relations, a total preorder might rank options with ties, where indifferent options form equivalence classes that are themselves totally ordered relative to other classes.[54] The quotient of a total preorder by its indifference relation—defined as if and —yields a total order on the set of equivalence classes, effectively collapsing ties into single representatives.[54][55] Weak orders, synonymous with total preorders, further emphasize this structure as complete preorders that induce a partial order on the quotient by indifference, becoming a total order when the original is total. An example is numerical comparisons allowing ties, such as a ranking of candidates where some are deemed equal, partitioning the set into tied groups ordered linearly. This contrasts with strict total orders by incorporating non-strict comparisons without violating comparability.[54] In graph theory, tournaments provide another related structure: a tournament is an orientation of a complete graph, a directed graph where every pair of distinct vertices has exactly one directed edge between them, corresponding to a total relation that is asymmetric but not necessarily transitive. A tournament represents a strict total order if and only if it is transitive (acyclic), as cycles indicate intransitivities like rock-paper-scissors preferences. Thus, while every strict total order induces a transitive tournament, not all tournaments are transitive, making them a broader class that may embed total orders as Hamiltonian paths.[56][57]References
- https://proofwiki.org/wiki/Definition:Ray_(Order_Theory)
