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