← Latest papers
💻 computer science

The calculus of neo-Peircean relations

This paper demonstrates that by shifting from traditional cartesian syntax to a diagrammatic monoidal framework, it is possible to achieve a complete axiomatisation for the full calculus of relations—circumventing previous no-go theorems—by introducing the "calculus of neo-Peircean relations," which combines cartesian and linear bicategories to attain the expressiveness of first-order logic.

Original authors: Filippo Bonchi, Alessandro Di Giorgio, Nathan Haydon, Pawel Sobocinski

Published 2026-04-10
📖 4 min read☕ Coffee break read

Original authors: Filippo Bonchi, Alessandro Di Giorgio, Nathan Haydon, Pawel Sobocinski

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 describe the world using only logic. For over a century, mathematicians have struggled with a specific tool called the Calculus of Relations. Think of this tool as a very strict, old-fashioned language for describing how things connect (like "Alice loves Bob" or "The key opens the door").

The problem with this old language is that it has a major flaw: it can't express everything. It's like trying to describe a complex movie using only a list of ingredients. You can list the actors and props, but you can't easily describe the plot twists, the "what-ifs," or the universal rules without getting stuck. In fact, for decades, experts thought it was impossible to create a perfect set of rules (axioms) to fix this language. It was considered "broken."

The Big Idea: Switching from Text to Pictures

This paper introduces a revolutionary new language called the Calculus of Neo-Peircean Relations. The authors' secret weapon? They stopped writing logic as text (like algebra) and started drawing it as pictures.

Here is the analogy:

  • The Old Way (Text): Imagine trying to explain how to build a house by writing a long, confusing paragraph. "First, take the bricks, then put them on the cement, but make sure the cement is wet..." It's hard to see the whole picture.
  • The New Way (Diagrams): Now, imagine you just draw the house. You see the walls, the roof, and the windows instantly. You can see how they connect without reading a single word.

In this new language, logical statements are string diagrams.

  • A wire represents a piece of data (like a person or an object).
  • A box represents a rule or a relationship (like "loves" or "is taller than").
  • Connecting wires shows how these rules interact.

The "Magic" of the New System

The authors discovered that by using these diagrams, they could solve the "broken" problem of the old language. Here is how they did it, using two simple concepts:

  1. The White and Black Worlds:
    Think of the diagram as having two layers of reality, like a photograph and its negative.

    • The White Layer (Existential): This is the "Yes" world. It asks, "Does there exist at least one way this can happen?" (e.g., "Is there a key that opens this door?").
    • The Black Layer (Universal): This is the "No/All" world. It asks, "Is it true for every single case?" (e.g., "Does this key work for every door?").

    The old language could only handle the "White" layer well. The new language allows you to flip the picture (turn white to black) to handle the "Black" layer. By combining them, they can express everything in First-Order Logic (the standard language of modern math and computer science).

  2. The "Tao of Logic":
    The authors created a set of rules for how to move these boxes and wires around. They call this the "Tao of Logic."

    • Imagine you are playing with magnetic tiles on a board. You can slide a tile, flip it over, or stack it.
    • The paper proves that if you can turn one picture into another using these simple moves, then the two logical statements are equivalent.
    • Most importantly, they proved that you can prove any true logical statement just by rearranging these tiles. This solves the 80-year-old mystery that Tarski posed: "Is there a complete set of rules for this?" The answer is Yes, but only if you use pictures instead of text.

Why Does This Matter?

  • No More "Empty" Traps: Traditional logic gets confused when you talk about "nothing" (empty sets). This new system handles empty spaces naturally, making it more robust.
  • Computer Proof Assistants: Because the rules are so visual and mechanical (like moving puzzle pieces), computers can easily check if a proof is correct. This is huge for verifying safety in AI, software, and hardware.
  • A Tribute to Peirce: The paper honors Charles Sanders Peirce, a 19th-century genius who invented "Existential Graphs" (early versions of these diagrams). Peirce was ahead of his time, but his ideas were forgotten. This paper brings his vision back to life, proving that his intuition was correct all along.

In a Nutshell

The authors took a broken, text-based logic system that couldn't express the full complexity of the world, and rebuilt it using visual diagrams. By treating logic like a game of connecting wires and flipping colors, they created a system that is:

  1. Complete: It can prove anything that is true.
  2. Simple: It uses visual intuition instead of confusing algebra.
  3. Powerful: It unifies different branches of math and logic into one elegant framework.

They didn't just fix the old tool; they gave us a whole new toolbox where the rules are as simple as rearranging a puzzle.

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 →