Setup
Datasets
Premise Selection
HOL4
- Raw data included in repository
- From the root project directory, run
python -m data.hol4.process_hol4
MIZAR40
- From the root project directory, run
bash data/mizar/get_mizar.sh python -m data.mizar.process_mizar
HOLStep
- From the root project directory, run
bash data/mizar/get_mizar.sh bash data/holstep/get_holstep.sh python -m data.holstep.process_holstep
LeanStep
Install Lean3:
- Globally
wget -q https://raw.githubusercontent.com/leanprover-community/mathlib-tools/master/scripts/install_debian.sh && bash install_debian.sh ; rm -f install_debian.sh && source ~/.profile
- (preferred) Inside venv:
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
source $HOME/.elan/env
to add elan to path, or copy/symlink$HOME/.elan/env
to venv bin folderpip install mathlibtools
- Run
bash data/lean/lean-step/setup.sh
from project root (this is a large dataset, you can terminate the parallel_data_gen script early for a reduced dataset) - Run
python -m data.lean.process_leanstep
HOList
- Obtain data from https://storage.googleapis.com/deepmath/deephol.zip and place it in the
raw_data
directory indata/holist
, then runpython -m data.holist.process_holist
INT
Environments
HOL4
- Download and install polyml: https://polyml.org/download.html
- Run the HOL4 build script:
bash environments/hol4/build_hol.sh
HOList
- Setup the Docker container which provides an API to a custom HOL-Light environment setup by Google for AITP .
- Run the setup script:
bash environments/holist/setup_hollight.sh
INT
sudo apt-get install libopenmpi-dev
pip install baselines
pip install git+https://github.com/openai/baselines@ea25b9e8