Data Structures for Topologically Sound Higher-Dimensional Diagram Rewriting

Amar Hadzihasanovic, Diana Kessler
9/20/2022
math.CTcs.DScs.LO

Official code: ahadziha/rewalt (21 stars, Python, BSD-3-Clause, last commit 2022-09-15).

Abstract

We present a computational implementation of diagrammatic sets, a model of higher-dimensional diagram rewriting that is "topologically sound": diagrams admit a functorial interpretation as homotopies in cell complexes. This has potential applications both in the formalisation of higher algebra and category theory and in computational algebraic topology.

Show full abstract

We describe data structures for well-formed shapes of diagrams of arbitrary dimensions and provide a solution to their isomorphism problem in time O(n^3 log n). On top of this, we define a type theory for rewriting in diagrammatic sets and provide a semantic characterisation of its syntactic category. All data structures and algorithms are implemented in the Python library rewalt, which also supports various visualisations of diagrams.

View on arXivView PDF

Code Implementations(1)

ahadziha/rewaltOfficial100%
BSD-3-Clause

A toolkit for higher-dimensional diagram rewriting.

210PythonMar 7, 20224 years agoBSD-3-Clause
category-theorycell-complexescubical-setshigher-algebrahigher-category-theory+6 more

Similar Papers

Cite this paper

@article{hadzihasanovic2022data,
  title  = {Data Structures for Topologically Sound Higher-Dimensional Diagram Rewriting},
  author = {Amar Hadzihasanovic and Diana Kessler},
  year   = {2022},
  eprint = {2209.09509},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09509}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.09509.svg)](https://codeofpaper.com/paper/2209.09509)

Discussion