doc-src/TutorialI/tutorial.tex
author nipkow
Fri Jun 02 15:19:18 2000 +0200 (2000-06-02)
changeset 9016 d61c76716984
parent 8847 d6c92979fa51
child 9644 6b0b6b471855
permissions -rw-r--r--
*** empty log message ***
nipkow@8743
     1
\documentclass[11pt,a4paper]{report}
wenzelm@8847
     2
\usepackage{isabelle,isabellesym}
nipkow@8743
     3
\usepackage{latexsym,verbatim,graphicx,../iman,extra,comment}
wenzelm@8847
     4
\usepackage{../pdfsetup}    %last package!
nipkow@8743
     5
nipkow@8743
     6
\usepackage{ttbox}
nipkow@8743
     7
\newcommand\ttbreak{\vskip-10pt\pagebreak[0]}
nipkow@8743
     8
\newcommand\Out[1]{\texttt{\textsl{#1}}}   %% for output from terminal sessions
nipkow@8743
     9
nipkow@8743
    10
%\newtheorem{theorem}{Theorem}[section]
nipkow@8743
    11
\newtheorem{Exercise}{Exercise}[section]
nipkow@8743
    12
\newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}}
nipkow@8743
    13
\newcommand{\ttlbr}{\texttt{[|}}
nipkow@8743
    14
\newcommand{\ttrbr}{\texttt{|]}}
nipkow@8743
    15
\newcommand{\ttor}{\texttt{|}}
nipkow@8743
    16
\newcommand{\ttall}{\texttt{!}}
nipkow@8743
    17
\newcommand{\ttuniquex}{\texttt{?!}}
nipkow@8743
    18
\newcommand{\ttEXU}{\texttt{EX!}}
nipkow@8743
    19
\newcommand{\ttAnd}{\texttt{!!}}
nipkow@8743
    20
nipkow@8743
    21
\newcommand{\isasymimp}{\isasymlongrightarrow}
nipkow@8743
    22
\newcommand{\isasymImp}{\isasymLongrightarrow}
nipkow@8743
    23
\newcommand{\isasymFun}{\isasymRightarrow}
nipkow@8743
    24
\newcommand{\isasymuniqex}{\emph{$\exists!\,$}}
nipkow@8743
    25
nipkow@8743
    26
\newenvironment{isabellepar}%
nipkow@8743
    27
{\par\medskip\noindent\begin{isabelle}}{\end{isabelle}\medskip\par\noindent}
nipkow@8743
    28
nipkow@8743
    29
\renewenvironment{isamarkuptxt}{\begin{isamarkuptext}}{\end{isamarkuptext}}
nipkow@8743
    30
nipkow@8743
    31
%%% to index derived rls:  ^\([a-zA-Z0-9][a-zA-Z0-9_]*\)        \\tdx{\1}  
nipkow@8743
    32
%%% to index rulenames:   ^ *(\([a-zA-Z0-9][a-zA-Z0-9_]*\),     \\tdx{\1}  
nipkow@8743
    33
%%% to index constants:   \\tt \([a-zA-Z0-9][a-zA-Z0-9_]*\)     \\cdx{\1}  
nipkow@8743
    34
%%% to deverbify:         \\verb|\([^|]*\)|     \\ttindex{\1}  
nipkow@8743
    35
%% run    ../sedindex logics    to prepare index file
nipkow@8743
    36
nipkow@8743
    37
\makeindex
nipkow@8743
    38
\newcommand{\indexboldpos}[2]{#1\indexbold{#2@#1}}
nipkow@8743
    39
\newcommand{\ttindexboldpos}[2]{\texttt{#1}\indexbold{#2@\texttt{#1}}}
nipkow@8743
    40
\newcommand{\isaindexbold}[1]{\isa{#1}\index{*#1|bold}}
nipkow@8743
    41
\newcommand{\isaindex}[1]{\isa{#1}\index{*#1}}
nipkow@8743
    42
nipkow@8743
    43
\underscoreoff
nipkow@8743
    44
nipkow@8743
    45
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}  %% {secnumdepth}{2}???
nipkow@8743
    46
nipkow@8743
    47
\pagestyle{headings}
nipkow@8743
    48
%\sloppy
nipkow@8743
    49
%\binperiod     %%%treat . like a binary operator
nipkow@8743
    50
nipkow@8743
    51
\begin{document}
nipkow@8743
    52
\title{\includegraphics[scale=.8]{isabelle_hol}
nipkow@8743
    53
       \\ \vspace{0.5cm} The Tutorial
nipkow@8743
    54
       \\ --- DRAFT ---}
nipkow@8743
    55
\author{Tobias Nipkow\\
nipkow@8743
    56
Technische Universit\"at M\"unchen \\
nipkow@8743
    57
Institut f\"ur Informatik \\
nipkow@8743
    58
\url{http://www.in.tum.de/~nipkow/}}
nipkow@8743
    59
\maketitle
nipkow@8743
    60
nipkow@8743
    61
\pagenumbering{roman}
nipkow@8743
    62
\tableofcontents
nipkow@8743
    63
nipkow@8743
    64
\subsubsection*{Acknowledgements}
nipkow@8743
    65
This tutorial owes a lot to the constant discussions with and the valuable
nipkow@8743
    66
feedback from Larry Paulson and the Isabelle group at Munich: Olaf M\"uller,
nipkow@8743
    67
Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto, Cornelia Pusch
nipkow@8743
    68
and Markus Wenzel. Stefan Berghofer and Stephan Merz were also kind enough to
nipkow@8743
    69
read and comment on a draft version.
nipkow@8743
    70
\clearfirst
nipkow@8743
    71
nipkow@8743
    72
\input{basics}
nipkow@8743
    73
\input{fp}
nipkow@8743
    74
\input{appendix}
nipkow@8743
    75
nipkow@8743
    76
\bibliographystyle{plain}
nipkow@8743
    77
\bibliography{../manual}
wenzelm@8828
    78
\printindex
nipkow@8743
    79
\end{document}