cat/README.md

53 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2017-11-10 16:08:38 +00:00
Description
===========
2018-02-21 12:52:51 +00:00
This project aims to formalize some parts of category theory using cubical agda
2018-05-31 00:05:56 +00:00
— an extension to agda permitting univalence. To learn more about this
2018-05-08 16:48:26 +00:00
[read the docs](https://agda.readthedocs.io/en/latest/language/cubical.html).
2018-02-21 12:52:51 +00:00
This project draws a lot of inspiration from [the
HoTT-book](https://homotopytypetheory.org/book/).
2017-11-10 16:08:38 +00:00
2018-05-31 00:12:45 +00:00
If you want more information about this project, then you're in luck.
This is my masters thesis. Go ahead and read it
[here](http://web.student.chalmers.se/~hanghj/papers/univalent-categories.pdf)
or alternative like so:
2018-05-08 20:46:17 +00:00
cd doc/
make
2017-11-10 16:08:38 +00:00
Dependencies
============
To successfully compile the following is needed:
2018-02-20 13:08:47 +00:00
2018-05-31 00:05:56 +00:00
* The master branch of Agda.
2018-05-08 16:45:36 +00:00
* [Agda Standard Library](https://github.com/agda/agda-stdlib)
2018-02-21 12:52:51 +00:00
* [Cubical](https://github.com/Saizan/cubical-demo/)
2018-05-31 00:05:56 +00:00
Has been tested with:
* Agda version 2.6.0-d3efe64
Building
========
You can build the library with
2018-05-08 16:45:36 +00:00
git submodule update --init
2018-05-31 00:00:29 +00:00
make
2018-05-08 16:45:36 +00:00
The Makefile takes care of using the right dependencies.
Unfortunately I have not found a way to automatically inform
2018-05-31 00:05:56 +00:00
`agda-mode` that it should use these dependencies. So what you can do
in stead is to copy these libraries to a global location and then add
them system wide:
2017-11-10 16:08:38 +00:00
mkdir -p ~/.agda/libs
2018-05-31 00:00:29 +00:00
cd ~/.agda/libs
git clone $CAT/libs/std-lib
git clone $CAT/libs/cubical
echo << EOF | tee -a ~/.agda/libraries
$HOME/.agda/libs/agda-stdlib/standard-library.agda-lib
$HOME/.agda/libs/cubical/cubical.agda-lib
EOF
Or you could symlink them as well if you want.