Slides/Slides2.thy
author Christian Urban <urbanc@in.tum.de>
Sat, 10 Jul 2010 11:27:04 +0100
changeset 2351 842969a598f2
child 2352 f961a32eb0d9
permissions -rw-r--r--
added material for slides
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2351
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
(*<*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
theory Slides2
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
imports "LaTeXsugar" "Nominal"
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
begin
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
notation (latex output)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  set ("_") and
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
  \renewcommand{\slidecaption}{TU Munich, 28.~May 2010}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
  \begin{frame}<1>[t]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  \frametitle{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  \begin{tabular}{@ {\hspace{-3mm}}c@ {}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  \\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  \huge Nominal 2\\[-2mm] 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  \large Or, How to Reason Conveniently with\\[-5mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  \large General Bindings in Isabelle\\[15mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  \end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  joint work with {\bf Cezary} and Brian Huf\!fman\\[0mm] 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  \end{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  \begin{frame}<1-2>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  \frametitle{\begin{tabular}{c}Part I: Nominal Theory\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
  \item sorted atoms and sort-respecting permutations\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  \onslide<2->{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
  \item[] in old Nominal: atoms have \underline{dif\!ferent} type\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
  \begin{tabular}{c@ {\hspace{7mm}}c}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
  $[]\;\act\;c \dn c$ &
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  $(a\;b)\!::\!\pi\;\act\;c \dn$ 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  $\begin{cases}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  b & \text{if}\; \pi \act c = a\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  a & \text{if}\; \pi \act c = b\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  \pi \act c & \text{otherwise}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
  \end{cases}$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  \end{tabular}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
  \end{center}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
  \begin{frame}<1>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
  \frametitle{\begin{tabular}{c}Problems\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
  \item @{text "_ \<bullet> _ :: \<alpha> perm \<Rightarrow> \<beta> \<Rightarrow> \<beta>"}\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  \item @{text "supp _ :: \<beta> \<Rightarrow> \<alpha> set"}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  $\text{finite} (\text{supp}\;x)_{\,\alpha_1\,\text{set}}$ \ldots 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  $\text{finite} (\text{supp}\;x)_{\,\alpha_n\,\text{set}}$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
  \end{center}\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
  \item $\forall \pi_{\alpha_1} \ldots \pi_{\alpha_n}\;.\; P$\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
  \item type-classes
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
  \begin{frame}<1-4>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
  \frametitle{\begin{tabular}{c}Our New Solution\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
datatype atom = Atom string nat
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
  \mbox{}\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
  \item<2-> permutations are (restricted) bijective functions from @{text "atom \<Rightarrow> atom"}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
     \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
     \item sort-respecting \hspace{5mm}($\forall a.\;\text{sort}(f a) = \text{sort}(a)$)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
     \item finite domain \hspace{5mm}($\text{finite} \{a.\;f a \not= a\}$)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
     \end{itemize}\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  \item<3-> swappings:
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
     \small
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
     \[
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
     \begin{array}{l@ {\hspace{1mm}}l}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
     (a\;b) \dn & \text{if}\;\text{sort}(a) = \text{sort}(b)\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
        & \text{then}\;\lambda  c. \text{if}\;a = c\;\text{then}\;b\;\text{else}\;
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
          \text{if}\;b = c\;\text{then}\;a\;\text{else}\;c\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
        & \text{else}\;\only<3>{\mbox{\textcolor{red}{\bf ?}}}\only<4->{\text{id}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
     \end{array}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
     \]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
  \begin{frame}<1-6>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  \frametitle{\begin{tabular}{c}\LARGE{}A Smoother Nominal Theory\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
  \item<1-> $(a\;b) = (b\;a) \onslide<3->{= (a\;c) + (b\;c) + (a\;c)}$\bigskip  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
  \item<2-> permutations are an instance of group\_add\\ $0$, $\pi_1 + \pi_2$, $- \pi$\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
  \item<5-> $\_\;\act\;\_ :: \text{perm} \Rightarrow \alpha \Rightarrow \alpha$\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
   \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
   \item $0\;\act\;x = x$\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
   \item $(\pi_1 + \pi_2)\;\act\;x = \pi_1\;\act\;(\pi_2\;\act\;x)$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
   \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
   \small
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
   \onslide<6->{$\text{finite}(\text{supp}\;x)$, $\forall \pi. P$}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
  \only<4>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
  \begin{textblock}{6}(2.5,11)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  \begin{tikzpicture}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  \draw (0,0) node[inner sep=3mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
  {\normalsize\color{darkgray}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
  \begin{minipage}{8cm}\raggedright
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
  This is slightly odd, since in general: 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
  \begin{center}$\pi_1 + \pi_2 \alert{\not=} \pi_2 + \pi_1$\end{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
  \end{minipage}};
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
  \end{tikzpicture}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \end{textblock}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  \begin{frame}<1-3>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
  \frametitle{\begin{tabular}{c}Very Few Snatches\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
  \item \underline{concrete} atoms:
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
(*<*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
consts sort :: "atom \<Rightarrow> string"
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
typedef name = "{a :: atom. sort a = ''name''}" (*<*)sorry(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
typedef ident = "{a :: atom. sort a = ''ident''}" (*<*)sorry(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
  \mbox{}\bigskip\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
  \item<2-> there is an overloaded  function \underline{atom}, which injects concrete 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
  atoms into generic ones\medskip 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
  \begin{tabular}{l}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
  $\text{atom}(a) \fresh x$\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
  $(a \leftrightarrow b) \dn (\text{atom}(a)\;\;\text{atom}(b))$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
  \end{tabular}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
  \end{center}\bigskip\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
  \onslide<3->
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
  {I would like to have $a \fresh x$, $(a\; b)$, \ldots}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
  \begin{frame}<1-2>[c]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
  \frametitle{\begin{tabular}{c}\LARGE{}End of Part I\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
  \item the formalised version of the nominal theory is now much nicer to 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
  work with (sorts are occasionally explicit)\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
  \item permutations: ``be as abstract as you can'' (group\_add is a slight oddity)\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  \item allow sort-disrespecting swappings\onslide<2->{: just define them as the identity}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
(*<*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
end
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
(*>*)