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: practice: terminology & notation

Topic: how do you denote these things


view this post on Zulip Matteo Capucci (he/him) (Nov 10 2022 at 12:34):

I like to denote mathematical objects in consistent ways, like any diligent mathematician. For example, all my categories are \mathbf, all my double categories are \mathbb, functors are uppercase Latin whereas morphisms are smallcase Latin, and so on.
Now the trouble starts when you have something that started as an object of some kind, like a double category C\mathbb C, but then is turned into an object of another kind, like its (single!) category of morphisms C1\mathbb C_1/C1\mathbf C_1.
In your opinion, is it better to preserve the original 'kind' despite the modifier 1-_1 or to switch to the notation of the new kind?

view this post on Zulip Ralph Sarkis (Nov 10 2022 at 12:49):

I would prefer you don't switch the font.

An alternative that would be as intuitive (for me) is to have C1\mathbf{C}_1 be in the data that defines C\mathbb{C}.

view this post on Zulip Dylan Braithwaite (Nov 10 2022 at 13:41):

I agree with the alternative. Something like “Let C=(C1,C0) \mathbb C = (\mathbf C_1, \mathbf C_0) be a double category” seems nicest to me. But I guess this doesn’t work if you want to write something like CL\mathbb C_L for the bicategory of loose morphisms for example

view this post on Zulip Matteo Capucci (he/him) (Nov 10 2022 at 13:53):

Ralph Sarkis said:

An alternative that would be as intuitive (for me) is to have C1\mathbf{C}_1 be in the data that defines C\mathbb{C}.

Yeah that's what I meant. But one might want to write C1\mathbb C_1?

view this post on Zulip Matteo Capucci (he/him) (Nov 10 2022 at 13:53):

I'm really on the line

view this post on Zulip Joe Moeller (Nov 10 2022 at 15:39):

My personal opinion is that font is a terrible place to encode critical information. I really think you should just say what you mean. Of course, I've consistently gotten tons of pushback when I bring this up to any coauthor. I use mathsf for any specifically named category-like gizmo: Set, Cat, Prof, Fib, etc. and mathcal for generics like C, D etc. If I'm talking both about the 1-category of categories and the 2-category of categories at the same time, I'd say "Consider the 2-category Cat\mathsf{Cat} of categories, functors, and natural transformations", use Cat_1 for it's truncation, and Cat_h for it's homotopy 1-category.

view this post on Zulip John Baez (Nov 10 2022 at 16:41):

I like using fonts to encode these distinctions but I think it's always good to also say what you mean in words, repeatedly, not expecting readers to memorize your conventions.

view this post on Zulip John Baez (Nov 10 2022 at 16:44):

Redundancy is very helpful for clearly conveying information. Some mathematicians ignore this and write as if the only goal was to make it theoretically possible to figure out what they mean, like cracking a code.

view this post on Zulip John Baez (Nov 10 2022 at 16:46):

I had the problem Matteo describes in my latest paper on double categories.. . and I forget how we resolved it!

view this post on Zulip John Baez (Nov 10 2022 at 16:47):

It was a real dilemma.

view this post on Zulip Mike Shulman (Nov 10 2022 at 19:04):

In general I think a good approach is for operations that "change the kind" in this way to be denoted more obviously as functions rather than with a notation like subscripts that tends to disappear visually. For instance, if double categories are in \mathbb and bicategories are in \mathcal, then I would notate the bicategory of loose morphisms of a double category by L(C)\mathcal{L}(\mathbb{C}). That way it is clear that the object itself is a bicategory, and it is constructed from a double category.

view this post on Zulip Mike Shulman (Nov 10 2022 at 19:06):

I definitely don't think that the category of morphisms of a double category C\mathbb{C} could be denoted by C1\mathbf{C}_1. I would regard that not just as poorly-chosen notation but bordering on incorrect.

view this post on Zulip John Baez (Nov 10 2022 at 19:30):

Mike will be happy that Christina and Kenny and I wound up agreeing with him:

Conventions

In this paper, we use a sans-serif font like C\mathsf{C} for categories, boldface like B\mathbf{B} for bicategories or 2-categories, and blackboard bold like D\mathbb{D} for double categories. For double categories with names having more than one letter, like Csp(X)\mathbb{C}\mathbf{sp}(\mathsf{X}), only the first letter is in blackboard bold. In this paper, 'double category' means 'pseudo double category'. A double category D\mathbb{D} has a category of objects and a category of arrows, and we call these D0\mathbb{D}_0 and D1\mathbb{D}_1 despite the fact that they are categories.

view this post on Zulip Mike Shulman (Nov 10 2022 at 21:29):

To clarify, I'm okay with "let C=(C0,C1)\mathbb{C} = (\mathbf{C}_0,\mathbf{C}_1)," just not with changing the font and still thinking of the "C" in C1\mathbf{C}_1 as referring to the same object C\mathbb{C}.

view this post on Zulip John Baez (Nov 10 2022 at 22:00):

Hmm, I was not talking about thinking, purely notation. Our dilemma was: if we denote double categories by things like C\mathbb{C}, how should we denote the two categories they're made of: C0\mathsf{C}_0 and C1\mathsf{C}_1 (since that's our font for categories) or C0\mathbb{C}_0 and C1\mathbb{C}_1 (since they are entities derived from C\mathbb{C} via systematic processes).

view this post on Zulip John Baez (Nov 10 2022 at 22:03):

We wanted a systematic rule so we could say stuff like

Let D\mathbb{D} be another double category... then D1\mathbb{D}_1 [or D1\mathsf{D}_1] is cartesian if...

without having to remind the reader, every time, of how we're getting D1\mathbb{D}_1 (or D1\mathsf{D}_1) from the double category D\mathbb{D}.

view this post on Zulip Mike Shulman (Nov 10 2022 at 22:24):

Yes, I'm talking about notation too. I think I'm not being very clear. Let me try again.

If I have a function f:XYf:X\to Y, and I consider the value of that function ff at some input xXx\in X, then any notation for that value should include xx so that the reader can tell what the function is being applied to. This is obviously the case for the usual function-application notation f(x)f(x). It's also the case for other notations such as x2x^2 or x|x| or x\sqrt{x}. It would be wrong to write the value of the function ff on the input xx with a notation like y\langle y\rangle, because yy is not the object that the function is being applied to; xx is.

Similarly, if ff is the function that takes a double category to its category of arrows, it would be wrong to write the value of ff on an input C\mathbb{C} with a notation like C1\mathsf{C}_1, because C\mathsf{C} is not the object that the function is being applied to; C\mathbb{C} is. In all of my experience of the way that notation is used in mathematics, there is no a priori connection in meaning between variable names that are "the same letter" written in different fonts. The variable xx is as different from the variable XX as it is from the variable yy or aa; if I want to I can use xx to denote a topological space and XX to denote a regular cardinal. Similarly, CC, C\mathbf{C}, C\mathsf{C}, and C\mathbb{C} are just different variable names, and some object that is denoted by C\mathbb{C} cannot suddenly switch to being denoted by C\mathsf{C} just because some function is being applied to it whose outputs belong to a type whose elements we conventionally denote with sans-serif letters.

view this post on Zulip John Baez (Nov 10 2022 at 22:33):

Okay, so we agree: we shouldn't use font change to indicate application of a function or functor to some variable. We decided that principle overrode our desire to use different fonts for different types.

view this post on Zulip Mike Shulman (Nov 10 2022 at 22:35):

Yes, we agree. I was just clarifying that I didn't object to Dylan's suggestion above.

view this post on Zulip Matteo Capucci (he/him) (Nov 10 2022 at 22:37):

Mike Shulman said:

In general I think a good approach is for operations that "change the kind" in this way to be denoted more obviously as functions rather than with a notation like subscripts that tends to disappear visually. For instance, if double categories are in \mathbb and bicategories are in \mathcal, then I would notate the bicategory of loose morphisms of a double category by L(C)\mathcal{L}(\mathbb{C}). That way it is clear that the object itself is a bicategory, and it is constructed from a double category.

Uhm this feels like the most convincing take here... in a sense both options I proposed have flaws: using a subscript or decoration to denote a functor is confusing, and so is using a change in font.

view this post on Zulip John Baez (Nov 10 2022 at 22:40):

Yeah, that avoid both problems. We just didn't think of that. We might still have decided this notation was too "bulky", since we were talking about things like C0\mathbb{C}_0 and C1\mathbb{C}_1 over and over again, a lot. But luckily our paper is published so we don't have to think about this anymore!

view this post on Zulip Mike Shulman (Nov 10 2022 at 22:42):

I think denoting a functor by a subscript or decoration can be okay sometimes, just as ordinary functions are sometimes denoted that way. One has to be careful with it, and when you are trying to match fonts to types consistently it does step out of such a system, but it doesn't rub me as wrong the way "denoting a functor with a change of font" does.

view this post on Zulip Matteo Capucci (he/him) (Nov 11 2022 at 08:38):

John Baez said:

Yeah, that avoid both problems. We just didn't think of that. We might still have decided this notation was too "bulky", since we were talking about things like C0\mathbb{C}_0 and C1\mathbb{C}_1 over and over again, a lot. But luckily our paper is published so we don't have to think about this anymore!

I wouldn't say your choice was bad, actually that's the way I've been denoting them myself all this time. I'm nitpicking to astronomical levels in this thread!

view this post on Zulip John Baez (Nov 11 2022 at 16:11):

Yes, a stream on a category theory server specially devoted to terminology and notation is a nitpicker's idea of heaven! :innocent: