It looks like you're new here. If you want to get involved, click one of these buttons!

- All Categories 2.2K
- Applied Category Theory Course 352
- Applied Category Theory Seminar 4
- Exercises 149
- Discussion Groups 49
- How to Use MathJax 15
- Chat 479
- Azimuth Code Project 108
- News and Information 145
- Azimuth Blog 148
- Azimuth Forum 29
- Azimuth Project 189
- - Strategy 108
- - Conventions and Policies 21
- - Questions 43
- Azimuth Wiki 710
- - Latest Changes 701
- - - Action 14
- - - Biodiversity 8
- - - Books 2
- - - Carbon 9
- - - Computational methods 38
- - - Climate 53
- - - Earth science 23
- - - Ecology 43
- - - Energy 29
- - - Experiments 30
- - - Geoengineering 0
- - - Mathematical methods 69
- - - Meta 9
- - - Methodology 16
- - - Natural resources 7
- - - Oceans 4
- - - Organizations 34
- - - People 6
- - - Publishing 4
- - - Reports 3
- - - Software 21
- - - Statistical methods 2
- - - Sustainability 4
- - - Things to do 2
- - - Visualisation 1
- General 39

Options

David asked me to explain what I'm up to. Here's a quick sketch.

We all know that life doesn't violate the 2nd law of thermodynamics, because the 2nd law says that entropy increases *in a closed system*, but the Earth is not a closed system: we're powered by the Sun. So, the Earth doesn't go to equilibrium: instead, life figure out how to exploit sunlight and build beautiful ordered structures.

But the details still need to be understood. And it's not just a matter of understanding the details of one particular case; there's a quite general pattern that systems out of equilibrium evolve organized structures that exploit the flow of 'free energy' (in the technical sense) through that system.

Ilya Prigogine won the Nobel prize for his work on this; he's written lots of pop books and also technical books about it, and lots of other people have worked on these issues. So it's not as if this is unexplored territory! Anyone who wants to work on these issues has a lot to learn... and that includes me.

Nonetheless, I feel I have a certain edge over other people. (Feynman said that to succeed in research, it helps to feel you have an "inside track", or "edge" - some insight or trick up your sleeve that nobody else has. It's true.)

Part of this edge is category theory. Category theory lets us formalize the idea of networks, and flows through networks, in a very general way that can be tailored to whatever circumstances we're interested in.

In particular, my student Brendan Fong wrote a paper that provides general tools for building categories where the morphisms are networks:

- Brendan Fong, Decorated cospans.

We used this to "black-box" passive linear networks, like circuits made of resistors, inductors and capacitors, obtaining their external behavior. The key was to take advantage of the principle of minimum power:

- John Baez and Brendan Fong, A compositional framework for passive linear networks.

With my student Blake Pollard we have just finished generalizing this work to detailed balanced Markov processes - the random processes to which thermodynamic concepts like "temperature" and "free energy" apply:

- John Baez, Brendan Fong and Blake Pollard, A compositional framework for Markov processes.

In parallel, Blake has found a generalization of the 2nd law that applies to open systems:

- Blake Pollard, A Second Law for open Markov processes.

The next step is to:

1) work out the connection to thermodynamics in much more detail, and

2) apply this framework to chemical reaction networks, or equivalently, stochastic Petri nets.

The type of thing we expect to explain is how, for example, a cell in your body carries out chemical reactions in *cycles*, driven by the flow of free energy through that cell. In some sense people already understand the basic idea - but they don't have a sufficiently precise and general language to talk about these things.

## Comments

Here's a somewhat more focused blog article explaining my new paper with Blake and Brendan:

`Here's a somewhat more focused blog article explaining my new paper with Blake and Brendan: * John Baez, [A compositional framework for Markov processes](https://johncarlosbaez.wordpress.com/2015/09/04/a-compositional-framework-for-markov-processes/).`

Thanks! Great material, I am reading through it.

`Thanks! Great material, I am reading through it.`

It will take me a while to get through, because I have to unlearn some aspects of what you are trying to do. That stems from my experiences authoring a book called Markov Modeling for Reliability Analysis (still selling! Wiley Press) where the mantra was to conserve probability within a graph.

`It will take me a while to get through, because I have to unlearn some aspects of what you are trying to do. That stems from my experiences authoring a book called Markov Modeling for Reliability Analysis (still selling! Wiley Press) where the mantra was to conserve probability within a graph.`

Yes, Markov processes conserve probability within a graph, but if you look at a smaller graph within that graph, probability can flow in and out. So, if you want to talk about a "piece" of a Markov process, you need a more general concept, which is what we're studying.

`Yes, Markov processes conserve probability within a graph, but if you look at a smaller graph within that graph, probability can flow in and out. So, if you want to talk about a "piece" of a Markov process, you need a more general concept, which is what we're studying.`