Automated rewriting of string diagrams in symmetric monoidal categories
Statement
Many algebraic structures, such as Frobenius algebras, or quasi-triangular Hopf algebras, can be formulated in an arbitrary symmetric monoidal category. They are given by a collection of morphisms, and a collection of axioms, which are equations between two different string diagrams.
There are many theorems which hold for any symmetric monoidal category, such as that the antipode of a quasi-triangular Hopf algebra is involutive. Such theorems are themselves equations between two string diagrams. They can be proven by a sequence of axioms translating the one string diagram into the other. Applying an axiom to a string diagram means identifying with a part of , and replacing this part by .
Are there any implementations for algorithms which automatically find such a sequence proving an algebraic statement?
I'm aware that something very similar is known as "double-pushout graph rewriting", for which some implementations exist. However, there is a subtle difference between string diagrams and graphs: Whereas in a string diagram, each morphism has different input and output components (e.g., the multiplication of an algebra has a "left" and a "right" input, and we …
Posed by Andi Bauer · graph-theory, monoidal-categories, symmetric-monoidal-categories, string-diagrams
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-360793.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-360793.lean
import Mathlib /-! # Automated rewriting of string diagrams in symmetric monoidal categories Source: https://mathoverflow.net/questions/360793 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_360793 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_360793