Slides/Slides2.thy
author Christian Urban <urbanc@in.tum.de>
Sat, 10 Jul 2010 15:50:33 +0100
changeset 2352 f961a32eb0d9
parent 2351 842969a598f2
child 2353 ac064c47138b
permissions -rw-r--r--
more on 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 {*
2352
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    14
  \renewcommand{\slidecaption}{Edinburgh, 11.~July 2010}
2351
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
  \\
2352
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    21
  \LARGE Proof Pearl:\\[-2mm]
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    22
  \LARGE A New Foundation for\\[-2mm] 
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    23
  \LARGE Nominal Isabelle\\[12mm]
2351
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}
2352
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    26
  \small
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    27
  Brian Huf\!fman and {\bf Christian Urban}\\[0mm] 
2351
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  \end{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \end{frame}}
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
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  \begin{frame}<1-2>
2352
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    38
  \frametitle{\begin{tabular}{c}Nominal Isabelle\end{tabular}}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    39
  \mbox{}\\[-3mm]
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    40
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    41
  \begin{itemize}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    42
  \item sorted atoms and sort-respecting permutations\medskip
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    43
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    44
  \onslide<2->{
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    45
  \item[] in old Nominal: atoms have \underline{dif\!ferent} type\medskip
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    46
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    47
  \begin{center}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    48
  \begin{tabular}{c@ {\hspace{7mm}}c}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    49
  $[]\;\act\;c \dn c$ &
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    50
  $(a\;b)\!::\!\pi\;\act\;c \dn$ 
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    51
  $\begin{cases}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    52
  b & \text{if}\; \pi \act c = a\\
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    53
  a & \text{if}\; \pi \act c = b\\
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    54
  \pi \act c & \text{otherwise}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    55
  \end{cases}$
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    56
  \end{tabular}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    57
  \end{center}}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    58
  \end{itemize}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    59
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    60
  \end{frame}}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    61
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    62
*}
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    63
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    64
text_raw {*
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    65
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    66
  \mode<presentation>{
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    67
  \begin{frame}<1-2>
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    68
  \frametitle{\begin{tabular}{c}Nominal Theory\end{tabular}}
2351
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
  \item sorted atoms and sort-respecting permutations\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  \onslide<2->{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  \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
    76
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
  \begin{tabular}{c@ {\hspace{7mm}}c}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
  $[]\;\act\;c \dn c$ &
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
  $(a\;b)\!::\!\pi\;\act\;c \dn$ 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
  $\begin{cases}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
  b & \text{if}\; \pi \act c = a\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
  a & \text{if}\; \pi \act c = b\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
  \pi \act c & \text{otherwise}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
  \end{cases}$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
  \end{tabular}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
  \end{center}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
text_raw {*
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
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  \begin{frame}<1>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  \frametitle{\begin{tabular}{c}Problems\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
  \item @{text "_ \<bullet> _ :: \<alpha> perm \<Rightarrow> \<beta> \<Rightarrow> \<beta>"}\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  \item @{text "supp _ :: \<beta> \<Rightarrow> \<alpha> set"}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  $\text{finite} (\text{supp}\;x)_{\,\alpha_1\,\text{set}}$ \ldots 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  $\text{finite} (\text{supp}\;x)_{\,\alpha_n\,\text{set}}$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
  \end{center}\bigskip
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
  \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
   112
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  \item type-classes
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
  \end{frame}}
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
*}
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
text_raw {*
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
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  \begin{frame}<1-4>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  \frametitle{\begin{tabular}{c}Our New Solution\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
datatype atom = Atom string nat
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
  \mbox{}\bigskip
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<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
   133
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
     \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
     \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
   136
     \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
   137
     \end{itemize}\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
  \item<3-> swappings:
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
     \small
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
     \[
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
     \begin{array}{l@ {\hspace{1mm}}l}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
     (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
   144
        & \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
   145
          \text{if}\;b = c\;\text{then}\;a\;\text{else}\;c\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
        & \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
   147
     \end{array}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
     \]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
  \begin{frame}<1-6>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
  \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
   160
  \mbox{}\\[-3mm]
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
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  \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
   164
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
  \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
   166
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
  \item<5-> $\_\;\act\;\_ :: \text{perm} \Rightarrow \alpha \Rightarrow \alpha$\medskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
   \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
   \item $0\;\act\;x = x$\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
   \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
   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
   \small
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
   \onslide<6->{$\text{finite}(\text{supp}\;x)$, $\forall \pi. P$}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  \end{itemize}
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
  \only<4>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
  \begin{textblock}{6}(2.5,11)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
  \begin{tikzpicture}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
  \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
   182
  {\normalsize\color{darkgray}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  \begin{minipage}{8cm}\raggedright
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
  This is slightly odd, since in general: 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
  \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
   186
  \end{minipage}};
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
  \end{tikzpicture}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
  \end{textblock}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
text_raw {*
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
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
  \begin{frame}<1-3>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
  \frametitle{\begin{tabular}{c}Very Few Snatches\end{tabular}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
  \mbox{}\\[-3mm]
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
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
  \item \underline{concrete} atoms:
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
(*<*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
consts sort :: "atom \<Rightarrow> string"
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
(*>*)
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
typedef name = "{a :: atom. sort a = ''name''}" (*<*)sorry(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
typedef ident = "{a :: atom. sort a = ''ident''}" (*<*)sorry(*>*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
  \mbox{}\bigskip\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  \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
   216
  atoms into generic ones\medskip 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
  \begin{center}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
  \begin{tabular}{l}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
  $\text{atom}(a) \fresh x$\\
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
  $(a \leftrightarrow b) \dn (\text{atom}(a)\;\;\text{atom}(b))$
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
  \end{tabular}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
  \end{center}\bigskip\medskip
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
  \onslide<3->
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
  {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
   226
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
text_raw {*
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  \mode<presentation>{
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
  \begin{frame}<1-2>[c]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  \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
   238
  \mbox{}\\[-3mm]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
  \begin{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
  \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
   242
  work with (sorts are occasionally explicit)\bigskip
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
  \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
   245
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
  \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
   247
  \end{itemize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
  
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
  \end{frame}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
*}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
(*<*)
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
end
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
(*>*)