doc-src/TutorialI/preface.tex
author wenzelm
Sun, 06 Jan 2002 13:47:26 +0100
changeset 12646 fa2e8a8faaec
parent 12641 140241dc55e6
child 12669 c1436070c21e
permissions -rw-r--r--
tuned;
paulson@11408
     1
\chapter*{Preface}
paulson@11408
     2
\markboth{Preface}{Preface}
paulson@11408
     3
paulson@12539
     4
This volume is a self-contained introduction to interactive proof
paulson@12539
     5
in higher-order logic (HOL), using the proof assistant Isabelle/HOL\@. 
paulson@12539
     6
Compared with existing Isabelle documentation,
paulson@12539
     7
it provides a direct route into higher-order logic, which most people
paulson@12539
     8
prefer these days. It bypasses first-order logic and minimizes
paulson@11408
     9
discussion of meta-theory.  It is written for potential users rather
paulson@11408
    10
than for our colleagues in the research world.
paulson@11408
    11
paulson@11450
    12
\index{Wenzel, Markus}%
paulson@11450
    13
Another departure from previous documentation is that we describe Markus
paulson@11450
    14
Wenzel's proof script notation instead of ML tactic scripts.  The latter
paulson@11408
    15
make it easier to introduce new tactics on the fly, but hardly anybody
paulson@11408
    16
does that.  Wenzel's dedicated syntax is elegant, replacing for example
paulson@11408
    17
eight simplification tactics with a single method, namely \isa{simp},
paulson@11408
    18
with associated options.
paulson@11408
    19
paulson@12539
    20
The book has three parts.  
paulson@12539
    21
\begin{itemize}
paulson@12539
    22
\item 
paulson@12539
    23
The first part, \textbf{Basic Techniques},
paulson@12539
    24
shows how to model functional programs in higher-order logic.  Early
paulson@12539
    25
examples involve lists and the natural numbers.  Most proofs
paulson@12539
    26
are two steps long, consisting of induction on a chosen variable
paulson@12539
    27
followed by the \isa{auto} tactic.  But even this elementary part
paulson@12539
    28
covers such advanced topics as nested and mutual recursion.
paulson@12539
    29
\item 
paulson@12539
    30
The second part, \textbf{Logic and Sets}, presents a collection of
paulson@12539
    31
lower-level tactics that you can use to apply rules selectively.  It
paulson@12539
    32
also describes Isabelle/HOL's treatment of sets, functions and
paulson@12539
    33
relations and explains how to define sets inductively.  One of the
paulson@12539
    34
examples concerns the theory of model checking, and another is drawn
paulson@12539
    35
from a classic textbook on formal languages.
paulson@12539
    36
\item 
paulson@12539
    37
The third part, \textbf{Advanced Material}, describes a variety of
paulson@12539
    38
other topics.  Among these are the real numbers, records and
paulson@12539
    39
overloading.  Esoteric techniques are described involving induction and
paulson@12539
    40
recursion.  A whole chapter is devoted to an extended example: the
paulson@12539
    41
verification of a security protocol.
paulson@12539
    42
\end{itemize}
paulson@12539
    43
nipkow@12327
    44
The typesetting relies on Wenzel's theory presentation tools.  An
nipkow@12327
    45
annotated source file is run, typesetting the theory
nipkow@12327
    46
% and any requested Isabelle responses
wenzelm@12646
    47
in the form of a \LaTeX\ source file.  This book is derived almost entirely
wenzelm@12646
    48
from output generated in this way.  The final chapter of Part~I explains how
wenzelm@12646
    49
users may produce their own formal documents in a similar fashion.
paulson@11408
    50
wenzelm@12641
    51
Isabelle's \hfootref{http://isabelle.in.tum.de/}{web site} contains links to
wenzelm@12641
    52
the download area and to documentation and other information.  Most Isabelle
wenzelm@12641
    53
sessions are now run from within David Aspinall's\index{Aspinall, David}
wenzelm@12641
    54
wonderful user interface, \hfootref{http://www.proofgeneral.org/}{Proof
wenzelm@12641
    55
  General}, even together with the
wenzelm@12641
    56
\hfootref{http://www.fmi.uni-passau.de/~wedler/x-symbol/}{X-Symbol} package
wenzelm@12641
    57
for XEmacs.  This book says very little about Proof General, which has its own
wenzelm@12641
    58
documentation.  In order to run Isabelle, you will need a Standard ML
wenzelm@12641
    59
compiler.  We recommend \hfootref{http://www.polyml.org/}{Poly/ML}, which is
wenzelm@12641
    60
free and gives the best performance.  The other fully supported compiler is
wenzelm@12641
    61
\hfootref{http://cm.bell-labs.com/cm/cs/what/smlnj/index.html}{Standard ML of
wenzelm@12641
    62
  New Jersey}.
paulson@12539
    63
paulson@11408
    64
This tutorial owes a lot to the constant discussions with and the valuable
nipkow@11547
    65
feedback from the Isabelle group at Munich: Stefan Berghofer, Olaf
nipkow@11547
    66
M{\"u}ller, Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto,
nipkow@11547
    67
Cornelia Pusch, Norbert Schirmer, Martin Strecker and Markus Wenzel. Stephan
nipkow@11547
    68
Merz was also kind enough to read and comment on a draft version.  We
nipkow@11547
    69
received comments from Stefano Bistarelli, Gergely Buday and Tanja
paulson@12539
    70
Vos.
paulson@11408
    71
nipkow@11547
    72
The research has been funded by many sources, including the {\sc dfg} grants
nipkow@11547
    73
Ni~491/2, Ni~491/3, Ni~491/4 and the {\sc epsrc} grants GR\slash K57381,
nipkow@11547
    74
GR\slash K77051, GR\slash M75440, GR\slash R01156\slash 01 and by the
nipkow@11547
    75
\textsc{esprit} working groups 21900 and IST-1999-29001 (the \emph{Types}
nipkow@11547
    76
project).