Skip to main content
QUICK REVIEW

[Paper Review] String Diagram Rewrite Theory III: Confluence with and without Frobenius

Filippo Bonchi, Fabio Gadducci|arXiv (Cornell University)|Sep 13, 2021
Logic, programming, and type systemsComputer Science5 citations
TL;DR

This paper establishes that confluence is decidable for string diagram rewriting systems using double-pushout rewriting with interfaces (DPOI), leveraging critical pair analysis. It proves that terminating DPOI systems are confluent if and only if all critical pairs are joinable, extending the Knuth-Bendix property to hypergraph rewriting. The key contribution is a decidable criterion for confluence in symmetric monoidal theories, both with and without Frobenius structure, using path joinability for convex matches in the non-Frobenius case.

ABSTRACT

In this paper we address the problem of proving confluence for string diagram rewriting, which was previously shown to be characterised combinatorically as double-pushout rewriting with interfaces (DPOI) on (labelled) hypergraphs. For standard DPO rewriting without interfaces, confluence for terminating rewrite systems is, in general, undecidable. Nevertheless, we show here that confluence for DPOI, and hence string diagram rewriting, is decidable. We apply this result to give effective procedures for deciding local confluence of symmetric monoidal theories with and without Frobenius structure by critical pair analysis. For the latter, we introduce the new notion of path joinability for critical pairs, which enables finitely many joins of a critical pair to be lifted to an arbitrary context in spite of the strong non-local constraints placed on rewriting in a generic symmetric monoidal theory.

Motivation & Objective

  • To establish confluence decidability for string diagram rewriting systems, which are formalized as DPOI rewriting on hypergraphs.
  • To resolve the challenge of confluence in symmetric monoidal theories (SMTs), especially those lacking Frobenius structure where standard critical pair analysis fails.
  • To introduce path joinability as a mechanism to lift finite joins of critical pairs to arbitrary contexts in convex DPOI rewriting.
  • To provide a practical, automated procedure for verifying confluence in SMTs by reducing it to finite critical pair analysis.

Proposed method

  • Formalizing string diagrams as (labelled) hypergraphs with interfaces, using double-pushout rewriting with interfaces (DPOI) to preserve compositionality.
  • Proving that confluence for terminating DPOI systems is decidable by verifying joinability of all critical pairs, generalizing the Knuth-Bendix property to this setting.
  • Introducing the notion of path joinability to handle non-local effects in convex DPOI rewriting, particularly in non-Frobenius SMTs.
  • Developing an algorithm for computing maximal path relations and constructing path extensions to verify joinability of critical pairs.
  • Applying the framework to concrete examples, including the bialgebra and NLC systems, to demonstrate practical confluence verification.
  • Encoding the results into a computational pipeline compatible with tools like Quantomatic and hypergraph-based rewriting systems.

Experimental results

Research questions

  • RQ1Is confluence decidable for terminating string diagram rewriting systems formalized via DPOI rewriting on hypergraphs?
  • RQ2How can critical pair analysis be adapted to handle the non-local constraints of convex matches in non-Frobenius symmetric monoidal theories?
  • RQ3Can path joinability provide a finite, effective method to verify confluence in convex DPOI systems where standard critical pairs are insufficient?
  • RQ4To what extent does the presence or absence of Frobenius structure affect the decidability and automation of confluence checking?
  • RQ5Can the proposed method be implemented in existing string diagram tools to support automated verification of equational theories?

Key findings

  • Confluence for terminating DPOI rewriting systems is decidable, generalizing the Knuth-Bendix property to hypergraph rewriting with interfaces.
  • For symmetric monoidal theories with Frobenius structure, confluence can be decided by checking finitely many critical pairs via standard joinability.
  • In non-Frobenius SMTs, confluence is decidable using convex DPOI rewriting, provided path joinability is used to handle non-local effects.
  • The paper introduces path joinability as a novel mechanism that enables lifting finite joins of critical pairs to arbitrary contexts in convex rewriting.
  • The algorithm for computing path extensions is computable and can be automated, as demonstrated in the NLC example with 22 critical pairs.
  • The framework is applicable to a wide range of SMTs, including those in [37, 28, 24], and is amenable to integration into tools like Quantomatic.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.