Error Credits: Resourceful Reasoning about Error Bounds for Higher-Order Probabilistic Programs

This artifact contains the Coq development accompanying the ICFP 2024 submission "Error Credits: Resourceful Reasoning about Error Bounds for Higher-Order Probabilistic Programs".

coq-eris.tar.gz contains the Coq development which includes a README with instructions for installing dependencies and building the development. The archive also contains PAPER that maps definitions and results from the paper to its formalization.

docker-eris.tar.gz contains a pre-built Docker image with dependencies and the Coq development already installed. Suggested commands for loading, rebuilding, and interacting with the image is shown below. The Docker image is built using the instructions found in Dockerfile. Note that building the Dockerfile requires coq-eris.zip to be available in the same folder.

Load pre-built image

docker load < docker-eris.tar.gz

Save image

docker save eris:latest | gzip > docker-eris.tar.gz

Rebuild image

docker build -t eris .

Interactive shell

docker run -i --name eris -t eris