← Latest papers
🔢 mathematics

Monoidal bicategories, differential linear logic, and analytic functors

This paper advances the theory of monoidal bicategories by introducing bicategorical versions of linear exponential comonads and codereliction transformations, thereby extending Joyal's differential calculus of analytic functors from single-variable to multi-variable contexts between presheaf categories.

Original authors: M. Fiore, N. Gambino, M. Hyland

Published 2026-07-17
📖 7 min read🧠 Deep dive

Original authors: M. Fiore, N. Gambino, M. Hyland

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to understand how the universe is built, not just by looking at the bricks, but by looking at how the bricks talk to each other. In the world of mathematics, there is a field called category theory that does exactly this. Instead of studying individual numbers or shapes, it studies "objects" and the "maps" (or arrows) that connect them. Think of it like a massive, abstract subway map where the stations are ideas and the lines are the rules that let you travel between them.

For a long time, mathematicians have been interested in Linear Logic, a special set of rules for reasoning that treats information like a physical resource. In this logic, you can't just copy a piece of data or throw it away freely; you have to use it exactly once. This is like having a single ticket to a concert: you can't photocopy it for your friends, and you can't leave it in your pocket if you want to get in. To make this logic work, mathematicians use a tool called a comonad (a fancy machine that packages data) and a rule called differentiation (finding how things change).

Recently, scientists discovered that this logic of "using things once" is surprisingly similar to calculus. Just as you can take the derivative of a function to see how it changes, you can take the "derivative" of a logical process. This led to Differential Linear Logic, which allows us to do calculus on logic itself. But there was a problem: all these rules were built for flat, one-dimensional maps. The real world of complex systems often feels more like a 3D sculpture than a flat drawing. This paper asks: What happens if we take these rules and lift them up into a higher dimension, where the connections between connections matter?


The Big Idea: From Flat Maps to 3D Sculptures

This paper, written by Marcelo Fiore, Nicola Gambino, and Martin Hyland, is like a construction manual for upgrading the mathematical "operating system" of logic. The authors take the existing, well-understood rules of Linear Logic and Differential Linear Logic and rebuild them to work in a monoidal bicategory.

In plain English, a bicategory is a mathematical structure where you have objects, maps between them, and also maps between the maps (called 2-cells). If a normal category is a flat subway map, a bicategory is a subway map where the trains themselves can change tracks, merge, or split in specific ways while they are moving. The authors are essentially saying, "Let's stop treating our logical rules as rigid, flat lines and start treating them as flexible, 3D structures."

The New Tools: "Pseudo" Machines and "Codereliction"

To build this new 3D world, the authors invent two main tools:

  1. Linear Exponential Pseudocomonads: Think of a standard "comonad" as a machine that takes a piece of data and wraps it in a special box (the "!" box) that says, "You can use this data as many times as you want, but only after you've processed it." In the flat world, this machine is rigid. In this paper's 3D world, the machine becomes a "pseudocomonad." It's like a smart, squishy box that can stretch and twist. It still does the same job (packaging data for logic), but it has extra "wiggle room" to handle the complex 3D connections. The authors prove that even with this wiggle room, the machine still works perfectly for Linear Logic.

  2. Codereliction: This is the star of the show. In the flat world, "codereliction" is a specific rule that lets you take the derivative of a logical process. It's like a magic wand that turns a "non-linear" process (one that uses data freely) into a "linear" one (one that uses data carefully) to see how it changes. The authors introduce a bicategorical codereliction. Imagine you have a complex, twisting knot of logic. The codereliction is a tool that lets you gently pull on one strand to see how the whole knot reacts, even when the knot is moving and changing shape in 3D space.

The Application: Analytic Functors as "Many-Variable" Functions

The most exciting part of the paper is what they do with these new tools. They apply them to analytic functors.

In the past, mathematician André Joyal showed that certain types of functions (called analytic functors) on sets could be treated like polynomials or Taylor series in calculus. You could take their derivative to see how they changed. However, this only worked for functions with one variable (like f(x)f(x)).

The authors use their new 3D logic tools to extend this to many variables. They show that you can take the derivative of a function that depends on a whole category of inputs, not just a single number.

  • The Analogy: Imagine you have a recipe for a cake. In the old world, you could only ask, "What happens if I add one more egg?" (one variable). In this new 3D world, the authors show you can ask, "What happens if I change the flour, the sugar, the oven temperature, and the mixing speed all at once, and how do those changes interact?"
  • They prove that the rules of calculus (like the product rule and the chain rule) still hold true in this complex, multi-dimensional setting. They call these new functions "analytic functors between presheaf categories," which is just a fancy way of saying "complex, multi-variable logical recipes."

What They Found and What They Didn't

The paper proves (it's a mathematical proof, not a guess) that:

  • You can define these "squishy" 3D machines (pseudocomonads) and they behave exactly as you'd hope for logic.
  • You can define the 3D "magic wand" (codereliction) and it successfully calculates derivatives for these complex logical recipes.
  • The famous rules of calculus (Leibniz rule, chain rule) work perfectly in this new 3D environment.

The paper does not claim to have solved every problem in mathematics. It explicitly notes that while they have built a robust framework, there are still "coherence issues" (technical details about how the 3D shapes fit together perfectly) that are tricky. They don't claim this is the only way to do it, but they show it is a valid and powerful way. They also don't claim this solves problems in physics or computer science directly yet; they are building the theory that might one day help those fields. They are laying the foundation, not building the skyscraper.

Why Should You Care?

You might wonder, "Who cares about 3D logic?" The authors suggest that this is crucial for theoretical computer science. In computer programming, we often need to model how code rewrites itself or how different parts of a program interact. The "2-cells" (the maps between maps) in this 3D logic are perfect for modeling these rewriting steps.

By showing that we can do calculus on these complex, 3D logical structures, the authors have opened the door to a new kind of "quantitative semantics." This means we might one day be able to mathematically predict how complex software systems will behave, change, or break, using the same tools we use to predict how a ball rolls down a hill. They have taken the abstract idea of "differentiation" and shown it works even when the world is as messy and interconnected as a 3D sculpture.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →