Go to file
Frederik Hanghøj Iversen 41e2d02c8d [WIP] Prove voe §2.3
By Andrea

The reason you cannot use cong in [1] is that §2-fromMonad result type
depends on the input, you need a dependent version of cong:

cong-d : ∀ {ℓ} {A : Set ℓ} {ℓ'} {B : A → Set ℓ'} {x y : A}
               → (f : (x : A) → B x)
               → (eq : x ≡ y)
               → PathP (\ i → B (eq i)) (f x) (f y)
cong-d f p = λ i → f (p i)

I attach a modified Voevodsky.agda.

Notice that the definition of "t" is still highlighted in yellow,
that's because it being a homogeneous path depends on the exact
definition of lem, see the comment with the two definitional equality
constraints.
2018-03-14 10:30:42 +01:00
libs Use propositions straight from the horses mouth 2018-03-12 13:56:49 +01:00
proposal Makefile for latex 2018-02-02 15:34:35 +01:00
report Add a better descrption to the aim-section 2017-11-10 16:10:40 +01:00
src [WIP] Prove voe §2.3 2018-03-14 10:30:42 +01:00
.gitignore Move stuff around 2017-06-07 15:35:17 +02:00
.gitmodules Add new submodules 2017-11-10 16:56:52 +01:00
BACKLOG.md Update changelog and backlog 2018-03-13 10:41:37 +01:00
cat.agda-lib Rely on global cubical again 2018-02-16 11:37:22 +01:00
CHANGELOG.md Update changelog and backlog 2018-03-13 10:41:37 +01:00
libraries Add libraries file 2017-11-26 14:57:07 +01:00
Makefile Add Makefile 2018-01-21 00:22:52 +01:00
README.md Update readme 2018-03-07 15:40:52 +01: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:

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.