← Latest papers
🔢 mathematics

Rewriting Systems on Arbitrary Monoids

This paper introduces monoidal rewriting systems (MRS) as an abstraction of string rewriting over arbitrary ambient monoids to address logical limitations of free monoids, and establishes a canonical biadjunction between the 2-category of Noetherian Confluent MRS and the category of monoids while classifying all such systems presenting a fixed monoid via Generalized Elementary Tietze Transformations.

Original authors: Eduardo Magalhães

Published 2026-02-02
📖 6 min read🧠 Deep dive

Original authors: Eduardo Magalhães

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 solve a puzzle where you have a set of rules for changing one thing into another. In the world of computer science and math, this is usually done with strings of letters (like words in a dictionary). If you have the word "cat" and a rule that says "cat" becomes "dog," you can swap them. This is the traditional way of doing things, called String Rewriting.

However, the author of this paper, Eduardo Magalhães, asks a simple but profound question: What if we aren't just playing with words? What if we are playing with numbers, shapes, or even abstract ideas that don't look like words at all?

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

1. The Problem: Being Too Picky About "Words"

Traditionally, rewriting systems only work on Free Monoids. Think of a Free Monoid as a giant, empty warehouse where you can only stack boxes (letters) in a line. You can only combine them by sticking them together.

  • The Issue: The paper argues that this is too limiting. It's like saying you can only rearrange furniture if you are in a warehouse with no walls. In the real world (and in logic), we often deal with structures that have their own internal rules (like a clock where 12 + 1 = 1, or a group of friends where "Alice + Bob" is just "The Group").
  • The Logic Gap: The author points out that "being a free warehouse" is a very specific, hard-to-define rule in the language of logic. If you want to study these systems using standard logical tools, you get stuck because you can't easily define "free" inside the system itself.

2. The Solution: Monoidal Rewriting Systems (MRS)

The author introduces Monoidal Rewriting Systems (MRS).

  • The Analogy: Instead of just rearranging letters in a line, imagine you have a toolbox (a Monoid). This toolbox has a specific way of combining tools (multiplication).
    • In a string system, you can only glue "A" and "B" to make "AB".
    • In an MRS, you can combine any two items in your toolbox, provided they follow the toolbox's rules. Maybe your toolbox is a set of numbers where you add them, or a set of shapes where you overlap them.
  • The Shift: The paper says, "Let's stop pretending everything is a word. Let's let the rules work directly on the objects themselves." This makes the system more flexible and "internal" to the structure it describes.

3. The "Perfect" State: Noetherian and Confluent

In any rewriting game, you want two things to happen:

  1. Noetherian (Termination): The game must eventually end. You can't keep changing things forever in a loop. (e.g., You can't have a rule that turns "A" into "B" and "B" back into "A" forever).
  2. Confluent (Consistency): No matter which order you apply the rules, you should end up with the same final result. (e.g., If you have a messy room, it shouldn't matter if you pick up the socks first or the books first; the room should end up clean in the same way).

When a system has both of these, you can take any messy input and reduce it to a unique "Normal Form" (the cleanest, simplest version of that object).

4. The Big Connection: The "Translator" (Biadjunction)

The paper builds a bridge between two worlds:

  • World A: The messy, rule-heavy world of Rewriting Systems (MRS).
  • World B: The clean, simple world of Monoids (the final structures).

The author creates a Translator (a mathematical tool called a biadjunction) that works both ways:

  • From Rules to Structure: If you have a set of rules, the translator finds the "clean" structure hidden inside them (the Monoid of irreducibles).
  • From Structure to Rules: If you have a clean structure (like the number 5), the translator can build a "canonical" set of rules that generates it.

The Metaphor: Imagine you have a sculpture (the Monoid).

  • One way to describe it is to say, "It's made of clay." (The Structure).
  • Another way is to give a list of instructions: "Take a lump, flatten it, cut a circle, smooth the edges." (The Rewriting System).
  • The paper proves that these two descriptions are perfectly linked. You can go from the instructions to the sculpture, and from the sculpture back to the best possible set of instructions, without losing any information.

5. The "Tietze" Transformations: The Magic Wands

Finally, the paper answers a tricky question: "If I have two different sets of rules that both build the same sculpture, how are they related?"

In the old world of string rewriting, there was a famous set of moves called Tietze Transformations that could turn one set of rules into another. The author invents Generalized Elementary Tietze Transformations (GETTs) for this new, broader world.

  • The Analogy: Imagine you have two different recipes for making a cake.
    • Recipe A says: "Mix flour, sugar, eggs."
    • Recipe B says: "Mix dry ingredients, then wet ingredients, then bake."
    • Even though the steps look different, they make the same cake.
  • The Result: The paper proves that you can transform any valid recipe (Noetherian Confluent MRS) into any other valid recipe for the same cake by using a sequence of these "GETT moves."
    • Move 1: Add a rule that is already true (redundant).
    • Move 2: Remove a rule that is already covered by others.
    • Move 3: Introduce a new ingredient (symbol) to help explain a step.
    • Move 4: A complex move that simplifies the whole system by focusing on a specific part of the rules.

Summary

This paper takes the concept of "rewriting" (changing things based on rules) and frees it from the constraint of "words." It shows that:

  1. You can do this on any mathematical structure, not just strings.
  2. There is a perfect, logical bridge between the rules and the result.
  3. Any two sets of rules that produce the same result can be transformed into each other using a specific, universal set of moves.

It's a bit like realizing that while you can describe a house by listing its bricks (strings), you can also describe it by its architectural blueprint (monoid), and you can mathematically prove that every blueprint has a unique, perfect set of instructions to build it, and every set of instructions leads to a unique blueprint.

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 →