Colored Linear Orderings
- Colored linear orderings are mathematical structures that merge a total order with a color mechanism—using unary predicates, ordered labels, or order-preserving maps.
- They appear in diverse contexts such as model theory, chain enumerations, hypergraph colorings, and graph reachability, each imposing specific order/color conditions.
- Key results include explicit enumerative formulas, complexity thresholds in hypergraph coloring, and classification theorems for finite and homogeneous colored orders.
Colored linear orderings denote several mathematically distinct structures sharing an ordered substrate and a color apparatus. In one usage, a linear order is expanded by unary predicates, yielding a colored order in the model-theoretic sense. In another, a chain is colored by weakly or strictly order-preserving maps subject to a threshold on designated positions. A third usage orders the colors themselves: an LO -coloring of an -uniform hypergraph assigns values in so that each edge has a unique maximum. Related ordered-color frameworks also appear in graph sparsity theory, forbidden ordered-pattern characterizations of colorability, shuffle constructions over , and the classification of homogeneous colored orders (Beck et al., 2019, Nakajima et al., 2022, Tanović et al., 2018, Gonzalez, 15 Apr 2026).
1. Core meanings and formal settings
The common core is the interaction between a total order and a coloring mechanism, but the direction of interaction varies by field. Sometimes the order is primary and colors are unary predicates on points; sometimes the colors themselves are linearly ordered labels; sometimes an ordering of vertices is used to control graph-theoretic reachability or to forbid particular ordered patterns. This suggests that “colored linear ordering” is not a single standard object but a family of order-sensitive color formalisms.
| Framework | Underlying object | Order/color condition |
|---|---|---|
| Model-theoretic colored order | unary predicates expand a linear order | |
| Chain order polynomial | chain | weakly or strictly increasing maps with a celeste threshold |
| LO hypergraph coloring | -uniform hypergraph | every edge has a unique maximum color |
| Homogeneous colored order | countable colored order | finite partial isomorphisms extend to automorphisms |
In the model-theoretic formulation, a colored order is a structure , where each is a unary subset of . In the chain-enumerative formulation, a bicolored poset 0 has a partition 1 into celeste and silver elements, and one counts order-preserving maps 2 satisfying a threshold on celeste elements. In the hypergraph formulation, an LO 3-coloring is a function 4 such that the multiset of colors on each edge has a unique maximum. For 5, this is equivalently the rule that if two vertices in an edge share a color, then the third must receive a strictly larger color (Tanović et al., 2018, Beck et al., 2019, Nakajima et al., 2022, Gonzalez, 15 Apr 2026).
2. Chains, thresholds, and bivariate order polynomials
For a finite poset 6, classical order polynomials count order-preserving or strictly order-preserving maps into a chain 7. The bivariate refinement introduces a partition 8, with 9 the celeste elements, and counts maps satisfying both monotonicity and a threshold condition on 0. For integers 1 and 2,
3
counts order-preserving 4-maps 5 with 6 for all 7, while
8
counts strictly order-preserving 9-maps with 0 for all 1 (Beck et al., 2019).
When 2 is the chain 3, the data collapse to the position of the minimal celeste element. If 4 is minimal celeste, then the weak case imposes 5, and the strict case imposes 6. The classical chain formulas are
7
Their bivariate analogues are
8
and
9
Thus, for chains, colored linear orderings admit explicit binomial-sum enumerations depending only on the first celeste position.
The same paper proves a decomposition over linear extensions for general posets and a bivariate reciprocity theorem,
0
For chains this becomes
1
The reciprocity shift 2 distinguishes the bivariate setting from the classical one-variable case. The chain formulas therefore serve both as closed-form counts and as the simplest instance of a broader reciprocity theory for order-preserving colorings (Beck et al., 2019).
3. Linearly ordered colorings of hypergraphs
In hypergraph theory, a linearly ordered coloring is an LO 3-coloring of an 4-uniform hypergraph 5: a function 6 such that every edge has a unique maximum color. Equivalently, for 7, if two vertices in an edge share the same color, then the third must have a strictly larger color. This is stronger than classical non-monochromatic coloring, which only excludes all-equal edges. The formalism fits naturally into Promise CSPs: if 8 denotes the 9-ary template of tuples with a unique maximum, then an LO 0-coloring is exactly a homomorphism 1, and the promise problem LO-2 vs LO-3 is the PCSP 4 (Nakajima et al., 2022).
For 3-uniform hypergraphs promised to admit an LO 5-coloring, a polynomial-time, deterministic, constructive algorithm outputs an LO 6-coloring with
7
The method first linearizes the instance by merging vertex pairs forced equal in every LO 8-coloring, then alternates two types of progress on a linear hypergraph: a Type 1 step colors a large independent set with a new largest color, while a Type 2 step finds a large set meeting each hyperedge in 9 or 0 vertices and colors it with a new smallest color. The dense regime uses the mod-1 system 2 and a constant-factor approximation for Max-Ones modulo 3; the sparse regime uses graph independent-set approximation. Balancing the two regimes at
4
yields the stated bound (Nakajima et al., 2022).
The complexity boundary is sharp in a different parameter range. For every fixed 5 and constant 6, given an 7-uniform hypergraph that admits an LO 8-coloring, it is NP-hard to find an LO 9-coloring. More generally, for every fixed 0 and 1, 2 is NP-hard. The proofs use the algebraic PCSP framework of polymorphism minions, minion homomorphisms, free structures, and pp-constructions, and they isolate a structural asymmetry between the regimes 3 and 4. In particular, hardness for 5 cannot be transferred to 6 by gadget reductions because the necessary minion homomorphisms do not exist (Nakajima et al., 2022).
A later development gives a logarithmic approximation for the 3-uniform promised LO 7-colorable case. There is an algorithm that, given a 3-uniform hypergraph 8 with 9 vertices and 0 edges that admits an LO 1-coloring, finds an LO 2-coloring in time 3, and another that finds an LO 4-coloring in the same time bound. The core subroutine solves 5, derives a subset 6 intersecting each 3-edge in 7 or 8 vertices and each 2-edge in exactly 9 vertex, guarantees 0, and then peels such sets layer by layer. A randomized rational nullspace method gives, with probability at least 1, an LO-coloring with 2 colors (Håstad et al., 2024).
The principal open problem remains the constant-color regime for 3-uniform hypergraphs. The exact complexity of 3 for fixed 4 is open, and the specific case 5 was already highlighted in the STACS’21 line of work. A plausible implication is that the 3-uniform case lies at the point where current combinatorial and algebraic methods cease to align cleanly.
4. Ordered vertices in graph theory
A distinct graph-theoretic tradition studies linear orderings of vertices rather than colorings of vertices by ordered labels. For a graph 6 and a linear ordering 7 of 8, weak 9-reachability 00 and strong 01-reachability 02 determine the generalized coloring numbers
03
Optimizing over 04 gives 05 and 06. These parameters interpolate between degeneracy 07, treewidth 08, and treedepth, and they govern acyclic and star colorings through greedy procedures based on reachability layers (Heuvel et al., 2019).
A central question is whether one can choose a single ordering that is simultaneously good for all radii. The main uniform-ordering theorem gives an affirmative answer up to explicit loss: for any graph 09, there exists an ordering 10 such that for all 11,
12
A more general simultaneous-control theorem treats multiple graphs on the same vertex set. These results yield new characterizations of bounded expansion and nowhere dense classes in terms of one ordering per graph or per subgraph. They also show an inherent limitation: no single ordering can be optimal for two different radii in general, and some deterioration is unavoidable (Heuvel et al., 2019).
A second ordered-graph framework describes hereditary properties by forbidden ordered patterns. A graph 13 is 14-colorable if and only if there exists a linear ordering 15 on 16 with no 17 vertices
18
such that 19 for every 20. The ordered obstruction is the straight path 21. The same paper shows that every finite forbidden circular-order description can be translated into a finite forbidden linear-order description via the operator 22. For 23, the following are equivalent: 24 admits a circular ordering 25 such that 26; 27 admits a 28-free linear ordering; and 29, where 30 is the circular chromatic number (Guzmán-Pro et al., 2021).
These two theories use different notions of “colored linear ordering,” but both convert coloring constraints into structural statements about a single vertex order. In sparse graph theory, the order controls reachability; in forbidden-pattern theory, it controls the presence of monotone obstructions.
5. Colored orders in model theory
In model theory, a colored order is a linearly ordered first-order structure 31 whose language contains unary predicates interpreted as colors. Rubin’s program asks when a linearly ordered structure is not much more complicated than such a colored order. A precise answer is obtained through a hierarchy of tameness conditions. Linear finiteness (LF) bounds the number of 32-types realized above an initial segment. Linear binarity (LB) says that, for an increasing tuple 33, the full type is determined by consecutive pair types. Strong linear binarity (SLB) strengthens this to automorphism gluing over arbitrary initial parts. Rubin’s binarity (RB) is still stronger. The implications are strict: 34 Moreover, an 35-saturated linearly ordered structure satisfies RB if and only if it is definitionally equivalent to a colored order (Tanović et al., 2018).
The same work introduces the ccel-reduct 36, which names all unary definable sets and all definable convex equivalence relations. Its main structural theorem states that 37 satisfies SLB if and only if 38 is definitionally equivalent to 39; equivalently, 40 is, up to definitional equivalence, a theory of colored orders expanded by definable convex equivalence relations. Under SLB, every formula is equivalent modulo 41 to a Boolean combination of 42-convex formulas. These are built from unary conditions and order constraints expressed through successor and predecessor classes of definable convex equivalence relations.
At the LF level one already gets strong geometric consequences. Every 43-definable convex subset of 44 has an explicit successor-class form such as
45
and monotone binary relations decompose into finite disjunctions of such pieces. Definable unary functions are finite unions of successor-class maps. After naming all unary definable sets, convex equivalence relations, and the basic relations
46
the complete theory eliminates quantifiers. The resulting picture is that colored orders and their convex-equivalence expansions have a highly stratified yet explicitly describable geometry of definable sets (Tanović et al., 2018).
6. Finite colored linear orders and Ehrenfeucht–Fraïssé classification
For finite colored linear orders, the natural equivalence notion is 47-equivalence under the 48-move Ehrenfeucht–Fraïssé game. If 49 and 50 are colored linear orders over the same color set, then 51 means Duplicator wins the 52-move game preserving both order and colors. The key invariant is the 53-character of a point 54, namely
55
where 56 is the color of 57. The fundamental theorem states that 58 if and only if the multisets 59 and 60 agree for every color 61 (Mwesigye et al., 2017).
At the level of 62, the classification is completely explicit. For 63 colors, one associates to a finite colored linear order a 64-configuration consisting of points 65 and 66, where the 67 record the first appearance of the 68-th new color from the left and the 69 the last appearance of the 70-th new color from the right. A realizability criterion is
71
Together with the sets 72 of colors occurring in each interval between consecutive 73-points, this completely determines the 74-class. The families 75 classify the 76-classes of finite 77-colored linear orders.
This classification yields an algorithmic reduction to canonical form. Any finite colored string has a 78-equivalent 79-optimal substring obtained by computing the colored 80-configuration, computing each 81, and then replacing each interval 82 by a minimal interval in which each color from 83 appears exactly once. The result is a substring of the original structure and is optimal in its 84-class. The exact least upper bound on lengths of optimal representatives of 85-classes with 86 colors is 87.
At the level of 88, the structure becomes substantially more intricate. A 2-colored string of length 89 is constructed that is 90-optimal because all its 2-characters are distinct, and a longer example of length 91 is 92-optimal despite repeated 2-characters. The paper uses De Bruijn-type constructions and directed graphs of character transitions to control these phenomena. This shows that, beyond 93, local repetition of characters no longer suffices to determine reducibility; global transition constraints matter (Mwesigye et al., 2017).
7. Countable shuffles, homogeneous colored orders, and enumeration
A different countable theory begins with shuffles over the rationals. For a non-empty countable set 94 of linear orders, a dense 95-coloring 96 assigns to each rational a color 97 so that every color class is dense in 98. Replacing each 99 by a copy of the order 00 yields the shuffle
01
Skolem’s theorem gives existence and uniqueness of dense colorings up to an automorphism of 02, so 03 depends only on 04 up to isomorphism. For this class, a Cantor–Schröder–Bernstein phenomenon holds: if two countable shuffles embed as convex subsets into each other, then they are order-isomorphic (Srivastava et al., 2024).
Homogeneous colored linear orders admit a finite-skeleton classification. A countable colored linear ordering 05 is homogeneous if every isomorphism between finitely generated colored substructures extends to an automorphism. Such an order is homogeneous if and only if there exist pairwise disjoint subsets 06 and 07 such that each open interval 08 is isomorphic to the color shuffle 09, and each 10 occurs as a single isolated point of color 11. Thus homogeneous colored orders are finite unions of color-dense open intervals together with finitely many isolated colored points, with colors not repeated across different components. The paper proves that the number 12 of isomorphism types of countable homogeneous colored linear orders in 13 colors has exponential generating function
14
The first values are
15
and, with
16
one has
17
The proportion of homogeneous colored orders using all 18 colors tends to 19 (Gonzalez, 15 Apr 2026).
The same finite-skeleton method approximates 20-homogeneity through the relational notions 21-homogeneity. Here the language records exact numbers of predecessors and successors and exact finite distances by predicates 22, 23, and 24. A linear ordering is 25-homogeneous if this expansion is homogeneous, and 26-homogeneity is exactly 27-homogeneity. For finite 28, the class is finite up to isomorphism, and its members are very closely related to homogeneous colored linear orders with finitely many colors. If 29, the number 30 of 31-homogeneous orders satisfies
32
and explicit recurrence and Stirling-number formulas are given. A later paper places these classes in a computability-theoretic hierarchy: 33-homogeneous orders are always relatively 34-categorical, the set of 35-homogeneous orderings is 36-complete, and the set of weakly 37-homogeneous orderings is 38-complete (Calvert et al., 29 Sep 2025).
Taken together, these results show that countable colored linear orderings can be both rigid and enumerable. Dense shuffles over 39 exhibit a strong convex-embedding rigidity, while homogeneous colored orders reduce to finite combinatorics despite being generally infinite structures. An open enumerative problem is whether the bound 40 holds for the 41-homogeneous counts (Gonzalez, 15 Apr 2026).