doc-src/TutorialI/preface.tex
author paulson
Thu, 20 Dec 2001 15:20:07 +0100
changeset 12561 8cf9d9a3a327
parent 12553 90ac72455fcc
child 12630 6f2951938b66
permissions -rw-r--r--
new hfootref macro for Web links
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
368414099877 additional material
paulson
parents: 12489
diff changeset
     5
in higher-order logic (HOL), using the proof assistant Isabelle/HOL\@. 
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 
368414099877 additional material
paulson
parents: 12489
diff changeset
    23
The first part, \textbf{Basic Techniques},
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
5a4d78204492 *** empty log message ***
nipkow
parents: 11547
diff changeset
    47
in the form of a \TeX\ source file.  This book is
11408
582433f7f618 new preface
paulson
parents:
diff changeset
    48
derived almost entirely from output generated in this way.
582433f7f618 new preface
paulson
parents:
diff changeset
    49
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    50
Isabelle's
12561
8cf9d9a3a327 new hfootref macro for Web links
paulson
parents: 12553
diff changeset
    51
\hfootref{http://isabelle.in.tum.de/}{web site}
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    52
contains links to the download area and to documentation and other
368414099877 additional material
paulson
parents: 12489
diff changeset
    53
information.  Most Isabelle sessions are now run from within David
368414099877 additional material
paulson
parents: 12489
diff changeset
    54
Aspinall's wonderful user interface,
12561
8cf9d9a3a327 new hfootref macro for Web links
paulson
parents: 12553
diff changeset
    55
\hfootref{http://www.proofgeneral.org/}{Proof General}.  This book says
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    56
very little about Proof General, which has its own documentation.  In
368414099877 additional material
paulson
parents: 12489
diff changeset
    57
order to run Isabelle, you will need a Standard ML compiler.  We
12561
8cf9d9a3a327 new hfootref macro for Web links
paulson
parents: 12553
diff changeset
    58
recommend \hfootref{http://www.polyml.org/}{Poly/ML}, which is free and
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    59
gives the best performance.  The other supported compiler is
12561
8cf9d9a3a327 new hfootref macro for Web links
paulson
parents: 12553
diff changeset
    60
\hfootref{http://cm.bell-labs.com/cm/cs/what/smlnj/index.html}{Standard
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    61
ML of New Jersey}.
368414099877 additional material
paulson
parents: 12489
diff changeset
    62
11408
582433f7f618 new preface
paulson
parents:
diff changeset
    63
This tutorial owes a lot to the constant discussions with and the valuable
11547
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    64
feedback from the Isabelle group at Munich: Stefan Berghofer, Olaf
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    65
M{\"u}ller, Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto,
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    66
Cornelia Pusch, Norbert Schirmer, Martin Strecker and Markus Wenzel. Stephan
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    67
Merz was also kind enough to read and comment on a draft version.  We
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    68
received comments from Stefano Bistarelli, Gergely Buday and Tanja
12539
368414099877 additional material
paulson
parents: 12489
diff changeset
    69
Vos.
11408
582433f7f618 new preface
paulson
parents:
diff changeset
    70
11547
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    71
The research has been funded by many sources, including the {\sc dfg} grants
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    72
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
    73
GR\slash K77051, GR\slash M75440, GR\slash R01156\slash 01 and by the
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    74
\textsc{esprit} working groups 21900 and IST-1999-29001 (the \emph{Types}
bdac4a14b350 *** empty log message ***
nipkow
parents: 11450
diff changeset
    75
project).