16
|
1 |
\usepackage{beamerthemeplaincu}
|
211
|
2 |
%%\usepackage{ulem}
|
16
|
3 |
\usepackage[T1]{fontenc}
|
|
4 |
\usepackage{proof}
|
|
5 |
\usepackage[latin1]{inputenc}
|
|
6 |
\usepackage{isabelle}
|
|
7 |
\usepackage{isabellesym}
|
|
8 |
\usepackage{mathpartir}
|
|
9 |
\usepackage[absolute, overlay]{textpos}
|
|
10 |
\usepackage{proof}
|
|
11 |
\usepackage{ifthen}
|
|
12 |
\usepackage{animate}
|
|
13 |
\usepackage{tikz}
|
|
14 |
\usepackage{pgf}
|
|
15 |
\usetikzlibrary{arrows}
|
|
16 |
\usetikzlibrary{automata}
|
|
17 |
\usetikzlibrary{shapes}
|
|
18 |
\usetikzlibrary{shadows}
|
213
|
19 |
\usetikzlibrary{calc}
|
16
|
20 |
|
|
21 |
% Isabelle configuration
|
|
22 |
%%\urlstyle{rm}
|
|
23 |
\isabellestyle{rm}
|
|
24 |
\renewcommand{\isastyle}{\rm}%
|
|
25 |
\renewcommand{\isastyleminor}{\rm}%
|
|
26 |
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
|
|
27 |
\renewcommand{\isatagproof}{}
|
|
28 |
\renewcommand{\endisatagproof}{}
|
|
29 |
\renewcommand{\isamarkupcmt}[1]{#1}
|
|
30 |
|
|
31 |
% Isabelle characters
|
|
32 |
\renewcommand{\isacharunderscore}{\_}
|
|
33 |
\renewcommand{\isacharbar}{\isamath{\mid}}
|
|
34 |
\renewcommand{\isasymiota}{}
|
|
35 |
\renewcommand{\isacharbraceleft}{\{}
|
|
36 |
\renewcommand{\isacharbraceright}{\}}
|
|
37 |
\renewcommand{\isacharless}{$\langle$}
|
|
38 |
\renewcommand{\isachargreater}{$\rangle$}
|
|
39 |
\renewcommand{\isasymsharp}{\isamath{\#}}
|
|
40 |
\renewcommand{\isasymdots}{\isamath{...}}
|
|
41 |
\renewcommand{\isasymbullet}{\act}
|
|
42 |
|
|
43 |
% mathpatir
|
|
44 |
\mprset{sep=1em}
|
|
45 |
|
|
46 |
% general math stuff
|
|
47 |
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
|
|
48 |
\newcommand{\dnn}{\stackrel{\mbox{\Large def}}{=}}
|
204
|
49 |
\renewcommand{\isasymequiv}{$\dn$}
|
16
|
50 |
\renewcommand{\emptyset}{\varnothing}% nice round empty set
|
|
51 |
\renewcommand{\Gamma}{\varGamma}
|
|
52 |
\DeclareRobustCommand{\flqq}{\mbox{\guillemotleft}}
|
|
53 |
\DeclareRobustCommand{\frqq}{\mbox{\guillemotright}}
|
|
54 |
\newcommand{\smath}[1]{\textcolor{blue}{\ensuremath{#1}}}
|
|
55 |
\newcommand{\fresh}{\mathrel{\#}}
|
|
56 |
\newcommand{\act}{{\raisebox{-0.5mm}{\Large$\boldsymbol{\cdot}$}}}% swapping action
|
|
57 |
\newcommand{\swap}[2]{(#1\,#2)}% swapping operation
|
|
58 |
|
|
59 |
% beamer stuff
|
|
60 |
\renewcommand{\slidecaption}{Salvador, 26.~August 2008}
|
|
61 |
|
|
62 |
|
|
63 |
% colours for Isar Code (in article mode everything is black and white)
|
|
64 |
\mode<presentation>{
|
|
65 |
\definecolor{isacol:brown}{rgb}{.823,.411,.117}
|
|
66 |
\definecolor{isacol:lightblue}{rgb}{.274,.509,.705}
|
|
67 |
\definecolor{isacol:green}{rgb}{0,.51,0.14}
|
|
68 |
\definecolor{isacol:red}{rgb}{.803,0,0}
|
|
69 |
\definecolor{isacol:blue}{rgb}{0,0,.803}
|
|
70 |
\definecolor{isacol:darkred}{rgb}{.545,0,0}
|
|
71 |
\definecolor{isacol:black}{rgb}{0,0,0}}
|
|
72 |
\mode<article>{
|
|
73 |
\definecolor{isacol:brown}{rgb}{0,0,0}
|
|
74 |
\definecolor{isacol:lightblue}{rgb}{0,0,0}
|
|
75 |
\definecolor{isacol:green}{rgb}{0,0,0}
|
|
76 |
\definecolor{isacol:red}{rgb}{0,0,0}
|
|
77 |
\definecolor{isacol:blue}{rgb}{0,0,0}
|
|
78 |
\definecolor{isacol:darkred}{rgb}{0,0,0}
|
|
79 |
\definecolor{isacol:black}{rgb}{0,0,0}
|
|
80 |
}
|
|
81 |
|
|
82 |
|
|
83 |
\newcommand{\strong}[1]{{\bfseries {#1}}}
|
|
84 |
\newcommand{\bluecmd}[1]{{\color{isacol:lightblue}{\strong{#1}}}}
|
|
85 |
\newcommand{\browncmd}[1]{{\color{isacol:brown}{\strong{#1}}}}
|
|
86 |
\newcommand{\redcmd}[1]{{\color{isacol:red}{\strong{#1}}}}
|
|
87 |
|
|
88 |
\renewcommand{\isakeyword}[1]{%
|
|
89 |
\ifthenelse{\equal{#1}{show}}{\browncmd{#1}}{%
|
|
90 |
\ifthenelse{\equal{#1}{case}}{\browncmd{#1}}{%
|
|
91 |
\ifthenelse{\equal{#1}{assume}}{\browncmd{#1}}{%
|
|
92 |
\ifthenelse{\equal{#1}{obtain}}{\browncmd{#1}}{%
|
|
93 |
\ifthenelse{\equal{#1}{fix}}{\browncmd{#1}}{%
|
|
94 |
\ifthenelse{\equal{#1}{oops}}{\redcmd{#1}}{%
|
|
95 |
\ifthenelse{\equal{#1}{thm}}{\redcmd{#1}}{%
|
|
96 |
{\bluecmd{#1}}}}}}}}}}%
|
|
97 |
|
|
98 |
% inner syntax colour
|
|
99 |
\chardef\isachardoublequoteopen=`\"%
|
|
100 |
\chardef\isachardoublequoteclose=`\"%
|
|
101 |
\chardef\isacharbackquoteopen=`\`%
|
|
102 |
\chardef\isacharbackquoteclose=`\`%
|
|
103 |
\newenvironment{innersingle}%
|
|
104 |
{\isacharbackquoteopen\color{isacol:green}}%
|
|
105 |
{\color{isacol:black}\isacharbackquoteclose}
|
|
106 |
\newenvironment{innerdouble}%
|
|
107 |
{\isachardoublequoteopen\color{isacol:green}}%
|
|
108 |
{\color{isacol:black}\isachardoublequoteclose}
|
|
109 |
|
|
110 |
%% misc
|
|
111 |
\newcommand{\gb}[1]{\textcolor{isacol:green}{#1}}
|
|
112 |
\newcommand{\rb}[1]{\textcolor{red}{#1}}
|
|
113 |
|
|
114 |
%% animations
|
|
115 |
\newcounter{growcnt}
|
|
116 |
\newcommand{\grow}[2]
|
|
117 |
{\begin{tikzpicture}[baseline=(n.base)]%
|
|
118 |
\node[scale=(0.1 *#1 + 0.001),inner sep=0pt] (n) {#2};
|
|
119 |
\end{tikzpicture}%
|
|
120 |
}
|
|
121 |
|
|
122 |
%% isatabbing
|
|
123 |
%\renewcommand{\isamarkupcmt}[1]%
|
|
124 |
%{\ifthenelse{\equal{TABSET}{#1}}{\=}%
|
|
125 |
% {\ifthenelse{\equal{TAB}{#1}}{\>}%
|
|
126 |
% {\ifthenelse{\equal{NEWLINE}{#1}}{\\}%
|
|
127 |
% {\ifthenelse{\equal{DOTS}{#1}}{\ldots}{\isastylecmt--- {#1}}}%
|
|
128 |
% }%
|
|
129 |
% }%
|
|
130 |
%}%
|
|
131 |
|
|
132 |
|
|
133 |
\newenvironment{isatabbing}%
|
|
134 |
{\renewcommand{\isanewline}{\\}\begin{tabbing}}%
|
|
135 |
{\end{tabbing}}
|
|
136 |
|
|
137 |
\begin{document}
|
|
138 |
\input{session}
|
|
139 |
\end{document}
|
|
140 |
|
|
141 |
%%% Local Variables:
|
|
142 |
%%% mode: latex
|
|
143 |
%%% TeX-master: t
|
|
144 |
%%% TeX-command-default: "Slides"
|
|
145 |
%%% TeX-view-style: (("." "kghostview --landscape --scale 0.45 --geometry 605x505 %f"))
|
|
146 |
%%% End:
|
|
147 |
|