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 http://www.cl.cam.ac.uk/research/hvg/isabelle/download.html site provides installation instructions for Isabelle. IsarMathLib is always tested only with Isabelle version 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 "./build ZF".

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

Then process the theory files with the "isabelle make" command issued in the main project directory (where the IsaMakefile is). (For older versions of Isabelle, "isatool make"). This will take a while, but will eventually create a few PDF files (and tell you the names of the files). You can also type "isabelle" to see what your other choices are (for example, "isabelle jedit" or "isabelle emacs").

If you wish to browse/modify theory files with Proof General, set your logic to ZF (Isabelle/Isar/Logics/ZF).

