Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dignissimus/untangle

Graphical rewriting for diagrammatic reasoning in monoidal categories in Lean4
https://github.com/dignissimus/untangle

Last synced: 3 days ago
JSON representation

Graphical rewriting for diagrammatic reasoning in monoidal categories in Lean4

Awesome Lists containing this project

README

        

# Untangle
Untangle is a Lean4 widget that displays string diagrams for morphisms inside categories and allows you to rewrite expressions by clicking on natural transformations and morphisms in the string diagram.

This widget currently has rewrite rules for Monads. Next, I'd like to add rules for symmetric monoidal categories and bimonoids/Hopf algebras.

## Video demonstration
https://youtu.be/mLCrU9-1jko

# Image
![image](https://github.com/dignissimus/Untangle/assets/18627392/54a6d3e9-969f-4b65-9f08-426431d5b68d)

# Example usage
Open the `Example.lean` file and follow the instructions

# Notes

* This proof of concept is work in progress and is not yet ready for general purpose use.