etc/settings
author wenzelm
Sat Oct 04 17:40:56 2008 +0200 (2008-10-04)
changeset 28504 7ad7d7d6df47
parent 28474 d0b8b0a1fca5
child 28651 0e3f899eb6cf
permissions -rw-r--r--
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
# $Id$
wenzelm@2294
     3
#
wenzelm@2309
     4
# Isabelle settings -- site defaults.
wenzelm@16875
     5
#
wenzelm@16875
     6
# Important notes:
wenzelm@16875
     7
#   * See the system manual for explanations on Isabelle settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@16875
     9
#   * DO NOT COPY this file into your personal isabelle directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@3177
    12
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    13
###
wenzelm@2426
    14
wenzelm@16968
    15
# ML_HOME specifies the location of the actual compiler binaries.  Do
wenzelm@16968
    16
# not invent new ML system names unless you know what you are doing.
wenzelm@16968
    17
# Only one of the sections below should be activated.
kleing@14447
    18
wenzelm@21812
    19
# Poly/ML 4.x/5.x (automated settings)
wenzelm@16968
    20
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
wenzelm@16968
    21
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
wenzelm@16968
    22
ML_HOME=$(choosefrom \
wenzelm@16968
    23
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
wenzelm@16968
    24
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
wenzelm@17119
    25
  "/usr/local/polyml/$ML_PLATFORM" \
wenzelm@16968
    26
  "/usr/share/polyml/$ML_PLATFORM" \
wenzelm@16968
    27
  "/opt/polyml/$ML_PLATFORM" \
wenzelm@16968
    28
  $POLY_HOME)
wenzelm@16968
    29
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
wenzelm@25500
    30
ML_OPTIONS="-H 200"
wenzelm@17048
    31
ML_DBASE=""
wenzelm@8345
    32
wenzelm@25347
    33
# Poly/ML 5.1
wenzelm@25347
    34
#ML_PLATFORM=x86-linux
wenzelm@25347
    35
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@25347
    36
#ML_SYSTEM=polyml-5.1
wenzelm@25347
    37
#ML_OPTIONS="-H 500"
wenzelm@25347
    38
wenzelm@25347
    39
# Poly/ML 5.1 (64 bit)
wenzelm@20764
    40
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    41
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@24479
    42
#ML_SYSTEM=polyml-5.1
wenzelm@24479
    43
#ML_OPTIONS="-H 1000"
wenzelm@24479
    44
wenzelm@21812
    45
# Poly/ML 4.2.0
wenzelm@21812
    46
#ML_PLATFORM=x86-linux
wenzelm@21812
    47
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@21812
    48
#ML_SYSTEM=polyml-4.2.0
wenzelm@21812
    49
#ML_OPTIONS="-H 80"
wenzelm@21812
    50
wenzelm@25347
    51
# Standard ML of New Jersey (slow!)
wenzelm@8345
    52
#ML_SYSTEM=smlnj-110
wenzelm@25347
    53
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@8345
    54
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    55
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@25347
    56
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@5708
    57
wenzelm@25347
    58
# Moscow ML 2.00 (experimental!)
wenzelm@9252
    59
#ML_SYSTEM=mosml
wenzelm@25347
    60
#ML_HOME="/usr/local/mosml/bin"
wenzelm@25347
    61
#ML_OPTIONS=""
wenzelm@25347
    62
#ML_PLATFORM=""
wenzelm@25347
    63
wenzelm@25347
    64
# Alice 1.4 (experimental!)
wenzelm@25347
    65
#ML_SYSTEM=alice
wenzelm@25347
    66
#ML_HOME="/usr/local/alice/bin"
wenzelm@17825
    67
#ML_OPTIONS=""
wenzelm@6413
    68
#ML_PLATFORM=""
wenzelm@5708
    69
wenzelm@2294
    70
wenzelm@2426
    71
###
wenzelm@27906
    72
### JVM components (Scala or Java)
wenzelm@27906
    73
###
wenzelm@27906
    74
wenzelm@27912
    75
ISABELLE_SCALA="scala"
wenzelm@27912
    76
ISABELLE_JAVA="java"
wenzelm@27912
    77
wenzelm@27921
    78
[ -e "$ISABELLE_HOME/contrib/scala" ] && \
wenzelm@27921
    79
  classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
wenzelm@27921
    80
wenzelm@27906
    81
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@27906
    82
wenzelm@27906
    83
wenzelm@27906
    84
###
wenzelm@28504
    85
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    86
###
wenzelm@25627
    87
wenzelm@25627
    88
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    89
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    90
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    91
wenzelm@25627
    92
wenzelm@25627
    93
###
wenzelm@28504
    94
### Batch sessions (cf. isabelle usedir)
wenzelm@2435
    95
###
wenzelm@2435
    96
wenzelm@23138
    97
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
wenzelm@11569
    98
wenzelm@16186
    99
# Specifically for the HOL image
wenzelm@24439
   100
HOL_USEDIR_OPTIONS=""
wenzelm@24439
   101
#HOL_USEDIR_OPTIONS="-p 2"
kleing@14044
   102
wenzelm@23837
   103
#Source file identification (default: full name + date stamp)
wenzelm@23837
   104
ISABELLE_FILE_IDENT=""
wenzelm@23837
   105
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
   106
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
   107
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
   108
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
   109
wenzelm@2435
   110
wenzelm@2435
   111
###
wenzelm@28504
   112
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
   113
###
wenzelm@7773
   114
wenzelm@7773
   115
ISABELLE_LATEX="latex"
wenzelm@7773
   116
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
   117
ISABELLE_BIBTEX="bibtex"
kleing@14344
   118
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
   119
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   120
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   121
kleing@13920
   122
# Paranoia setting for strange latex installations ...
wenzelm@11062
   123
#unset TEXMF
wenzelm@11062
   124
wenzelm@7773
   125
wenzelm@7773
   126
###
wenzelm@2968
   127
### Misc path settings
wenzelm@2426
   128
###
wenzelm@2294
   129
wenzelm@2426
   130
# The place for user configuration, heap files, etc.
wenzelm@2426
   131
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   132
wenzelm@3177
   133
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   134
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   135
wenzelm@4334
   136
# Location for temporary files (should be on a local file system).
wenzelm@9787
   137
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   138
wenzelm@9787
   139
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   140
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   141
wenzelm@9787
   142
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@26212
   143
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@26212
   144
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   145
wenzelm@16186
   146
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   147
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   148
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   149
kleing@13920
   150
kleing@13920
   151
###
wenzelm@16875
   152
### default logic
kleing@13920
   153
###
wenzelm@16186
   154
wenzelm@3184
   155
ISABELLE_LOGIC=HOL
wenzelm@2294
   156
wenzelm@2786
   157
kleing@13920
   158
###
kleing@13920
   159
### Docs
kleing@13920
   160
###
wenzelm@2294
   161
wenzelm@16186
   162
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   163
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   164
wenzelm@16186
   165
# Preferred document format
wenzelm@15703
   166
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   167
wenzelm@16186
   168
# The dvi file viewer
wenzelm@3062
   169
DVI_VIEWER=xdvi
wenzelm@2426
   170
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   171
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   172
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   173
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   174
wenzelm@16186
   175
# The pdf file viewer
wenzelm@23138
   176
if [ $(uname -s) = Darwin ]; then
wenzelm@23138
   177
  PDF_VIEWER=open
wenzelm@23138
   178
else
wenzelm@23138
   179
  PDF_VIEWER=xpdf
wenzelm@23138
   180
fi
wenzelm@23138
   181
#PDF_VIEWER=acroread
wenzelm@23138
   182
#PDF_VIEWER=evince
wenzelm@23138
   183
kleing@15218
   184
wenzelm@16186
   185
# Printer spool command for PS files
wenzelm@14933
   186
PRINT_COMMAND=lp
wenzelm@14933
   187
wenzelm@2294
   188
wenzelm@2426
   189
###
wenzelm@2426
   190
### Interfaces
wenzelm@2426
   191
###
wenzelm@2426
   192
kleing@13920
   193
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   194
ISABELLE_INTERFACE=none
wenzelm@2294
   195
wenzelm@17574
   196
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   197
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   198
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@17119
   199
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@9787
   200
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@10070
   201
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   202
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   203
  "$ISABELLE_INTERFACE")
kleing@13920
   204
wenzelm@28249
   205
# Proof General home, look in a variety of places
wenzelm@28249
   206
PROOFGENERAL_HOME=$(choosefrom \
wenzelm@28249
   207
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   208
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   209
  "/usr/local/ProofGeneral" \
wenzelm@28249
   210
  "/usr/share/ProofGeneral" \
wenzelm@28249
   211
  "/opt/ProofGeneral" \
wenzelm@28249
   212
  "")
wenzelm@28249
   213
wenzelm@28473
   214
PROOFGENERAL_EMACS=$(choosefrom /Applications/Emacs.app/Contents/MacOS/Emacs emacs22)
wenzelm@28473
   215
PROOFGENERAL_OPTIONS="-p $PROOFGENERAL_EMACS"
wenzelm@28473
   216
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p $PROOFGENERAL_EMACS"
wenzelm@17574
   217
wenzelm@17383
   218
# Automatic setup of remote fonts
wenzelm@9994
   219
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   220
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   221
wenzelm@7185
   222
###
wenzelm@7185
   223
### External reasoning tools
wenzelm@7185
   224
###
wenzelm@7185
   225
wenzelm@7194
   226
## Set HOME only for tools you have installed!
wenzelm@7185
   227
wenzelm@26212
   228
# External provers
wenzelm@26212
   229
E_HOME=$(choosefrom "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" "/usr/local/E" "")
wenzelm@28474
   230
VAMPIRE_HOME=$(choosefrom "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" "/usr/local/Vampire" \
wenzelm@28474
   231
  "$ISABELLE_HOME/contrib/SystemOnTPTP" "")
wenzelm@26212
   232
SPASS_HOME=$(choosefrom "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" "/usr/local/SPASS" "")
wenzelm@26212
   233
wenzelm@17001
   234
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@26212
   235
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   236
wenzelm@7185
   237
# SVC (Stanford Validity Checker)
wenzelm@7185
   238
#SVC_HOME=
wenzelm@7185
   239
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   240
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   241
wenzelm@7296
   242
# Mucke (mu-calculus model checker)
wenzelm@7296
   243
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   244
wenzelm@7296
   245
# Einhoven model checker
wenzelm@7296
   246
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   247
webertj@20033
   248
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   249
#MINISAT_HOME=/usr/local/bin
webertj@20033
   250
webertj@17522
   251
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   252
#ZCHAFF_HOME=/usr/local/bin
webertj@15331
   253
#ZCHAFF_VERSION=2004.5.13
webertj@15331
   254
#ZCHAFF_VERSION=2004.11.15
webertj@14942
   255
webertj@17522
   256
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   257
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   258
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   259
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   260
webertj@17522
   261
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   262
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   263
obua@16873
   264
# For configuring HOL/Matrix/cplex
obua@16966
   265
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   266
# First option: use the commercial cplex solver
wenzelm@16968
   267
#LP_SOLVER=CPLEX
wenzelm@16968
   268
#CPLEX_PATH=cplex
obua@16873
   269
# Second option: use the open source glpk solver
wenzelm@16968
   270
#LP_SOLVER=GLPK
wenzelm@16968
   271
#GLPK_PATH=glpsol