3 # Author: Markus Wenzel, TU Muenchen
5 # Isabelle settings -- site defaults.
6 # Do *NOT* copy this file into your personal isabelle directory!!!
9 ### ML compiler settings (ESSENTIAL!)
12 # Note that ML_HOME specifies the location of the actual compiler
13 # binaries. Do not invent new ML system names unless you know what
14 # you are doing. Only one of the sections below should be activated.
17 # try finding the poly packages from the Isabelle site in the usual places
18 POLYML_HOME=$(choosefrom \
19 "$ISABELLE_HOME/contrib/polyml" \
20 "$ISABELLE_HOME/../polyml" \
25 if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
26 # looks like Isabelle poly packages
27 ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
28 ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
29 ML_HOME="$POLYML_HOME/$ML_PLATFORM"
31 elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
32 # maybe a shrink-wrapped polyml on x86-linux ...
34 # Poly/ML 4.0, 4.1, 4.1.x
35 # include version number, needed for choosing right options
36 ML_SYSTEM=polyml-4.1.3
39 # where to find binaries
41 # where to find the standard database
42 ML_DBASE=/usr/lib/poly/ML_dbase
43 # options to pass to poly
47 # Standard ML of New Jersey 110 or later
49 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
50 #ML_OPTIONS="@SMLdebug=/dev/null"
51 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
53 # Moscow ML 2.00 or later (experimental!)
55 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
61 ### Compilation options for isatool usedir
62 ### (as on command line)
65 ISABELLE_USEDIR_OPTIONS="-v true"
67 # for overriding proof objects in HOL image
72 ### Document preparation
75 # latex command for isatool latex/document
76 ISABELLE_LATEX="latex"
78 # pdflatex command for isatool latex/document
79 ISABELLE_PDFLATEX="pdflatex"
81 # bibtex command for isatool latex/document
82 ISABELLE_BIBTEX="bibtex"
84 # makeindex command for isatool latex/document
85 ISABELLE_MAKEINDEX="makeindex"
87 # dvips command for isatool latex/document
88 ISABELLE_DVIPS="dvips -D 600"
90 # epstopdf command for isatool latex/document
91 ISABELLE_EPSTOPDF="epstopdf"
93 # Paranoia setting for strange latex installations ...
96 # If ISABELLE_THUMBPDF is set, isatool tries to
97 # generate thumbnails for proof documents
99 # probably not generally available ...
100 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
104 ### Misc path settings
107 # The place for user configuration, heap files, etc.
108 ISABELLE_HOME_USER=~/isabelle
110 # Where to look for isabelle tools (multiple dirs separated by ':').
111 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
113 # Location for temporary files (should be on a local file system).
114 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
117 # Heap input locations. ML system identifier is included in lookup.
118 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
120 # Heap output location. ML system identifier is appended automatically later on.
121 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
122 #Isabelle build tells us to store heaps etc. within the distribution.
123 ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
124 ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
126 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
127 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
130 # Site settings check -- just to make it a little bit harder to copy this file!
131 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
132 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
136 ### default logic, users may want to override this.
145 #Where to look for docs (multiple dirs separated by ':').
146 ISABELLE_DOCS="$ISABELLE_HOME/doc"
150 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
151 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
152 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
153 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
158 #PDF_VIEWER=xpdf ##best for Mac users: will open in preferred PDF app.
160 #Printer spool command for PS files
168 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
170 # Fallback: the null interface (pass-through to raw isabelle process).
171 ISABELLE_INTERFACE=none
173 # Emacs running (obsolete) Isamode.
174 #ISABELLE_INTERFACE=emacs
175 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
178 # Proof General path, look in a variety of places
179 ISABELLE_INTERFACE=$(choosefrom \
180 "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
181 "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
182 "/usr/share/ProofGeneral/isar/interface" \
183 "/usr/local/ProofGeneral/isar/interface" \
184 "/opt/ProofGeneral/isar/interface" \
185 "/usr/share/emacs/ProofGeneral/isar/interface" \
186 "$ISABELLE_INTERFACE")
188 # Options to pass to Isabelle command when PG is selected as interface
189 PROOFGENERAL_OPTIONS=""
190 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
192 # try xemacs first, else emacs
193 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
196 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
197 XSYMBOL_HOME=$(choosefrom \
198 "$ISABELLE_HOME/contrib/x-symbol" \
199 "$ISABELLE_HOME/../x-symbol" \
200 "/usr/share/x-symbol" \
201 "/usr/local/x-symbol" \
205 # Executed before xemacs with ProofGeneral is called.
206 # Required for remote fonts only.
207 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
211 ### External reasoning tools
214 ## Set HOME only for tools you have installed!
216 # SVC (Stanford Validity Checker)
218 #SVC_MACHINE=i386-redhat-linux
219 #SVC_MACHINE=sparc-sun-solaris
221 # Mucke (mu-calculus model checker)
222 #MUCKE_HOME=/usr/local/bin
224 # Einhoven model checker
225 #EINDHOVEN_HOME=/usr/local/bin
227 # ZChaff, Version 2004.05.13 (SAT Solver)
228 #ZCHAFF_HOME=/usr/local/bin
230 # BerkMin561 (SAT Solver)
231 #BERKMIN_HOME=/usr/local/bin
232 #BERKMIN_EXE=BerkMin561-linux
233 #BERKMIN_EXE=BerkMin561-solaris
235 # Jerusat 1.3 (SAT Solver)
236 #JERUSAT_HOME=/usr/local/bin