Skip to content

t-wissmann/Initial-Algebras-Unchained

Repository files navigation

Agda Formalization of 'Initial Algebras Unchained'

This is the formalization from the Paper 'Initial Algebras Unchained - A Novel Initial Algebra Construction Formalized in Agda' accepted for publication at LICS 2024.

You can browse the html documentation of this Agda formalization online:

Dependencies

Assuming that Agda is already installed, the following sections describe the installation of the required libraries and the compilation of the proofs of the present project.

Installing the dependencies

AGDA_DIR=$HOME/.agda/
mkdir -p "$AGDA_DIR"
echo -n > ${AGDA_DIR}/defaults
git clone --depth 1 --branch "v2.0"  "https://github.com/agda/agda-stdlib" "$AGDA_DIR/stdlib-2.0.0"
git clone --depth 1 --branch "v0.2.0"  "https://github.com/agda/agda-categories" "$AGDA_DIR/categories-2.0.0"
find "$AGDA_DIR/stdlib-2.0.0" "$AGDA_DIR/categories-2.0.0" -name '*.agda-lib' | tee ${AGDA_DIR}/libraries

Compiling the project

Checking all the proofs:

agda src/index.agda

Generating the html documentation:

mkdir -p html
agda --html --html-dir=html/ src/index.agda