Installation
============

IsarMathLib is an Isabelle session.
Isabelle is a theorem proving environment developed at Cambridge University and TU Munich (see http://www.cl.cam.ac.uk/Research/HVG/Isabelle/index.html).
Isabelle needs to be installed on the machine before you can generate IsarMathLib proof documents or verify the proofs. The Isabelle site provides the installation instructions. IsarMathLib is always tested only with the version of Isabelle that is current at the time of IsarMathLib release.

IsarMathLib needs Isabelle/ZF logic that is not shipped precompiled in the Isabelle distribution bundle. To build the ZF heap go to the directory where you have unpacked Isabelle and type "./bin/isabelle build -b ZF". Alternatively, one can change the default logic in the etc/settings file from HOL to ZF and then start Isabelle environment with the main Isabelle2015.run script. This should start with building the ZF heap image.

After unpacking the IsarMathLib project, make sure you have LaTeX (including extras, for example in Ubuntu run "apt-get install texlive-latex-extras".

Then process the theory files with the "isabelle build -D ./IsarMathLib " command issued in the main project directory where this file is. Make sure the bin directory of the Isabelle distribution is in PATH environment variable, or provide the full path to isabelle executable located there. Checking the proofs will take a couple of minutes, but will eventually produce the proof document and outline and tell you the files are located. 


