doc-src/IsarRef/isar-ref.tex
author wenzelm
Sun, 31 Oct 1999 15:25:55 +0100
changeset 7988 feea893b47c7
parent 7981 5120a2a15d06
child 8509 daec9cef376d
permissions -rw-r--r--
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     1
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     2
%% $Id$
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     3
7836
7a9270282fd3 a4paper;
wenzelm
parents: 7532
diff changeset
     4
\documentclass[12pt,a4paper,fleqn]{report}
7974
34245feb6e82 improved;
wenzelm
parents: 7895
diff changeset
     5
\usepackage{latexsym,graphicx,../iman,../extra,../proof,../rail,../railsetup,../isar,../pdfsetup}
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     6
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     7
\title{\includegraphics[scale=0.5]{isabelle_isar} \\[4ex] The Isabelle/Isar Reference Manual}
7050
c70d3402fef5 checkpoint;
wenzelm
parents: 7046
diff changeset
     8
\author{\emph{Markus Wenzel} \\ TU M\"unchen}
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
     9
7050
c70d3402fef5 checkpoint;
wenzelm
parents: 7046
diff changeset
    10
\makeindex
c70d3402fef5 checkpoint;
wenzelm
parents: 7046
diff changeset
    11
7167
wenzelm
parents: 7135
diff changeset
    12
\railterm{percent,ppercent,underscore,lbrace,rbrace,llbrace,rrbrace}
wenzelm
parents: 7135
diff changeset
    13
\railterm{ident,longident,symident,var,textvar,typefree,typevar,nat,string,verbatim,keyword}
7134
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    14
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    15
\railalias{name}{\railqtoken{name}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    16
\railalias{nameref}{\railqtoken{nameref}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    17
\railalias{text}{\railqtoken{text}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    18
\railalias{type}{\railqtoken{type}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    19
\railalias{term}{\railqtoken{term}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    20
\railalias{prop}{\railqtoken{prop}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    21
\railalias{atom}{\railqtoken{atom}}
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    22
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    23
\newcommand{\drv}{\mathrel{\vdash}}
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    24
\newcommand{\edrv}{\mathop{\drv}\nolimits}
7974
34245feb6e82 improved;
wenzelm
parents: 7895
diff changeset
    25
\newcommand{\Or}{\mathrel{\;|\;}}
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    26
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    27
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    28
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    29
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    30
\pagestyle{headings}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    31
\sloppy
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    32
\binperiod     %%%treat . like a binary operator
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    33
7134
320b412e5800 more stuff;
wenzelm
parents: 7050
diff changeset
    34
\renewcommand{\phi}{\varphi}
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    35
7974
34245feb6e82 improved;
wenzelm
parents: 7895
diff changeset
    36
%\includeonly{refcard}
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    37
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    38
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    39
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    40
\begin{document}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    41
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    42
\underscoreoff
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    43
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    44
\maketitle 
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    45
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    46
\begin{abstract}
7167
wenzelm
parents: 7135
diff changeset
    47
  \emph{Intelligible semi-automated reasoning} (\emph{Isar}) is a generic
wenzelm
parents: 7135
diff changeset
    48
  approach to readable formal proof documents.  It sets out to bridge the
wenzelm
parents: 7135
diff changeset
    49
  semantic gap between any internal notions of proof based on primitive
wenzelm
parents: 7135
diff changeset
    50
  inferences and tactics, and an appropriate level of abstraction for
wenzelm
parents: 7135
diff changeset
    51
  user-level work.  The Isar formal proof language has been designed to
wenzelm
parents: 7135
diff changeset
    52
  satisfy quite contradictory requirements, being both ``declarative'' and
wenzelm
parents: 7135
diff changeset
    53
  immediately ``executable'', by virtue of the \emph{Isar/VM} interpreter.
wenzelm
parents: 7135
diff changeset
    54
  
wenzelm
parents: 7135
diff changeset
    55
  The current version of Isabelle offers Isar as an alternative proof language
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    56
  interface layer.  The Isabelle/Isar system provides an interpreter for the
7981
wenzelm
parents: 7974
diff changeset
    57
  Isar formal proof document language.  The input may consist either of proper
wenzelm
parents: 7974
diff changeset
    58
  document constructors, or improper auxiliary commands (for diagnostics,
wenzelm
parents: 7974
diff changeset
    59
  exploration etc.).  Proof texts consisting of proper document constructors
wenzelm
parents: 7974
diff changeset
    60
  only, admit a purely static reading, thus being intelligible later without
wenzelm
parents: 7974
diff changeset
    61
  requiring dynamic replay that is so typical for traditional proof scripts.
wenzelm
parents: 7974
diff changeset
    62
  Any of the Isabelle/Isar commands may be executed in single-steps, so
wenzelm
parents: 7974
diff changeset
    63
  basically the interpreter has a proof text debugger already built-in.
7167
wenzelm
parents: 7135
diff changeset
    64
  
7297
wenzelm
parents: 7167
diff changeset
    65
  Employing the Isar instantiation of \emph{Proof~General}, the generic Emacs
7167
wenzelm
parents: 7135
diff changeset
    66
  interface for interactive proof assistants of LFCS Edinburgh, we arrive at a
wenzelm
parents: 7135
diff changeset
    67
  reasonable environment for \emph{live document editing}.  Thus proof texts
wenzelm
parents: 7135
diff changeset
    68
  may be developed incrementally by issuing proper document constructors,
wenzelm
parents: 7135
diff changeset
    69
  including forward and backward tracing of partial documents; intermediate
wenzelm
parents: 7135
diff changeset
    70
  states may be inspected by diagnostic commands.
wenzelm
parents: 7135
diff changeset
    71
  
7335
abba35b98892 draft release;
wenzelm
parents: 7297
diff changeset
    72
  The Isar subsystem is tightly integrated into the Isabelle/Pure meta-logic
abba35b98892 draft release;
wenzelm
parents: 7297
diff changeset
    73
  implementation.  Theories, theorems, proof procedures etc.\ may be used
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    74
  interchangeably between classic Isabelle proof scripts and Isabelle/Isar
7335
abba35b98892 draft release;
wenzelm
parents: 7297
diff changeset
    75
  documents.  Isar is as generic as Isabelle, able to support a wide range of
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    76
  object-logics.  Currently, the end-user working environment is most complete
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    77
  for Isabelle/HOL.
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    78
\end{abstract}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    79
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    80
\pagenumbering{roman} \tableofcontents \clearfirst
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    81
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    82
%FIXME
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    83
\nocite{Rudnicki:1992:MizarOverview}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    84
\nocite{Harrison:1996:MizarHOL}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    85
\nocite{Rudnicki:1992:MizarOverview}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    86
\nocite{Trybulec:1993:MizarFeatures}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    87
\nocite{Syme:1997:DECLARE}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    88
\nocite{Syme:1998:thesis}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    89
\nocite{Syme:1999:TPHOL}
7988
wenzelm
parents: 7981
diff changeset
    90
\nocite{Zammit:1999:TPHOL}
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    91
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    92
\include{intro}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    93
\include{basics}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    94
\include{syntax}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    95
\include{pure}
7135
wenzelm
parents: 7134
diff changeset
    96
\include{generic}
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    97
\include{hol}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
    98
7895
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
    99
\appendix
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
   100
\include{refcard}
7c492d8bc8e3 updated;
wenzelm
parents: 7836
diff changeset
   101
7046
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   102
\begingroup
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   103
  \bibliographystyle{plain} \small\raggedright\frenchspacing
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   104
  \bibliography{../manual}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   105
\endgroup
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   106
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   107
\input{isar-ref.ind}
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   108
9f755ff43cff skeleton only;
wenzelm
parents:
diff changeset
   109
\end{document}