uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
1 # -*- shell-script -*- :mode=shellscript:
4 # Isabelle settings -- site defaults.
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!
12 ### ML compiler settings (ESSENTIAL!)
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.
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" \
29 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
34 #ML_PLATFORM=x86-linux
35 #ML_HOME=/usr/local/polyml/x86-linux
39 # Poly/ML 5.1 (64 bit)
40 #ML_PLATFORM=x86_64-linux
41 #ML_HOME=/usr/local/polyml/x86_64-linux
46 #ML_PLATFORM=x86-linux
47 #ML_HOME=/usr/local/polyml/x86-linux
48 #ML_SYSTEM=polyml-4.2.0
51 # Standard ML of New Jersey (slow!)
53 #ML_HOME="/usr/local/smlnj/bin"
54 #ML_OPTIONS="@SMLdebug=/dev/null"
55 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
56 #SMLNJ_CYGWIN_RUNTIME=1
58 # Moscow ML 2.00 (experimental!)
60 #ML_HOME="/usr/local/mosml/bin"
64 # Alice 1.4 (experimental!)
66 #ML_HOME="/usr/local/alice/bin"
72 ### JVM components (Scala or Java)
75 ISABELLE_SCALA="scala"
78 if [ -e "$ISABELLE_HOME/contrib/scala" ]; then
79 classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
80 elif [ -e "$ISABELLE_HOME/../scala" ]; then
81 classpath "$ISABELLE_HOME/../scala/lib/scala-library.jar"
84 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
88 ### Interactive sessions (cf. isabelle tty)
91 ISABELLE_LINE_EDITOR=""
92 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
93 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
97 ### Batch sessions (cf. isabelle usedir)
100 ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
102 # Specifically for the HOL image
103 HOL_USEDIR_OPTIONS=""
104 #HOL_USEDIR_OPTIONS="-p 2"
106 #Source file identification (default: full name + date stamp)
107 ISABELLE_FILE_IDENT=""
108 #ISABELLE_FILE_IDENT="md5"
109 #ISABELLE_FILE_IDENT="md5sum"
110 #ISABELLE_FILE_IDENT="sha1sum"
111 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
115 ### Document preparation (cf. isabelle latex/document)
118 ISABELLE_LATEX="latex"
119 ISABELLE_PDFLATEX="pdflatex"
120 ISABELLE_BIBTEX="bibtex"
121 ISABELLE_MAKEINDEX="makeindex"
122 ISABELLE_DVIPS="dvips -D 600"
123 ISABELLE_EPSTOPDF="epstopdf"
125 # Paranoia setting for strange latex installations ...
130 ### Misc path settings
133 # The place for user configuration, heap files, etc.
134 ISABELLE_HOME_USER=~/.isabelle
136 # Where to look for isabelle tools (multiple dirs separated by ':').
137 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
139 # Location for temporary files (should be on a local file system).
140 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
142 # Heap input locations. ML system identifier is included in lookup.
143 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
145 # Heap output location. ML system identifier is appended automatically later on.
146 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
147 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
149 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
150 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
151 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
165 # Where to look for docs (multiple dirs separated by ':').
166 ISABELLE_DOCS="$ISABELLE_HOME/doc"
168 # Preferred document format
169 ISABELLE_DOC_FORMAT=pdf
171 # The dvi file viewer
173 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
174 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
175 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
176 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
178 # The pdf file viewer
179 if [ $(uname -s) = Darwin ]; then
188 # Printer spool command for PS files
193 ### Proof General / Emacs
196 # Proof General home, look in a variety of places
197 PROOFGENERAL_HOME=$(choosefrom \
198 "$ISABELLE_HOME/contrib/ProofGeneral" \
199 "$ISABELLE_HOME/../ProofGeneral" \
200 "/usr/local/ProofGeneral" \
201 "/usr/share/ProofGeneral" \
202 "/opt/ProofGeneral" \
205 PROOFGENERAL_EMACS=$(choosefrom /Applications/Emacs.app/Contents/MacOS/Emacs emacs22)
206 PROOFGENERAL_OPTIONS="-p $PROOFGENERAL_EMACS"
207 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p $PROOFGENERAL_EMACS"
209 # Automatic setup of remote fonts
210 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
211 XSYMBOL_INSTALLFONTS=""
218 JEDIT_HOME=$(choosefrom \
219 "$ISABELLE_HOME/contrib/jedit" \
220 "$ISABELLE_HOME/../jedit" \
226 JEDIT_JAVA_OPTIONS=""
227 #JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
228 JEDIT_OPTIONS="-reuseview -noserver -nobackground"
232 ### External reasoning tools
235 ## Set HOME only for tools you have installed!
238 E_HOME=$(choosefrom \
239 "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
240 "$ISABELLE_HOME/../E/$ML_PLATFORM" \
243 VAMPIRE_HOME=$(choosefrom \
244 "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
245 "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
246 "/usr/local/Vampire" \
247 "$ISABELLE_HOME/contrib/SystemOnTPTP" \
249 SPASS_HOME=$(choosefrom \
250 "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
251 "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
255 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
256 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
258 # SVC (Stanford Validity Checker)
260 #SVC_MACHINE=i386-redhat-linux
261 #SVC_MACHINE=sparc-sun-solaris
263 # Mucke (mu-calculus model checker)
264 #MUCKE_HOME=/usr/local/bin
266 # Einhoven model checker
267 #EINDHOVEN_HOME=/usr/local/bin
269 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
270 #MINISAT_HOME=/usr/local/bin
272 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
273 #ZCHAFF_HOME=/usr/local/bin
274 #ZCHAFF_VERSION=2004.5.13
275 #ZCHAFF_VERSION=2004.11.15
277 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
278 #BERKMIN_HOME=/usr/local/bin
279 #BERKMIN_EXE=BerkMin561-linux
280 #BERKMIN_EXE=BerkMin561-solaris
282 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
283 #JERUSAT_HOME=/usr/local/bin
285 # For configuring HOL/Matrix/cplex
286 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
287 # First option: use the commercial cplex solver
290 # Second option: use the open source glpk solver