Formalisation of the proof of the 'germs' version of the reconstruction theorem.
To build the Lean files of this project, you need to have a working version of Lean. See the installation instructions (under Regular install).
To build the project, run lake exe cache get
and then lake build
.
To build the web version of the blueprint, you need a working LaTeX installation. Furthermore, you need some packages:
# On Ubuntu
sudo apt install graphviz libgraphviz-dev
# On Mac
brew install graphviz
For other systems, see PyGraphviz: Install.
Then, you need to install the Python dependencies:
pip uninstall -y leanblueprint
pip install -r blueprint/requirements.txt
To actually build the blueprint, run
lake exe cache get
lake build
inv all
To view the web-version of the blueprint locally, run inv serve
and navigate to
http://localhost:8000/
in your favorite browser.
Or you can just run inv dev
instead of inv all
and inv serve
, after each edit to the LaTeX,
it will automatically rebuild the blueprint, you just need to refresh the web page to see the rendered result.
Note: If you have something wrong in your LaTeX file, and the LaTeX compilation fails,
LaTeX will stuck and ask for commands, you'll need to type X
then return to exit LaTeX,
then fix the LaTeX error, and run inv dev
again.