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.
How can we define ? Can this be made functorial?
internal hom is , and we have duplication . but most categories do not have any kind of involution . can the above map only be defined for categories with an involution?
what do you want it for? i misread
hmm, okay, im inclined to say that in most actual use cases you're going to actually want to hold onto [-, -] and compose it with other stuff
and then eventually you take some end or coend
hm, what do you mean? what would the end represent?
@Stelios Tsampas and I might use such a map to describe the behavior of the -calculus.
ummm, what i mean is like... my impression is that in most places where you'd actually see [c, c] written, and you'd care about some kind of functoriality beyond a literal mapping on objects, what's happening is that some end or coend is being taken, and the standard abuse of notation for [co]ends is happening where the two c's are actually distinct arguments to a bifunctor
oh, are you solving domain equations or something?
sarahzrf said:
oh, are you solving domain equations or something?
It will involve domain solving but there's plenty of material for that!
Right now the challenge is to come up with a Turi-Plotkin-style distributive law (of whatever sort) that describes the semantics.
This kind of semantics was presented in a paper called "Towards a mathematical operational semantics" (http://homepages.inf.ed.ac.uk/gdp/publications/Math_Op_Sem.pdf).
But yeah, after this is done, some recursive domain equations will need to be solved :P.
yeah Sarah, that's the weird thing. the concept of dinatural transformation already has the "duplication plus dualization" built into it, and hence so do co/ends. but you're right that this should probably be a sign that they are lurking whenever you see [c,c]...
Stelios Tsampas said:
Right now the challenge is to come up with a Turi-Plotkin-style distributive law (of whatever sort) that describes the semantics.
hmmm, i dont know anything about this :sweat_smile:
i guess i should probably read that paper
but it's not an abuse of notation, right? all of the 's are a subdiagram of the limit which forms the end. that's why I'm confused, because we seem to be implicitly using a map to even define ends.
sarahzrf said:
i guess i should probably read that paper
It's pretty awesome, esp. if you're interested in semantics. It's the closest you can get to "category theory as a metalanguage for semantics" imho.
There's not going to be an endofunctor with this property in general. A common "solution" is to instead take the domain of the functor to be the category whose objects are those of and whose morphisms from are pairs . (Sometimes one further restricts to isomorphisms.)
Christian Williams said:
but it's not an abuse of notation, right? all of the 's are a subdiagram of the limit which forms the end. that's why I'm confused, because we seem to be implicitly using a map to even define ends.
it's an abuse of notation, because the limit also involves a bunch of terms P(c₁, c₂) where c₁ ≠ c₂
and you can't recover those if you don't have the ability to vary the arguments separately
This is essentially the same problem as with defining a reasonable notion of 2-cell for cartesian-closed categories.
I understand, but when people write and then talk about the equaliser -- are you claiming that this product is not actually definable?
it's perfectly definable, it's just that it's a product—the diagram shape is a discrete category
the discretification of C
Nathanael Arkor said:
There's not going to be an endofunctor with this property in general. A common "solution" is to instead take the domain of the functor to be the category whose objects are those of and whose morphisms from are pairs . (Sometimes one further restricts to isomorphisms.)
why does this category help? we were thinking about the "cofree self-dual"
or if you prefer: you can certainly define the mapping of objects c ↦ [c, c] if you like; the problem is making it a functor, of course
sarahzrf said:
it's perfectly definable, it's just that it's a product—the diagram shape is a discrete category
okay, sure. though I'm still a bit confused about how to describe the limit diagram as a whole. I should just go back to basics on my own.
Because then you can define a functor mapping on objects.
well, that's the reason you write an end and not a limit
actually though there is a nice description as a big limit uhh
if you take the twisted arrow category Tw(C) and its projection to C^op × C, you can compose that with P and get a functor Tw(C) → D; then the limit of that is your end
sarahzrf said:
if you take the twisted arrow category Tw(C) and its projection to C^op × C, you can compose that with P and get a functor Tw(C) → D; then the limit of that is your end
That blew my mind when I first read it!
ah yes, that's right.
I was wondering if twisted arrows can help with .
yeah, i also almost brought it up heh
but i couldnt figure out how to make it quite relevant
i suppose composing the projection with [-, -] gives you a map Tw(C) → C
but we don't have C → Tw(C)
but we shouldn't want C → C for this anyway, i think
it's a red herring
...not in the nlab sense
why not? what do you expect the type to be like, speculatively
i expect that a type expression where a variable occurs in more than one variance should have semantics as a bifunctor rather than as a functor, with the variable becoming two different arguments—as in ends and coends
which is basically what i said above
so [c, c] isnt any different from just [-, -]
it's just that you'd write it in certain contexts to indicate that some kind of operation like an end, coend, or solution to domain equation, is taking place
that'd be my off the cuff speculation
(having chewed a bit on this kind of thing before)
sarahzrf said:
so [c, c] isnt any different from just [-, -]
actually, this is misleading, sorry—if im bringing reference to "semantics for type expressions" into the mix, i should phrase it more like...
the semantics of the expression "[c, c]" should be the bifunctor [-, -], while the semantics of the expression "[c₁, c₂]" should be a 4-argument functor which is constant in two of the arguments
(i think there are actually semantics like this in the literature already btw)
sarahzrf said:
(i think there are actually semantics like this in the literature already btw)
Is this work the "semantics for type expressions" that you mention above?
yes, but I imagine there are situations where the map is useful on its own. unless it really is impossible to define.
it's possible for categories with involution , such as star-autonomous.
Do you have such involutions in the examples you're interested in?
Well, the category of relations is technically an extreme case of an involution.
no, the substitution tensor on () is only right-closed, and the unit is not a right dualizing object.
but yes, if we zoom out to the context of profunctors, there is probably in some way a better story.
...so naturally was brought up.
Even if you have an involution , that composition presumably has the disadvantage of not being but rather . For example, it might be the same thing as .
Unless happens to be the identity on objects, like in a dagger category.
Stelios Tsampas said:
sarahzrf said:
(i think there are actually semantics like this in the literature already btw)
Is this work the "semantics for type expressions" that you mention above?
that stuff i mentioned above was mostly handwaving, but yeah, i mean that i think there's work in the literature that takes this kind of approach
If you've got a closed category and you're trying to deal with all by itself you can treat it as a functor from to - I don't think it's more functorial than that.
Here is the underlying groupoid of .
thanks Reid, yes you're right.
Another famous non-functor is , the center of a group.
oh interesting, why not?
(the center of a category is the end of the hom)
"natural transformations from the identity to itself"?
You can map into any group by picking any element of , but it won't give a map from the center of into the center of .
yeah, it's called the center. not sure of the best reference
Both the center of a monoid and the endomorphisms of a set (or other obect) are examples of "generalized centers".
James Dolan and I explained the generalized center in our paper HDATQFT.
See the last page.
Maybe this is relevant.
We leave it to the reader to check that if C is a set, Z(C) is the monoid consisting of all functions F : C → C. Similarly, if C is a category, Z(C) is the monoidal category whose objects are functors F : C → C and whose morphisms are natural transformations between such functors. The monoidal structure here corresponds to composition of functors. A more interesting example was worked out by Kapranov and Voevodsky [46]. Suppose that we start with a monoidal category C and work in the semistrict context. The 2-morphisms in 2Cat are known as ‘quasinatural transformations’, since the square in eq. (4) is required to commute only up to a 2-isomorphism [38]. The 3-morphisms in 2Cat are known as ‘modifications’. The generalized center Z(C) thus turns out to be the braided monoidal category whose objects are quasinatural transformations α: 1 C ⇒ 1 C and whose morphisms are modifications between these.
You're quoting the part after we explain what Z actually means in general.
For instance, is a relator.
The center of a group might be a relator, too.
good reference, thanks! definitely relevant.
god dammit @Dan Doel i have that paper in my zotero :persevere:
i saw it once and i was like "omg i need to read this"
and then i didnt
of course
John Baez said:
You're quoting the part after we explain what Z actually means in general.
ah yes, sorry --
The operation of ‘taking the center’ can also be generalized, in a subtle and striking manner. We can think of a k-tuply monoidal n-category C — strict, semistrict, or weak — as an object in the corresponding version of (n + k)Cat. Let Z(C) be the largest sub-(n + k + 1)-category of (n + k)Cat having C as its only object, 1 C as its only morphism, 1 1 C as its only 2-morphism, and so on, up to only one k-morphism. Thus Z(C) is a (k + 1)-tuply monoidal n-category.
In what sense is Z(C) the ‘generalized center’ of C? Consider first the case where C is a monoid, thought of as a category with one object. Then Z(C) is the largest sub-2-category of Cat having C as its only object, the identity functor 1 C as its only morphism, and natural transformations α: 1 C ⇒ 1 C as 2-morphisms. In other words, Z(C) is the commutative monoid consisting of all natural transformations α: 1 C ⇒ 1 C . Since there is only one object in C, such a natural transformation is simply a single morphism in C, and the the commutative square condition in eq. (4) implies this morphism must commute with all the other morphisms in C. Thus Z(C) is just the center of C as traditionally defined. This also shows that Z is not a functor.
not gonna read it now either
The operation of 'taking the center' can also be generalized, in a subtle and striking manner. We can think of a k-tuply monoidal n-category C - strict, semistrict, or weak -as an object in the corresponding version of (n+k)Cat. Let Z(C) be the largest sub-(n+k+1)-category of (n+k)Cat having C as its only object, as its only morphism, as its only 2-morphism, and so on, up to only one k-morphism. Thus Z(C) is a (k + 1)-tuply monoidal n-category.
Okay, Christian posted it.
So it pushes you one notch down the periodic table. The center of a set is a monoid - its endomorphisms. The center of a monoid is a commutative monoid - its usual center. The center of a monoidal category is a braided monoidal category - a famous construction. And so on.
Dan Doel said:
For instance, is a relator.
Dan, could you expand on this?
Well, they're not considering categories in that paper. They're considering reflexive graphs. So a relator is like a functor for those.
I haven't read that paper, but others consider a relator to be an endofunctor in , the category of relations.
okay; even without preserving composition, where do you send ?
yeah, it's nonstandard terminology.
Well, the funny thing is that is an endofunctor in , aka a relator, which makes me suspect that both notions are related?
There is no composition in a reflexive graph. There's only an identity.
Yes, categories like Rel are one of their standard examples of reflexive graphs.
yes, I'm asking where you send an edge under the reflexive graph morphism which sends .
Oh, well, it induces an edge . The details would depend on the graph, because otherwise I think it's unclear what structure we'd even be discussing. If it were types and functions, I would think it would be something like is related to if when is related by to then is related by to .
And it's a relator because when is the identity relation, it yields the identity relation on functions.
In the center case, the criterion would be that if is a relation that respects group structure, then it induces a relation on the centers, which is probably just restriction?
I.E. is a relation that respects group structure required to take an element in the center of to an element in the center of ?
I guess one high level detail to take away from the paper is that you can discuss how these things have certain 'nice' properties similar to functors, but you need some way to stop thinking about variance. One way to do that is with something groupoid/isomorphism like, but that can be too restrictive. So reflexive graphs instead get rid of composition.
In some cases (like Rel), you might be able to make sense of composition still, but that might not always be the case.
Category theory without composition! :flushed: They call it graph theory.
I'm not sure if groupoid stuff is still too restrictive if you instead start talking about -groupoids, though. Some people are hoping that the HoTT stuff becomes a better arena for this sort of thing than 'relational' stuff that people have been using. But I'm not sure exactly how things will shake out.
Although I guess what I've seen so far is that they're still not the same. Just similar 'higher' generalizations of the two ideas.
Dan Doel said:
Oh, well, it induces an edge . The details would depend on the graph, because otherwise I think it's unclear what structure we'd even be discussing. If it were types and functions, I would think it would be something like is related to if when is related by to then is related by to .
thanks. it seems in the paper that relators are graph homomorphisms, right? those are like functors, not profunctors. but here you seem to be introducing actual relations. (I probably just need to read more.)
Yeah, they're reflexive graph homomorphisms, so they're graph homomorphisms that preserve the distinguished 'identity' edge on each node.
At some point they start talking about "reflexive graph categories," too, which I think are kind of like proarrow equipments without the requirement that you can compose proarrows.
I think it's important to remember that , and comes from being dagger-compact: swapping the legs of a span; for a monad (a category), this gives . This perspective makes much less mysterious and intimidating for me.
Dan Doel said:
At some point they start talking about "reflexive graph categories," too, which I think are kind of like proarrow equipments without the requirement that you can compose proarrows.
all roads converge at virtual equipments, i guess
I guess when you move to those, a groupoid like thing clearly isn't going to cut it, because you want to be able to promote any directed arrow into a 'relation', and expecting it to be an equivalence is probably not going to work. Equivalences are the opposite direction.
Since can be thought of as the 'diagonal' of , can the centre of a group also be thought of as the diagonal of some functor involving groups and perhaps group homomorphisms?
Is there a functor such that for all ?