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