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