← Latest papers
🔢 mathematics

Itegories

This paper develops the theory of "itegories," which are restriction categories equipped with Kleene wands, by demonstrating how these operators provide a robust alternative to trace-based iteration in settings lacking coproducts and establishing their equivalence to standard iteration in extensive restriction categories.

Original authors: Robin Cockett, Jean-Simon Pacaud Lemay

Published 2026-07-01
📖 6 min read🧠 Deep dive

Original authors: Robin Cockett, Jean-Simon Pacaud Lemay

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

The Big Picture: What is an "Itegory"?

Imagine you are writing a computer program or solving a puzzle. Often, you have a process that loops: "Do step A, then check if you're done. If not, do step A again." This is called iteration.

In the world of advanced mathematics (specifically category theory), there are different ways to describe how these loops work. This paper introduces a new, simpler way to describe loops called an Itegory (a pun on "Category" and "Kleene," a famous logician).

The authors argue that you don't need complex machinery like "coproducts" (which are like fancy ways of combining different types of data) to describe loops. Instead, you just need two things:

  1. A way to say when two paths are disjoint (they don't interfere with each other).
  2. A special operator called a Kleene wand (pronounced "wand") that tells you how to run a loop until a specific condition is met.

The Core Concept: The "Kleene Wand"

Think of the Kleene wand (denoted as \star|) as a magical instruction manual for a robot.

  • The Setup: You have a robot that can do two things:
    1. Looping: It can run a routine ff that keeps it in the same room (Type XXX \to X).
    2. Exiting: It can run a routine gg that takes it out of the room to a new destination (Type XAX \to A).
  • The Rule: The robot can only run the exit routine gg if it hasn't already run the looping routine ff in a way that blocks it. They must be "disjoint" (like two people who can't be in the same spot at the same time).
  • The Wand's Job: The Kleene wand takes these two routines and creates a new, single routine: "Keep doing ff until you can finally do gg."

If the robot gets stuck in an infinite loop of ff and never finds a chance to do gg, the wand says the result is "undefined" (the robot is stuck forever). If it eventually finds a spot to do gg, the wand outputs that path.

The Problem They Solved: "The Missing Coproduct"

In traditional math, describing these loops usually requires a structure called a coproduct.

  • Analogy: Imagine a coproduct is like a traffic intersection where two roads merge. To describe a loop, you usually need to draw a map showing how the road splits and merges back together.
  • The Issue: Not all mathematical worlds have these "intersections" (coproducts). Some worlds are too simple or too messy to have them.
  • The Solution: The authors show that you don't actually need the intersection. You just need to know when two paths are "disjoint" (they don't crash into each other). They call this relationship interference.
    • If two paths are disjoint, they are like two people walking on different floors of a building; they never meet.
    • The Kleene wand works perfectly in these "no-intersection" worlds.

The "Itegory" Connection

The paper proves a beautiful equivalence:

  • If you have a world with intersections (coproducts) and you can trace loops (a Traced Category), you can build a Kleene wand.
  • If you have a world without intersections but you have a Kleene wand, you can pretend it has intersections and trace loops just the same.

They call a world with a Kleene wand an Itegory. It's essentially a "loop-friendly" category that doesn't need the heavy machinery of intersections to function.

Real-World Examples in the Paper

The authors use two main examples to show this works:

  1. Partial Functions (The "Maybe" Map):

    • Imagine a map where some locations are marked "Here" and others are "Unknown."
    • If you try to walk from "Unknown" to "Here," you can't.
    • The Kleene wand here is simply: "Keep walking the loop until you hit a 'Here' spot. If you walk forever in the 'Unknown' zone, stop."
    • This is exactly how computers handle loops that might run forever.
  2. Recursive Functions (The "Computable" Map):

    • This is similar to the first example, but restricted to things a computer can actually calculate.
    • The paper shows that even with these strict rules, the Kleene wand works perfectly to describe iteration.

The "Matrix" Trick

One of the coolest parts of the paper is a construction they call the Matrix Representation.

  • Analogy: Imagine you have a small, simple room (a category) where you can't easily draw intersections.
  • The Trick: The authors show you can build a giant "Matrix Room" (like a spreadsheet) where every cell is a path from your small room.
  • The Result: In this giant spreadsheet, the "intersections" appear naturally. You can take your simple Kleene wand and use it to calculate complex loops in this big spreadsheet. It's like taking a simple rule for a single hallway and applying it to an entire city grid.

Summary of the "Dedication"

The paper is dedicated to Phil Scott, a mathematician who passed away in 2023. The authors share personal stories about him:

  • Robin recalls Phil helping him get a job and a memorable story about Phil waiting six hours at a train station in the rain to help Robin with his luggage, just so Robin could go hiking.
  • Jean-Simon remembers Phil as his first math professor who taught him how to write proofs and introduced him to the field of category theory.

The paper is a tribute to Phil's influence, using his ideas about loops and logic to build this new framework.

The Bottom Line

This paper says: "You don't need complex traffic intersections to describe computer loops. If you just know when two paths don't crash into each other, you can use a simple 'magic wand' (the Kleene wand) to describe any loop, even in the simplest mathematical worlds."

This makes the theory of loops more flexible and applicable to a wider range of mathematical and computational problems.

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 →