Skip to main content
QUICK REVIEW

[Paper Review] Reasoning with !-Graphs

Alexander Merry|arXiv (Cornell University)|Jan 1, 2013
Logic, programming, and type systemsComputer Science35 references9 citations
TL;DR

This paper introduces !-graphs, an extension to string graphs that enables finite representation of infinite families of graphs and rewrite rules using !-boxes. It formalizes graph-based induction and equational reasoning, enabling rigorous inductive proofs in compact closed and traced symmetric monoidal categories—particularly for quantum diagram reasoning with commutative Frobenius algebras.

ABSTRACT

The aim of this thesis is to present an extension to the string graphs of Dixon, Duncan and Kissinger that allows the finite representation of certain infinite families of graphs and graph rewrite rules, and to demonstrate that a logic can be built on this to allow the formalisation of inductive proofs in the string diagrams of compact closed and traced symmetric monoidal categories. String diagrams provide an intuitive method for reasoning about monoidal categories. However, this does not negate the ability for those using them to make mistakes in proofs. To this end, there is a project (Quantomatic) to build a proof assistant for string diagrams, at least for those based on categories with a notion of trace. The development of string graphs has provided a combinatorial formalisation of string diagrams, laying the foundations for this project. The prevalence of commutative Frobenius algebras (CFAs) in quantum information theory, a major application area of these diagrams, has led to the use of variable-arity nodes as a shorthand for normalised networks of Frobenius algebra morphisms, so-called "spider notation". This notation greatly eases reasoning with CFAs, but string graphs are inadequate to properly encode this reasoning. This dissertation extends string graphs to allow for variable-arity nodes to be represented at all, and then introduces !-box notation (and structures to encode it) to represent string graph equations containing repeated subgraphs, where the number of repetitions is abitrary. It then demonstrates how we can reason directly about !-graphs, viewed as (typically infinite) families of string graphs. Of particular note is the presentation of a form of graph-based induction, allowing the formal encoding of proofs that previously could only be represented as a mix of string diagrams and explanatory text.

Motivation & Objective

  • To extend string graphs to support variable-arity nodes and infinite families of graphs.
  • To develop a formal logic for reasoning with !-graphs using graph rewriting and induction.
  • To enable formal inductive proofs in compact closed and traced symmetric monoidal categories.
  • To support the formalization of key quantum diagram laws, such as the spider law and generalized bialgebra law.
  • To provide a foundation for automated reasoning in proof assistants like Quantomatic.

Proposed method

  • Introduces !-box notation to represent repeated subgraphs with arbitrary repetition counts.
  • Defines !-graphs as graphs with nested and overlapping !-boxes, extending string graph theory.
  • Develops a graph rewriting system for !-graphs that preserves semantic equivalence under expansion.
  • Establishes a sound and complete matching algorithm for !-graphs based on expansion-normal form and depth-ordered instantiation.
  • Proposes a logic of !-graphs with !-box induction and equational reasoning, including a formalization of the spider law.
  • Introduces regular forms (depth-ordered and expansion-normal) to ensure completeness and decidability of matching.

Experimental results

Research questions

  • RQ1How can infinite families of string graphs be finitely represented while preserving semantic equivalence?
  • RQ2Can graph-based induction be formalized within a diagrammatic logic for monoidal categories?
  • RQ3How can !-graph rewriting be made sound and complete for equational reasoning?
  • RQ4What is the role of !-box structure in enabling inductive proofs of diagram equations?
  • RQ5How can matching algorithms for !-graphs be designed to be both correct and complete?

Key findings

  • The paper successfully extends string graphs to support variable-arity nodes via !-box notation, enabling compact representation of infinite graph families.
  • A formal logic of !-graphs is developed, including !-box induction, allowing rigorous inductive proofs of diagram equations.
  • The spider law is formally proven using !-box induction, demonstrating the system's capability for complex quantum diagram reasoning.
  • A complete and correct matching algorithm is presented, with completeness guaranteed under expansion-normal form and no wild !-boxes.
  • The generalized bialgebra law is formalized and proven using the !-graph framework, showing applicability to interacting Frobenius algebras.
  • The framework is integrated into the Quantomatic proof assistant, enabling automated reasoning with diagrammatic equations.

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.