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
| CREATOR | Benjamin Caldwell, William Spencer, Robert Rand |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 73479 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.17592