This project depends on two external Lean tools. Clone and lake build each, then configure their paths in .env.
git clone https://github.com/leanprover/lean4export.git
cd lean4export && lake buildgit clone https://github.com/leanprover/comparator.git
cd comparator && lake buildgit clone https://github.com/gasstationmanager/safeverify.git
cd safeverify && lake buildCopy .env.example or create .env at the project root with paths to the built binaries:
LEAN4EXPORT_PATH=<path-to>/lean4export/.lake/build/bin/lean4export
COMPARATOR_PATH=<path-to>/comparator/.lake/build/bin/comparator
SAFEVERIFY_PATH=<path-to>/safeverify/.lake/build/bin/safe_verify
For development, clone the Lean 4 source into the repo root for reference:
git clone https://github.com/leanprover/lean4.git lean4This is gitignored and used only for searching the compiler source.
make run # Run with 4 parallel workers (default)
make run JOBS=8 # Run with 8 workers
make run DEPTH=10 # Run with custom depthParallel execution achieves ~4x speedup. Each instance is fully isolated with temp directories.