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.
What's the category theoretic understanding of differentiation and integration in calculus?
Right now I understand them as 2-morphisms in the category of Set, which transforms functions into other functions and is isomorphic. Would love any thoughts or if you're able to point me to any materials.
There are no 2-morphisms in the category , since is a not a 2-category.
I think you're saying something like this: if is the set of differentiable functions and is the set of all functions , then there is a function
sending any function to its derivative.
There's a similar statement for integration. There are many ways to make these statements more complicated and powerful, which are studied in the subject called real analysis.
There are also other ways to think about derivatives and integrals using more category theory.
You might be interested in the work on Cartesian differential categories. The category of smooth maps is a motivating example.
Did these authors ever cover integration? I feel as if I have a decent abstract understanding of differentiation, but that understanding is perhaps in conflict with integration.
Cockett and Lemay have a paper called Cartesian Integral Categories and Contextual Integral Categories.
(There's a talk here, too.)
The derivative can be seen as a functor, in that sense it maps functions to functions.
I've explained this a little bit in my notes here, Example 1.3.25. (I'm sure there are more specific references on this, though.)
I don't know about integration of functions. Anyone? (There are measure monads, but that's a bit different.)
James Wood said:
Did these authors ever cover integration? I feel as if I have a decent abstract understanding of differentiation, but that understanding is perhaps in conflict with integration.
I've worked on the integral side of the story. Thanks @Nathanael Arkor for sharing my paper with Robin. You might also be interested in these papers:
https://arxiv.org/abs/1707.08211, the first paper on integral categories
https://arxiv.org/pdf/1902.04555.pdf, where we give an integral category structure from integrating smooth functions
I also have some notes on "Cartesian differential categories with antiderivatives", if you're interested.
But the integral story is far from being finished! Still lots to do.
Scott Lee said:
What's the category theoretic understanding of differentiation and integration in calculus?
As @Nathanael Arkor pointed out, you might be interested in differential categories. Last summer I gave a talk introducing the first levels of differential categories:
https://pages.cpsc.ucalgary.ca/%7Erobin/FMCS/FMCS2019/slides/Simon-LemaySlidesFMCS2019.pdf
Always happy to talk differential categories! There are others on this board who work on differential categories like @Ben MacAdam, @Jonathan Gallagher , @Geoff Cruttwell , etc.
John Baez said:
There are also other ways to think about derivatives and integrals using more category theory.
and @JS PL (he/him) mentioned two approaches to talking about differentiation in category theoretic terms, if I understand well.
Does this mean that there are multiple ways to talk about differentiation and integration using cateogry theory? Does someone have a way to talk about these compositionaly in order to teach differentiation and integration to, say advanced high school or undergrad math students?
Also, I'm interested in those notes on "Cartesian differential categories with antiderivatives", please @JS PL (he/him) . I'd love to talk about this more, but I just don't know enough to have a sensible conversation (yet!).
Also, do these existing approaches cover both analytical and numeric/approximation solution-finding?
In my humble opinion, differential categories, although they are very cool, have not been developed a lot in the directions of concrete calculations and/or solving differential equations although I know that Marie Kerjean dreams to solve (partial) differential equations using the cut-elimination (an algorithm) of differential linear logic which is the logic/computer-science side of differential categories.
On my side, I hope that the tool that I call functional differential ring could help to solve (ordinary) differential, functional and functional differential equations maybe by extending differential Galois theory to a functional differential Galois theory of functional differential fields, but first I must learn differential Galois theory and first Galois theory. Hopefully, I'm taking a course on Galois theory this semester :)
JR Learnstomath said:
Does this mean that there are multiple ways to talk about differentiation and integration using category theory?
All I know is that there are multiple ways to generalize differentiation to different contexts.
Does someone have a way to talk about these compositionally in order to teach differentiation and integration to, say advanced high school or undergrad math students?
I'm not aware of work in category theory that would help students learn calculus. Some approaches simply list axioms taken from calculus and use them to define more general calculus-like structures.
Also, do these existing approaches cover both analytical and numeric/approximation solution-finding?
Not that I've seen.
Not related to differential categories, etc. but there is this paper using string diagrams for vector calculus:
https://arxiv.org/abs/1911.00892
The most interesting part of that to me is equation (18), the relation between the vector cross product and dot product in 3 dimensions, which was emphasized by Penrose.
Jean-Baptiste Vienney said:
In my humble opinion, differential categories, although they are very cool, have not been developed a lot in the directions of concrete calculations and/or solving differential equations
I would disagree. People have looked at differential equations in tangent categories (and Cartesian differential categories). Though I agree that story is far from complete, or necessarily practical
John Baez said:
JR Learnstomath said:
Does this mean that there are multiple ways to talk about differentiation and integration using category theory?
All I know is that there are multiple ways to generalize differentiation to different contexts.
Does someone have a way to talk about these compositionally in order to teach differentiation and integration to, say advanced high school or undergrad math students?
I'm not aware of work in category theory that would help students learn calculus. Some approaches simply list axioms taken from calculus and use them to define more general calculus-like structures.
I agree with both of @John Baez view points here
JR Learnstomath said:
Also, I'm interested in those notes on "Cartesian differential categories with antiderivatives", please JS PL (he/him) . I'd love to talk about this more, but I just don't know enough to have a sensible conversation (yet!).
Yes I'm always happy to talk about differential categories! Happy to share some more recent slides about introductions to differential categories. (they seem that have picked a lot of interest and popularity in 2024).
Regarding "Cartesian differential categories with antiderivatives", Robin and I are in the process of writing up the paper version. My objective is to have a preprint up this year.
Very cool and very interesting, thank you! Lots for me to read up on and digest.
When Twitter was still Twitter, a prof said something to the effect of, "differentiation is [left?] adjoint to integration, think about it", and I have been, intermittently. Unfortunately, I now can't find the exact post...
Jean-Baptiste Vienney said:
...I know that Marie Kerjean dreams to solve (partial) differential equations using the cut-elimination (an algorithm) of differential linear logic which is the logic/computer-science side of differential categories.
Is this the cut-elimination algorithm you refer to?
Yes, hopefully you can take that course on Galois theory!
The paper you linked contains the cut-elimination for a different logic. The logic its cut elimination that I was referring to are described in this paper.
I’m already taking the course on Galois theory in fact! (I think I didn’t express myself clearly.)
I have taken a look quickly as an introduction to differential Galois theory and they say that some things are weird because there isn’t a composition operation in differential fields so I think my project could really make sense to get a slightly better theory which can prove that some functional differential equations don’t have a solution which can be expressed in terms of a choice of elementary functions . At least, I hope so!
Anyway, that’s a good excuse to learn differential Galois theory.
(It will probably not work :sweat_smile: )
Jean-Baptiste Vienney said:
The paper you linked contains the cut-elimination for a different logic. The logic its cut elimination that I was referring to are described in this paper.
Ah, okay, thank you!
Thanks for sharing, all still a bit over my head right now, but really good to know the kinds of things I can be focusing on.
Jean-Baptiste Vienney said:
(It will probably not work :sweat_smile: )
And even if it doesn't work, you'll probably learn a lot from the process that will make something work eventually??
JR Learnstomath said:
Thanks for sharing, all still a bit over my head right now, but really good to know the kinds of things I can be focusing on.
Jean-Baptiste Vienney said:
(It will probably not work :sweat_smile: )
And even if it doesn't work, you'll probably learn a lot from the process that will make something work eventually??
Yes! I want to learn about linear algebraic groups now because they say it's a prerequisite for differential Galois theory :sweat_smile: