doc-src/TutorialI/tutorial.tex
 author paulson Mon Nov 06 18:28:22 2000 +0100 (2000-11-06) changeset 10399 e37e123738f7 parent 10340 0a380ac80e7d child 10498 777d6bde7b47 permissions -rw-r--r--
minor modifications for new Springer style
     1 % pr(latex xsymbols symbols)

     2 \documentclass{article}

     3 \newif\ifremarks

     4 \remarkstrue          %TRUE causes remarks to be displayed (as marginal notes)

     5 \usepackage{cl2emono-modified,isabelle,isabellesym}

     6 \usepackage{latexsym,verbatim,graphicx,../iman,../extra,../ttbox,comment}

     7 \usepackage{proof,amsmath}

     8 \usepackage{../pdfsetup}    %last package!

     9

    10 %\newtheorem{theorem}{Theorem}[section]

    11 \newtheorem{Exercise}{Exercise}[section]

    12 \newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}}

    13 \newcommand{\ttlbr}{\texttt{[|}}

    14 \newcommand{\ttrbr}{\texttt{|]}}

    15 \newcommand{\ttor}{\texttt{|}}

    16 \newcommand{\ttall}{\texttt{!}}

    17 \newcommand{\ttuniquex}{\texttt{?!}}

    18 \newcommand{\ttEXU}{\texttt{EX!}}

    19 \newcommand{\ttAnd}{\texttt{!!}}

    20

    21 \newcommand{\isasymimp}{\isasymlongrightarrow}

    22 \newcommand{\isasymImp}{\isasymLongrightarrow}

    23 \newcommand{\isasymFun}{\isasymRightarrow}

    24 \newcommand{\isasymuniqex}{\isamath{\exists!\,}}

    25

    26 \renewenvironment{isamarkuptxt}{\begin{isamarkuptext}}{\end{isamarkuptext}}

    27

    28 %% lcp's macros

    29 \newcommand{\REMARK}[1]{\ifremarks\marginpar{\raggedright\footnotesize#1}\fi}

    30 \newcommand{\rulename}[1]{\hfill$(\text{#1})$} %names of Isabelle rules

    31 \let\bigisa=\isa

    32 %% was previously

    33 %% \newcommand{\bigisa}[1]{\texttt{\textsl{#1}}}

    34 %% because \isa is too small for variables, but does it really matter?

    35

    36

    37 %%% to index derived rls:  ^$$[a-zA-Z0-9][a-zA-Z0-9_]*$$        \\tdx{\1}

    38 %%% to index rulenames:   ^ *($$[a-zA-Z0-9][a-zA-Z0-9_]*$$,     \\tdx{\1}

    39 %%% to index constants:   \\tt $$[a-zA-Z0-9][a-zA-Z0-9_]*$$     \\cdx{\1}

    40 %%% to deverbify:         \\verb|$$[^|]*$$|     \\ttindex{\1}

    41 %% run    ../sedindex logics    to prepare index file

    42

    43 \makeindex

    44 \newcommand{\indexboldpos}[2]{#1\indexbold{#2@#1}}

    45 \newcommand{\ttindexboldpos}[2]{\texttt{#1}\indexbold{#2@\texttt{#1}}}

    46 \newcommand{\isaindexbold}[1]{\isa{#1}\index{*#1|bold}}

    47 \newcommand{\isaindex}[1]{\isa{#1}\index{*#1}}

    48

    49 \underscoreoff

    50

    51 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}  %% {secnumdepth}{2}???

    52

    53 \pagestyle{headings}

    54 %\sloppy

    55 %\binperiod     %%%treat . like a binary operator

    56

    57 \begin{document}

    58 \title{\includegraphics[scale=.8]{isabelle_hol}

    59        \\ \vspace{0.5cm} The Tutorial

    60        \\ --- DRAFT ---}

    61 \author{Tobias Nipkow \& Lawrence Paulson\\[1ex]

    62 Technische Universit{\"a}t M{\"u}nchen \\

    63 Institut f{\"u}r Informatik \\[1ex]

    64 University of Cambridge\\

    65 Computer Laboratory}

    66 \maketitle

    67

    68 \pagenumbering{roman}

    69 \tableofcontents

    70

    71 \subsubsection*{Acknowledgements}

    72 This tutorial owes a lot to the constant discussions with and the valuable

    73 feedback from the Isabelle group at Munich: Olaf M{\"u}ller,

    74 Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto, Cornelia Pusch

    75 and Markus Wenzel. Stefan Berghofer and Stephan Merz were also kind enough to

    76 read and comment on a draft version.

    77 \clearfirst

    78

    79 \input{basics}

    80 \input{fp}

    81 \input{Rules/rules}

    82 \input{Sets/sets}\input{CTL/ctl}  %these constitute ONE chapter

    83 \input{Inductive/inductive}

    84 \input{Advanced/advanced}

    85 \input{Types/types}

    86 \chapter{Theory Presentation}

    87 \chapter{Case Study: The Needhamd-Schroeder Protocol}

    88 \chapter{Structured Proofs}

    89 \chapter{Case Study: UNIX File-System Security}

    90 %\chapter{The Tricks of the Trade}

    91 \input{appendix}

    92

    93 \bibliographystyle{plain}

    94 \bibliography{../manual}

    95 \printindex

    96 \end{document}