doc-src/TutorialI/tutorial.tex
author nipkow
Sun Nov 26 10:48:38 2000 +0100 (2000-11-26)
changeset 10520 bb9dfcc87951
parent 10498 777d6bde7b47
child 10522 ed3964d1f1a4
permissions -rw-r--r--
*** empty log message ***
paulson@10399
     1
\documentclass{article}
paulson@10298
     2
\newif\ifremarks
nipkow@10520
     3
\remarksfalse          %TRUE causes remarks to be displayed (as marginal notes)
paulson@10399
     4
\usepackage{cl2emono-modified,isabelle,isabellesym}
wenzelm@9695
     5
\usepackage{latexsym,verbatim,graphicx,../iman,../extra,../ttbox,comment}
paulson@10298
     6
\usepackage{proof,amsmath}
wenzelm@8847
     7
\usepackage{../pdfsetup}    %last package!
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}
wenzelm@10272
    23
\newcommand{\isasymuniqex}{\isamath{\exists!\,}}
nipkow@8743
    24
nipkow@8743
    25
\renewenvironment{isamarkuptxt}{\begin{isamarkuptext}}{\end{isamarkuptext}}
nipkow@8743
    26
paulson@10298
    27
%% lcp's macros
paulson@10399
    28
\newcommand{\REMARK}[1]{\ifremarks\marginpar{\raggedright\footnotesize#1}\fi}
paulson@10298
    29
\newcommand{\rulename}[1]{\hfill$(\text{#1})$} %names of Isabelle rules
paulson@10298
    30
\let\bigisa=\isa
paulson@10298
    31
%% was previously
paulson@10298
    32
%% \newcommand{\bigisa}[1]{\texttt{\textsl{#1}}} 
paulson@10298
    33
%% because \isa is too small for variables, but does it really matter?
paulson@10298
    34
paulson@10298
    35
nipkow@8743
    36
%%% to index derived rls:  ^\([a-zA-Z0-9][a-zA-Z0-9_]*\)        \\tdx{\1}  
nipkow@8743
    37
%%% to index rulenames:   ^ *(\([a-zA-Z0-9][a-zA-Z0-9_]*\),     \\tdx{\1}  
nipkow@8743
    38
%%% to index constants:   \\tt \([a-zA-Z0-9][a-zA-Z0-9_]*\)     \\cdx{\1}  
nipkow@8743
    39
%%% to deverbify:         \\verb|\([^|]*\)|     \\ttindex{\1}  
nipkow@8743
    40
%% run    ../sedindex logics    to prepare index file
nipkow@8743
    41
nipkow@8743
    42
\makeindex
nipkow@8743
    43
\newcommand{\indexboldpos}[2]{#1\indexbold{#2@#1}}
nipkow@8743
    44
\newcommand{\ttindexboldpos}[2]{\texttt{#1}\indexbold{#2@\texttt{#1}}}
nipkow@8743
    45
\newcommand{\isaindexbold}[1]{\isa{#1}\index{*#1|bold}}
nipkow@8743
    46
\newcommand{\isaindex}[1]{\isa{#1}\index{*#1}}
nipkow@8743
    47
nipkow@8743
    48
\underscoreoff
nipkow@8743
    49
nipkow@8743
    50
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}  %% {secnumdepth}{2}???
nipkow@8743
    51
nipkow@8743
    52
\pagestyle{headings}
nipkow@8743
    53
%\sloppy
nipkow@8743
    54
%\binperiod     %%%treat . like a binary operator
nipkow@8743
    55
nipkow@8743
    56
\begin{document}
nipkow@8743
    57
\title{\includegraphics[scale=.8]{isabelle_hol}
nipkow@8743
    58
       \\ \vspace{0.5cm} The Tutorial
nipkow@8743
    59
       \\ --- DRAFT ---}
nipkow@10340
    60
\author{Tobias Nipkow \& Lawrence Paulson\\[1ex]
nipkow@10178
    61
Technische Universit{\"a}t M{\"u}nchen \\
nipkow@10340
    62
Institut f{\"u}r Informatik \\[1ex]
nipkow@10340
    63
University of Cambridge\\
nipkow@10340
    64
Computer Laboratory}
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@10340
    72
feedback from 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}