Tuesday, December 1, 2026

Category Theory and Logic as a Theory of Everything

                      [Thank you, Clémentine Laurens for the conversation!]

The May 2026 issue of the French science magazine Epsiloon has an article by Clémentine Laurens with the headline "Et si la théorie des catégories était une théorie du tout ?", that is, "What if category theory were a theory of everything?". She interviewed several of us, including John Baez, Bob Coecke, Jade Master, David Spivak, Gioele Zardini and me. The article tells how category theory, created in the 1940s to move ideas rigorously between topology and algebra and once considered absurdly abstract, is now being used in physics, linguistics, robotics and epidemiology. I've often said that "applied category theory" used to sound like an oxymoron, but it never was one: category theory was always applied to other parts of mathematics, to begin with. The article notes that the field now has a journal,


Compositionality, and an annual conference, already in its ninth edition. It's also honest about the difficulties: the entry cost is high, and nobody quoted claims categories are a magic formula.

I like the article, but its headline asks two questions at once. Is category theory a unifying language for mathematics? Yes, and it has been for decades: algebraic topology, algebraic geometry and much of algebra are now written in its terms. Is it a unifying language for the sciences? That's what we hope, and it's the hope behind applied category theory (ACT). The article's examples are about this second question, and they're recent, mostly from the last twenty years. They're promising, but they don't yet constitute a comparable track record.

There is, however, a substantial track record of category theory working outside pure mathematics, older than what has recently been called ACT: its applications to computer science, both to functional programming and to the semantics of programming languages. And there, category theory has worked together with logic for decades. The simply typed lambda calculus has cartesian closed categories as its natural semantics: types correspond to objects, terms to arrows, and substitution to composition. The Curry–Howard correspondence connects this picture to proofs, bringing logic, programming and category theory together. Moggi used the categorical notion of monads to model computational effects, and Wadler and others brought them into functional programming, where they became part of everyday Haskell practice. Proof assistants such as Lean, Agda and Rocq exploit the proofs-as-programs correspondence through dependent type theories, which themselves admit categorical interpretations.

The connections go back further. In the 1960s, Lawvere showed that quantifiers can be understood as adjoints, and the development of topos theory revealed how categories can carry their own internal logic. When Girard introduced linear logic in 1987, categorical models soon followed, including the Dialectica categories of my 1990 thesis, which connected Gödel's functional interpretation with the new logic. This was not simply a matter of borrowing categorical constructions to describe logical systems. Logical principles suggested categorical structures, and categorical constructions suggested new ways of reasoning. The interaction was productive in both directions.

So is category theory a theory of everything? Not yet, certainly not in the sciences. But its success in mathematics and computer science gives us good reasons to take the ambition seriously. And the history of computer science suggests an important addition: category theory has been extraordinarily successful when developed together with logic.

In the article, David Spivak describes categories as an excellent substitute for logic, more concise and less laborious. I agree about the economy of categorical reasoning, but I don't see categories and logic as alternatives. The history of categorical logic shows how deeply the two subjects have transformed each other. More importantly, their combination has given computer science not just a language for describing programs, but mathematical tools for reasoning about them.

I suspect there is a lesson here for applied category theory as well. Describing systems compositionally is already very valuable. But we also want to reason about those systems: to understand their assumptions, derive consequences, and establish which properties are preserved by composition. Perhaps the next step for ACT is not just to develop a common language for the sciences, but to develop ways of reasoning within that language. Categorical logic has been doing precisely this for decades.

  


Dependencies, Constructivity, and an Old Problem

 

In March, I wrote a post called Threads, Not Tallies, arguing that the distinction between classical and intuitionistic logic is not fundamentally about how many conclusions we allow in a sequent. It is about dependencies: which assumptions are used to establish which conclusions, and what happens to those dependencies when we introduce an implication.

I want to return to that question because Torben Braüner and I have a preprint, Linear Logic via Dependency Relations, which tells another part of the story. It is the journal version of our CSL '97 paper, A Formulation of Linear Logic Based on Dependency-Relations, and it publishes for the first time the complete cut-elimination proof, modalities included, which the conference paper had no room for. The calculations themselves are old. What is new, at least for me, is a change in perspective. Something that once looked like a technical trick to make cut-elimination work for one particular calculus now looks like a clue to a much larger question: what makes a logic constructive?

A problem with Full Intuitionistic Linear Logic

Full Intuitionistic Linear Logic (FILL) arose from categorical semantics, particularly the Dialectica categories that I developed in my PhD work with Martin Hyland. We wanted a logic with all the connectives of classical linear logic, but with those connectives behaving independently, as they should intuitionistically.

The familiar presentation of Intuitionistic Linear Logic restricts sequents to a single conclusion. But we wanted multiple conclusions without thereby collapsing the system into classical linear logic.

The original FILL paper, published with Martin in 1993, proposed a term-assignment system to keep track of dependencies. Unfortunately, as Gavin Bierman showed in A note on full intuitionistic linear logic (1996), there was a problem: the term assignment introduced dependencies that were not really there. In particular, the rule for multiplicative disjunction (Girard's "par") could make a conclusion appear to depend on an assumption that had played no part in deriving it.

This mattered because the usual cut-elimination transformations could then turn a valid derivation into one that violated the restrictions of the calculus. The problem was not with the intended logic, but with our way of representing its proofs.

Following the dependencies

Torben and I approached the problem differently. Instead of extracting dependency information from terms attached to proofs, why not define the dependency relation directly?

For every proof, we can ask which occurrences of assumptions actually contribute to each occurrence of a conclusion. The relation is defined inductively, following the inference rules. Dependencies begin with axioms, propagate through the rules, and are composed appropriately when a cut is made.

Then the restriction on implication introduction becomes remarkably simple. Suppose we have a proof of

Γ, A ⊢ B, Δ.

We want to introduce A ⊸ B, obtaining

Γ ⊢ A ⊸ B, Δ.

This is allowed provided none of the conclusions in Δ depends on the assumption A being discharged. Notice what is not required. We do not demand that Δ be empty. There may be several other conclusions. We demand only that their proofs be independent of the assumption we are discharging.

With this explicit account of dependencies, cut-elimination works. The essential observation is that the transformations involved in eliminating cuts preserve or reduce dependencies; they do not manufacture new ones. So the old technical problem has a satisfactory answer. But perhaps the more interesting question is why this answer works.

From a technical repair to a general principle

When we first worked on this, dependency relations seemed like a useful piece of proof-theoretic bookkeeping. We needed to distinguish genuine dependencies from accidental ones, and the bookkeeping solved the problem. Now I am inclined to think that we were looking at something more fundamental.

The usual textbook account identifies intuitionistic sequent calculus with a restriction to one conclusion. But multiple-conclusion presentations of intuitionistic logic have been known for decades, going back to Maehara's calculus of 1954, which I first learned about from Takeuti's Proof Theory. And, as Luiz Carlos Pereira and I discussed in our work on Full Intuitionistic Logic, one can keep multiple conclusions while controlling the dependencies involved in implication introduction.

The same idea therefore appears in ordinary intuitionistic logic and in FILL. It also has interesting precedents in relevance logic, where Anderson and Belnap tracked which hypotheses a conclusion genuinely used. These are not identical systems, and I do not want to pretend that their differences are unimportant. But the recurrence of the same idea is striking.

Perhaps constructivity is not best understood as a restriction on the number of conclusions, nor simply as the absence of certain classical principles. Perhaps it is better understood as a discipline governing the formation and discharge of dependencies.

When we introduce an implication, we are claiming, in the spirit of the Brouwer–Heyting–Kolmogorov interpretation, that we have constructed something that transforms evidence for its antecedent into evidence for its consequent. Other conclusions cannot secretly depend on the assumption we have just abstracted away. This sounds very close to the computational meaning of implication. It also suggests that dependency tracking might be useful beyond the particular proof systems for which it was originally designed.

I am not claiming that we have established a general characterization of constructivity. We have not. There are substantial questions about how such a characterization should work, how it interacts with other connectives, and how it relates to the Curry–Howard correspondence. But I now think these are questions worth asking in their own right, rather than merely as side effects of proving cut-elimination.

For Luiz Carlos

The preprint is dedicated to Luiz Carlos Pereira, with admiration and affection. It was prepared for Tributo a Luiz Carlos Pereira, a series of volumes celebrating him, which is why we had to keep the work quiet until the surprise was revealed.

That seems particularly appropriate. The question of dependencies, and of what distinguishes intuitionistic reasoning from classical reasoning, connects directly with our earlier work together. There is something satisfying about returning to an old technical problem and discovering that its solution may have been pointing toward a more interesting question all along.

In Threads, Not Tallies, I suggested that constructivity is about keeping dependency threads separate when assumptions are discharged. The new preprint gives that suggestion a concrete proof-theoretic foundation in linear logic.

What I would like to understand next is how far this idea goes.

Preprint: Linear Logic via Dependency Relations, Torben Braüner and Valeria de Paiva.