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