1 # -*- shell-script -*- :mode=shellscript:
3 # Isabelle settings -- site defaults.
6 # * See the system manual for explanations on Isabelle settings
7 # * DO NOT EDIT the repository copy of this file!
8 # * DO NOT COPY this file into your personal isabelle directory!
11 ### ML compiler settings (ESSENTIAL!)
14 # ML_HOME specifies the location of the actual compiler binaries. Do
15 # not invent new ML system names unless you know what you are doing.
16 # Only one of the sections below should be activated.
18 # Poly/ML 5.x (automated settings)
19 ML_PLATFORM="$ISABELLE_PLATFORM"
20 ML_HOME="$(choosefrom \
21 "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
22 "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
23 "/usr/local/polyml/$ML_PLATFORM" \
24 "/usr/share/polyml/$ML_PLATFORM" \
25 "/opt/polyml/$ML_PLATFORM" \
27 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
29 ML_SOURCES="$ML_HOME/../src"
32 #ML_PLATFORM=x86-linux
33 #ML_HOME=/usr/local/polyml/x86-linux
34 #ML_SYSTEM=polyml-5.4.0
36 #ML_SOURCES="$ML_HOME/../src"
38 # Poly/ML 5.4.0 (64 bit)
39 #ML_PLATFORM=x86_64-linux
40 #ML_HOME=/usr/local/polyml/x86_64-linux
41 #ML_SYSTEM=polyml-5.4.0
43 #ML_SOURCES="$ML_HOME/../src"
45 # Standard ML of New Jersey (slow!)
47 #ML_HOME="/usr/local/smlnj/bin"
48 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
49 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
50 #SMLNJ_CYGWIN_RUNTIME=1
54 ### JVM components (Scala or Java)
57 if [ -n "$JAVA_HOME" ]; then
58 ISABELLE_JAVA="$JAVA_HOME/bin/java"
63 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
67 ### Interactive sessions (cf. isabelle tty)
70 ISABELLE_LINE_EDITOR=""
71 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
72 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
76 ### Batch sessions (cf. isabelle usedir)
79 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
81 #Source file identification (default: full name + date stamp)
82 ISABELLE_FILE_IDENT=""
83 #ISABELLE_FILE_IDENT="md5"
84 #ISABELLE_FILE_IDENT="md5sum"
85 #ISABELLE_FILE_IDENT="sha1sum"
86 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
90 ### Document preparation (cf. isabelle latex/document)
93 ISABELLE_LATEX="latex"
94 ISABELLE_PDFLATEX="pdflatex"
95 ISABELLE_BIBTEX="bibtex"
96 ISABELLE_MAKEINDEX="makeindex"
97 ISABELLE_DVIPS="dvips -D 600"
98 ISABELLE_EPSTOPDF="epstopdf"
100 # Paranoia setting for strange latex installations ...
105 ### Misc path settings
108 # The place for user configuration, heap files, etc.
109 ISABELLE_HOME_USER="$HOME/.isabelle/$ISABELLE_IDENTIFIER"
111 # Where to look for isabelle tools (multiple dirs separated by ':').
112 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
114 # Location for temporary files (should be on a local file system).
115 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 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
122 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
124 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
125 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
126 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
127 ISABELLE_SITE_SETTINGS_PRESENT=true
141 # Where to look for docs (multiple dirs separated by ':').
142 ISABELLE_DOCS="$ISABELLE_HOME/doc"
144 # Preferred document format
145 ISABELLE_DOC_FORMAT=pdf
147 # The dvi file viewer
149 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
150 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
151 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
152 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
154 # The pdf file viewer
155 case "$ISABELLE_PLATFORM" in
157 PDF_VIEWER="open -W -n"
167 # Printer spool command for PS files
172 ### Proof General / Emacs
175 # Proof General home, look in a variety of places
176 PROOFGENERAL_HOME="$(choosefrom \
177 "$ISABELLE_HOME/contrib/ProofGeneral" \
178 "$ISABELLE_HOME/../ProofGeneral" \
179 "/usr/local/ProofGeneral" \
180 "/usr/share/ProofGeneral" \
181 "/opt/ProofGeneral" \
184 PROOFGENERAL_OPTIONS=""
185 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
187 # Automatic setup of remote fonts
188 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
189 XSYMBOL_INSTALLFONTS=""
193 ### Rendering information
196 ISABELLE_FONT_FAMILY="IsabelleText"
197 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
201 ### External reasoning tools
204 ## Set HOME only for tools you have installed!
207 #E_HOME=/usr/local/bin
208 #SPASS_HOME=/usr/local/bin
209 #VAMPIRE_HOME=/usr/local/bin
211 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
212 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
214 # SVC (Stanford Validity Checker)
216 #SVC_MACHINE=i386-redhat-linux
217 #SVC_MACHINE=sparc-sun-solaris
219 # Mucke (mu-calculus model checker)
220 #MUCKE_HOME=/usr/local/bin
222 # Einhoven model checker
223 #EINDHOVEN_HOME=/usr/local/bin
225 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
226 #MINISAT_HOME=/usr/local/bin
228 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
229 #ZCHAFF_HOME=/usr/local/bin
231 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
232 #BERKMIN_HOME=/usr/local/bin
233 #BERKMIN_EXE=BerkMin561-linux
234 #BERKMIN_EXE=BerkMin561-solaris
236 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
237 #JERUSAT_HOME=/usr/local/bin
239 # CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML)
242 # For configuring HOL/Matrix/cplex
243 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
244 # First option: use the commercial cplex solver
247 # Second option: use the open source glpk solver