doc-src/TutorialI/tutorial.tex
 author wenzelm Mon Feb 05 14:54:04 2001 +0100 (2001-02-05) changeset 11067 60c83075e41f parent 10978 5eebea8f359f child 11110 306beb99e192 permissions -rw-r--r--
disable non-existant chapters
     1 \documentclass{article}

     2 \newif\ifremarks

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

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

     5 \usepackage{../proof,amsmath,amsfonts}

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

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

     8

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

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

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

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

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

    14 \newcommand{\ttor}{\texttt{|}}

    15 \newcommand{\ttall}{\texttt{!}}

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

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

    18 \newcommand{\ttAnd}{\texttt{!!}}

    19

    20 \newcommand{\isasymimp}{\isasymlongrightarrow}

    21 \newcommand{\isasymImp}{\isasymLongrightarrow}

    22 \newcommand{\isasymFun}{\isasymRightarrow}

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

    24 \renewcommand{\S}{Sect.\ts}

    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 \index{termination|see{total function}}

    50 \index{product type|see{pair}}

    51 \index{tuple|see{pair}}

    52 \index{*<*lex*>|see{lexicographic product}}

    53

    54 \underscoreoff

    55

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

    57

    58 \pagestyle{headings}

    59 %\sloppy

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

    61

    62 \begin{document}

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

    64        \\ \vspace{0.5cm} The Tutorial

    65        \\ --- DRAFT ---}

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

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

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

    69 University of Cambridge\\

    70 Computer Laboratory}

    71 \maketitle

    72

    73 \pagenumbering{roman}

    74 \tableofcontents

    75

    76 \subsubsection*{Acknowledgements}

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

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

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

    80 and Markus Wenzel. Stephan Merz was also kind enough to

    81 read and comment on a draft version.

    82 \clearfirst

    83

    84 \input{basics}

    85 \input{fp}

    86 \input{Rules/rules}

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

    88 \input{Inductive/inductive}

    89 \input{Types/types}

    90 \input{Advanced/advanced}

    91 %\chapter{Theory Presentation}

    92 %\chapter{Case Study: Verifying a Cryptographic Protocol}

    93 %\chapter{Structured Proofs}

    94 %\label{ch:Isar}

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

    96 %\chapter{The Tricks of the Trade}

    97 \input{appendix}

    98

    99 \bibliographystyle{plain}

   100 \bibliography{../manual}

   101 \printindex

   102 \end{document}