This is an Agda library developed for the formalisation of String Diagrams along with proofs that they, with the usual operations, form a Symmetric Monoidal Category.
Author: Octavian-Mircea Sebe
This library uses the --without-K and the --safe flag.
Dependencies: agda-stdlib (https://github.com/agda/agda-stdlib), agda-categories (https://github.com/agda/agda-categories)
To install this library in some folder PATH/TO/FOLDER
, run the following commands:
cd PATH/TO/FOLDER
git clone LINK/TO/THIS/REPO.git
- If the repository directory is named
oms567
, rename it tomonoidal-nets
. mkdir -p ~/.agda
echo "PATH/TO/FOLDER/monoidal-nets/monoidal-nets.agda-lib" >> ~/.agda/libraries
This will allow you to reference this library in other projects.
Make sure that you also have installed the libraries that the project depends on, mentioned above and that they are up to date. The process of installing them is very similar to the above and instructions can be found on the respective GitHub pages.
To check that everything is okay, open Check.agda
in Emacs mode and load it. It should type check successfully.
If any error comes up please submit an Issue on the project page.
Note: For some users, the default Agda folder may be located somewhere else (not in ~/.agda
). If that happens to be the case, please change the commands above accordingly.
The library has been checked successfully using Agda version 2.6.1 and against agda-stdlib (as of commit 7efaa6f) and agda-categories (as of commit 1d74aec).