Skip to main navigation Skip to search Skip to main content

A data type of intrinsically plane graphs in Agda

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution book

5 Downloads (Pure)

Abstract

This work develops a suitable data type for plane graph embeddings in Agda. Graphs are used as combinatorial representations for string diagrams, a graphical calculus for monoidal categories. Whenever a monoidal theory does not include any symmetry or braiding operations, it describes processes that are sensitive to their topology. To encode this information in the graphical language, we have to consider surface-embeddings of graphs. We study the simplest case, plane graphs, and present their implementation in Agda. We overcome issues like the cyclic nature of a graph by using one of its spanning trees as an underlying inductive structure. The graphs we implement are plane by construction and any operation on them is guaranteed to preserve this planarity. Additionally, we present a notion of focussing on a certain subgraph within a graph. This operation is crucial for the application of local rewrite rules which themselves are at the centre of diagrammatic reasoning in monoidal categories.
Original languageEnglish
Title of host publication31st International Conference on Types for Proofs and Programs (TYPES 2025)
EditorsFredrik Nordvall Forsberg, James McKinna
Place of PublicationSaarbrücken/Wadern
Number of pages24
ISBN (Electronic)9783959774413
DOIs
Publication statusPublished - 30 Jul 2026

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume384
ISSN (Print)1868-8969

Funding

Malin Altenmüller: funded by EPSRC grant number EP/X025551/1.

Keywords

  • planar graph
  • spanning tree
  • dependent types
  • graph rewriting

Fingerprint

Dive into the research topics of 'A data type of intrinsically plane graphs in Agda'. Together they form a unique fingerprint.

Cite this