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: Rel category


view this post on Zulip Peiyuan Zhu (Dec 24 2022 at 22:09):

Is it reasonable to think about relationally define reflexivity, symmetricity, transitivity in the Rel category, just like injectivity, surjectivity, bijectivity are defined via monic, epic, iso arrows. It is reasonable to constraint the problem as only equality, implication, and composition are legitimate operators involved? I would hope someone to not to show me the answer directly if they already know the answer to this question, but to help me a bit in my thinking process.

view this post on Zulip Ralph Sarkis (Dec 24 2022 at 22:30):

I am not sure about Rel\mathbf{Rel} as a simple category, but Rel\mathbf{Rel} is also a thin 22-category or a poset-enriched category. No matter if these terms don't mean anything to you, the important part is that for two morphisms R,S:XYR,S: X \rightarrow Y, you can talk about inclusions of one in the other. We say that RSR\subseteq S if and only if R(x,y)    S(x,y)R(x,y) \implies S(x,y) for all (x,y)X×Y(x,y) \in X\times Y. Now you can try to figure out a way to use this additional structure to talk about relfexivity, symmetry and transitivity.

view this post on Zulip Peiyuan Zhu (Dec 24 2022 at 22:31):

What is thin 2-category and poset-enriched category? What's the difference between these and what you would call "simple category"?

view this post on Zulip Ralph Sarkis (Dec 24 2022 at 22:39):

It is not really important. In short it tells you that the inclusion is a partial order on Hom(X,Y)\mathrm{Hom}(X,Y) (i.e. it is reflexive, transitive and antisymmetric) and it behaves well with composition.

view this post on Zulip John Baez (Dec 24 2022 at 22:52):

It actually is important.

view this post on Zulip Ralph Sarkis (Dec 24 2022 at 22:58):

I meant it is not important for now. I first want to see if Peiyuan can find how to characterize reflexivity, symmetry and transitivity using only composition, identities and inclusion. After that, we could dig into the details.

view this post on Zulip Mike Shulman (Dec 24 2022 at 22:59):

FWIW: I presume by "simple category" you mean "ordinary category", i.e. not poset-enriched. But "simple" is a bit of a dangerous word to use in the "ordinary" way in mathematics, as mathematicians like to give it complicated meanings. For instance, in the context of [[FOLDS]] a "simple category" means a skeletal one-way category with finite fan-out. (-:O

view this post on Zulip John Baez (Dec 24 2022 at 23:08):

Ralph Sarkis said:

I meant it is not important for now. I first want to see if Peiyuan can find how to characterize reflexivity, symmetry and transitivity using only composition, identities and inclusion. After that, we could dig into the details.

That makes sense!

view this post on Zulip Peiyuan Zhu (Dec 28 2022 at 02:26):

When I begin my investigation, I wonder what kind of property shall I aim for? It seems that monic arrows iff injective but surjective implies but isn't identical to epic. So it looks like a weaker condition than the original one is okay, as long as it holds in most cases? (Please again don't give out the answer, just help me to think about it, or explain why this is acceptable, e.g. is it because you're working on a generalization?)

view this post on Zulip Ralph Sarkis (Dec 28 2022 at 02:45):

Let us start with something else. Do you know about the opposite of a relation? If you have a relation RX×YR\subseteq X\times Y, the oppoiste of RR is a relation RopY×XR^{\mathrm{op}} \subseteq Y \times X defined by (y,x)Rop(x,y)R(y,x) \in R^{\mathrm{op}} \Leftrightarrow (x,y) \in R.

In Rel\mathbf{Rel}, RR is a morphism XYX \rightarrow Y and Rop:YXR^{\mathrm{op}}: Y \rightarrow X, so we have composites R;Rop:XXR;R^{\mathrm{op}}: X \rightarrow X and Rop;R:YYR^{\mathrm{op}}; R: Y \rightarrow Y (I write composition of relations in diagrammatic order, i.e. R;Rop=RopRR;R^{\mathrm{op}} = R^{\mathrm{op}} \circ R).

What does it mean for the first composite to be equal to idX\mathrm{id}_X? What if the second is equal to idY\mathrm{id}_Y? What if both are true?

view this post on Zulip Peiyuan Zhu (Dec 28 2022 at 02:45):

Conjecture: RRR1R\subset R\circ R^{-1} is a generalization of reflexivity. I need to run now but I'll verify this later.

view this post on Zulip Peiyuan Zhu (Dec 28 2022 at 02:48):

Ralph Sarkis said:

Let us start with something else. Do you know about the opposite of a relation? If you have a relation RX×YR\subseteq X\times Y, the oppoiste of RR is a relation RopY×XR^{\mathrm{op}} \subseteq Y \times X defined by (y,x)Rop(x,y)R(y,x) \in R^{\mathrm{op}} \Leftrightarrow (x,y) \in R.

In Rel\mathbf{Rel}, RR is a morphism XYX \rightarrow Y and Rop:YXR^{\mathrm{op}}: Y \rightarrow X, so we have composites R;Rop:XXR;R^{\mathrm{op}}: X \rightarrow X and Rop;R:YYR^{\mathrm{op}}; R: Y \rightarrow Y (I write composition of relations in diagrammatic order, i.e. R;Rop=RopRR;R^{\mathrm{op}} = R^{\mathrm{op}} \circ R).

What does it mean for the first composite to be equal to idX\mathrm{id}_X? What if the second is equal to idY\mathrm{id}_Y? What if both are true?

Is this related to the question why generalization is acceptable? My personal answer is that category is already a generalization / higher abstraction of many things so it's not a surprise to see a generalization of existing properties.

view this post on Zulip Peiyuan Zhu (Dec 28 2022 at 02:50):

Peiyuan Zhu said:

Conjecture: RRR1R\subset R\circ R^{-1} is a generalization of reflexivity. I need to run now but I'll verify this later.

Actually why not just do idRid\subset R implies reflexivity.

view this post on Zulip Ralph Sarkis (Dec 28 2022 at 02:53):

Peiyuan Zhu said:

Is this related to the question why generalization is acceptable?

If by generalization you mean my message about inclusions of relations, yes. These questions are supposed to make clear why inclusions are really nice to talk about for Rel\mathbf{Rel}.

view this post on Zulip Peiyuan Zhu (Feb 27 2023 at 01:29):

Is there any work on algebra of Rel? Something like T:R1×R2×R3RT:R_1\times R_2\times R_3\rightarrow R that takes several relations and map to one relation

view this post on Zulip Peiyuan Zhu (Feb 27 2023 at 01:32):

Maybe a generalization of limit into Rel

view this post on Zulip Jean-Baptiste Vienney (Feb 27 2023 at 03:08):

You can take the sum R1+R2+R3R_1 + R_2 + R_3 it’s defined as the relation which relates xx to yy if and only if R1,R2R_1, R_2 or R3R_3 relates xx to yy.

view this post on Zulip Jean-Baptiste Vienney (Feb 27 2023 at 03:09):

You have products but not every limit in Rel\mathbf{Rel}

view this post on Zulip Evan Patterson (Feb 27 2023 at 03:53):

Peiyuan Zhu said:

Is there any work on algebra of Rel? Something like T:R1×R2×R3RT:R_1\times R_2\times R_3\rightarrow R that takes several relations and map to one relation

This sort of thing is well described by the cartesian bicategory of relations or, better yet, the cartesian double category of relations. In such a structure, you can take products of objects (sets) and products of relations, and then you can look at cells betweens relations, which include maps of the form you describe.

view this post on Zulip Evan Patterson (Feb 27 2023 at 03:56):

In a paper of mine, I give an exposition of bicategories of relations that is more leisurely than most of the literature on this topic.

view this post on Zulip Peiyuan Zhu (Feb 27 2023 at 21:27):

Is there anyone familiar with the literature of multivalued mappings? https://encyclopediaofmath.org/wiki/Multi-valued_mapping It looks like Kuratowski, Bouligand has done a lot of work on this a long time ago but all their writings are in French so they're not fathomable to my French level. I'm not sure if there has been more recent work.

view this post on Zulip Peiyuan Zhu (Feb 27 2023 at 21:27):

(deleted)

view this post on Zulip Peiyuan Zhu (Feb 27 2023 at 21:29):

(deleted)

view this post on Zulip Peiyuan Zhu (Feb 28 2023 at 18:29):

For a multivalued mapping Γ:XY\Gamma:X\rightarrow Y, how to undertand its small inverse image Γ+(U)={xX:Γ(x)U}\Gamma^+(U)=\{x\in X:\Gamma(x)\subset U\} and large inverse image Γ(U)={xX:Γ(x)U}\Gamma^-(U)=\{x\in X:\Gamma(x)\cap U\ne\emptyset\}? Why is this structure important? Is there any categorical meaning behind it?

view this post on Zulip Peiyuan Zhu (Feb 28 2023 at 18:31):

I can understand that it "approximates the inverse" but this is too vague.

view this post on Zulip Peiyuan Zhu (Feb 28 2023 at 18:52):

They look a lot like the quantifiers http://therisingsea.org/notes/ch2018-lecture13.pdf. Maybe they are exactly quantifiers.