etc/settings
author wenzelm
Fri Aug 10 10:41:57 2007 +0200 (2007-08-10)
changeset 24211 213215a8640a
parent 23917 8be45ac3bb7b
child 24212 62ea51f106b9
permissions -rw-r--r--
added jEdit mode spec;
tuned comments;
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")
kleing@23917
    30
ML_OPTIONS="-H 500"
wenzelm@17048
    31
ML_DBASE=""
wenzelm@8345
    32
wenzelm@21653
    33
# Poly/ML 5.0
wenzelm@20764
    34
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    35
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@21653
    36
#ML_SYSTEM=polyml-5.0
wenzelm@20987
    37
#ML_OPTIONS="-H 500"
wenzelm@20764
    38
wenzelm@21812
    39
# Poly/ML 4.2.0
wenzelm@21812
    40
#ML_PLATFORM=x86-linux
wenzelm@21812
    41
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@21812
    42
#ML_SYSTEM=polyml-4.2.0
wenzelm@21812
    43
#ML_OPTIONS="-H 80"
wenzelm@21812
    44
wenzelm@5708
    45
# Standard ML of New Jersey 110 or later
wenzelm@16250
    46
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@8345
    47
#ML_SYSTEM=smlnj-110
wenzelm@15846
    48
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
wenzelm@8345
    49
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    50
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    51
wenzelm@9252
    52
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    53
#ML_SYSTEM=mosml
wenzelm@15846
    54
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
wenzelm@17825
    55
#ML_OPTIONS=""
wenzelm@6413
    56
#ML_PLATFORM=""
wenzelm@5708
    57
wenzelm@17768
    58
# Poplog/PML version 15.6/2.1 (experimental!)
wenzelm@17768
    59
#ML_SYSTEM=poplogml
wenzelm@17825
    60
#ML_HOME="/usr/local/poplog/current-poplog/bin"
wenzelm@17768
    61
#ML_OPTIONS="-noinit"
wenzelm@17793
    62
#ML_SUFFIX=".psv"
wenzelm@17825
    63
#ML_PLATFORM=""
wenzelm@17768
    64
wenzelm@24211
    65
# Alice 1.4 (experimental!)
wenzelm@22148
    66
#ML_SYSTEM=alice
wenzelm@22148
    67
#ML_HOME="/usr/local/alice/bin"
wenzelm@22148
    68
#ML_OPTIONS=""
wenzelm@22148
    69
#ML_PLATFORM=""
wenzelm@22148
    70
wenzelm@2294
    71
wenzelm@2426
    72
###
wenzelm@16186
    73
### Compilation options (cf. isatool usedir)
wenzelm@2435
    74
###
wenzelm@2435
    75
wenzelm@23138
    76
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
wenzelm@11569
    77
wenzelm@16186
    78
# Specifically for the HOL image
wenzelm@23138
    79
HOL_USEDIR_OPTIONS=""
wenzelm@23138
    80
#HOL_USEDIR_OPTIONS="-p 2"
kleing@14044
    81
wenzelm@23837
    82
#Source file identification (default: full name + date stamp)
wenzelm@23837
    83
ISABELLE_FILE_IDENT=""
wenzelm@23837
    84
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
    85
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
    86
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
    87
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
    88
wenzelm@2435
    89
wenzelm@2435
    90
###
wenzelm@16186
    91
### Document preparation (cf. isatool latex/document)
wenzelm@7773
    92
###
wenzelm@7773
    93
wenzelm@7773
    94
ISABELLE_LATEX="latex"
wenzelm@7773
    95
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    96
ISABELLE_BIBTEX="bibtex"
kleing@14344
    97
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    98
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    99
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   100
kleing@13920
   101
# Paranoia setting for strange latex installations ...
wenzelm@11062
   102
#unset TEXMF
wenzelm@11062
   103
kleing@13920
   104
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
   105
# generate thumbnails for proof documents
wenzelm@11062
   106
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
   107
wenzelm@7773
   108
wenzelm@7773
   109
###
wenzelm@2968
   110
### Misc path settings
wenzelm@2426
   111
###
wenzelm@2294
   112
wenzelm@2426
   113
# The place for user configuration, heap files, etc.
wenzelm@2426
   114
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   115
wenzelm@3177
   116
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   117
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   118
wenzelm@4334
   119
# Location for temporary files (should be on a local file system).
wenzelm@9787
   120
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   121
wenzelm@9787
   122
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   123
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   124
wenzelm@9787
   125
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@15846
   126
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@15846
   127
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@15846
   128
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@15846
   129
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@15846
   130
else
wenzelm@21489
   131
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@9787
   132
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@15846
   133
fi
wenzelm@2780
   134
wenzelm@16186
   135
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   136
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   137
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   138
kleing@13920
   139
kleing@13920
   140
###
wenzelm@16875
   141
### default logic
kleing@13920
   142
###
wenzelm@16186
   143
wenzelm@3184
   144
ISABELLE_LOGIC=HOL
wenzelm@2294
   145
wenzelm@2786
   146
kleing@13920
   147
###
kleing@13920
   148
### Docs
kleing@13920
   149
###
wenzelm@2294
   150
wenzelm@16186
   151
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   152
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   153
wenzelm@16186
   154
# Preferred document format
wenzelm@15703
   155
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   156
wenzelm@16186
   157
# The dvi file viewer
wenzelm@3062
   158
DVI_VIEWER=xdvi
wenzelm@2426
   159
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   160
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   161
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   162
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   163
wenzelm@16186
   164
# The pdf file viewer
wenzelm@23138
   165
if [ $(uname -s) = Darwin ]; then
wenzelm@23138
   166
  PDF_VIEWER=open
wenzelm@23138
   167
else
wenzelm@23138
   168
  PDF_VIEWER=xpdf
wenzelm@23138
   169
fi
wenzelm@23138
   170
#PDF_VIEWER=acroread
wenzelm@23138
   171
#PDF_VIEWER=evince
wenzelm@23138
   172
kleing@15218
   173
wenzelm@16186
   174
# Printer spool command for PS files
wenzelm@14933
   175
PRINT_COMMAND=lp
wenzelm@14933
   176
wenzelm@2294
   177
wenzelm@2426
   178
###
wenzelm@2426
   179
### Interfaces
wenzelm@2426
   180
###
wenzelm@2426
   181
kleing@13920
   182
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   183
ISABELLE_INTERFACE=none
wenzelm@2294
   184
kleing@13920
   185
# Proof General path, look in a variety of places
wenzelm@17574
   186
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   187
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   188
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@17119
   189
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@9787
   190
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@10070
   191
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   192
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   193
  "$ISABELLE_INTERFACE")
kleing@13920
   194
wenzelm@5964
   195
PROOFGENERAL_OPTIONS=""
wenzelm@17383
   196
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
wenzelm@7185
   197
wenzelm@17574
   198
type -path xemacs >/dev/null || \
wenzelm@17574
   199
  PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@17574
   200
wenzelm@17383
   201
# Automatic setup of remote fonts
wenzelm@9994
   202
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   203
wenzelm@7185
   204
wenzelm@7185
   205
###
wenzelm@7185
   206
### External reasoning tools
wenzelm@7185
   207
###
wenzelm@7185
   208
wenzelm@7194
   209
## Set HOME only for tools you have installed!
wenzelm@7185
   210
wenzelm@17001
   211
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@17001
   212
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   213
wenzelm@7185
   214
# SVC (Stanford Validity Checker)
wenzelm@7185
   215
#SVC_HOME=
wenzelm@7185
   216
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   217
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   218
wenzelm@7296
   219
# Mucke (mu-calculus model checker)
wenzelm@7296
   220
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   221
wenzelm@7296
   222
# Einhoven model checker
wenzelm@7296
   223
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   224
webertj@20033
   225
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   226
#MINISAT_HOME=/usr/local/bin
webertj@20033
   227
webertj@17522
   228
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   229
#ZCHAFF_HOME=/usr/local/bin
webertj@15331
   230
#ZCHAFF_VERSION=2004.5.13
webertj@15331
   231
#ZCHAFF_VERSION=2004.11.15
webertj@14942
   232
webertj@17522
   233
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   234
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   235
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   236
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   237
webertj@17522
   238
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   239
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   240
obua@16873
   241
# For configuring HOL/Matrix/cplex
obua@16966
   242
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   243
# First option: use the commercial cplex solver
wenzelm@16968
   244
#LP_SOLVER=CPLEX
wenzelm@16968
   245
#CPLEX_PATH=cplex
obua@16873
   246
# Second option: use the open source glpk solver
wenzelm@16968
   247
#LP_SOLVER=GLPK
wenzelm@16968
   248
#GLPK_PATH=glpsol
wenzelm@17909
   249
wenzelm@17909
   250
# External provers
wenzelm@17909
   251
#VAMPIRE_HOME=/usr/local/Vampire
wenzelm@17909
   252
#E_HOME=/usr/local/E