doc-src/IsarRef/Thy/document/Introduction.tex
author wenzelm
Mon, 02 Jun 2008 21:01:42 +0200
changeset 27035 d038a2ba87f6
child 27036 220fb39be543
permissions -rw-r--r--
renamed theory "intro" to "Introduction";
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27035
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     1
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     2
\begin{isabellebody}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     3
\def\isabellecontext{Introduction}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     4
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     5
\isadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     6
\isanewline
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     7
\isanewline
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     8
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
     9
\endisadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    10
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    11
\isatagtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    12
\isacommand{theory}\isamarkupfalse%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    13
\ Introduction\isanewline
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    14
\isakeyword{imports}\ Pure\isanewline
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    15
\isakeyword{begin}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    16
\endisatagtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    17
{\isafoldtheory}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    18
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    19
\isadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    20
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    21
\endisadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    22
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    23
\isamarkupchapter{Introduction%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    24
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    25
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    26
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    27
\isamarkupsection{Overview%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    28
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    29
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    30
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    31
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    32
The \emph{Isabelle} system essentially provides a generic
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    33
  infrastructure for building deductive systems (programmed in
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    34
  Standard ML), with a special focus on interactive theorem proving in
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    35
  higher-order logics.  In the olden days even end-users would refer
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    36
  to certain ML functions (goal commands, tactics, tacticals etc.) to
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    37
  pursue their everyday theorem proving tasks
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    38
  \cite{isabelle-intro,isabelle-ref}.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    39
  
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    40
  In contrast \emph{Isar} provides an interpreted language environment
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    41
  of its own, which has been specifically tailored for the needs of
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    42
  theory and proof development.  Compared to raw ML, the Isabelle/Isar
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    43
  top-level provides a more robust and comfortable development
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    44
  platform, with proper support for theory development graphs,
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    45
  single-step transactions with unlimited undo, etc.  The
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    46
  Isabelle/Isar version of the \emph{Proof~General} user interface
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    47
  \cite{proofgeneral,Aspinall:TACAS:2000} provides an adequate
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    48
  front-end for interactive theory and proof development in this
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    49
  advanced theorem proving environment.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    50
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    51
  \medskip Apart from the technical advances over bare-bones ML
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    52
  programming, the main purpose of the Isar language is to provide a
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    53
  conceptually different view on machine-checked proofs
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    54
  \cite{Wenzel:1999:TPHOL,Wenzel-PhD}.  ``Isar'' stands for
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    55
  ``Intelligible semi-automated reasoning''.  Drawing from both the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    56
  traditions of informal mathematical proof texts and high-level
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    57
  programming languages, Isar offers a versatile environment for
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    58
  structured formal proof documents.  Thus properly written Isar
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    59
  proofs become accessible to a broader audience than unstructured
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    60
  tactic scripts (which typically only provide operational information
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    61
  for the machine).  Writing human-readable proof texts certainly
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    62
  requires some additional efforts by the writer to achieve a good
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    63
  presentation, both of formal and informal parts of the text.  On the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    64
  other hand, human-readable formal texts gain some value in their own
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    65
  right, independently of the mechanic proof-checking process.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    66
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    67
  Despite its grand design of structured proof texts, Isar is able to
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    68
  assimilate the old tactical style as an ``improper'' sub-language.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    69
  This provides an easy upgrade path for existing tactic scripts, as
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    70
  well as additional means for interactive experimentation and
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    71
  debugging of structured proofs.  Isabelle/Isar supports a broad
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    72
  range of proof styles, both readable and unreadable ones.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    73
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    74
  \medskip The Isabelle/Isar framework is generic and should work
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    75
  reasonably well for any Isabelle object-logic that conforms to the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    76
  natural deduction view of the Isabelle/Pure framework.  Major
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    77
  Isabelle logics like HOL \cite{isabelle-HOL}, HOLCF
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    78
  \cite{MuellerNvOS99}, FOL \cite{isabelle-logics}, and ZF
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    79
  \cite{isabelle-ZF} have already been set up for end-users.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    80
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    81
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    82
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    83
\isamarkupsection{Quick start%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    84
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    85
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    86
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    87
\isamarkupsubsection{Terminal sessions%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    88
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    89
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    90
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    91
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    92
Isar is already part of Isabelle.  The low-level \verb|isabelle| binary provides option \verb|-I| to run the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    93
  Isabelle/Isar interaction loop at startup, rather than the raw ML
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    94
  top-level.  So the most basic way to do anything with Isabelle/Isar
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    95
  is as follows:   % FIXME update
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    96
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    97
isabelle -I HOL\medskip
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    98
\out{> Welcome to Isabelle/HOL (Isabelle2005)}\medskip
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
    99
theory Foo imports Main begin;
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   100
definition foo :: nat where "foo == 1";
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   101
lemma "0 < foo" by (simp add: foo_def);
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   102
end;
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   103
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   104
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   105
  Note that any Isabelle/Isar command may be retracted by \hyperlink{command.undo}{\mbox{\isa{\isacommand{undo}}}}.  See the Isabelle/Isar Quick Reference
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   106
  (\appref{ap:refcard}) for a comprehensive overview of available
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   107
  commands and other language elements.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   108
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   109
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   110
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   111
\isamarkupsubsection{Proof General%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   112
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   113
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   114
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   115
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   116
Plain TTY-based interaction as above used to be quite feasible with
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   117
  traditional tactic based theorem proving, but developing Isar
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   118
  documents really demands some better user-interface support.  The
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   119
  Proof~General environment by David Aspinall
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   120
  \cite{proofgeneral,Aspinall:TACAS:2000} offers a generic Emacs
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   121
  interface for interactive theorem provers that organizes all the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   122
  cut-and-paste and forward-backward walk through the text in a very
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   123
  neat way.  In Isabelle/Isar, the current position within a partial
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   124
  proof document is equally important than the actual proof state.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   125
  Thus Proof~General provides the canonical working environment for
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   126
  Isabelle/Isar, both for getting acquainted (e.g.\ by replaying
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   127
  existing Isar documents) and for production work.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   128
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   129
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   130
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   131
\isamarkupsubsubsection{Proof~General as default Isabelle interface%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   132
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   133
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   134
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   135
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   136
The Isabelle interface wrapper script provides an easy way to invoke
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   137
  Proof~General (including XEmacs or GNU Emacs).  The default
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   138
  configuration of Isabelle is smart enough to detect the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   139
  Proof~General distribution in several canonical places (e.g.\
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   140
  \verb|$ISABELLE_HOME/contrib/ProofGeneral|).  Thus the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   141
  capital \verb|Isabelle| executable would already refer to the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   142
  \verb|ProofGeneral/isar| interface without further ado.  The
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   143
  Isabelle interface script provides several options; pass \verb|-?|  to see its usage.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   144
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   145
  With the proper Isabelle interface setup, Isar documents may now be edited by
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   146
  visiting appropriate theory files, e.g.\ 
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   147
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   148
Isabelle \({\langle}isabellehome{\rangle}\)/src/HOL/Isar_examples/Summation.thy
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   149
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   150
  Beginners may note the tool bar for navigating forward and backward
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   151
  through the text (this depends on the local Emacs installation).
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   152
  Consult the Proof~General documentation \cite{proofgeneral} for
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   153
  further basic command sequences, in particular ``\verb|C-c C-return|''
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   154
  and ``\verb|C-c u|''.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   155
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   156
  \medskip Proof~General may be also configured manually by giving
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   157
  Isabelle settings like this (see also \cite{isabelle-sys}):
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   158
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   159
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   160
ISABELLE_INTERFACE=\$ISABELLE_HOME/contrib/ProofGeneral/isar/interface
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   161
PROOFGENERAL_OPTIONS=""
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   162
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   163
  You may have to change \verb|$ISABELLE_HOME/contrib/ProofGeneral| to the actual installation
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   164
  directory of Proof~General.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   165
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   166
  \medskip Apart from the Isabelle command line, defaults for
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   167
  interface options may be given by the \verb|PROOFGENERAL_OPTIONS|
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   168
  setting.  For example, the Emacs executable to be used may be
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   169
  configured in Isabelle's settings like this:
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   170
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   171
PROOFGENERAL_OPTIONS="-p xemacs-mule"  
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   172
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   173
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   174
  Occasionally, a user's \verb|~/.emacs| file contains code
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   175
  that is incompatible with the (X)Emacs version used by
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   176
  Proof~General, causing the interface startup to fail prematurely.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   177
  Here the \verb|-u false| option helps to get the interface
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   178
  process up and running.  Note that additional Lisp customization
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   179
  code may reside in \verb|proofgeneral-settings.el| of
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   180
  \verb|$ISABELLE_HOME/etc| or \verb|$ISABELLE_HOME_USER/etc|.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   181
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   182
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   183
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   184
\isamarkupsubsubsection{The X-Symbol package%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   185
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   186
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   187
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   188
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   189
Proof~General incorporates a version of the Emacs X-Symbol package
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   190
  \cite{x-symbol}, which handles proper mathematical symbols displayed
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   191
  on screen.  Pass option \verb|-x true| to the Isabelle
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   192
  interface script, or check the appropriate Proof~General menu
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   193
  setting by hand.  The main challenge of getting X-Symbol to work
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   194
  properly is the underlying (semi-automated) X11 font setup.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   195
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   196
  \medskip Using proper mathematical symbols in Isabelle theories can
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   197
  be very convenient for readability of large formulas.  On the other
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   198
  hand, the plain ASCII sources easily become somewhat unintelligible.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   199
  For example, \isa{{\isachardoublequote}{\isasymLongrightarrow}{\isachardoublequote}} would appear as \verb|\<Longrightarrow>| according
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   200
  the default set of Isabelle symbols.  Nevertheless, the Isabelle
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   201
  document preparation system (see \secref{sec:document-prep}) will be
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   202
  happy to print non-ASCII symbols properly.  It is even possible to
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   203
  invent additional notation beyond the display capabilities of Emacs
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   204
  and X-Symbol.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   205
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   206
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   207
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   208
\isamarkupsection{Isabelle/Isar theories%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   209
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   210
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   211
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   212
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   213
Isabelle/Isar offers the following main improvements over classic
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   214
  Isabelle.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   215
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   216
  \begin{enumerate}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   217
  
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   218
  \item A \emph{theory format} that integrates specifications and
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   219
  proofs, supporting interactive development and unlimited undo
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   220
  operation.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   221
  
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   222
  \item A \emph{formal proof document language} designed to support
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   223
  intelligible semi-automated reasoning.  Instead of putting together
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   224
  unreadable tactic scripts, the author is enabled to express the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   225
  reasoning in way that is close to usual mathematical practice.  The
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   226
  old tactical style has been assimilated as ``improper'' language
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   227
  elements.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   228
  
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   229
  \item A simple document preparation system, for typesetting formal
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   230
  developments together with informal text.  The resulting
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   231
  hyper-linked PDF documents are equally well suited for WWW
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   232
  presentation and as printed copies.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   233
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   234
  \end{enumerate}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   235
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   236
  The Isar proof language is embedded into the new theory format as a
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   237
  proper sub-language.  Proof mode is entered by stating some
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   238
  \hyperlink{command.theorem}{\mbox{\isa{\isacommand{theorem}}}} or \hyperlink{command.lemma}{\mbox{\isa{\isacommand{lemma}}}} at the theory level, and
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   239
  left again with the final conclusion (e.g.\ via \hyperlink{command.qed}{\mbox{\isa{\isacommand{qed}}}}).
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   240
  A few theory specification mechanisms also require some proof, such
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   241
  as HOL's \hyperlink{command.typedef}{\mbox{\isa{\isacommand{typedef}}}} which demands non-emptiness of the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   242
  representing sets.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   243
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   244
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   245
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   246
\isamarkupsubsection{Document preparation \label{sec:document-prep}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   247
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   248
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   249
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   250
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   251
Isabelle/Isar provides a simple document preparation system based on
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   252
  existing {PDF-\LaTeX} technology, with full support of hyper-links
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   253
  (both local references and URLs) and bookmarks.  Thus the results
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   254
  are equally well suited for WWW browsing and as printed copies.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   255
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   256
  \medskip Isabelle generates {\LaTeX} output as part of the run of a
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   257
  \emph{logic session} (see also \cite{isabelle-sys}).  Getting
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   258
  started with a working configuration for common situations is quite
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   259
  easy by using the Isabelle \verb|mkdir| and \verb|make|
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   260
  tools.  First invoke
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   261
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   262
  isatool mkdir Foo
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   263
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   264
  to initialize a separate directory for session \verb|Foo| ---
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   265
  it is safe to experiment, since \verb|isatool mkdir| never
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   266
  overwrites existing files.  Ensure that \verb|Foo/ROOT.ML|
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   267
  holds ML commands to load all theories required for this session;
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   268
  furthermore \verb|Foo/document/root.tex| should include any
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   269
  special {\LaTeX} macro packages required for your document (the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   270
  default is usually sufficient as a start).
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   271
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   272
  The session is controlled by a separate \verb|IsaMakefile|
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   273
  (with crude source dependencies by default).  This file is located
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   274
  one level up from the \verb|Foo| directory location.  Now
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   275
  invoke
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   276
\begin{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   277
  isatool make Foo
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   278
\end{ttbox}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   279
  to run the \verb|Foo| session, with browser information and
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   280
  document preparation enabled.  Unless any errors are reported by
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   281
  Isabelle or {\LaTeX}, the output will appear inside the directory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   282
  \verb|ISABELLE_BROWSER_INFO|, as reported by the batch job in
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   283
  verbose mode.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   284
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   285
  \medskip You may also consider to tune the \verb|usedir|
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   286
  options in \verb|IsaMakefile|, for example to change the output
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   287
  format from \verb|pdf| to \verb|dvi|, or activate the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   288
  \verb|-D| option to retain a second copy of the generated
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   289
  {\LaTeX} sources.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   290
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   291
  \medskip See \emph{The Isabelle System Manual} \cite{isabelle-sys}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   292
  for further details on Isabelle logic sessions and theory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   293
  presentation.  The Isabelle/HOL tutorial \cite{isabelle-hol-book}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   294
  also covers theory presentation issues.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   295
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   296
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   297
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   298
\isamarkupsubsection{How to write Isar proofs anyway? \label{sec:isar-howto}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   299
}
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   300
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   301
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   302
\begin{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   303
This is one of the key questions, of course.  First of all, the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   304
  tactic script emulation of Isabelle/Isar essentially provides a
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   305
  clarified version of the very same unstructured proof style of
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   306
  classic Isabelle.  Old-time users should quickly become acquainted
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   307
  with that (slightly degenerative) view of Isar.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   308
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   309
  Writing \emph{proper} Isar proof texts targeted at human readers is
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   310
  quite different, though.  Experienced users of the unstructured
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   311
  style may even have to unlearn some of their habits to master proof
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   312
  composition in Isar.  In contrast, new users with less experience in
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   313
  old-style tactical proving, but a good understanding of mathematical
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   314
  proof in general, often get started easier.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   315
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   316
  \medskip The present text really is only a reference manual on
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   317
  Isabelle/Isar, not a tutorial.  Nevertheless, we will attempt to
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   318
  give some clues of how the concepts introduced here may be put into
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   319
  practice.  Especially note that \appref{ap:refcard} provides a quick
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   320
  reference card of the most common Isabelle/Isar language elements.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   321
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   322
  Further issues concerning the Isar concepts are covered in the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   323
  literature
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   324
  \cite{Wenzel:1999:TPHOL,Wiedijk:2000:MV,Bauer-Wenzel:2000:HB,Bauer-Wenzel:2001}.
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   325
  The author's PhD thesis \cite{Wenzel-PhD} presently provides the
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   326
  most complete exposition of Isar foundations, techniques, and
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   327
  applications.  A number of example applications are distributed with
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   328
  Isabelle, and available via the Isabelle WWW library (e.g.\
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   329
  \url{http://isabelle.in.tum.de/library/}).  The ``Archive of Formal
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   330
  Proofs'' \url{http://afp.sourceforge.net/} also provides plenty of
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   331
  examples, both in proper Isar proof style and unstructured tactic
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   332
  scripts.%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   333
\end{isamarkuptext}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   334
\isamarkuptrue%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   335
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   336
\isadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   337
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   338
\endisadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   339
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   340
\isatagtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   341
\isacommand{end}\isamarkupfalse%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   342
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   343
\endisatagtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   344
{\isafoldtheory}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   345
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   346
\isadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   347
%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   348
\endisadelimtheory
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   349
\isanewline
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   350
\end{isabellebody}%
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   351
%%% Local Variables:
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   352
%%% mode: latex
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   353
%%% TeX-master: "root"
d038a2ba87f6 renamed theory "intro" to "Introduction";
wenzelm
parents:
diff changeset
   354
%%% End: