TensorRocq: Enabling diagrammatic reasoning in Rocq

Benjamin Caldwell, William Spencer, Robert Rand · 2026

Read TensorRocq: Enabling diagrammatic reasoning in Rocq by Benjamin Caldwell, William Spencer, Robert Rand (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-17592.txt.

Description

Caldwell, Spencer, Kissinger, and Rand build TensorRocq, tools for diagram reasoning in Rocq. Symmetric monoidal categories frame computing as steps put side by side and in sequence. String diagrams reason about their equations by showing links. Yet in Rocq, rigid equation structure hides those links behind symbol shuffling. TensorRocq converts between symbol-based terms and hypergraphs with interfaces while keeping a common tensor meaning. It spots when terms match and rewrites up to diagram deformation. Users can build simple theories from generators and relations and work with equations within them.

Catalog record

CREATORBenjamin Caldwell, William Spencer, Robert Rand
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE73479
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.17592

Browse the full library · About the Tower of Babel