etc/settings
author avigad
Tue Jul 12 17:56:03 2005 +0200 (2005-07-12)
changeset 16775 c1b87ef4a1c3
parent 16419 0c3db621bbbd
child 16873 9ed940a1bebb
permissions -rw-r--r--
added lemmas to OrderedGroup.thy (reasoning about signs, absolute value, triangle inequalities)
added lemmas to Ring_and_Field.thy (reasoning about signs, fractions, etc.)
renamed simplification rules for abs (abs_of_pos, etc.)
renamed rules for multiplication and signs (mult_pos_pos, etc.)
moved lemmas involving fractions from NatSimprocs.thy
added setsum_mono3 to FiniteSet.thy
added simplification rules for powers to Parity.thy
     1 # -*- shell-script -*-
     2 # $Id$
     3 #
     4 # Isabelle settings -- site defaults.
     5 # Do *NOT* copy this file into your personal isabelle directory!!!
     6 
     7 ###
     8 ### ML compiler settings (ESSENTIAL!)
     9 ###
    10 
    11 # Note that ML_HOME specifies the location of the actual compiler
    12 # binaries.  Do not invent new ML system names unless you know what
    13 # you are doing.  Only one of the sections below should be activated.
    14 
    15 
    16 # try finding the poly packages from the Isabelle site in the usual places
    17 POLYML_HOME=$(choosefrom \
    18   "$ISABELLE_HOME/contrib/polyml" \
    19   "$ISABELLE_HOME/../polyml" \
    20   "/usr/share/polyml" \
    21   "/usr/local/polyml" \
    22   "/opt/polyml")
    23 
    24 if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
    25   # looks like Isabelle poly packages
    26   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    27   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
    28   ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    29   ML_OPTIONS="-h 15000"
    30 elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
    31   # maybe a shrink-wrapped polyml on x86-linux ...
    32 
    33   # Poly/ML 4.0, 4.1, 4.1.x
    34   # include version number, needed for choosing right options
    35   # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
    36   ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
    37   ML_SYSTEM=polyml-${ML_VERSION}
    38   # processor/OS type
    39   ML_PLATFORM=x86-linux
    40   # where to find binaries
    41   ML_HOME=/usr/bin
    42   # where to find the standard database
    43   ML_DBASE=/usr/lib/poly/ML_dbase
    44   # options to pass to poly
    45   ML_OPTIONS="-h 15000"
    46 fi
    47 
    48 # Standard ML of New Jersey 110 or later
    49 #SMLNJ_CYGWIN_RUNTIME=1
    50 #ML_SYSTEM=smlnj-110
    51 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
    52 #ML_OPTIONS="@SMLdebug=/dev/null"
    53 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    54 
    55 # Moscow ML 2.00 or later (experimental!)
    56 #ML_SYSTEM=mosml
    57 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
    58 #ML_PLATFORM=""
    59 #ML_OPTIONS=""
    60 
    61 
    62 ###
    63 ### Compilation options (cf. isatool usedir)
    64 ###
    65 
    66 ISABELLE_USEDIR_OPTIONS="-v true -i true"
    67 
    68 # Specifically for the HOL image
    69 HOL_USEDIR_OPTIONS=""
    70 
    71 
    72 ###
    73 ### Document preparation (cf. isatool latex/document)
    74 ###
    75 
    76 ISABELLE_LATEX="latex"
    77 ISABELLE_PDFLATEX="pdflatex"
    78 ISABELLE_BIBTEX="bibtex"
    79 ISABELLE_MAKEINDEX="makeindex"
    80 ISABELLE_DVIPS="dvips -D 600"
    81 ISABELLE_EPSTOPDF="epstopdf"
    82 
    83 # Paranoia setting for strange latex installations ...
    84 #unset TEXMF
    85 
    86 # If ISABELLE_THUMBPDF is set, isatool tries to
    87 # generate thumbnails for proof documents
    88 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    89 
    90 
    91 ###
    92 ### Misc path settings
    93 ###
    94 
    95 # The place for user configuration, heap files, etc.
    96 ISABELLE_HOME_USER=~/isabelle
    97 
    98 # Where to look for isabelle tools (multiple dirs separated by ':').
    99 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   100 
   101 # Location for temporary files (should be on a local file system).
   102 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   103 
   104 # Heap input locations. ML system identifier is included in lookup.
   105 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   106 
   107 # Heap output location. ML system identifier is appended automatically later on.
   108 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   109   #Isabelle build tells us to store heaps etc. within the distribution.
   110   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   111   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   112 else
   113   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   114   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   115 fi
   116 
   117 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   118 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   119   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   120 
   121 
   122 ###
   123 ### default logic (users may want to override this in their own settings file)
   124 ###
   125 
   126 ISABELLE_LOGIC=HOL
   127 
   128 
   129 ###
   130 ### Docs
   131 ###
   132 
   133 # Where to look for docs (multiple dirs separated by ':').
   134 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   135 
   136 # Preferred document format
   137 ISABELLE_DOC_FORMAT=pdf
   138 
   139 # The dvi file viewer
   140 DVI_VIEWER=xdvi
   141 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   142 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   143 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   144 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   145 
   146 # The pdf file viewer
   147 PDF_VIEWER=acroread
   148 #PDF_VIEWER=xpdf
   149 #PDF_VIEWER=open  #best for Mac users: will open in default PDF viewer
   150 
   151 # Printer spool command for PS files
   152 PRINT_COMMAND=lp
   153 
   154 
   155 ###
   156 ### Interfaces
   157 ###
   158 
   159 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   160 
   161 # Fallback: the null interface (pass-through to raw isabelle process).
   162 ISABELLE_INTERFACE=none
   163 
   164 # Proof General path, look in a variety of places
   165 ISABELLE_INTERFACE=$(choosefrom\
   166   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   167   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   168   "/usr/share/ProofGeneral/isar/interface" \
   169   "/usr/local/ProofGeneral/isar/interface" \
   170   "/opt/ProofGeneral/isar/interface" \
   171   "/usr/share/emacs/ProofGeneral/isar/interface" \
   172   "$ISABELLE_INTERFACE")
   173 
   174 # Options to pass to Isabelle command when PG is selected as interface
   175 PROOFGENERAL_OPTIONS=""
   176 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   177 
   178 # try xemacs first, else emacs
   179 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   180 
   181 
   182 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   183 XSYMBOL_HOME=$(choosefrom \
   184   "$ISABELLE_HOME/contrib/x-symbol" \
   185   "$ISABELLE_HOME/../x-symbol" \
   186   "/usr/share/x-symbol" \
   187   "/usr/local/x-symbol" \
   188   "/opt/x-symbol" \
   189   "")
   190 
   191 # Executed before xemacs with ProofGeneral is called.
   192 # Required for remote fonts only.
   193 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   194 
   195 
   196 ###
   197 ### External reasoning tools
   198 ###
   199 
   200 ## Set HOME only for tools you have installed!
   201 
   202 # SVC (Stanford Validity Checker)
   203 #SVC_HOME=
   204 #SVC_MACHINE=i386-redhat-linux
   205 #SVC_MACHINE=sparc-sun-solaris
   206 
   207 # Mucke (mu-calculus model checker)
   208 #MUCKE_HOME=/usr/local/bin
   209 
   210 # Einhoven model checker
   211 #EINDHOVEN_HOME=/usr/local/bin
   212 
   213 # zChaff (SAT Solver)
   214 #ZCHAFF_HOME=/usr/local/bin
   215 #ZCHAFF_VERSION=2004.5.13
   216 #ZCHAFF_VERSION=2004.11.15
   217 
   218 # BerkMin561 (SAT Solver)
   219 #BERKMIN_HOME=/usr/local/bin
   220 #BERKMIN_EXE=BerkMin561-linux
   221 #BERKMIN_EXE=BerkMin561-solaris
   222 
   223 # Jerusat 1.3 (SAT Solver)
   224 #JERUSAT_HOME=/usr/local/bin
   225 
   226 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   227 HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"