In order to export HOL Light data:

Get Core HOL Light:
- go to the hh2 directory
- svn co http://hol-light.googlecode.com/svn/trunk hollight
- cd hollight
- make

Get flyspeck:
- go to hh2/hollight
- svn checkout http://flyspeck.googlecode.com/svn/trunk flyspeck

Get pari-gp: (can be skipped if you only export flyspeck)
- sudo apt-get install pari-gp 

Export:
  Manual
  first pass:
    cd ../../hollight   
    rm fusion.ml
    ln -s ../export/hollight/fusion1.ml fusion.ml
    (echo -e '#use "../export/hollight/hol1.ml";; \nhist_save();; \n' | ocaml)
  second pass:   
    rm fusion.ml
    ln -s ../export/hollight/fusion2.ml fusion.ml
    echo -e '#use "../export/hollight/hol2.ml";;\n' | ocaml
  Export the kernel;
    sh export_kernel.sh
  Export a theory (thy): (will export the core kernel at the same time)
    sh export.sh thy;
  Export all theories in a directory (dir):
    sh export_dir.sh dir
  Export many standard theories:
    sh export_all.sh
  Exporting flyspeck:
    sh export_flyspeck.sh

Warning:
  Moving this directory will require to change 
  the path in the scripts files and in historian1.ml, hol1.ml and hol2.ml.
