10399
|
1 |
\documentclass{article}
|
10298
|
2 |
\newif\ifremarks
|
10522
|
3 |
\remarkstrue %TRUE causes remarks to be displayed (as marginal notes)
|
10399
|
4 |
\usepackage{cl2emono-modified,isabelle,isabellesym}
|
10597
|
5 |
\usepackage{../proof,amsmath,amsfonts}
|
9695
|
6 |
\usepackage{latexsym,verbatim,graphicx,../iman,../extra,../ttbox,comment}
|
8847
|
7 |
\usepackage{../pdfsetup} %last package!
|
8743
|
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}
|
10272
|
23 |
\newcommand{\isasymuniqex}{\isamath{\exists!\,}}
|
10885
|
24 |
\renewcommand{\S}{Sect.\ts}
|
8743
|
25 |
|
|
26 |
\renewenvironment{isamarkuptxt}{\begin{isamarkuptext}}{\end{isamarkuptext}}
|
|
27 |
|
10298
|
28 |
%% lcp's macros
|
10399
|
29 |
\newcommand{\REMARK}[1]{\ifremarks\marginpar{\raggedright\footnotesize#1}\fi}
|
10298
|
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 |
|
8743
|
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 |
|
10654
|
49 |
\index{termination|see{total function}}
|
10543
|
50 |
\index{product type|see{pair}}
|
|
51 |
\index{tuple|see{pair}}
|
10654
|
52 |
\index{*<*lex*>|see{lexicographic product}}
|
10543
|
53 |
|
8743
|
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 ---}
|
10340
|
66 |
\author{Tobias Nipkow \& Lawrence Paulson\\[1ex]
|
10178
|
67 |
Technische Universit{\"a}t M{\"u}nchen \\
|
10340
|
68 |
Institut f{\"u}r Informatik \\[1ex]
|
|
69 |
University of Cambridge\\
|
|
70 |
Computer Laboratory}
|
8743
|
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
|
10971
|
78 |
feedback from the Isabelle group at Munich: Stefan Berghofer, Olaf M{\"u}ller,
|
8743
|
79 |
Wolfgang Naraschewski, David von Oheimb, Leonor Prensa Nieto, Cornelia Pusch
|
10971
|
80 |
and Markus Wenzel. Stephan Merz was also kind enough to
|
8743
|
81 |
read and comment on a draft version.
|
|
82 |
\clearfirst
|
|
83 |
|
|
84 |
\input{basics}
|
|
85 |
\input{fp}
|
10298
|
86 |
\input{Rules/rules}
|
|
87 |
\input{Sets/sets}\input{CTL/ctl} %these constitute ONE chapter
|
10212
|
88 |
\input{Inductive/inductive}
|
10676
|
89 |
\input{Types/types}
|
9958
|
90 |
\input{Advanced/advanced}
|
11067
|
91 |
%\chapter{Theory Presentation}
|
|
92 |
%\chapter{Case Study: Verifying a Cryptographic Protocol}
|
|
93 |
%\chapter{Structured Proofs}
|
|
94 |
%\label{ch:Isar}
|
10971
|
95 |
%\chapter{Case Study: UNIX File-System Security}
|
9958
|
96 |
%\chapter{The Tricks of the Trade}
|
8743
|
97 |
\input{appendix}
|
|
98 |
|
|
99 |
\bibliographystyle{plain}
|
|
100 |
\bibliography{../manual}
|
8828
|
101 |
\printindex
|
8743
|
102 |
\end{document}
|