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.
I just realized today that the formula for integrals sounded very much like a composition in some category, and this got me thinking :
The relation I stated above really says that given a function , which is sufficiently integrable, is a functor!
As a bonus I can think of one other (French people will understand why I think of these two). Given an -affine space of dimension , i can assemble it into a groupoid by letting the objects of be the points of , and imposing one morphism between every two points. I also consider to be the one-point category whose hom-set is , and whose composition is given by addition. Then there is a functor , which sends the unique morphism between and onto the vector . This is just the relation
.
The reason I said French will understand why, is that these two formulas, along with others are known under the same name of a "Chasles relation" in French https://fr.wikipedia.org/wiki/Relation_de_Chasles (unfortunately, I don't think there is an English equivalent, which is a shame, because learning these under the same name at 15yo really unveils the beautiful unity that one can see in mahts). So now I can give an (overly complicated)
formal definition of what is a Chasles relation : it is a functor from a groupoid with only one morphisms between each objects to the delooping of an abelian group (or maybe the delooping of any monoid would do, as you wish).
Of course this is all pretty basic stuff, but I had never seen these examples before despite working with categories for quite some time, so I was wondering if anyone had seen or written this sort of cute reinterpretation of highschool pieces of maths categorically? And what are other examples that you people can think of where a very elementary piece of maths could me made unnecessarily complicated (but also feel very natural) by giving a category theoretic formulation?
I should add : don't try to find something deep in this question, it is only for entertainment purposes
I seem to recall a paper about thinking about Riemann integration categorically, though not with groups and groupoids (as far as I can recall). Though I can't find it and don't recall the details well enough.
The integral example is related to deRham cohomology. More generally, if you have a smooth manifold , and a 1-form on , you can define the integral of over a smooth curve in , and that gives you a map from (the homotopy type of) to , i.e. a cohomology class in .
This is nice! It is always nice to see categorical interpretations of geometry.
I think the observation can be summarised by saying that an affine space is a torsor over a vector space. Taking classifying spaces, you get the categories E -> B with the Chasles relation.
Here is a simplicial interpretation: for G a group (written additively), let X=BG be the classifying space, seen as a simplicial set. Then the corresponding torsor Y=EG is obtained by taking decalage of X. That means shifting down all simplicial degrees, so that the old degree 1 becomes the new degree 0. (And removing all top face and degeneracy maps.) So Y_0 are the group elements, and a 1-cell from g to h is a commutative triangle g=x+h. (So necessarily there is a unique such: x=g-h). Now Dec(X) has a simplicial map back to X, the dec map dec:Dec(X)->X given by the original top face maps. That's the projection map (the 'Chasles functor'), which sends a 1-cell (g,h) (given by an original triangle g=x+h) to x=g-h. So the Chasles functor is the dec map.
Paolo Capriotti said:
The integral example is related to deRham cohomology. More generally, if you have a smooth manifold , and a 1-form on , you can define the integral of over a smooth curve in , and that gives you a map from (the homotopy type of) to , i.e. a cohomology class in .
There's a 2-category where objects are points of , morphisms are smooth paths in , and 2-morphisms from to are 2-chains with .
There's also a 2-category with one object, one morphism from this object to itself for each number in , composition being addition, and only identity 2-morphisms.
Then integrating a closed 1-form along a path gives a 2-functor .
There are other, better variants of this idea.
just while we're talking about de Rham cohomology and integration from a categorical point of view, this tiny thread is a nice little amuse-bouche
This whole idea reminds me of the great book "Mathematics made difficult" https://en.wikipedia.org/wiki/Mathematics_Made_Difficult
Joachim Kock said:
This is nice! It is always nice to see categorical interpretations of geometry.
I think the observation can be summarised by saying that an affine space is a torsor over a vector space. Taking classifying spaces, you get the categories E -> B with the Chasles relation.
That sounds great, could you elaborate on how you take the classifying spaces? I am not completely sure about what that means
John Baez said:
Then integrating a closed 1-form along a path gives a 2-functor .
I see, that's prettier than what I had in mind, considering paths in the manifold as morphism to model integration along a path!
This makes me wonder (I had to dust off old memories for this so I might be a bit rusty) : A vector field is the gradient of a scalar field if and only if its integral along any path only depends on the endpoints of the path. From the point of view of the category , the latter condition sounds like the -functor it defines is locally constant (ie, constant on each homs). I wonder if there is a nice categorical way to frame this entire theorem. It's too late and about things I remember too vaguely for me to try doing it now, but I need to think about that
Yes, there are nice ways to formulate this theorem using category theory. I bet you can have fun inventing one.
Paolo Capriotti said:
The integral example is related to deRham cohomology. More generally, if you have a smooth manifold , and a 1-form on , you can define the integral of over a smooth curve in , and that gives you a map from (the homotopy type of) to , i.e. a cohomology class in .
The simple thing I'm thinking of here is differential forms on a manifold give a differential graded algebra, and that functor should suffice?
(perhaps i'm only stating the first half of what Paolo is talking about here...)
Gershom said:
The simple thing I'm thinking of here is differential forms on a manifold give a differential graded algebra, and that functor should suffice?
I was thinking of something else, avoiding chain complexes.
Fix a 1-form , and consider the simplicial set of smooth simplices in (which I'm assuming is weakly equivalent to the singular complex of , hence to itself). Then integration gives you a simplicial map , where is the classifying space of the additive group of real numbers. This is the same construction as @Thibaut Benjamin suggested, but for general smooth paths on . So you map every point to the base point of and every path to the integral of on it, and verify that it can be extended to higher simplices. Such a map determines a cohomology class of degree 1 with coefficients in . I expect this to be the class corresponding to under the isomorphism of singular and de Rham cohomology.
You could also play this game with -forms, in which case you would get maps into the -fold delooping , giving cohomology classes in .
If you let yourself take finite linear combinations of smooth simplices in you get a simplicial abelian group. The category of simplicial abelian groups is equivalent to the category of (nonnegatively graded) chain complexes of abelian groups by the Dold-Kan theorem. Then there's a way to turn a chain complex of abelian groups into a strict -category. You get an abelian group object in the category of strict -categories. There is probably something like an equivalence here too:
[chain complexes of abelian groups] [abelian group objects in -Cat]
John Baez said:
[...] by the Dold-Thom theorem. [...]
not Dold-Kan or Dold-Puppe?
I meant Dold-Kan. I'll correct my comment.
Thanks for your answers, I learnt a lot! This makes me want to open an elementary math book and try to categorize everything!
Thibaut Benjamin said:
could you elaborate on how you take the classifying spaces? I am not completely sure about what that means
I just meant for the underlying abelian groups, and then the simplicial viewpoint of my following comment.
Hinze and James wrote Reason Isomorphically! on high-scool algebra:
Now is a good opportunity to cast our minds back to simpler
times and recall our high-school algebra. For nostalgia’s sake, these
basic laws are listed in Table 1. We shall derive these laws from
first principles, showcasing two important tools: the Yoneda lemma
and adjunctions. We hope to demonstrate to the reader why these
concepts should be in their reasoning toolbox.
I wanted to follow up with another little geometry gem:
Define a category structure on the projective plane (or indeed any projective space): the objects are the points. The hom set Hom(P,Q) is the set of points of the line PQ. Composition is given as follows. Hom(P,Q) x Hom(Q,R) -> Hom(P,R) takes a point X on the line PQ and a point Y on the line QR, and returns the point of intersection of the line XY with the line PR. (There is an issue here with identity arrows. This can be fixed (I forgot how), but at the moment, in the spirit of projective geometry, let us just consider the generic situation.)
THEOREM. The associative law is equivalent to Desargues's theorem.
[Anders Kock: The category aspect of projective space, Aarhus Preprint Series (1974/75)]
Very nice! As you probably know, an axiomatic projective plane comes from a division ring iff it's Desarguesian (i.e. it obeys Desargues' theorem). For a Desarguesian projective plane there's a way to cook up the division ring from operations on lines. I'm wondering if the theorem you mention is connected to this. It would be neat if the associativity of composition was connected to associativity of multiplication in the division ring, or something like that.