数学 > 范畴论
[提交于 2022年9月20日 (v1),最后修订于 2023年7月31日 (此版本, v3)]
标题:Data Structures for Topologically Sound Higher-Dimensional Diagram Rewriting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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. 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.