etc/settings
author wenzelm
Sun, 21 Jan 2007 16:43:47 +0100
changeset 22148 3b99944136ef
parent 21812 2776dcfd5617
child 23138 6852373aae8a
permissions -rw-r--r--
tuned comments
     1 # -*- shell-script -*-
     2 # $Id$
     3 #
     4 # Isabelle settings -- site defaults.
     5 #
     6 # Important notes:
     7 #   * See the system manual for explanations on Isabelle settings
     8 #   * DO NOT EDIT the repository copy of this file!
     9 #   * DO NOT COPY this file into your personal isabelle directory!
    10 
    11 ###
    12 ### ML compiler settings (ESSENTIAL!)
    13 ###
    14 
    15 # ML_HOME specifies the location of the actual compiler binaries.  Do
    16 # not invent new ML system names unless you know what you are doing.
    17 # Only one of the sections below should be activated.
    18 
    19 # Poly/ML 4.x/5.x (automated settings)
    20 POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
    21 ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
    22 ML_HOME=$(choosefrom \
    23   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    24   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    25   "/usr/local/polyml/$ML_PLATFORM" \
    26   "/usr/share/polyml/$ML_PLATFORM" \
    27   "/opt/polyml/$ML_PLATFORM" \
    28   $POLY_HOME)
    29 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    30 ML_OPTIONS="-H 80"
    31 ML_DBASE=""
    32 
    33 # Poly/ML 5.0
    34 #ML_PLATFORM=x86_64-linux
    35 #ML_HOME=/usr/local/polyml/x86_64-linux
    36 #ML_SYSTEM=polyml-5.0
    37 #ML_OPTIONS="-H 500"
    38 
    39 # Poly/ML 4.2.0
    40 #ML_PLATFORM=x86-linux
    41 #ML_HOME=/usr/local/polyml/x86-linux
    42 #ML_SYSTEM=polyml-4.2.0
    43 #ML_OPTIONS="-H 80"
    44 
    45 # Standard ML of New Jersey 110 or later
    46 #SMLNJ_CYGWIN_RUNTIME=1
    47 #ML_SYSTEM=smlnj-110
    48 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
    49 #ML_OPTIONS="@SMLdebug=/dev/null"
    50 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    51 
    52 # Moscow ML 2.00 or later (experimental!)
    53 #ML_SYSTEM=mosml
    54 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
    55 #ML_OPTIONS=""
    56 #ML_PLATFORM=""
    57 
    58 # Poplog/PML version 15.6/2.1 (experimental!)
    59 #ML_SYSTEM=poplogml
    60 #ML_HOME="/usr/local/poplog/current-poplog/bin"
    61 #ML_OPTIONS="-noinit"
    62 #ML_SUFFIX=".psv"
    63 #ML_PLATFORM=""
    64 
    65 # Alice 1.3 (experimental!)
    66 #ML_SYSTEM=alice
    67 #ML_HOME="/usr/local/alice/bin"
    68 #ML_OPTIONS=""
    69 #ML_PLATFORM=""
    70 
    71 
    72 ###
    73 ### Compilation options (cf. isatool usedir)
    74 ###
    75 
    76 ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML"
    77 
    78 # Specifically for the HOL image
    79 HOL_USEDIR_OPTIONS="-p 1"
    80 
    81 
    82 ###
    83 ### Document preparation (cf. isatool latex/document)
    84 ###
    85 
    86 ISABELLE_LATEX="latex"
    87 ISABELLE_PDFLATEX="pdflatex"
    88 ISABELLE_BIBTEX="bibtex"
    89 ISABELLE_MAKEINDEX="makeindex"
    90 ISABELLE_DVIPS="dvips -D 600"
    91 ISABELLE_EPSTOPDF="epstopdf"
    92 
    93 # Paranoia setting for strange latex installations ...
    94 #unset TEXMF
    95 
    96 # If ISABELLE_THUMBPDF is set, isatool tries to
    97 # generate thumbnails for proof documents
    98 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    99 
   100 
   101 ###
   102 ### Misc path settings
   103 ###
   104 
   105 # The place for user configuration, heap files, etc.
   106 ISABELLE_HOME_USER=~/isabelle
   107 
   108 # Where to look for isabelle tools (multiple dirs separated by ':').
   109 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   110 
   111 # Location for temporary files (should be on a local file system).
   112 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   113 
   114 # Heap input locations. ML system identifier is included in lookup.
   115 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   116 
   117 # Heap output location. ML system identifier is appended automatically later on.
   118 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   119   #Isabelle build tells us to store heaps etc. within the distribution.
   120   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   121   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   122 else
   123   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   124   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   125 fi
   126 
   127 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   128 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   129   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   130 
   131 
   132 ###
   133 ### default logic
   134 ###
   135 
   136 ISABELLE_LOGIC=HOL
   137 
   138 
   139 ###
   140 ### Docs
   141 ###
   142 
   143 # Where to look for docs (multiple dirs separated by ':').
   144 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   145 
   146 # Preferred document format
   147 ISABELLE_DOC_FORMAT=pdf
   148 
   149 # The dvi file viewer
   150 DVI_VIEWER=xdvi
   151 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   152 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   153 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   154 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   155 
   156 # The pdf file viewer
   157 PDF_VIEWER=acroread
   158 #PDF_VIEWER=xpdf
   159 #PDF_VIEWER=open  #best for Mac users: will open in default PDF viewer
   160 
   161 # Printer spool command for PS files
   162 PRINT_COMMAND=lp
   163 
   164 
   165 ###
   166 ### Interfaces
   167 ###
   168 
   169 # Fallback: the null interface (pass-through to raw isabelle process).
   170 ISABELLE_INTERFACE=none
   171 
   172 # Proof General path, look in a variety of places
   173 ISABELLE_INTERFACE=$(choosefrom \
   174   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   175   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   176   "/usr/local/ProofGeneral/isar/interface" \
   177   "/usr/share/ProofGeneral/isar/interface" \
   178   "/opt/ProofGeneral/isar/interface" \
   179   "/usr/share/emacs/ProofGeneral/isar/interface" \
   180   "$ISABELLE_INTERFACE")
   181 
   182 PROOFGENERAL_OPTIONS=""
   183 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
   184 
   185 type -path xemacs >/dev/null || \
   186   PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   187 
   188 # Automatic setup of remote fonts
   189 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   190 
   191 
   192 ###
   193 ### External reasoning tools
   194 ###
   195 
   196 ## Set HOME only for tools you have installed!
   197 
   198 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   199 HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   200 
   201 # SVC (Stanford Validity Checker)
   202 #SVC_HOME=
   203 #SVC_MACHINE=i386-redhat-linux
   204 #SVC_MACHINE=sparc-sun-solaris
   205 
   206 # Mucke (mu-calculus model checker)
   207 #MUCKE_HOME=/usr/local/bin
   208 
   209 # Einhoven model checker
   210 #EINDHOVEN_HOME=/usr/local/bin
   211 
   212 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   213 #MINISAT_HOME=/usr/local/bin
   214 
   215 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   216 #ZCHAFF_HOME=/usr/local/bin
   217 #ZCHAFF_VERSION=2004.5.13
   218 #ZCHAFF_VERSION=2004.11.15
   219 
   220 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   221 #BERKMIN_HOME=/usr/local/bin
   222 #BERKMIN_EXE=BerkMin561-linux
   223 #BERKMIN_EXE=BerkMin561-solaris
   224 
   225 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   226 #JERUSAT_HOME=/usr/local/bin
   227 
   228 # For configuring HOL/Matrix/cplex
   229 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   230 # First option: use the commercial cplex solver
   231 #LP_SOLVER=CPLEX
   232 #CPLEX_PATH=cplex
   233 # Second option: use the open source glpk solver
   234 #LP_SOLVER=GLPK
   235 #GLPK_PATH=glpsol
   236 
   237 # External provers
   238 #VAMPIRE_HOME=/usr/local/Vampire
   239 #E_HOME=/usr/local/E