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