etc/settings
author blanchet
Thu, 05 Mar 2009 10:19:51 +0100
changeset 30275 381ce8d88cb8
parent 30242 aea5d7fa7ef5
child 30813 a0863fcd9bbf
permissions -rw-r--r--
Reintroduced previous changes: Made "Refute.norm_rhs" public and simplified the configuration of the BerkMin and zChaff SAT solvers.
     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 
    64 ###
    65 ### JVM components (Scala or Java)
    66 ###
    67 
    68 ISABELLE_SCALA="scala"
    69 ISABELLE_JAVA="java"
    70 
    71 if [ -e "$ISABELLE_HOME/contrib/scala" ]; then
    72   classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
    73 elif [ -e "$ISABELLE_HOME/../scala" ]; then
    74   classpath "$ISABELLE_HOME/../scala/lib/scala-library.jar"
    75 fi
    76 
    77 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    78 
    79 
    80 ###
    81 ### Interactive sessions (cf. isabelle tty)
    82 ###
    83 
    84 ISABELLE_LINE_EDITOR=""
    85 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    86 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    87 
    88 
    89 ###
    90 ### Batch sessions (cf. isabelle usedir)
    91 ###
    92 
    93 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -v true -V outline=/proof,/ML"
    94 
    95 # Specifically for the HOL image
    96 HOL_USEDIR_OPTIONS=""
    97 #HOL_USEDIR_OPTIONS="-p 2"
    98 
    99 #Source file identification (default: full name + date stamp)
   100 ISABELLE_FILE_IDENT=""
   101 #ISABELLE_FILE_IDENT="md5"
   102 #ISABELLE_FILE_IDENT="md5sum"
   103 #ISABELLE_FILE_IDENT="sha1sum"
   104 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
   105 
   106 
   107 ###
   108 ### Document preparation (cf. isabelle latex/document)
   109 ###
   110 
   111 ISABELLE_LATEX="latex"
   112 ISABELLE_PDFLATEX="pdflatex"
   113 ISABELLE_BIBTEX="bibtex"
   114 ISABELLE_MAKEINDEX="makeindex"
   115 ISABELLE_DVIPS="dvips -D 600"
   116 ISABELLE_EPSTOPDF="epstopdf"
   117 
   118 # Paranoia setting for strange latex installations ...
   119 #unset TEXMF
   120 
   121 
   122 ###
   123 ### Misc path settings
   124 ###
   125 
   126 # The place for user configuration, heap files, etc.
   127 ISABELLE_HOME_USER=~/.isabelle
   128 
   129 # Where to look for isabelle tools (multiple dirs separated by ':').
   130 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   131 
   132 # Location for temporary files (should be on a local file system).
   133 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   134 
   135 # Heap input locations. ML system identifier is included in lookup.
   136 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   137 
   138 # Heap output location. ML system identifier is appended automatically later on.
   139 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   140 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   141 
   142 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   143 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   144   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   145 
   146 
   147 ###
   148 ### Default logic
   149 ###
   150 
   151 ISABELLE_LOGIC=HOL
   152 
   153 
   154 ###
   155 ### Docs
   156 ###
   157 
   158 # Where to look for docs (multiple dirs separated by ':').
   159 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   160 
   161 # Preferred document format
   162 ISABELLE_DOC_FORMAT=pdf
   163 
   164 # The dvi file viewer
   165 DVI_VIEWER=xdvi
   166 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   167 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   168 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   169 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   170 
   171 # The pdf file viewer
   172 if [ $(uname -s) = Darwin ]; then
   173   PDF_VIEWER=open
   174 else
   175   PDF_VIEWER=xpdf
   176 fi
   177 #PDF_VIEWER=acroread
   178 #PDF_VIEWER=evince
   179 
   180 
   181 # Printer spool command for PS files
   182 PRINT_COMMAND=lp
   183 
   184 
   185 ###
   186 ### Proof General / Emacs
   187 ###
   188 
   189 # Proof General home, look in a variety of places
   190 PROOFGENERAL_HOME=$(choosefrom \
   191   "$ISABELLE_HOME/contrib/ProofGeneral" \
   192   "$ISABELLE_HOME/../ProofGeneral" \
   193   "/usr/local/ProofGeneral" \
   194   "/usr/share/ProofGeneral" \
   195   "/opt/ProofGeneral" \
   196   "")
   197 
   198 PROOFGENERAL_OPTIONS=""
   199 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   200 
   201 # Automatic setup of remote fonts
   202 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   203 XSYMBOL_INSTALLFONTS=""
   204 
   205 
   206 ###
   207 ### jEdit
   208 ###
   209 
   210 JEDIT_HOME=$(choosefrom \
   211   "$ISABELLE_HOME/contrib/jedit" \
   212   "$ISABELLE_HOME/../jedit" \
   213   "/usr/local/jedit" \
   214   "/usr/share/jedit" \
   215   "/opt/jedit" \
   216   "")
   217 
   218 JEDIT_JAVA_OPTIONS=""
   219 #JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
   220 JEDIT_OPTIONS="-reuseview -noserver -nobackground"
   221 
   222 
   223 ###
   224 ### External reasoning tools
   225 ###
   226 
   227 ## Set HOME only for tools you have installed!
   228 
   229 # External provers
   230 E_HOME=$(choosefrom \
   231   "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
   232   "$ISABELLE_HOME/../E/$ML_PLATFORM" \
   233   "/usr/local/E" \
   234   "")
   235 VAMPIRE_HOME=$(choosefrom \
   236   "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
   237   "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
   238   "/usr/local/Vampire" \
   239   "")
   240 SPASS_HOME=$(choosefrom \
   241   "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
   242   "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
   243   "/usr/local/SPASS" \
   244   "")
   245 
   246 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   247 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   248 
   249 # SVC (Stanford Validity Checker)
   250 #SVC_HOME=
   251 #SVC_MACHINE=i386-redhat-linux
   252 #SVC_MACHINE=sparc-sun-solaris
   253 
   254 # Mucke (mu-calculus model checker)
   255 #MUCKE_HOME=/usr/local/bin
   256 
   257 # Einhoven model checker
   258 #EINDHOVEN_HOME=/usr/local/bin
   259 
   260 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   261 #MINISAT_HOME=/usr/local/bin
   262 
   263 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   264 #ZCHAFF_HOME=/usr/local/bin
   265 
   266 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   267 #BERKMIN_HOME=/usr/local/bin
   268 #BERKMIN_EXE=BerkMin561-linux
   269 #BERKMIN_EXE=BerkMin561-solaris
   270 
   271 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   272 #JERUSAT_HOME=/usr/local/bin
   273 
   274 # For configuring HOL/Matrix/cplex
   275 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   276 # First option: use the commercial cplex solver
   277 #LP_SOLVER=CPLEX
   278 #CPLEX_PATH=cplex
   279 # Second option: use the open source glpk solver
   280 #LP_SOLVER=GLPK
   281 #GLPK_PATH=glpsol