| 
7046
 | 
     1  | 
  | 
| 
 | 
     2  | 
%% $Id$
  | 
| 
 | 
     3  | 
  | 
| 
7836
 | 
     4  | 
\documentclass[12pt,a4paper,fleqn]{report}
 | 
| 
9695
 | 
     5  | 
\usepackage{latexsym,graphicx,../iman,../extra,../ttbox,../proof,../rail,../railsetup,../isar,../pdfsetup}
 | 
| 
7046
 | 
     6  | 
  | 
| 
 | 
     7  | 
\title{\includegraphics[scale=0.5]{isabelle_isar} \\[4ex] The Isabelle/Isar Reference Manual}
 | 
| 
7050
 | 
     8  | 
\author{\emph{Markus Wenzel} \\ TU M\"unchen}
 | 
| 
7046
 | 
     9  | 
  | 
| 
7050
 | 
    10  | 
\makeindex
  | 
| 
 | 
    11  | 
  | 
| 
9658
 | 
    12  | 
\newcommand{\isastyle}{\small\tt\slshape}
 | 
| 
 | 
    13  | 
\newcommand{\isa}[1]{\emph{\isastyle #1}}
 | 
| 
10208
 | 
    14  | 
\newcommand{\isamath}[1]{\emph{$#1$}}
 | 
| 
 | 
    15  | 
\newcommand{\isasymColon}{\isamath{\mathrel{::}}}
 | 
| 
 | 
    16  | 
\newcommand{\isasymRightarrow}{\isamath{\Rightarrow}}
 | 
| 
10639
 | 
    17  | 
\newcommand{\isasymleftharpoondown}{\isamath{\leftharpoondown}}
 | 
| 
 | 
    18  | 
\newcommand{\isasymrightharpoonup}{\isamath{\rightharpoonup}}
 | 
| 
 | 
    19  | 
\newcommand{\isasymrightleftharpoons}{\isamath{\rightleftharpoons}}
 | 
| 
9204
 | 
    20  | 
  | 
| 
 | 
    21  | 
\railterm{percent,ppercent,underscore,lbrace,rbrace,atsign}
 | 
| 
7167
 | 
    22  | 
\railterm{ident,longident,symident,var,textvar,typefree,typevar,nat,string,verbatim,keyword}
 | 
| 
8596
 | 
    23  | 
\railterm{name,nameref,text,type,term,prop,atom}
 | 
| 
7134
 | 
    24  | 
  | 
| 
8594
 | 
    25  | 
\railalias{ident}{\railtoken{ident}}
 | 
| 
 | 
    26  | 
\railalias{longident}{\railtoken{longident}}
 | 
| 
 | 
    27  | 
\railalias{symident}{\railtoken{symident}}
 | 
| 
 | 
    28  | 
\railalias{var}{\railtoken{var}}
 | 
| 
 | 
    29  | 
\railalias{textvar}{\railtoken{textvar}}
 | 
| 
 | 
    30  | 
\railalias{typefree}{\railtoken{typefree}}
 | 
| 
 | 
    31  | 
\railalias{typevar}{\railtoken{typevar}}
 | 
| 
 | 
    32  | 
\railalias{nat}{\railtoken{nat}}
 | 
| 
 | 
    33  | 
\railalias{string}{\railtoken{string}}
 | 
| 
 | 
    34  | 
\railalias{verbatim}{\railtoken{verbatim}}
 | 
| 
 | 
    35  | 
\railalias{keyword}{\railtoken{keyword}}
 | 
| 
 | 
    36  | 
  | 
| 
7134
 | 
    37  | 
\railalias{name}{\railqtoken{name}}
 | 
| 
 | 
    38  | 
\railalias{nameref}{\railqtoken{nameref}}
 | 
| 
 | 
    39  | 
\railalias{text}{\railqtoken{text}}
 | 
| 
 | 
    40  | 
\railalias{type}{\railqtoken{type}}
 | 
| 
 | 
    41  | 
\railalias{term}{\railqtoken{term}}
 | 
| 
 | 
    42  | 
\railalias{prop}{\railqtoken{prop}}
 | 
| 
 | 
    43  | 
\railalias{atom}{\railqtoken{atom}}
 | 
| 
 | 
    44  | 
  | 
| 
7895
 | 
    45  | 
\newcommand{\drv}{\mathrel{\vdash}}
 | 
| 
 | 
    46  | 
\newcommand{\edrv}{\mathop{\drv}\nolimits}
 | 
| 
7974
 | 
    47  | 
\newcommand{\Or}{\mathrel{\;|\;}}
 | 
| 
7895
 | 
    48  | 
  | 
| 
7046
 | 
    49  | 
  | 
| 
 | 
    50  | 
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
 | 
| 
 | 
    51  | 
  | 
| 
 | 
    52  | 
\pagestyle{headings}
 | 
| 
 | 
    53  | 
\sloppy
  | 
| 
 | 
    54  | 
\binperiod     %%%treat . like a binary operator
  | 
| 
 | 
    55  | 
  | 
| 
7134
 | 
    56  | 
\renewcommand{\phi}{\varphi}
 | 
| 
7046
 | 
    57  | 
  | 
| 
10240
 | 
    58  | 
%\includeonly{}
 | 
| 
7895
 | 
    59  | 
  | 
| 
7046
 | 
    60  | 
  | 
| 
 | 
    61  | 
\begin{document}
 | 
| 
 | 
    62  | 
  | 
| 
 | 
    63  | 
\underscoreoff
  | 
| 
 | 
    64  | 
  | 
| 
 | 
    65  | 
\maketitle 
  | 
| 
 | 
    66  | 
  | 
| 
 | 
    67  | 
\begin{abstract}
 | 
| 
7167
 | 
    68  | 
  \emph{Intelligible semi-automated reasoning} (\emph{Isar}) is a generic
 | 
| 
 | 
    69  | 
  approach to readable formal proof documents.  It sets out to bridge the
  | 
| 
 | 
    70  | 
  semantic gap between any internal notions of proof based on primitive
  | 
| 
 | 
    71  | 
  inferences and tactics, and an appropriate level of abstraction for
  | 
| 
 | 
    72  | 
  user-level work.  The Isar formal proof language has been designed to
  | 
| 
 | 
    73  | 
  satisfy quite contradictory requirements, being both ``declarative'' and
  | 
| 
 | 
    74  | 
  immediately ``executable'', by virtue of the \emph{Isar/VM} interpreter.
 | 
| 
 | 
    75  | 
  
  | 
| 
10160
 | 
    76  | 
  The Isabelle/Isar system provides an interpreter for the Isar formal proof
  | 
| 
 | 
    77  | 
  language.  The input may consist either of proper document constructors, or
  | 
| 
 | 
    78  | 
  improper auxiliary commands (for diagnostics, exploration etc.).  Proof
  | 
| 
 | 
    79  | 
  texts consisting of proper elements only admit a purely static reading, thus
  | 
| 
 | 
    80  | 
  being intelligible later without requiring dynamic replay that is so typical
  | 
| 
 | 
    81  | 
  for traditional proof scripts.  Any of the Isabelle/Isar commands may be
  | 
| 
 | 
    82  | 
  executed in single-steps, so basically the interpreter has a proof text
  | 
| 
 | 
    83  | 
  debugger already built-in.
  | 
| 
7167
 | 
    84  | 
  
  | 
| 
8509
 | 
    85  | 
  Employing the Isar instantiation of \emph{Proof~General}, a generic Emacs
 | 
| 
 | 
    86  | 
  interface for interactive proof assistants, we arrive at a reasonable
  | 
| 
 | 
    87  | 
  environment for \emph{live document editing}.  Thus proof texts may be
 | 
| 
8547
 | 
    88  | 
  developed incrementally by issuing proof commands, including forward and
  | 
| 
 | 
    89  | 
  backward tracing of partial documents; intermediate states may be inspected
  | 
| 
 | 
    90  | 
  by diagnostic commands.
  | 
| 
7167
 | 
    91  | 
  
  | 
| 
7335
 | 
    92  | 
  The Isar subsystem is tightly integrated into the Isabelle/Pure meta-logic
  | 
| 
 | 
    93  | 
  implementation.  Theories, theorems, proof procedures etc.\ may be used
  | 
| 
7895
 | 
    94  | 
  interchangeably between classic Isabelle proof scripts and Isabelle/Isar
  | 
| 
10160
 | 
    95  | 
  documents.  Even more, Isar provides a set of emulation commands and methods
  | 
| 
 | 
    96  | 
  for simulating traditional tactic scripts within new-style theory documents.
  | 
| 
 | 
    97  | 
  
  | 
| 
 | 
    98  | 
  The Isar framework is as generic as Isabelle, able to support a wide range
  | 
| 
 | 
    99  | 
  of object-logics.  Currently, the end-user working environment is most
  | 
| 
 | 
   100  | 
  complete for Isabelle/HOL.
  | 
| 
7046
 | 
   101  | 
\end{abstract}
 | 
| 
 | 
   102  | 
  | 
| 
 | 
   103  | 
\pagenumbering{roman} \tableofcontents \clearfirst
 | 
| 
 | 
   104  | 
  | 
| 
 | 
   105  | 
%FIXME
  | 
| 
9600
 | 
   106  | 
\nocite{Aspinall:2000:eProof}
 | 
| 
 | 
   107  | 
\nocite{Bauer-Wenzel:2000:HB}
 | 
| 
 | 
   108  | 
\nocite{Harrison:1996:MizarHOL}
 | 
| 
 | 
   109  | 
\nocite{Muzalewski:Mizar}
 | 
| 
7046
 | 
   110  | 
\nocite{Rudnicki:1992:MizarOverview}
 | 
| 
 | 
   111  | 
\nocite{Rudnicki:1992:MizarOverview}
 | 
| 
 | 
   112  | 
\nocite{Syme:1997:DECLARE}
 | 
| 
 | 
   113  | 
\nocite{Syme:1998:thesis}
 | 
| 
 | 
   114  | 
\nocite{Syme:1999:TPHOL}
 | 
| 
9600
 | 
   115  | 
\nocite{Trybulec:1993:MizarFeatures}
 | 
| 
 | 
   116  | 
\nocite{Wiedijk:1999:Mizar}
 | 
| 
 | 
   117  | 
\nocite{Wiedijk:2000:MV}
 | 
| 
7988
 | 
   118  | 
\nocite{Zammit:1999:TPHOL}
 | 
| 
7046
 | 
   119  | 
  | 
| 
 | 
   120  | 
\include{intro}
 | 
| 
 | 
   121  | 
\include{basics}
 | 
| 
 | 
   122  | 
\include{syntax}
 | 
| 
 | 
   123  | 
\include{pure}
 | 
| 
7135
 | 
   124  | 
\include{generic}
 | 
| 
7046
 | 
   125  | 
\include{hol}
 | 
| 
 | 
   126  | 
  | 
| 
7895
 | 
   127  | 
\appendix
  | 
| 
 | 
   128  | 
\include{refcard}
 | 
| 
9600
 | 
   129  | 
\include{conversion}
 | 
| 
7895
 | 
   130  | 
  | 
| 
7046
 | 
   131  | 
\begingroup
  | 
| 
 | 
   132  | 
  \bibliographystyle{plain} \small\raggedright\frenchspacing
 | 
| 
 | 
   133  | 
  \bibliography{../manual}
 | 
| 
 | 
   134  | 
\endgroup
  | 
| 
 | 
   135  | 
  | 
| 
8828
 | 
   136  | 
\printindex
  | 
| 
7046
 | 
   137  | 
  | 
| 
 | 
   138  | 
\end{document}
 |