etc/settings
author webertj
Tue Sep 20 16:19:51 2005 +0200 (2005-09-20)
changeset 17522 8d25bb07d8ed
parent 17383 3eb21fb8c2ec
child 17574 aa9d8483cabc
permissions -rw-r--r--
pointers to src/HOL/Tools/sat_solver.ML added in comments
     1 # -*- shell-script -*-
     2 # $Id$
     3 #
     4 # Isabelle settings -- site defaults.
     5 #
     6 # Important notes:
     7 #   * See the system manual for explanations on Isabelle settings
     8 #   * DO NOT EDIT the repository copy of this file!
     9 #   * DO NOT COPY this file into your personal isabelle directory!
    10 
    11 ###
    12 ### ML compiler settings (ESSENTIAL!)
    13 ###
    14 
    15 # ML_HOME specifies the location of the actual compiler binaries.  Do
    16 # not invent new ML system names unless you know what you are doing.
    17 # Only one of the sections below should be activated.
    18 
    19 # Poly/ML 4.x
    20 POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
    21 ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
    22 ML_HOME=$(choosefrom \
    23   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    24   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    25   "/usr/local/polyml/$ML_PLATFORM" \
    26   "/usr/share/polyml/$ML_PLATFORM" \
    27   "/opt/polyml/$ML_PLATFORM" \
    28   $POLY_HOME)
    29 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    30 ML_OPTIONS="-H 80"
    31 ML_DBASE=""
    32 
    33 # Standard ML of New Jersey 110 or later
    34 #SMLNJ_CYGWIN_RUNTIME=1
    35 #ML_SYSTEM=smlnj-110
    36 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
    37 #ML_OPTIONS="@SMLdebug=/dev/null"
    38 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    39 
    40 # Moscow ML 2.00 or later (experimental!)
    41 #ML_SYSTEM=mosml
    42 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
    43 #ML_PLATFORM=""
    44 #ML_OPTIONS=""
    45 
    46 
    47 ###
    48 ### Compilation options (cf. isatool usedir)
    49 ###
    50 
    51 ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML"
    52 
    53 # Specifically for the HOL image
    54 HOL_USEDIR_OPTIONS=""
    55 
    56 
    57 ###
    58 ### Document preparation (cf. isatool latex/document)
    59 ###
    60 
    61 ISABELLE_LATEX="latex"
    62 ISABELLE_PDFLATEX="pdflatex"
    63 ISABELLE_BIBTEX="bibtex"
    64 ISABELLE_MAKEINDEX="makeindex"
    65 ISABELLE_DVIPS="dvips -D 600"
    66 ISABELLE_EPSTOPDF="epstopdf"
    67 
    68 # Paranoia setting for strange latex installations ...
    69 #unset TEXMF
    70 
    71 # If ISABELLE_THUMBPDF is set, isatool tries to
    72 # generate thumbnails for proof documents
    73 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    74 
    75 
    76 ###
    77 ### Misc path settings
    78 ###
    79 
    80 # The place for user configuration, heap files, etc.
    81 ISABELLE_HOME_USER=~/isabelle
    82 
    83 # Where to look for isabelle tools (multiple dirs separated by ':').
    84 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    85 
    86 # Location for temporary files (should be on a local file system).
    87 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    88 
    89 # Heap input locations. ML system identifier is included in lookup.
    90 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    91 
    92 # Heap output location. ML system identifier is appended automatically later on.
    93 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
    94   #Isabelle build tells us to store heaps etc. within the distribution.
    95   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
    96   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
    97 else
    98   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    99   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   100 fi
   101 
   102 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   103 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   104   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   105 
   106 
   107 ###
   108 ### default logic
   109 ###
   110 
   111 ISABELLE_LOGIC=HOL
   112 
   113 
   114 ###
   115 ### Docs
   116 ###
   117 
   118 # Where to look for docs (multiple dirs separated by ':').
   119 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   120 
   121 # Preferred document format
   122 ISABELLE_DOC_FORMAT=pdf
   123 
   124 # The dvi file viewer
   125 DVI_VIEWER=xdvi
   126 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   127 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   128 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   129 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   130 
   131 # The pdf file viewer
   132 PDF_VIEWER=acroread
   133 #PDF_VIEWER=xpdf
   134 #PDF_VIEWER=open  #best for Mac users: will open in default PDF viewer
   135 
   136 # Printer spool command for PS files
   137 PRINT_COMMAND=lp
   138 
   139 
   140 ###
   141 ### Interfaces
   142 ###
   143 
   144 # Fallback: the null interface (pass-through to raw isabelle process).
   145 ISABELLE_INTERFACE=none
   146 
   147 # Proof General path, look in a variety of places
   148 ISABELLE_INTERFACE=$(choosefrom\
   149   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   150   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   151   "/usr/local/ProofGeneral/isar/interface" \
   152   "/usr/share/ProofGeneral/isar/interface" \
   153   "/opt/ProofGeneral/isar/interface" \
   154   "/usr/share/emacs/ProofGeneral/isar/interface" \
   155   "$ISABELLE_INTERFACE")
   156 
   157 PROOFGENERAL_OPTIONS=""
   158 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
   159 
   160 # Automatic setup of remote fonts
   161 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   162 
   163 
   164 ###
   165 ### External reasoning tools
   166 ###
   167 
   168 ## Set HOME only for tools you have installed!
   169 
   170 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   171 HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   172 
   173 # SVC (Stanford Validity Checker)
   174 #SVC_HOME=
   175 #SVC_MACHINE=i386-redhat-linux
   176 #SVC_MACHINE=sparc-sun-solaris
   177 
   178 # Mucke (mu-calculus model checker)
   179 #MUCKE_HOME=/usr/local/bin
   180 
   181 # Einhoven model checker
   182 #EINDHOVEN_HOME=/usr/local/bin
   183 
   184 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   185 #ZCHAFF_HOME=/usr/local/bin
   186 #ZCHAFF_VERSION=2004.5.13
   187 #ZCHAFF_VERSION=2004.11.15
   188 
   189 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   190 #BERKMIN_HOME=/usr/local/bin
   191 #BERKMIN_EXE=BerkMin561-linux
   192 #BERKMIN_EXE=BerkMin561-solaris
   193 
   194 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   195 #JERUSAT_HOME=/usr/local/bin
   196 
   197 # For configuring HOL/Matrix/cplex
   198 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   199 # First option: use the commercial cplex solver
   200 #LP_SOLVER=CPLEX
   201 #CPLEX_PATH=cplex
   202 # Second option: use the open source glpk solver
   203 #LP_SOLVER=GLPK
   204 #GLPK_PATH=glpsol