Skip to main content
QUICK REVIEW

[Paper Review] Graphical Regular Logic

Brendan Fong, David I. Spivak|arXiv (Cornell University)|Dec 14, 2018
Logic, programming, and type systemsComputer Science12 references5 citations
TL;DR

This paper introduces graphical regular logic as a diagrammatic syntax for regular logic using string diagrams derived from free regular categories. It establishes a categorical duality between regular categories and regular calculi—monoidal 2-functors from the bicategory of relations in free regular categories to posets—proving that the category of regular categories is essentially reflective in the category of regular calculi via an adjunction with fully faithful prd and essentially surjective syn functors.

ABSTRACT

Regular logic can be regarded as the internal language of regular categories, but the logic itself is generally not given a categorical treatment. In this paper, we understand the syntax and proof rules of regular logic in terms of the free regular category $\mathsf{FRg}(\mathrm{T})$ on a set $\mathrm{T}$. From this point of view, regular theories are certain monoidal 2-functors from a suitable 2-category of contexts---the 2-category of relations in $\mathsf{FRg}(\mathrm{T})$---to the 2-category of posets. Such functors assign to each context the set of formulas in that context, ordered by entailment. We refer to such a 2-functor as a regular calculus because it naturally gives rise to a graphical string diagram calculus in the spirit of Joyal and Street. Our key aim to prove that the category of regular categories is essentially reflective in that of regular calculi. Along the way, we demonstrate how to use this graphical calculus.

Motivation & Objective

  • To formalize the syntax and proof rules of regular logic using categorical structures based on free regular categories.
  • To define regular calculi as monoidal 2-functors from the bicategory of relations in free regular categories to posets, capturing entailment and logical structure.
  • To demonstrate that regular calculi provide a natural graphical calculus for regular logic, inspired by Joyal and Street’s string diagrams.
  • To establish a duality between regular categories and regular calculi, showing that regular categories are essentially reflective in the category of regular calculi.

Proposed method

  • Construct the free regular category FRg(T) on a set T of sorts as a coproduct of copies of FRg, with objects representing contexts and morphisms representing relations via equivalence relations on coproducts.
  • Define the bicategory of relations RelFRg(T) whose objects are 'shells'—finite sets with labeled ports and a support object s—and morphisms are wiring diagrams encoding corelations.
  • Represent formulas in a context as elements of a poset, with entailment as order, and define regular calculi as monoidal 2-functors P: FRg(T) → Poset that preserve structure.
  • Introduce the functor syn: RgCalc → RgCat that assigns to each regular calculus P the regular category RP of P-graphical terms, with morphisms defined by entailments.
  • Define the functor prd: RgCat → RgCalc that maps each regular category R to its associated regular calculus (Ob R, SubR⌜−⌝), capturing subobject lattices in each context.
  • Prove that prd and syn form an adjoint pair with prd fully faithful and the counit syn(prd(R)) → R an equivalence, establishing essential reflection.

Experimental results

Research questions

  • RQ1How can the syntax and proof rules of regular logic be systematically derived from categorical constructions in free regular categories?
  • RQ2What categorical structure on a functor P: FRg(T) → Poset is sufficient to reconstruct a regular category from its logical content?
  • RQ3Can a graphical string diagram calculus be naturally derived from the structure of regular categories and their internal logic?
  • RQ4Is there a duality between the category of regular categories and the category of regular calculi, and if so, what are its properties?
  • RQ5Can the internal logic of a regular category be fully recovered from its associated regular calculus via a canonical equivalence?

Key findings

  • The category of regular categories is essentially reflective in the category of regular calculi, with the adjunction prd ⊣ syn establishing a duality.
  • The functor syn: RgCalc → RgCat constructs a regular category from any regular calculus P by forming the category of P-graphical terms with entailment relations.
  • The functor prd: RgCat → RgCalc assigns to each regular category R the regular calculus (Ob R, SubR⌜−⌝), encoding subobject lattices in each context.
  • The counit of the adjunction ǫ: syn(prd(R)) → R is an equivalence, showing that every regular category is recoverable from its logical content.
  • The functor prd is fully faithful, meaning that the logical structure of a regular category fully determines its categorical structure up to equivalence.
  • The graphical calculus for regular logic is shown to be sound and complete via the preservation of entailments and equalities under the functor F♯, as formalized in Lemma 8.2.

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.