Go to file
2018-05-08 18:45:36 +02:00
doc Include appendices 2018-05-08 16:22:51 +02:00
libs Document version numbers 2018-05-08 18:45:36 +02:00
src Update CHANGELOG and remove --allow-unsolved-metas pragma 2018-05-08 18:35:22 +02:00
.gitmodules Add new submodules 2017-11-10 16:56:52 +01:00
BACKLOG.md Update CHANGELOG and remove --allow-unsolved-metas pragma 2018-05-08 18:35:22 +02:00
cat.agda-lib Add comment to agda-lib 2018-01-31 14:47:20 +01:00
CHANGELOG.md Update CHANGELOG and remove --allow-unsolved-metas pragma 2018-05-08 18:35:22 +02:00
libraries Add libraries file 2017-11-26 14:57:07 +01:00
Makefile Simplify qualified imports, change make-target: clean 2018-03-21 12:28:26 +01:00
README.md Document version numbers 2018-05-08 18:45:36 +02:00

Description

This project aims to formalize some parts of category theory using cubical agda — an extension to agda permitting univalence. To learn more about this readthedocs.

This project draws a lot of inspiration from the HoTT-book.

Installation

Dependencies

To succesfully compile the following is needed:

The version of the libraries that this depends on can be shown by executing the following command in the root directory of the project:

git submodule foreach git rev-parse HEAD

Unfortunately Agda's module system does not allow us to automatically add these dependencies. So you'll have to make sure you're using versions of these libraries that are compatible with this project. Since this information is only provided as documentation it may also noot be up-to-date so beware.

It's important to have the right version of these - but which one is the right is in constant flux. It's most likely the newest one.

I've used git submodules to manage dependencies. Unfortunately Agda does not allow specifying libraries to be used only as local dependencies. So the submodules are mostly used for documentation.

You can let Agda know about these libraries by appending them to your global libraries file like so: (NB!: There is a good reason this is not in a makefile. So please verify that you know what you are doing, you probably already have standard-library in you libraries)

AGDA_LIB=~/.agda
readlink -f libs/*/*.agda-lib | tee -a $AGDA_LIB/libraries

Anyways, assuming you have this set up you should be good to go.