etc/settings
author immler@in.tum.de
Wed, 21 Jan 2009 15:26:02 +0100
changeset 29599 c369feeb6bbc
parent 29149 eae45c2a6811
child 30189 3633f560f4c3
child 30237 e6f76bf0e067
permissions -rw-r--r--
removed vampire-wrapper (remote-script covers that)
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle settings -- site defaults.
     4 #
     5 # Important notes:
     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!
     9 
    10 ###
    11 ### ML compiler settings (ESSENTIAL!)
    12 ###
    13 
    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.
    17 
    18 # Poly/ML 4.x/5.x (automated settings)
    19 POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
    20 ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
    21 ML_HOME=$(choosefrom \
    22   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    23   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    24   "/usr/local/polyml/$ML_PLATFORM" \
    25   "/usr/share/polyml/$ML_PLATFORM" \
    26   "/opt/polyml/$ML_PLATFORM" \
    27   $POLY_HOME)
    28 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    29 ML_OPTIONS="-H 200"
    30 ML_DBASE=""
    31 
    32 # Poly/ML 5.1
    33 #ML_PLATFORM=x86-linux
    34 #ML_HOME=/usr/local/polyml/x86-linux
    35 #ML_SYSTEM=polyml-5.1
    36 #ML_OPTIONS="-H 500"
    37 
    38 # Poly/ML 5.1 (64 bit)
    39 #ML_PLATFORM=x86_64-linux
    40 #ML_HOME=/usr/local/polyml/x86_64-linux
    41 #ML_SYSTEM=polyml-5.1
    42 #ML_OPTIONS="-H 1000"
    43 
    44 # Poly/ML 4.2.0
    45 #ML_PLATFORM=x86-linux
    46 #ML_HOME=/usr/local/polyml/x86-linux
    47 #ML_SYSTEM=polyml-4.2.0
    48 #ML_OPTIONS="-H 80"
    49 
    50 # Standard ML of New Jersey (slow!)
    51 #ML_SYSTEM=smlnj-110
    52 #ML_HOME="/usr/local/smlnj/bin"
    53 #ML_OPTIONS="@SMLdebug=/dev/null"
    54 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    55 #SMLNJ_CYGWIN_RUNTIME=1
    56 
    57 # Moscow ML 2.00 (experimental!)
    58 #ML_SYSTEM=mosml
    59 #ML_HOME="/usr/local/mosml/bin"
    60 #ML_OPTIONS=""
    61 #ML_PLATFORM=""
    62 
    63 # Alice 1.4 (experimental!)
    64 #ML_SYSTEM=alice
    65 #ML_HOME="/usr/local/alice/bin"
    66 #ML_OPTIONS=""
    67 #ML_PLATFORM=""
    68 
    69 
    70 ###
    71 ### JVM components (Scala or Java)
    72 ###
    73 
    74 ISABELLE_SCALA="scala"
    75 ISABELLE_JAVA="java"
    76 
    77 if [ -e "$ISABELLE_HOME/contrib/scala" ]; then
    78   classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
    79 elif [ -e "$ISABELLE_HOME/../scala" ]; then
    80   classpath "$ISABELLE_HOME/../scala/lib/scala-library.jar"
    81 fi
    82 
    83 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    84 
    85 
    86 ###
    87 ### Interactive sessions (cf. isabelle tty)
    88 ###
    89 
    90 ISABELLE_LINE_EDITOR=""
    91 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    92 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    93 
    94 
    95 ###
    96 ### Batch sessions (cf. isabelle usedir)
    97 ###
    98 
    99 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -v true -V outline=/proof,/ML"
   100 
   101 # Specifically for the HOL image
   102 HOL_USEDIR_OPTIONS=""
   103 #HOL_USEDIR_OPTIONS="-p 2"
   104 
   105 #Source file identification (default: full name + date stamp)
   106 ISABELLE_FILE_IDENT=""
   107 #ISABELLE_FILE_IDENT="md5"
   108 #ISABELLE_FILE_IDENT="md5sum"
   109 #ISABELLE_FILE_IDENT="sha1sum"
   110 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
   111 
   112 
   113 ###
   114 ### Document preparation (cf. isabelle latex/document)
   115 ###
   116 
   117 ISABELLE_LATEX="latex"
   118 ISABELLE_PDFLATEX="pdflatex"
   119 ISABELLE_BIBTEX="bibtex"
   120 ISABELLE_MAKEINDEX="makeindex"
   121 ISABELLE_DVIPS="dvips -D 600"
   122 ISABELLE_EPSTOPDF="epstopdf"
   123 
   124 # Paranoia setting for strange latex installations ...
   125 #unset TEXMF
   126 
   127 
   128 ###
   129 ### Misc path settings
   130 ###
   131 
   132 # The place for user configuration, heap files, etc.
   133 ISABELLE_HOME_USER=~/.isabelle
   134 
   135 # Where to look for isabelle tools (multiple dirs separated by ':').
   136 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   137 
   138 # Location for temporary files (should be on a local file system).
   139 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   140 
   141 # Heap input locations. ML system identifier is included in lookup.
   142 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   143 
   144 # Heap output location. ML system identifier is appended automatically later on.
   145 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   146 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   147 
   148 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   149 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   150   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   151 
   152 
   153 ###
   154 ### Default logic
   155 ###
   156 
   157 ISABELLE_LOGIC=HOL
   158 
   159 
   160 ###
   161 ### Docs
   162 ###
   163 
   164 # Where to look for docs (multiple dirs separated by ':').
   165 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   166 
   167 # Preferred document format
   168 ISABELLE_DOC_FORMAT=pdf
   169 
   170 # The dvi file viewer
   171 DVI_VIEWER=xdvi
   172 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   173 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   174 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   175 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   176 
   177 # The pdf file viewer
   178 if [ $(uname -s) = Darwin ]; then
   179   PDF_VIEWER=open
   180 else
   181   PDF_VIEWER=xpdf
   182 fi
   183 #PDF_VIEWER=acroread
   184 #PDF_VIEWER=evince
   185 
   186 
   187 # Printer spool command for PS files
   188 PRINT_COMMAND=lp
   189 
   190 
   191 ###
   192 ### Proof General / Emacs
   193 ###
   194 
   195 # Proof General home, look in a variety of places
   196 PROOFGENERAL_HOME=$(choosefrom \
   197   "$ISABELLE_HOME/contrib/ProofGeneral" \
   198   "$ISABELLE_HOME/../ProofGeneral" \
   199   "/usr/local/ProofGeneral" \
   200   "/usr/share/ProofGeneral" \
   201   "/opt/ProofGeneral" \
   202   "")
   203 
   204 PROOFGENERAL_OPTIONS=""
   205 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   206 
   207 # Automatic setup of remote fonts
   208 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   209 XSYMBOL_INSTALLFONTS=""
   210 
   211 
   212 ###
   213 ### jEdit
   214 ###
   215 
   216 JEDIT_HOME=$(choosefrom \
   217   "$ISABELLE_HOME/contrib/jedit" \
   218   "$ISABELLE_HOME/../jedit" \
   219   "/usr/local/jedit" \
   220   "/usr/share/jedit" \
   221   "/opt/jedit" \
   222   "")
   223 
   224 JEDIT_JAVA_OPTIONS=""
   225 #JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
   226 JEDIT_OPTIONS="-reuseview -noserver -nobackground"
   227 
   228 
   229 ###
   230 ### External reasoning tools
   231 ###
   232 
   233 ## Set HOME only for tools you have installed!
   234 
   235 # External provers
   236 E_HOME=$(choosefrom \
   237   "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
   238   "$ISABELLE_HOME/../E/$ML_PLATFORM" \
   239   "/usr/local/E" \
   240   "")
   241 VAMPIRE_HOME=$(choosefrom \
   242   "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
   243   "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
   244   "/usr/local/Vampire" \
   245   "")
   246 SPASS_HOME=$(choosefrom \
   247   "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
   248   "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
   249   "/usr/local/SPASS" \
   250   "")
   251 
   252 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   253 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   254 
   255 # SVC (Stanford Validity Checker)
   256 #SVC_HOME=
   257 #SVC_MACHINE=i386-redhat-linux
   258 #SVC_MACHINE=sparc-sun-solaris
   259 
   260 # Mucke (mu-calculus model checker)
   261 #MUCKE_HOME=/usr/local/bin
   262 
   263 # Einhoven model checker
   264 #EINDHOVEN_HOME=/usr/local/bin
   265 
   266 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   267 #MINISAT_HOME=/usr/local/bin
   268 
   269 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   270 #ZCHAFF_HOME=/usr/local/bin
   271 #ZCHAFF_VERSION=2004.5.13
   272 #ZCHAFF_VERSION=2004.11.15
   273 
   274 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   275 #BERKMIN_HOME=/usr/local/bin
   276 #BERKMIN_EXE=BerkMin561-linux
   277 #BERKMIN_EXE=BerkMin561-solaris
   278 
   279 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   280 #JERUSAT_HOME=/usr/local/bin
   281 
   282 # For configuring HOL/Matrix/cplex
   283 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   284 # First option: use the commercial cplex solver
   285 #LP_SOLVER=CPLEX
   286 #CPLEX_PATH=cplex
   287 # Second option: use the open source glpk solver
   288 #LP_SOLVER=GLPK
   289 #GLPK_PATH=glpsol