doc-src/TutorialI/tutorial.tex
author nipkow
Mon Oct 23 20:58:12 2000 +0200 (2000-10-23)
changeset 10305 adff80268127
parent 10298 b5fe1ab860fc
child 10340 0a380ac80e7d
permissions -rw-r--r--
*** empty log message ***
nipkow@9644
     1
% pr(latex xsymbols symbols)
nipkow@8743
     2
\documentclass[11pt,a4paper]{report}
paulson@10298
     3
\newif\ifremarks
paulson@10298
     4
\remarkstrue          %TRUE causes remarks to be displayed (as marginal notes)
wenzelm@8847
     5
\usepackage{isabelle,isabellesym}
wenzelm@9695
     6
\usepackage{latexsym,verbatim,graphicx,../iman,../extra,../ttbox,comment}
paulson@10298
     7
\usepackage{proof,amsmath}
wenzelm@8847
     8
\usepackage{../pdfsetup}    %last package!
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}
wenzelm@10272
    24
\newcommand{\isasymuniqex}{\isamath{\exists!\,}}
nipkow@8743
    25
nipkow@8743
    26
\renewenvironment{isamarkuptxt}{\begin{isamarkuptext}}{\end{isamarkuptext}}
nipkow@8743
    27
paulson@10298
    28
%% lcp's macros
paulson@10298
    29
\newcommand{\remark}[1]{\ifremarks\marginpar{\raggedright\footnotesize#1}\fi}
paulson@10298
    30
\newcommand{\rulename}[1]{\hfill$(\text{#1})$} %names of Isabelle rules
paulson@10298
    31
\let\bigisa=\isa
paulson@10298
    32
%% was previously
paulson@10298
    33
%% \newcommand{\bigisa}[1]{\texttt{\textsl{#1}}} 
paulson@10298
    34
%% because \isa is too small for variables, but does it really matter?
paulson@10298
    35
paulson@10298
    36
nipkow@8743
    37
%%% to index derived rls:  ^\([a-zA-Z0-9][a-zA-Z0-9_]*\)        \\tdx{\1}  
nipkow@8743
    38
%%% to index rulenames:   ^ *(\([a-zA-Z0-9][a-zA-Z0-9_]*\),     \\tdx{\1}  
nipkow@8743
    39
%%% to index constants:   \\tt \([a-zA-Z0-9][a-zA-Z0-9_]*\)     \\cdx{\1}  
nipkow@8743
    40
%%% to deverbify:         \\verb|\([^|]*\)|     \\ttindex{\1}  
nipkow@8743
    41
%% run    ../sedindex logics    to prepare index file
nipkow@8743
    42
nipkow@8743
    43
\makeindex
nipkow@8743
    44
\newcommand{\indexboldpos}[2]{#1\indexbold{#2@#1}}
nipkow@8743
    45
\newcommand{\ttindexboldpos}[2]{\texttt{#1}\indexbold{#2@\texttt{#1}}}
nipkow@8743
    46
\newcommand{\isaindexbold}[1]{\isa{#1}\index{*#1|bold}}
nipkow@8743
    47
\newcommand{\isaindex}[1]{\isa{#1}\index{*#1}}
nipkow@8743
    48
nipkow@8743
    49
\underscoreoff
nipkow@8743
    50
nipkow@8743
    51
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}  %% {secnumdepth}{2}???
nipkow@8743
    52
nipkow@8743
    53
\pagestyle{headings}
nipkow@8743
    54
%\sloppy
nipkow@8743
    55
%\binperiod     %%%treat . like a binary operator
nipkow@8743
    56
nipkow@8743
    57
\begin{document}
nipkow@8743
    58
\title{\includegraphics[scale=.8]{isabelle_hol}
nipkow@8743
    59
       \\ \vspace{0.5cm} The Tutorial
nipkow@8743
    60
       \\ --- DRAFT ---}
nipkow@8743
    61
\author{Tobias Nipkow\\
nipkow@10178
    62
Technische Universit{\"a}t M{\"u}nchen \\
nipkow@10178
    63
Institut f{\"u}r Informatik \\
nipkow@8743
    64
\url{http://www.in.tum.de/~nipkow/}}
nipkow@8743
    65
\maketitle
nipkow@8743
    66
nipkow@8743
    67
\pagenumbering{roman}
nipkow@8743
    68
\tableofcontents
nipkow@8743
    69
nipkow@8743
    70
\subsubsection*{Acknowledgements}
nipkow@8743
    71
This tutorial owes a lot to the constant discussions with and the valuable
nipkow@10178
    72
feedback from Larry Paulson and the Isabelle group at Munich: Olaf M{\"u}ller,
nipkow@8743
    73
Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto, Cornelia Pusch
nipkow@8743
    74
and Markus Wenzel. Stefan Berghofer and Stephan Merz were also kind enough to
nipkow@8743
    75
read and comment on a draft version.
nipkow@8743
    76
\clearfirst
nipkow@8743
    77
nipkow@8743
    78
\input{basics}
nipkow@8743
    79
\input{fp}
paulson@10298
    80
\input{Rules/rules}
paulson@10298
    81
\input{Sets/sets}\input{CTL/ctl}  %these constitute ONE chapter
nipkow@10212
    82
\input{Inductive/inductive}
nipkow@9958
    83
\input{Advanced/advanced}
nipkow@10305
    84
\input{Types/types}
nipkow@10178
    85
\chapter{Theory Presentation}
nipkow@10178
    86
\chapter{Case Study: The Needhamd-Schroeder Protocol}
nipkow@10178
    87
\chapter{Structured Proofs}
nipkow@10178
    88
\chapter{Case Study: UNIX File-System Security}
nipkow@9958
    89
%\chapter{The Tricks of the Trade}
nipkow@8743
    90
\input{appendix}
nipkow@8743
    91
nipkow@8743
    92
\bibliographystyle{plain}
nipkow@8743
    93
\bibliography{../manual}
wenzelm@8828
    94
\printindex
nipkow@8743
    95
\end{document}