Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: learning: questions

Topic: Measuring the non-totalness of an order


view this post on Zulip Nathaniel Virgo (Aug 03 2024 at 04:50):

I'd like some way to "measure" the extent to which a partially ordered set departs from being a totally ordered set.

In my case the partial orders are always lattices, and I'm fine with either making use of that or just treating them as preorders.

"Measure" here can be interpreted liberally - it could be numerical, but it could also be something that lets us say one preorder is "more total" than another (given that they might not have the same set of objects), or it could be something that gives us a set of "obstructions" to a partial order being total.

I know that's kind of vague, but I'm wondering if anyone has anything they think might help?

view this post on Zulip Nathaniel Virgo (Aug 03 2024 at 04:55):

The reason I'm asking is that I'm interested in measuring the "complicatedness" of a relation between two sets. Formal concept analysis is a way to take a relation and turn it into a lattice, and I have an intuition that the kind of "complicatedness" I'm interested in has to do with how this lattice departs from being a total order. I guess I'm also interested in other notions of "complicatedness of a relation" if anyone has one to hand.

view this post on Zulip Chris Grossack (they/them) (Aug 03 2024 at 05:23):

One idea is to count how many total orders refine the partial orders you started with. In case you started with something already a total order, there's only one total refinement (the one you started with) and in case you start with something "totally unordered" (where nothing is above or below anything else) then there's n!n! many total refinements (since they can be ordered however you like)

view this post on Zulip Chris Grossack (they/them) (Aug 03 2024 at 05:25):

Other posets on nn elements will have some number of refinements between 11 and n!n!, and this number will give some measure of how far from totally ordered it is... I'm not sure if it's a good measure, though, this is just the first thing I came up with. I guess it's possible there could be a "rigid" partial order without many total order refinements, but which is still qualitatively quite far from being total? But I can't quickly think of one

view this post on Zulip Chris Grossack (they/them) (Aug 03 2024 at 05:27):

Anyways, the total orders extending a partial order are called the linear extensions, and they're very well studied by combinatorialists, so there might be literature related to what you want

view this post on Zulip Chris Grossack (they/them) (Aug 03 2024 at 05:30):

You could also count the largest antichain. This is another measure of how "wide" the poset is, and thus of how far it is from being a total order. This is also very well studied by combinatorialists

view this post on Zulip Joshua Meyers (Aug 03 2024 at 05:33):

Another possible measure of this, for a partial order PP, is the length of the smallest chain P=P0P1P2PnP=P_0\subset P_1\subset P_2\subset\cdots P_n where PnP_n is a total order, all inclusions are proper, all PiP_i have the same elements, and there is no ii and QQ with proper inclusions PiQPi+1P_i\subset Q \subseteq P_{i+1}.

view this post on Zulip Joshua Meyers (Aug 03 2024 at 05:35):

A quick way of saying this whole thing is "the length of the smallest maximal chain in the poset of refinements of PP"

view this post on Zulip David Egolf (Aug 03 2024 at 05:37):

Is there any adjunction between the category of total orders and the category of partial orders? My hope is that, if there is such an adjunction, it would allow us to associate to a given partial order some corresponding "canonical" total order. Then one could try to measure how different the starting partial order is from the total order it induces via the adjunction.

view this post on Zulip Joshua Meyers (Aug 03 2024 at 06:02):

I can say that the forgetful functor from total orders to partial orders does not have a left or a right adjoint. This can be seen by checking the universal properties that a left or right adjoint would have to satisfy, and then finding posets which serve as counterexamples.

So such an adjunction could not involve the forgetful functor.

view this post on Zulip Oscar Cunningham (Aug 03 2024 at 06:33):

Chris Grossack (they/them) said:

One idea is to count how many total orders refine the partial orders you started with. In case you started with something already a total order, there's only one total refinement (the one you started with) and in case you start with something "totally unordered" (where nothing is above or below anything else) then there's n!n! many total refinements (since they can be ordered however you like)

If you define the function as the number of refinements divided by n!n!, then it respects the coproduct nicely: f(P+Q)=f(P)f(Q)f(P+Q)=f(P)f(Q).

view this post on Zulip Rémy Tuyéras (Aug 03 2024 at 06:51):

What about simplicial homology?

Take a preorder PP and define Cn(P)=Z[{[x0,x1,,xn]  x0x1xn}]C_n(P) = \mathbb{Z}[\{[x_0,x_1,\dots,x_n]~|~x_0\leq x_1 \leq \dots \leq x_n\}]

You have a chain complex n:Cn(P)Cn1(P)\partial_n:C_n(P) \to C_{n-1}(P) given by the singular homology derivative, namely:

n[x0,x1,,xn]=k=0n(1)k[x0,x1,xk1,xk+1,,xn]\partial_n [x_0,x_1,\dots,x_n] = \sum_{k=0}^n (-1)^k [x_0,x_1,x_{k-1},x_{k+1},\dots,x_n]

If we take Q={012 and 012}Q = \{0 \leq 1\leq 2\textrm{ and }0 \leq 1' \leq 2\} (the commutative square), then we have:

view this post on Zulip Clémence Chanavat (Aug 03 2024 at 09:54):

Rémy Tuyéras said:

What about simplicial homology?

Take a preorder PP and define Cn(P)=Z[{[x0,x1,,xn]  x0x1xn}]C_n(P) = \mathbb{Z}[\{[x_0,x_1,\dots,x_n]~|~x_0\leq x_1 \leq \dots \leq x_n\}]

You have a chain complex n:Cn(P)Cn1(P)\partial_n:C_n(P) \to C_{n-1}(P) given by the singular homology derivative, namely:

n[x0,x1,,xn]=k=0n(1)k[x0,x1,xk1,xk+1,,xn]\partial_n [x_0,x_1,\dots,x_n] = \sum_{k=0}^n (-1)^k [x_0,x_1,x_{k-1},x_{k+1},\dots,x_n]

If we take Q={012 and 012}Q = \{0 \leq 1\leq 2\textrm{ and }0 \leq 1' \leq 2\} (the commutative square), then we have:

It seems that you are describing the poset homology, which measures the "topological holes" in the realisation of the nerve of the poset. If I'm not mistaken, the simplicial complex of your example is a disc, whose homology is 0, so it doesn't really measure how far the poset is from being a total order?

If the poset is finite, I would suggest instead taking the graph homology of the covering (=Hasse) diagram. If xx and yy are not comparable, then (since we are in a lattice) there is always a cycle in the covering diagram xyxxyyxyx \wedge y \to \ldots \to x \to \ldots \to x \vee y \to \ldots \to y \to \ldots \to x \wedge y, which give a generator of the H1H^1

view this post on Zulip Graham Manuell (Aug 03 2024 at 10:35):

I think the order dimension should also work for this purpose.

view this post on Zulip Todd Trimble (Aug 03 2024 at 14:38):

It seems that you are describing the poset homology, which measures the "topological holes" in the realisation of the nerve of the poset. If I'm not mistaken, the simplicial complex of your example is a disc, whose homology is 0, so it doesn't really measure how far the poset is from being a total order?

When people talk about the homology of a lattice, they typically remove the top and bottom elements and then take the nerve of that poset.

view this post on Zulip Rémy Tuyéras (Aug 03 2024 at 19:02):

Clémence Chanavat said:

It seems that you are describing the poset homology, which measures the "topological holes" in the realisation of the nerve of the poset. If I'm not mistaken, the simplicial complex of your example is a disc, whose homology is 0, so it doesn't really measure how far the poset is from being a total order?

When I created my example, I mostly focused on H0H_0 (which is the quotient of a free group over an image). Further tinkering with the example, particularly in trying to intuitively detect the "obstructions," led me to H2H_2. However, I forgot that it was a kernel over an image.

As you mentioned, @Clémence Chanavat, the original intuition was to use the underlying graph, ignoring what could be seen as the faces between the paths. Overall, Cn(P)C_n(P) aims to count the linear suborders in the preorder PP, but the homotopy relation should be factorizations of squares:

The path xyzx \leq y \leq z is equivalent to the path xyzx \leq y' \leq z if we have relations yyy \leq y' or yyy' \leq y.

This appears to be related to @Todd Trimble's comment about forgetting the top and bottom elements and focusing only on the path between yy and yy'.

It also seems connected to the use of linear extensions suggested by @Chris Grossack (they/them). If we have a non-linear partial order with xyzx \leq y \leq z and xyzx \leq y' \leq z, then making it into a linear extension would mean imposing yyy \leq y' or yyy' \leq y.

Initially, I considered using a homological measure to quotient [x,y,z][x,y,z] and [x,y,z][x,y',z] with paths [x,y,y,z][x,y,y',z] or [x,y,y,z][x,y',y,z] if they existed. However, this seems more homotopy-like than homology-like.

If such a homotopy existed, I wonder whether linear extensions serve as a sort of (co)fibrant replacement construction of some sort and whether the order dimension suggested by @Graham Manuell indicates the "order" at which this (co)fibrant replacement construction converges (whatever that might mean).

view this post on Zulip Rémy Tuyéras (Aug 03 2024 at 19:17):

The homotopy relation should probably be something like this: take XPX \to P and YPY \to P to be two sublinear orders in PP. We define a homotopy between XX and YY as a factorization of the morphism X+YPX+Y \to P into

X+YI(X,Y)PX+Y \to I(X,Y) \to P

where I(X,Y)PI(X,Y) \to P defines a linear extension of X+YX+Y in PP.

view this post on Zulip Rémy Tuyéras (Aug 03 2024 at 19:39):

Transitiveness for this homotopy relation may require that we impose a "direction" to the extension encoded by I(X,Y)I(X,Y)

view this post on Zulip Rémy Tuyéras (Aug 03 2024 at 19:44):

and the generating cofibrations would copy the topological intuition by considering morphisms as follows (turning partial orders to linear ones)

{012,012}S1{012,012,11}D2\underbrace{\{0 \leq 1 \leq 2, 0 \leq 1' \leq 2\}}_{\mathbb{S}^1} \to \underbrace{\{0 \leq 1 \leq 2, 0 \leq 1' \leq 2,1\leq 1'\}}_{\mathbb{D}^2}