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 # Note that ML_HOME specifies the location of the actual compiler
16 # binaries. Do not invent new ML system names unless you know what
17 # you are doing. Only one of the sections below should be activated.
19 # try finding the poly packages from the Isabelle site in the usual places
20 POLYML_HOME=$(choosefrom \
21 "$ISABELLE_HOME/contrib/polyml" \
22 "$ISABELLE_HOME/../polyml" \
27 if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
28 # looks like Isabelle poly packages
29 ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
30 ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
31 ML_HOME="$POLYML_HOME/$ML_PLATFORM"
33 elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
34 # maybe a shrink-wrapped polyml on x86-linux ...
36 # Poly/ML 4.0, 4.1, 4.1.x
37 # include version number, needed for choosing right options
38 # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
39 ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
40 ML_SYSTEM=polyml-${ML_VERSION}
43 # where to find binaries
45 # where to find the standard database
46 ML_DBASE=/usr/lib/poly/ML_dbase
47 # options to pass to poly
51 # Standard ML of New Jersey 110 or later
52 #SMLNJ_CYGWIN_RUNTIME=1
54 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
55 #ML_OPTIONS="@SMLdebug=/dev/null"
56 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
58 # Moscow ML 2.00 or later (experimental!)
60 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
66 ### Compilation options (cf. isatool usedir)
69 ISABELLE_USEDIR_OPTIONS="-v true"
71 # Specifically for the HOL image
76 ### Document preparation (cf. isatool latex/document)
79 ISABELLE_LATEX="latex"
80 ISABELLE_PDFLATEX="pdflatex"
81 ISABELLE_BIBTEX="bibtex"
82 ISABELLE_MAKEINDEX="makeindex"
83 ISABELLE_DVIPS="dvips -D 600"
84 ISABELLE_EPSTOPDF="epstopdf"
86 # Paranoia setting for strange latex installations ...
89 # If ISABELLE_THUMBPDF is set, isatool tries to
90 # generate thumbnails for proof documents
91 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
95 ### Misc path settings
98 # The place for user configuration, heap files, etc.
99 ISABELLE_HOME_USER=~/isabelle
101 # Where to look for isabelle tools (multiple dirs separated by ':').
102 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
104 # Location for temporary files (should be on a local file system).
105 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
107 # Heap input locations. ML system identifier is included in lookup.
108 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
110 # Heap output location. ML system identifier is appended automatically later on.
111 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
112 #Isabelle build tells us to store heaps etc. within the distribution.
113 ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
114 ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
116 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
117 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
120 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
121 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
122 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
136 # Where to look for docs (multiple dirs separated by ':').
137 ISABELLE_DOCS="$ISABELLE_HOME/doc"
139 # Preferred document format
140 ISABELLE_DOC_FORMAT=pdf
142 # The dvi file viewer
144 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
145 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
146 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
147 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
149 # The pdf file viewer
152 #PDF_VIEWER=open #best for Mac users: will open in default PDF viewer
154 # Printer spool command for PS files
162 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
164 # Fallback: the null interface (pass-through to raw isabelle process).
165 ISABELLE_INTERFACE=none
167 # Proof General path, look in a variety of places
168 ISABELLE_INTERFACE=$(choosefrom\
169 "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
170 "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
171 "/usr/share/ProofGeneral/isar/interface" \
172 "/usr/local/ProofGeneral/isar/interface" \
173 "/opt/ProofGeneral/isar/interface" \
174 "/usr/share/emacs/ProofGeneral/isar/interface" \
175 "$ISABELLE_INTERFACE")
177 # Options to pass to Isabelle command when PG is selected as interface
178 PROOFGENERAL_OPTIONS=""
179 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
181 type -path xemacs >/dev/null || \
182 PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
184 # Executed before xemacs with ProofGeneral is called; required for remote fonts.
185 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
189 ### External reasoning tools
192 ## Set HOME only for tools you have installed!
194 # SVC (Stanford Validity Checker)
196 #SVC_MACHINE=i386-redhat-linux
197 #SVC_MACHINE=sparc-sun-solaris
199 # Mucke (mu-calculus model checker)
200 #MUCKE_HOME=/usr/local/bin
202 # Einhoven model checker
203 #EINDHOVEN_HOME=/usr/local/bin
205 # zChaff (SAT Solver)
206 #ZCHAFF_HOME=/usr/local/bin
207 #ZCHAFF_VERSION=2004.5.13
208 #ZCHAFF_VERSION=2004.11.15
210 # BerkMin561 (SAT Solver)
211 #BERKMIN_HOME=/usr/local/bin
212 #BERKMIN_EXE=BerkMin561-linux
213 #BERKMIN_EXE=BerkMin561-solaris
215 # Jerusat 1.3 (SAT Solver)
216 #JERUSAT_HOME=/usr/local/bin
218 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
219 HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
221 # For configuring HOL/Matrix/cplex
222 # First option: use the commercial cplex solver
223 #LP_SOLVER_NAME=CPLEX
224 #LP_SOLVER_PATH=cplex
225 # Second option: use the open source glpk solver
227 #LP_SOLVER_PATH=glpsol