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: deprecated: chemistry

Topic: welcome!


view this post on Zulip John Baez (Apr 23 2022 at 17:53):

This is for people who want to talk about category theory in chemistry... especially John Baez's students at the American Mathematical Society mathematical research community on applied category theory, but also anyone else.

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 03:57):

Howdy! My name is Jordy Lopez Garcia, and I am a PhD student at Texas A&M :). I will take part in the AMS MRC on Applied Category Theory in Chemistry. Nice to meet you =)

view this post on Zulip John Baez (Apr 24 2022 at 03:57):

Hi! You're the first one here!

view this post on Zulip John Baez (Apr 24 2022 at 04:03):

So you're working with Kate Ponto on 2-traces. Was she at the University of Chicago back when she was working with Mike Shulman on 2-traces? I first met him when he was a grad student with Peter May there, and I think he was interested in these ideas back then.

view this post on Zulip John Baez (Apr 24 2022 at 04:05):

I see now that Kate has recently written about Riemann-Roch theorems in monoidal 2-categories. This looks really interesting because I've been trying to understand the Riemann-Roch theorem, preferably in a somewhat abstract way.

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 04:06):

Oh, sorry that is someone else :sweat_smile: . I work with Frank Sottile, and am an assistant to Anne Shiu for the upcoming MSRI UP program using chemical reaction networks :sweat_smile: . However, I did take a tensor categories class with Eric Rowell :).

view this post on Zulip John Baez (Apr 24 2022 at 04:12):

Aargh! I was just looking at Jordan Sawdy's file. It's really good that I made that mistake, though, because it gave me a possibly big clue in solving a mystery I've been struggling with.

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 04:12):

Glad it helped :big_smile:

view this post on Zulip John Baez (Apr 24 2022 at 04:13):

I know a bit of Anne Shiu's work on chemical reaction networks, particularly an older paper she helped write about toric dynamcal systems. She invited me to a workshop once that I couldn't attend.

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 04:15):

Ahh I see! Yeah she is great :grinning_face_with_smiling_eyes:, maybe in the future you all will meet :)!!

view this post on Zulip John Baez (Apr 24 2022 at 04:15):

So I remember now that in your file you said... well, I'll just quote it: " I am taking the seminar course Mathematical Biology under Prof. Anne Shiu. In such course, we explore topics such as infectious-disease modeling, biochemical reaction networks and neural codes; additionally, each participant will write an expository or research paper about a math bio topic and give it as a presentation at the end of the semester."

view this post on Zulip John Baez (Apr 24 2022 at 04:16):

So are you doing that now?

view this post on Zulip John Baez (Apr 24 2022 at 04:19):

Knowing some stuff about chemical reaction networks will be great, and it's even better if you did a bit of infectious disease modeling, because as I mentioned in my email there's an interesting overlap in these topics that a bunch of us are exploring now.

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 04:27):

Yeah! And actually, as exposition I am learning your paper with Blake Pollard :)! We have surveyed a couple of books such as Murray's Mathematical Biology book, and Sturmfels' and Patcher's Algebraic Statistics for Computational Biology. I think we're getting to infectious disease modeling soon :D

view this post on Zulip Jordy Lopez Garcia (Apr 24 2022 at 04:28):

Oh yes we went through chemical reaction networks already :big_smile:

view this post on Zulip John Baez (Apr 24 2022 at 04:35):

Great!

view this post on Zulip Benjamin Merlin Bumpus (he/him) (Apr 25 2022 at 08:55):

Hi, I'm Ben (a postdoc at TU Eindhoven) nice to meet you all!
I had a read through the paper on open reaction networks and I thought it was great (also the category of Semi Algerbaic relations was new to me and I thought it was a really neat way of doing 'black boxing'!)
I'm about to supervise a student now, so I can't write much, but I just thought I'd say hi for now and mention that I'll join you in the zoom call tomorrow; have a great day!

view this post on Zulip Pablo S. Ocal (Apr 25 2022 at 18:35):

Hi! I'm Pablo Ocal, a postdoc at UCLA, nice to meet y'all! I'll also be a part of the chemistry group at this year's MRC on Applied Category Theory, I'm very much looking forward to it!

view this post on Zulip John Baez (Apr 25 2022 at 18:48):

Hi, @Benjamin Merlin Bumpus and @Pablo S. Ocal!

view this post on Zulip Amit Kumar (Apr 25 2022 at 18:50):

Hello everyone. I hope to join you tomorrow for the zoom meeting.

view this post on Zulip John Baez (Apr 25 2022 at 18:51):

So Benjamin - from your application it sounds like you might be interested in studying "nice" ways to chop up a graph into pieces? Is that at all close? You say you've worked on "treewidth", but unfortunately I don't know what that is.

view this post on Zulip John Baez (Apr 25 2022 at 19:01):

And Pablo - it sounds like you're working on fusion categories! I used to work on TQFT so I still have some memories of these. And indeed they inspired my current approach to chemistry: we'll be using (symmetric) monoidal categories where the morphisms are drawn as diagrams, like this:

an open Petri net

view this post on Zulip John Baez (Apr 25 2022 at 19:03):

Hi, @Amit Kumar! I see you're working on "pre-foams", which sound like something inspired by Khovanov homology. I have no idea how those ideas interact with Legendrian surfaces, and I don't know what the SYZ conjecture is. Maybe sometime you can tell me.

view this post on Zulip John Baez (Apr 25 2022 at 19:13):

My student Aaron Lauda - actually an undergraduate here at U. C. Riverside who got a masters in physics while working with me on categorification - wound up getting a postdoc with Khovanov and doing a lot of stuff with him. But that's my main point of contact with Khovanov homology and the like. Once upon a time I was really interested in such ideas. Indeed the very first issue of my column This Week's Finds was about invariants of knotted surfaces in R4\mathbb{R}^4. But by the time people got around to actually understanding much about such invariants, I had gotten pulled into other things.

view this post on Zulip Evan Patterson (Apr 25 2022 at 20:19):

Hi all, I'm Evan. I'm a research scientist at Topos Institute, where I do a mix of math and programming related to applied category theory. Looking forward to meeting you all!

view this post on Zulip Pablo S. Ocal (Apr 25 2022 at 20:20):

@John Baez Yes, that's right! I very much enjoy the graphical calculus of monoidal categories, I find it an incredible tool, and it was one of the reasons why I got interested in categorical applications to chemistry. I'm vaguely familiar with Petri nets and their applications to describe reactions and biochemical coupling. In fact, one of the questions that I would like to dig a bit into is whether Petri nets are useful/have been used to model redox reactions.

view this post on Zulip John Baez (Apr 25 2022 at 20:27):

I don't know enough about redox reactions!

Petri nets and "reaction networks" (more commonly used by chemists) are mathematically interchangeable, and my paper with Blake briefly explains how. For technical reasons Petri nets are better for being the morphisms of a category. But if redox reactions can be described by chemical reaction networks (and I bet they can), they can also be described by Petri nets.

view this post on Zulip John Baez (Apr 25 2022 at 20:27):

Why do you like redox reactions in particular?

view this post on Zulip Pablo S. Ocal (Apr 25 2022 at 20:40):

Because they show up everywhere! During my undergraduate I used to like playing with physical systems, and almost every experiment had some redox reaction going on in the background (the one that I remember the most was dealing with an old car battery, we had to explain empirically how it worked but it had a leak and our measurements never matched our predictions). Also, redox is necessary for both cellular respiration and photosynthesis, and I've always liked that phrase "the mitochondria is the powerhouse of the cell".

view this post on Zulip Pablo S. Ocal (Apr 25 2022 at 20:41):

I'm sure it has plenty more embodiments that I ignore. It just seems a really important type of reaction that would be fun to look at.

view this post on Zulip John Baez (Apr 25 2022 at 22:41):

Okay, that makes sense. Being a mathematician, I now want to figure out a mathematical description of what counts as a redox reaction. And I immediately see something interesting: people think of them as composed of two separate "half-reactions", the oxidation and the reduction reaction. I should start by making sure I understand what "composed of" means here, since I'm supposed to know a lot about "composing" Petri nets.

view this post on Zulip Kris Brown (Apr 25 2022 at 23:56):

Hi, I'm Kris - although I'm currently working as a postdoc to apply category theory towards scientific software, my PhD was in computational chemistry (modeling metal surfaces catalyzing things like water splitting / ammonia synthesis / CO2 reduction) and we often needed to solve for steady states of chemical reaction networks, so this is an exciting project!

view this post on Zulip John Baez (Apr 26 2022 at 00:23):

Hi, Kris! Great to see you! We certainly can use people who actually know chemistry. It seems you are the only one whose CV involves chemistry.

view this post on Zulip John Baez (Apr 26 2022 at 00:25):

I hope to see all of you, and other people too, on Zoom tomorrow at noon Pacific Daylight Time:

https://ucr.zoom.us/j/7727771354

view this post on Zulip John Baez (Apr 26 2022 at 00:26):

Since it could be hard to get everyone together at the same time, I'm planning to have a number of these meetings. We can get to know each other, and I can explain some ideas, and we can brainstorm a bit.

view this post on Zulip Benjamin Merlin Bumpus (he/him) (Apr 26 2022 at 08:52):

John Baez said:

So Benjamin - from your application it sounds like you might be interested in studying "nice" ways to chop up a graph into pieces? Is that at all close? You say you've worked on "treewidth", but unfortunately I don't know what that is.

Hi John. Yes that's a good way of thinking of it. The idea is that you want to find a sequence of 'nested' cuts in a graph which chop the graph into pieces is a 'best possible way'.

Maybe a good way of getting a feel for tree-width is to just mention some applications -- se below.

For structural applications, tree decompositions give us a way of `chopping graphs up' which is very useful for proving things about graph minors, connectivity and a huge host of other things; for example see Wagner's conjecture (now a theorem).

For algorithmic applications, one uses tree decompositions to solve problems recursively: the idea is that you brute-force a solution to your problem (often an NP-hard one) on the little pieces of your decomposition and then you find a good way of joining solutions up over all the pieces to get a solution on the whole. Roughly, if the biggest 'piece' in your decomposition is of size k, then you often get running times of the form f(k) |G| (f is allowed to be anything computable). The cool thing is that, for fixed k, this is a linear time algorithm (even if the problem you started with is NP-hard).

Anyway, I could go on all day about this, so maybe I'll stop here for now :)

(also - and this goes for everyone -- feel free to just call me Ben :smiley: )

view this post on Zulip Benjamin Merlin Bumpus (he/him) (Apr 26 2022 at 09:02):

Pablo S. Ocal said:

John Baez Yes, that's right! I very much enjoy the graphical calculus of monoidal categories, I find it an incredible tool, and it was one of the reasons why I got interested in categorical applications to chemistry. I'm vaguely familiar with Petri nets and their applications to describe reactions and biochemical coupling. In fact, one of the questions that I would like to dig a bit into is whether Petri nets are useful/have been used to model redox reactions.

Redox reactions sound cool indeed. In a past life, I understood them a little, but i've now forgotten most of it. Why do you expect these reactions to look (as networks, I mean) fundamentally different from other kinds of reactions? So far as my very rusty memory serves me, can't redox reactions be arbitrarily complicated; for example -- and I might be horribly wrong here -- isn't photosynthesis a redox?
... looks like I have to go dust my old chemistry books off :)

Having said this, though, maybe I see the point already: reactions like photosynthesis might be precisely the kind of reaction that we might want to study since photosynthesis needs to be modelled as an open system (since you need light as a reactant?)

view this post on Zulip Amit Kumar (Apr 26 2022 at 16:44):

@John Baez Yes sir. That connection is new and everyone gets fascinated (including Mikhail himself). You would love to hear that.

view this post on Zulip Benjamin Merlin Bumpus (he/him) (Apr 26 2022 at 20:03):

@John Baez
You mentioned 'stock-flow diagrams' as a notion which subsumes petri nets; is there a simple description of how the two differ (or do you have paper recommendations on this topic?)

view this post on Zulip John Baez (Apr 26 2022 at 21:06):

@Benjamin Merlin Bumpus - I'm writing a paper on stock-flow diagrams with @Sophie Libkind, @Evan Patterson, @Nathaniel Osgood and @*Xiaoyan Li, which needs to be finished before May 9th to submit to the conference ACT2022. This will give a mathematical intro to stock-flow diagrams... so if you can wait for 2 weeks I'll show you that.

For now you could try this video. It's a bit slow for me; stock and flow diagrams make a somewhat formal appearance at 36:00, and maybe you could start there.

view this post on Zulip Benjamin Merlin Bumpus (he/him) (Apr 27 2022 at 08:15):

@John Baez - Thanks for the info! I look forward to reading the paper when it's ready :)

view this post on Zulip Valeria de Paiva (Apr 27 2022 at 16:56):

so I don't get it, "let's keep it this way" how? Am I allowed to have my stream "practice: computing dialectica" or not? If yes, I will move/delete my welcoming message.

view this post on Zulip John Baez (Apr 27 2022 at 18:04):

I think he meant yes, you should have a stream "practice: computing dialectica". That's the only way your group can have lots of different conversations ("topics") in that stream, and find them rather easily.

view this post on Zulip John Baez (Apr 27 2022 at 18:04):

At least this is my opinion... and I'm a moderator too!

view this post on Zulip Sophie Libkind (Apr 27 2022 at 18:54):

Hello! I'm Sophie and I'm the TA for this group.

Some facts about me: I'm a 4th year PhD student at Stanford and I work on what I slogan as How continuous dynamical systems compute? I am also a research affiliate at Topos Institute through which I have gotten to know John and a few other folks in this group. At Topos I have been working on a package called AlgebraicDynamics which implements operad algebras for dynamical systems and also applying it to different fields. John linked to many parts of this work in his welcome email and in the thread above. At Topos I've also been thinking about responsive cohesion in dynamical systems.

Another practical fact about me: In new spaces, I'm often a little quiet at first. I really love to hang out (as people and as people doing math) and sometimes it takes a little time for me to warm up!

Really looking forward to the MRC week and everything around it!

view this post on Zulip John Baez (Apr 27 2022 at 19:43):

Hi, Sophie! We have about 10 people come to the first meeting, and we basically went through a list of things we might do (which you've seen in your email earlier) and went around saying a bit about ourselves and what we are interested in doing for this MRC. We have a lot of good people.

view this post on Zulip John Baez (Apr 27 2022 at 19:44):

I will try to have a meeting each week, to help us focus on a few projects before we actually meet at the end of May.

view this post on Zulip Sophie Libkind (Apr 28 2022 at 15:24):

That's great! I'm looking forward to the next meeting!

view this post on Zulip Brandon Shapiro (Apr 28 2022 at 18:51):

Hi all, I'm Brandon and I'm a postdoc at Topos Institute. I'm interested in lots of different aspects of category theory, and recently I've been focusing on how some ideas from not-too-higher category theory can help model systems in the real world. I've always been curious about how category theory relates to chemistry and I'm really excited to work with yall on it. I really regret that I couldn't make it to the first meeting but I'm looking forward to the next one!

view this post on Zulip John Baez (Apr 28 2022 at 18:54):

Hey there, Brandon! I'm hoping that next Tuesday at the same time, noon Pacific Daylight Time, will work for a bunch of people. In fact I'll send out an email now.

view this post on Zulip Brandon Shapiro (Apr 28 2022 at 18:57):

Great, works for me!

view this post on Zulip Sam Tenka (Apr 29 2022 at 01:45):

Hallo! I'm Sam; I do statistical learning theory at MIT but have maintained an interest in category theory since undergrad. I've been looking for to expand the sorts of things I think about along new, intellectually stimulating lines, especially after covid isolation, and my mathematician friend Karl suggested I join this community! Excited to think about reaction networks with y'all :smile:

view this post on Zulip John Baez (Apr 29 2022 at 03:08):

Hi! (More later, it's almost dinner time.)

view this post on Zulip Sam Tenka (Apr 29 2022 at 03:23):

I'm wondering: what are some of the more concrete questions you network experts have in mind for study?
E.g.:
-- are there sentences of the form: "There is a monoidal functor F from ABC to XYZ and we define it like..." that would be nice to show for known ABC, XYZ?
-- or perhaps: what are some major kinds of networks chemists or physicists care about that are not yet subsumed by --- or enjoy structure not yet modeled within --- the categories mentioned in the three "background" slide presentations from John's Apr 23 email?
-- A key sort of graph that occurs in my field is that of directed and undirected probabilistic graphical models. I wonder how to think about these from a functorial/networks point of view? Here, there are subtle-but-codifiable composition rules dealing with how random variables with various conditional-independence constraints can end up talking to each other. A simple example: consider 3 events: (A) my friend hasn't replied to my texts; (B) they have flu-like symptoms; (C) the've stopped liking me. (B) and (C) both "cause" or imply (A), in the sense that the joint probability distribution is supported on the set cut out by those logical implications. We model (B) and (C) as statistically independent. Yet if we condition on (A), an observation of (B) lessens the probability of (C) --- this is "explaining away". So here, even though in the causal graph B --> A <-- C, when we condition on the (A), B and C intuitively start "talking to" each other.
-- I'm especially interested network viewpoints on global architectures in deep learning. In deep learning, we often implicitly characterize a concept-to-be-learned by specifying how it should behave in composition with other concepts, then doing gradient descent. I like to say that we build our tools by using them. This relative viewpoint is how I understand many global architectural themes: autoencoders, cycle consistency losses, attention layers, siamese networks, contrastive losses. A key example is self-supervised representation learning, wherein we learn to represent data by attempting to predict some of its “parts” or “aspects” from others. Might these sorts of topics fall within the scope of our networks mrc?

view this post on Zulip John Baez (Apr 29 2022 at 04:48):

I listed a pile of specific questions in our first meeting. Let me list them again here.

view this post on Zulip John Baez (Apr 29 2022 at 04:49):

Actually I'll do it in a comment called "problems to work on".

view this post on Zulip Wilmer Leal (May 03 2022 at 16:13):

Hi everyone, I'm Wilmer. I met several of you at our last meeting and I look forward to meeting the rest of you at our meeting today!

I am a doctoral student in computer science at the University of Leipzig and the Max Planck Institute for Mathematics in the Sciences in Germany.

I do research in mathematics and programming applied to chemical reactions networks. I have been mainly investigating geometric aspects of networks but recently (with Elena di Lavore & Valeria de Paiva) started to explore categorical constructions of Petri nets. I hope to discover with you may more flavors of compositionality in chemistry.

view this post on Zulip Amit Kumar (May 26 2022 at 19:53):

I can't find the paper.

view this post on Zulip Evan Patterson (May 26 2022 at 19:57):

It's in this thread.

view this post on Zulip Amit Kumar (May 26 2022 at 20:42):

Some time back I was listening a lecture on behavioral science from a Stanford biologist (don 't remember his name) who, referring to the book Chaos by John Gleick, mentioned that how this principal of decomposing things in small simpler parts to study a complex problem often fails in Biology. I wanted to draw attention towards this regarding today's discussion. I believe Dr Baez and other people should have better idea about this. My apology, but this lecture came to my mind when we started discussing about decomposing big chemical networks.

view this post on Zulip John Baez (May 26 2022 at 20:46):

I think that's a true fact, Amit: when we try to understand the chemical reaction network of a cell, for example, we want to decompose it into smaller reaction networks that "perform different functions" - but this may be more about how we understand things than about what the cell is "really doing".

view this post on Zulip John Baez (May 26 2022 at 20:46):

Very often, the more we study a system in biology, the more complexity we find.