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