← Latest papers
🔢 mathematics

Between Markov and restriction. Two more monads on categories for relations

This paper extends the existing taxonomy of "categories for relations" by introducing two new, more abstract gs-monoidal categories characterized by axiomatic mass and domain notions, and demonstrates that mass and domain preserving monads naturally generate these categories as Kleisli categories for semiring-weighted relations.

Original authors: Cipriano Junior Cioffo, Fabio Gadducci, Davide Trotta

Published 2026-07-07
📖 5 min read🧠 Deep dive

Original authors: Cipriano Junior Cioffo, Fabio Gadducci, Davide Trotta

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 organize a massive library of different types of "relationships" between things. In mathematics and computer science, these relationships are modeled using structures called categories. Some of these categories describe things that are certain and complete (like a perfect map), while others describe things that are partial, probabilistic, or messy (like a sketchy map or a guess).

This paper, titled "Between Markov and restriction," is like a librarian who has just discovered two new, very specific shelves to place these relationship books on. These new shelves sit right in the middle of two existing, well-known sections: the Markov section (dealing with probability and chance) and the Restriction section (dealing with partial or incomplete information).

Here is a breakdown of the paper's main ideas using simple analogies:

1. The Big Picture: The "Relationship" Library

Think of a Symmetric Monoidal Category as a giant warehouse where you can combine things (like mixing ingredients) and duplicate them (like photocopying a document).

  • Markov Categories are like a warehouse where every item you take out is guaranteed to be "whole" and "complete." Nothing is missing. This is great for probability.
  • Cartesian Restriction Categories are like a warehouse where items might be "broken" or "incomplete." You can have a function that works only on some inputs, not all. This is great for partial functions.

The authors previously created a map (a taxonomy) showing how these different warehouses relate. In this new paper, they found that there are actually two new types of warehouses that sit right between the "Perfect" and the "Broken" ones.

2. The Two New Concepts: "Mass" and "Domain"

The authors introduce two new ways to measure an arrow (a relationship or a process) in these categories.

  • Mass (The "Weight" of the Arrow):
    Imagine you are shipping a package. The Mass of an arrow is like checking the total weight of the package as it leaves the warehouse.

    • In a Mass Category, the rule is: "If you check the weight of the package after it goes through the process, it's the same as checking the weight before it goes through, provided you ignore the destination details."
    • It's a way of saying the process doesn't magically create or destroy "stuff" (probability mass) in a specific, abstract way.
  • Domain (The "Valid Area" of the Arrow):
    Imagine a stamp that only works on certain parts of a paper. The Domain is the specific area where the stamp actually leaves a mark.

    • In a Domain Category, the rule is: "If you look at the area where the stamp works, and then run the stamp through the process, you get the exact same result as just running the stamp."
    • This is a generalization of the idea of "partial functions." It ensures that if a process is defined for a specific input, it behaves consistently.

3. The Discovery: A New Middle Ground

The authors realized that you don't need to be fully "Markov" (perfectly total) or fully "Restriction" (fully partial) to have a useful system.

  • You can have a system that respects Mass but isn't necessarily fully Markov.
  • You can have a system that respects Domain but isn't necessarily fully Restriction.

They proved that the famous Markov Categories are actually just the intersection of these two new types: a category is Markov if and only if it is both a Mass category and a "Weakly Markov" category (a specific type of mass category). It's like saying a "Perfect Square" is just a shape that is both a "Perfect Rectangle" and a "Perfect Rhombus."

4. The "Lift" Mechanism: Kleisli Categories

In computer science, there is a tool called a Monad (think of it as a machine that wraps data in a special container, like a box). When you take a category and apply a Monad to it, you get a new category called a Kleisli Category.

The paper asks: If I start with a "Domain" or "Mass" category, and I put it through this machine, does the new category keep those properties?

  • The Answer: Yes, but only if the machine (the Monad) is built correctly.
  • They defined "Domain-preserving" and "Mass-preserving" machines. If the machine is built to respect the "Domain" or "Mass" rules, the new category coming out the other side will also respect those rules.
  • This is a big deal because it allows researchers to build complex probabilistic or partial systems while knowing exactly which rules (axioms) will still hold true.

5. Real-World Examples (The Case Studies)

To prove their theory works, the authors looked at two concrete examples:

  1. Semiring-Weighted Relations: Imagine a system where relationships aren't just "yes/no" (like a standard map) but have "weights" (like a map where roads have traffic scores). They showed that if the math behind these weights (called a "semiring") has certain properties (like being "idempotent," where x+x=xx + x = x), then the resulting system automatically becomes a Domain Category. This explains why certain fuzzy logic or probability systems behave the way they do.
  2. Partial Markov Categories: They looked at a system called Partial(FinStoch), which deals with probability distributions that might not exist (partiality). They used their new "Domain-preserving" tools to prove that this system is indeed a Domain Category, offering a fresh, simpler proof of a fact that was previously harder to show.

Summary

In simple terms, this paper is about refining the map of mathematical logic.

  • The authors found two new "neighborhoods" (Mass and Domain categories) that sit between the neighborhoods of "Probability" and "Partiality."
  • They showed how to build machines (Monads) that can move data between these neighborhoods without breaking the rules of the neighborhood.
  • They proved that the famous "Markov" neighborhood is actually just the overlap of these two new neighborhoods.

This helps computer scientists and mathematicians better understand the structural rules that govern how we model uncertainty, partial information, and relationships in code and logic.

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 →