Slides/Slides9.thy
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 01 Apr 2013 23:22:53 +0100
changeset 3217 d67a6a48f1c7
parent 3052 41ec301eb062
child 3224 cf451e182bf0
permissions -rw-r--r--
added example for locales (by Tjark Weber)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3052
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
(*<*)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
theory Slides9
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
imports "~~/src/HOL/Library/LaTeXsugar" "Nominal"
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
begin
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
notation (latex output)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  set ("_") and
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
(*>*)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
  %% shallow, deep, and recursive binders
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
  %%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
  %%\renewcommand{\slidecaption}{Cambridge, 8.~June 2010}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
  %%\renewcommand{\slidecaption}{Uppsala, 3.~March 2011}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  \renewcommand{\slidecaption}{Leicester, 23.~November 2011}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  \newcommand{\soutt}[1]{\tikz[baseline=(X.base), inner sep=-0.1pt, outer sep=0pt]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  \node [cross out,red, ultra thick, draw] (X) {\textcolor{black}{#1}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  \begin{frame}<1>[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  \frametitle{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
  \begin{tabular}{@ {\hspace{-3mm}}c@ {}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  \LARGE General Binding Structures\\[-1mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  \LARGE in Nominal Isabelle 2\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  Christian Urban
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  joint work with {\bf Cezary Kaliszyk}\\[0mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
  \begin{frame}<1>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
  \frametitle{\begin{tabular}{c}Binding in Old Nominal\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  \item the old Nominal Isabelle provided a reasoning infrastructure for single binders\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  Lam [a].(Var a)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  \end{center}\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  \item<2-> but representing 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
  $\forall\{a_1,\ldots,a_n\}.\; T$ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  \end{center}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
  with single binders and reasoning about it is a \alert{\bf major} pain; 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
  take my word for it!
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  \only<1>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
  \begin{textblock}{6}(1.5,11)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
  \small
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  for example\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  \begin{tabular}{l@ {\hspace{2mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
   & a $\fresh$ Lam [a]. t\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
   & Lam [a]. (Var a) \alert{$=$} Lam [b]. (Var b)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
   & Barendregt-style reasoning about bound variables\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
   & (variable convention can lead to faulty reasoning)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
  \frametitle{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
  \begin{tabular}{c@ {\hspace{2mm}}c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
  \\[6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
  \begin{tabular}{c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
  \includegraphics[scale=0.11]{harper.jpg}\\[-2mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  {\footnotesize Bob Harper}\\[-2.5mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
  {\footnotesize (CMU)}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
  \begin{tabular}{c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
  \includegraphics[scale=0.37]{pfenning.jpg}\\[-2mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
  {\footnotesize Frank Pfenning}\\[-2.5mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  {\footnotesize (CMU)}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  \end{tabular} &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  \begin{tabular}{p{6cm}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
  \raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
  \color{gray}{published a proof in\\ {\bf ACM Transactions on Computational Logic}, 2005,
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
  $\sim$31pp}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  \end{tabular}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
  \pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  \\[0mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
  \begin{tabular}{c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
  \includegraphics[scale=0.36]{appel.jpg}\\[-2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
  {\footnotesize Andrew Appel}\\[-2.5mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  {\footnotesize (Princeton)}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  \end{tabular} &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  \begin{tabular}{p{6cm}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
  \raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
  \color{gray}{relied on their proof in a\\ {\bf security} critical application}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
  \end{tabular}\medskip\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
  \small
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
  \begin{minipage}{1.0\textwidth}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  (I also found an {\bf error} in my Ph.D.-thesis about cut-elimination
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  examined by Henk Barendregt and Andy Pitts.)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
  \frametitle{\begin{tabular}{c}Binding in Old Nominal\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
  \item<1-> but representing 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
  $\forall\{a_1,\ldots,a_n\}.\; T$ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
  \end{center}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
  with single binders and reasoning about it was a \alert{\bf major} pain; 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
  take my word for it!
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
  \begin{frame}<1-6>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \frametitle{New Types in HOL}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
   \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
  \begin{tikzpicture}[scale=1.5]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
  %%%\draw[step=2mm] (-4,-1) grid (4,1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  \onslide<2-4,6>{\draw[very thick] (0.7,0.4) circle (4.25mm);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
  \onslide<1-4,6>{\draw[rounded corners=1mm, very thick] ( 0.0,-0.8) rectangle ( 1.8, 0.9);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
  \onslide<3-5,6>{\draw[rounded corners=1mm, very thick] (-1.95,0.85) rectangle (-2.85,-0.05);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
  \onslide<3-4,6>{\draw (-2.0, 0.845) --  (0.7,0.845);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  \onslide<3-4,6>{\draw (-2.0,-0.045)  -- (0.7,-0.045);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
  \onslide<4-4,6>{\alert{\draw ( 0.7, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-\\[-1mm]classes\end{tabular}};}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
  \onslide<4-5,6>{\alert{\draw (-2.4, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-eq.\\[-1mm]terms\end{tabular}};}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
  \onslide<1-4,6>{\draw (1.8, 0.48) node[right=-0.1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
    {\footnotesize\begin{tabular}{@ {}l@ {}}existing\\[-1mm] type\\ \onslide<4-4,6>{\alert{(sets of raw terms)}}\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
  \onslide<2-4,6>{\draw (0.9, -0.35) node {\footnotesize\begin{tabular}{@ {}l@ {}}non-empty\\[-1mm]subset\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
  \onslide<3-5,6>{\draw (-3.25, 0.55) node {\footnotesize\begin{tabular}{@ {}l@ {}}new\\[-1mm]type\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
  \onslide<3-4,6>{\draw[<->, very thick] (-1.8, 0.3) -- (-0.1,0.3);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
  \onslide<3-4,6>{\draw (-0.95, 0.3) node[above=0mm] {\footnotesize{}isomorphism};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
  \onslide<6>{\draw[->, line width=2mm, red] (-1.0,-0.4) -- (0.35,0.16);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
  \textcolor{red}{\large\bf\onslide<6>{define $\alpha$-equivalence}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
  \begin{frame}<1-4>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
  \frametitle{\begin{tabular}{c}Binding Sets of Names\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
  \item binding sets of names has some interesting properties:\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
  \begin{tabular}{l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
  \textcolor{blue}{$\forall\{x, y\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{y, x\}.\, y \rightarrow x$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
  \bigskip\smallskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
  \onslide<2->{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
  \textcolor{blue}{$\forall\{x, y\}.\, x \rightarrow y \;\;\not\approx_\alpha\;\; \forall\{z\}.\, z \rightarrow z$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
  }\bigskip\smallskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
  \onslide<3->{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
  \textcolor{blue}{$\forall\{x\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{x, \alert{z}\}.\, x \rightarrow y$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  }\medskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
  \onslide<3->{\hspace{4cm}\small provided $z$ is fresh for the type}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
  \begin{textblock}{8}(2,14.5)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
  \footnotesize $^*$ $x$, $y$, $z$ are assumed to be distinct
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
  \end{textblock}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
  \only<4>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
  \begin{textblock}{6}(2.5,4)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
  \draw (0,0) node[inner sep=3mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  {\normalsize\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  \begin{minipage}{8cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
  For type-schemes the order of bound names does not matter, and
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
  $\alpha$-equivalence is preserved under \alert{vacuous} binders.
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
  \begin{frame}<1-3>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
  \frametitle{\begin{tabular}{c}Other Binding Modes\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
  \item alpha-equivalence being preserved under vacuous binders is \underline{not} always
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
  wanted:\bigskip\bigskip\normalsize
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  \textcolor{blue}{\begin{tabular}{@ {\hspace{-8mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
  $\text{let}\;x = 3\;\text{and}\;y = 2\;\text{in}\;x - y\;\text{end}$\medskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
  \onslide<2->{$\;\;\;\only<2>{\approx_\alpha}\only<3>{\alert{\not\approx_\alpha}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
   \text{let}\;y = 2\;\text{and}\;x = 3\only<3->{\alert{\;\text{and}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
    \;z = \text{loop}}}\;\text{in}\;x - y\;\text{end}$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
  \begin{frame}<1>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
  \frametitle{\begin{tabular}{c}\LARGE{}Even Another Binding Mode\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
  \item sometimes one wants to abstract more than one name, but the order \underline{does} matter\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
  \textcolor{blue}{\begin{tabular}{@ {\hspace{-8mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
  $\text{let}\;(x, y) = (3, 2)\;\text{in}\;x - y\;\text{end}$\medskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
  $\;\;\;\not\approx_\alpha
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
   \text{let}\;(y, x) = (3, 2)\;\text{in}\;x - y\;\text{end}$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
  \begin{frame}<1-2>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
  \frametitle{\begin{tabular}{c}\LARGE{}Three Binding Modes\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
  \item the order does not matter and alpha-equivelence is preserved under
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
  vacuous binders \textcolor{gray}{(restriction)}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
  \item the order does not matter, but the cardinality of the binders 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
  must be the same \textcolor{gray}{(abstraction)}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
  \item the order does matter \textcolor{gray}{(iterated single binders)}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
  \onslide<2->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
  \isacommand{bind (set+)}\hspace{6mm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
  \isacommand{bind (set)}\hspace{6mm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
  \isacommand{bind}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
  \end{center}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
  \begin{frame}<1-3>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
  \frametitle{\begin{tabular}{c}Specification of Binding\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
  \mbox{}\hspace{10mm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
  \begin{tabular}{ll}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
  \hspace{5mm}\phantom{$|$} Var name\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
  \hspace{5mm}$|$ App trm trm\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
  \hspace{5mm}$|$ Lam \only<2->{x::}name \only<2->{t::}trm
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  & \onslide<2->{\isacommand{bind} x \isacommand{in} t}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
  \hspace{5mm}$|$ Let \only<2->{as::}assns \only<2->{t::}trm
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  & \onslide<2->{\isacommand{bind} bn(as) \isacommand{in} t}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
  \multicolumn{2}{l}{\onslide<3->{\isacommand{binder} bn \isacommand{where}}}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
  \multicolumn{2}{l}{\onslide<3->{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ []}}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
  \multicolumn{2}{l}{\onslide<3->{\hspace{5mm}$|$ bn(ACons a t as) $=$ [a] @ bn(as)}}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
  \begin{frame}<1-2,4-8>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
  \frametitle{\begin{tabular}{c}Alpha-Equivalence\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
  \item lets first look at pairs\bigskip\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
  \textcolor{blue}{\begin{tabular}{@ {\hspace{1cm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
  $(as, x) \onslide<2->{\approx\!}\makebox[5mm][l]{\only<2-6>{${}_{\text{set}}$}%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
           \only<7>{${}_{\text{\alert{list}}}$}%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
           \only<8>{${}_{\text{\alert{set+}}}$}}%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
           \,\onslide<2->{(bs,y)}$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
  \end{tabular}}\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
  \only<1>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
  \begin{textblock}{8}(3,8.5)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
  \begin{tabular}{l@ {\hspace{2mm}}p{8cm}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
   & \textcolor{blue}{$as$} is a set of names\ldots the binders\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
   & \textcolor{blue}{$x$} is the body (might be a tuple)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
   & \textcolor{blue}{$\approx_{\text{set}}$} is where the cardinality 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
  of the binders has to be the same\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
  \only<4->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
  \begin{textblock}{12}(5,8)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
  \textcolor{blue}{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
  \begin{tabular}{ll@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
  $\dn$ & \onslide<5->{$\exists \pi.\,$} & $\text{fv}(x) - as = \text{fv}(y) - bs$\\[1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$\text{fv}(x) - as \fresh^* \pi$}\\[1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$(\pi \act x) = y$}\\[1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
        & \only<6-7>{$\;\;\;\wedge$}\only<8>{\textcolor{gray}{\xout{$\;\;\;\wedge$}}} & 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
          \only<6-7>{$\pi \act as = bs$}\only<8>{\textcolor{gray}{\xout{$\pi \act as = bs$}}}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
  \only<7>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
  \begin{textblock}{7}(3,13.8)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
  \footnotesize $^*$ $as$ and $bs$ are \alert{lists} of names 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
  \begin{frame}<1-3>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
  \item lets look at type-schemes:\medskip\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
  \textcolor{blue}{$(as, x) \approx\!\makebox[5mm][l]{${}_{\text{set}}$} (bs, y)$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
  \end{center}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
  \onslide<2->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
  \textcolor{blue}{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
  \begin{tabular}{l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
  $\text{fv}(x) = \{x\}$\\[1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
  $\text{fv}(T_1 \rightarrow T_2) = \text{fv}(T_1) \cup \text{fv}(T_2)$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
  \end{center}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
  \only<3->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
  \begin{textblock}{4}(0.3,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
  \multicolumn{2}{@ {}l}{set+:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
  \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
  \only<3->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
  \begin{textblock}{4}(5.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
  \multicolumn{2}{@ {}l}{set:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
  \only<3->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
  \begin{textblock}{4}(10.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
  \multicolumn{2}{@ {}l}{list:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
  \begin{frame}<1-2>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
  \textcolor{blue}{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
  \only<1>{$(\{x, y\}, x \rightarrow y) \approx_? (\{x, y\}, y \rightarrow x)$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
  \only<2>{$([x, y], x \rightarrow y) \approx_? ([x, y], y \rightarrow x)$}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
  \item \textcolor{blue}{$\approx_{\text{set+}}$, $\approx_{\text{set}}$% 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
  \only<2>{, \alert{$\not\approx_{\text{list}}$}}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
  \begin{textblock}{4}(0.3,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
  \multicolumn{2}{@ {}l}{set+:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   504
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   505
  \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   506
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   510
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
  \begin{textblock}{4}(5.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   516
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
  \multicolumn{2}{@ {}l}{set:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   518
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   526
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
  \begin{textblock}{4}(10.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
  \multicolumn{2}{@ {}l}{list:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   535
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   542
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   546
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   547
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
  \begin{frame}<1-2>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   551
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
  \mbox{}\\[-3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
  \textcolor{blue}{\only<1>{$(\{x\}, x) \approx_? (\{x, y\}, x)$}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   556
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   557
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   558
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   559
  \item \textcolor{blue}{$\approx_{\text{set+}}$, $\not\approx_{\text{set}}$,
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   560
        $\not\approx_{\text{list}}$}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   561
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   562
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
  \begin{textblock}{4}(0.3,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
  \multicolumn{2}{@ {}l}{set+:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   574
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   575
  \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   577
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   579
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   580
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   581
  \begin{textblock}{4}(5.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   582
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   583
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   584
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   585
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   586
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   587
  \multicolumn{2}{@ {}l}{set:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   588
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   589
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   590
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   591
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   592
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   593
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   594
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   595
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   596
  \only<1->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   597
  \begin{textblock}{4}(10.2,12)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   598
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   599
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   600
  {\tiny\color{darkgray}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   601
  \begin{minipage}{3.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   602
  \begin{tabular}{r@ {\hspace{1mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   603
  \multicolumn{2}{@ {}l}{list:}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   604
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   605
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   606
  $\wedge$ & $\pi \cdot x = y$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   607
  $\wedge$ & $\pi \cdot as = bs$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   608
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   609
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   610
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   611
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   612
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   613
  \only<2>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   614
  \begin{textblock}{6}(2.5,4)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   615
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   616
  \draw (0,0) node[inner sep=5mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   617
  {\normalsize
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   618
  \begin{minipage}{8cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   619
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   620
  \item \color{darkgray}$\alpha$-equivalences coincide when a single name is
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   621
  abstracted
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   622
  \item \color{darkgray}in that case they are equivalent to ``old-fashioned'' definitions of $\alpha$ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   623
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   624
  \end{minipage}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   625
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   626
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   627
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   628
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   629
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   630
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   631
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   632
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   633
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   634
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   635
  \begin{frame}<1->
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   636
  \frametitle{\begin{tabular}{c}Our Specifications\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   637
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   638
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   639
  \mbox{}\hspace{10mm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   640
  \begin{tabular}{ll}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   641
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   642
  \hspace{5mm}\phantom{$|$} Var name\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   643
  \hspace{5mm}$|$ App trm trm\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   644
  \hspace{5mm}$|$ Lam x::name t::trm
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   645
  & \isacommand{bind} x \isacommand{in} t\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   646
  \hspace{5mm}$|$ Let as::assns t::trm
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   647
  & \isacommand{bind} bn(as) \isacommand{in} t\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   648
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   649
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   650
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   651
  \multicolumn{2}{l}{\isacommand{binder} bn \isacommand{where}}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   652
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ $[]$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   653
  \multicolumn{2}{l}{\hspace{5mm}$|$ bn(ACons a t as) $=$ $[$a$]$ @ bn(as)}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   654
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   655
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   656
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   657
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   658
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   659
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   660
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   661
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   662
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   663
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   664
  \begin{frame}<1->[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   665
  \frametitle{\begin{tabular}{c}Binder Clauses\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   666
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   667
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   668
  \item We need  to have a `clear scope' for a bound variable, and bound
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   669
  variables should not be free and bound at the same time.\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   670
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   671
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   672
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   673
  \only<1>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   674
  \begin{tabular}{@ {\hspace{-5mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   675
  \alert{\bf shallow binders}\\ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   676
  \hspace{4mm}Lam x::name t::trm\hspace{4mm} \isacommand{bind} x \isacommand{in} t\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   677
  \hspace{4mm}All xs::name set T::ty\hspace{4mm} \isacommand{bind} xs \isacommand{in} T\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   678
  \hspace{4mm}Foo x::name t$_1$::trm t$_2$::trm\hspace{4mm} 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   679
     \isacommand{bind} x \isacommand{in} t$_1$, \isacommand{bind} x \isacommand{in} t$_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   680
  \hspace{4mm}Bar x::name t$_1$::trm t$_2$::trm\hspace{4mm} 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   681
     \isacommand{bind} x \isacommand{in} t$_1$ t$_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   682
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   683
  \only<2>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   684
  \begin{tabular}{@ {\hspace{-5mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   685
  \alert{\bf deep binders} \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   686
  \hspace{4mm}Let as::assns t::trm\hspace{4mm} \isacommand{bind} bn(as) \isacommand{in} t\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   687
  \hspace{4mm}Foo as::assns t$_1$::trm t$_2$::trm\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   688
  \hspace{20mm}\isacommand{bind} bn(as) \isacommand{in} t$_1$, \isacommand{bind} bn(as) \isacommand{in} t$_2$\\[4mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   689
  \makebox[0mm][l]{\alert{$\times$}}\hspace{4mm}Bar as::assns t$_1$::trm t$_2$::trm\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   690
  \hspace{20mm}\isacommand{bind} bn$_1$(as) \isacommand{in} t$_1$, \isacommand{bind} bn$_2$(as) \isacommand{in} t$_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   691
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   692
  \only<3>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   693
  \begin{tabular}{@ {\hspace{-5mm}}l}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   694
  {\bf deep \alert{recursive} binders} \\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   695
  \hspace{4mm}Let\_rec as::assns t::trm\hspace{4mm} \isacommand{bind} bn(as) \isacommand{in} t as\\[4mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   696
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   697
  \makebox[0mm][l]{\alert{$\times$}}\hspace{4mm}Foo\_rec as::assns t$_1$::trm t$_2$::trm\hspace{4mm}\\ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   698
  \hspace{20mm}\isacommand{bind} bn(as) \isacommand{in} t$_1$ as, \isacommand{bind} bn(as) \isacommand{in} t$_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   699
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   700
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   701
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   702
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   703
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   704
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   705
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   706
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   707
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   708
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   709
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   710
  \begin{frame}<1-5>
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   711
  \frametitle{\begin{tabular}{c}Our Work\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   712
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   713
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   714
    \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   715
  \begin{tikzpicture}[scale=1.5]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   716
  %%%\draw[step=2mm] (-4,-1) grid (4,1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   717
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   718
  \onslide<1>{\draw[very thick] (0.7,0.4) circle (4.25mm);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   719
  \onslide<1>{\draw[rounded corners=1mm, very thick] ( 0.0,-0.8) rectangle ( 1.8, 0.9);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   720
  \onslide<1->{\draw[rounded corners=1mm, very thick] (-1.95,0.85) rectangle (-2.85,-0.05);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   721
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   722
  \onslide<1>{\draw (-2.0, 0.845) --  (0.7,0.845);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   723
  \onslide<1>{\draw (-2.0,-0.045)  -- (0.7,-0.045);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   724
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   725
  \onslide<1>{\alert{\draw ( 0.7, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-\\[-1mm]classes\end{tabular}};}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   726
  \onslide<1->{\alert{\draw (-2.4, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-eq.\\[-1mm]terms\end{tabular}};}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   727
  \onslide<1>{\draw (1.8, 0.48) node[right=-0.1mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   728
    {\footnotesize\begin{tabular}{@ {}l@ {}}existing\\[-1mm] type\\ \onslide<1>{\alert{(sets of raw terms)}}\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   729
  \onslide<1>{\draw (0.9, -0.35) node {\footnotesize\begin{tabular}{@ {}l@ {}}non-empty\\[-1mm]subset\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   730
  \onslide<1->{\draw (-3.25, 0.55) node {\footnotesize\begin{tabular}{@ {}l@ {}}new\\[-1mm]type\end{tabular}};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   731
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   732
  \onslide<1>{\draw[<->, very thick] (-1.8, 0.3) -- (-0.1,0.3);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   733
  \onslide<1>{\draw (-0.95, 0.3) node[above=0mm] {\footnotesize{}isomorphism};}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   734
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   735
  \onslide<1>{\draw[->, line width=2mm, red] (-1.0,-0.4) -- (0.35,0.16);}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   736
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   737
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   738
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   739
  \begin{textblock}{9.5}(6,3.5)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   740
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   741
  \item<1-> defined fv and $\alpha$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   742
  \item<2-> built quotient / new type
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   743
  \item<3-> derived a reasoning infrastructure ($\fresh$, distinctness, injectivity, cases,\ldots) 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   744
  \item<4-> derive a {\bf stronger} cases lemma
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   745
  \item<5-> from this, a {\bf stronger} induction principle (Barendregt variable convention built in)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   746
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   747
  \textcolor{blue}{Foo ($\lambda x. \lambda y. t$) ($\lambda u. \lambda v. s$)} 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   748
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   749
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   750
  \end{textblock}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   751
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   752
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   753
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   754
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   755
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   756
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   757
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   758
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   759
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   760
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   761
  \begin{frame}<1->
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   762
  \frametitle{\begin{tabular}{c}Part I: Conclusion\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   763
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   764
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   765
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   766
  \item the user does not see anything of the raw level\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   767
  \only<1>{\begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   768
  Lam a (Var a) \alert{$=$} Lam b (Var b)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   769
  \end{center}\bigskip}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   770
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   771
  \item<2-> \textcolor{blue}{http://isabelle.in.tum.de/nominal/}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   772
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   773
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   774
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   775
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   776
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   777
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   778
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   779
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   780
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   781
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   782
  \begin{frame}<1->
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   783
  \frametitle{\begin{tabular}{c}Part II: $\alpha\beta$-Equal Terms\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   784
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   785
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   786
  \item we have implemented a quotient package for Isabelle;
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   787
  \item can now introduce the type of $\alpha\beta$-equal terms (starting
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   788
  from $\alpha$-equal terms).
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   789
  \item on paper this looks easy\pause\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   790
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   791
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   792
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   793
  \begin{tabular}{lll}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   794
  \smath{x \approx_{\alpha\beta} y} & \smath{\;\not\Rightarrow\;} & 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   795
  \smath{\text{supp}(x) = \text{supp}(y)}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   796
  & \smath{\;\not\Rightarrow\;} & 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   797
  \smath{\text{size}(x) = \text{size}(y)}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   798
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   799
  \end{center}\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   800
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   801
  \small
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   802
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   803
  Andy: \smath{\;\;\text{supp}\mbox{\isasymlbrakk}x\mbox{\isasymrbrakk}_{\approx_{\alpha\beta}} = 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   804
  {\text{\large$\bigcap$}} \{ \text{supp}(y) \;|\; y \approx_{\alpha\beta} x\}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   805
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   806
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   807
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   808
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   809
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   810
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   811
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   812
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   813
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   814
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   815
  \frametitle{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   816
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   817
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   818
  \begin{tabular}{rcl}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   819
  \smath{x\;[y := s]} &           \smath{\dn} & \smath{\text{if}\;x=y\;\text{then}\;s\;\text{else}\;x}\bigskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   820
  \smath{t_1 t_2\;[y := s]} &     \smath{\dn} & \smath{t_1[y := s]\;t_2[y := s]}\bigskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   821
  \smath{\lambda x.t\;[y := s]} & \smath{\dn} & \smath{\lambda x.\; t[y := s]}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   822
  \multicolumn{3}{r}{provided \smath{x \fresh (y, s)}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   823
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   824
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   825
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   826
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   827
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   828
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   829
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   830
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   831
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   832
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   833
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   834
  \frametitle{\begin{tabular}{c}Part III: Regular Languages\\[-8mm]\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   835
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   836
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   837
  \huge\bf\textcolor{gray}{in Theorem Provers}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   838
  \footnotesize\textcolor{gray}{e.g.~Isabelle, Coq, HOL4, \ldots}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   839
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   840
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   841
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   842
  \item automata @{text "\<Rightarrow>"} graphs, matrices, functions
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   843
  \item<2-> combining automata/graphs
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   844
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   845
  \onslide<2->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   846
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   847
  \begin{tabular}{ccc}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   848
  \begin{tikzpicture}[scale=1]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   849
  %\draw[step=2mm] (-1,-1) grid (1,1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   850
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   851
  \draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   852
  \draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   853
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   854
  \node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   855
  \node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   856
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   857
  \node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   858
  \node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   859
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   860
  \node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   861
  \node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   862
  \node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   863
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   864
  \draw (-0.6,0.0) node {\small$A_1$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   865
  \draw ( 0.6,0.0) node {\small$A_2$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   866
  \end{tikzpicture}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   867
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   868
  & 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   869
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   870
  \onslide<3->{\raisebox{1.1mm}{\bf\Large$\;\Rightarrow\,$}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   871
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   872
  &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   873
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   874
  \onslide<3->{\begin{tikzpicture}[scale=1]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   875
  %\draw[step=2mm] (-1,-1) grid (1,1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   876
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   877
  \draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   878
  \draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   879
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   880
  \node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   881
  \node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   882
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   883
  \node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   884
  \node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   885
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   886
  \node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   887
  \node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   888
  \node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   889
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   890
  \draw (C) to [red, very thick, bend left=45] (B);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   891
  \draw (D) to [red, very thick, bend right=45] (B);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   892
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   893
  \draw (-0.6,0.0) node {\small$A_1$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   894
  \draw ( 0.6,0.0) node {\small$A_2$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   895
  \end{tikzpicture}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   896
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   897
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   898
  \end{center}\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   899
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   900
  \only<4-5>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   901
  \begin{tabular}{@ {\hspace{-5mm}}l@ {}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   902
  disjoint union:\\[2mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   903
  \smath{A_1\uplus A_2 \dn \{(1, x)\,|\, x \in A_1\} \,\cup\, \{(2, y)\,|\, y \in A_2\}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   904
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   905
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   906
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   907
  \only<5>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   908
  \begin{textblock}{13.9}(0.7,7.7)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   909
  \begin{block}{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   910
  \medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   911
  \begin{minipage}{14cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   912
  Problems with definition for regularity:\bigskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   913
  \smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A}\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   914
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   915
  \end{block}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   916
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   917
  \medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   918
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   919
  \only<6->{\underline{A solution}:\;\;use \smath{\text{nat}}s \;@{text "\<Rightarrow>"}\; state nodes\medskip}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   920
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   921
  \only<7->{You have to \alert{rename} states!}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   922
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   923
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   924
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   925
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   926
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   927
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   928
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   929
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   930
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   931
  \frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   932
  \mbox{}\\[-15mm]\mbox{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   933
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   934
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   935
  \huge\bf\textcolor{gray}{in Theorem Provers}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   936
  \footnotesize\textcolor{gray}{e.g.~Isabelle, Coq, HOL4, \ldots}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   937
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   938
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   939
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   940
  \item Kozen's ``paper'' proof of Myhill-Nerode:\\ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   941
  \hspace{2cm}requires absence of \alert{inaccessible states}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   942
  \end{itemize}\bigskip\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   943
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   944
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   945
  \smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   946
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   947
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   948
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   949
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   950
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   951
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   952
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   953
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   954
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   955
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   956
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   957
  \frametitle{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   958
  \mbox{}\\[25mm]\mbox{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   959
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   960
  \begin{textblock}{13.9}(0.7,1.2)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   961
  \begin{block}{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   962
  \begin{minipage}{13.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   963
  {\bf Definition:}\smallskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   964
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   965
  A language \smath{A} is \alert{regular}, provided there exists a\\ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   966
  \alert{regular expression} that matches all strings of \smath{A}.
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   967
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   968
  \end{block}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   969
  \end{textblock}\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   970
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   971
  {\noindent\large\bf\alert{\ldots{}and forget about automata}}\bigskip\bigskip\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   972
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   973
  Infrastructure for free. But do we lose anything?\medskip\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   974
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   975
  \begin{minipage}{1.1\textwidth}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   976
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   977
  \item pumping lemma\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   978
  \item closure under complementation\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   979
  \item \only<6>{regular expression matching}%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   980
       \only<7->{\soutt{regular expression matching}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   981
  {\footnotesize(@{text "\<Rightarrow>"}Brozowski'64, Owens et al '09)}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   982
  \item<8-> most textbooks are about automata
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   983
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   984
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   985
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   986
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   987
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   988
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   989
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   990
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   991
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   992
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   993
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   994
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   995
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   996
  \frametitle{\LARGE The Myhill-Nerode Theorem}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   997
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   998
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   999
  \item provides necessary and suf\!ficient conditions\\ for a language 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1000
  being regular\\ \textcolor{gray}{(pumping lemma only necessary)}\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1001
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1002
  \item key is the equivalence relation:\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1003
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1004
  \smath{x \approx_{A} y \,\dn\, \forall z.\; x @ z \in A \Leftrightarrow y @ z \in A}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1005
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1006
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1007
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1008
 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1009
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1010
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1011
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1012
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1013
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1014
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1015
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1016
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1017
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1018
  \frametitle{\LARGE The Myhill-Nerode Theorem}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1019
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1020
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1021
  \only<1>{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1022
  \begin{tikzpicture}[scale=3]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1023
  \draw[very thick] (0.5,0.5) circle (.6cm);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1024
  \end{tikzpicture}}%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1025
  \only<2->{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1026
  \begin{tikzpicture}[scale=3]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1027
  \draw[very thick] (0.5,0.5) circle (.6cm);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1028
  \clip[draw] (0.5,0.5) circle (.6cm);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1029
  \draw[step=2mm, very thick] (-1.4,-1.4) grid (1.4,1.4);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1030
  \end{tikzpicture}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1031
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1032
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1033
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1034
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_A) \;\Leftrightarrow\; A\; \text{is regular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1035
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1036
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1037
  \begin{textblock}{5}(2.1,5.3)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1038
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1039
  \node at (0,0) [single arrow, fill=red,text=white, minimum height=2cm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1040
  {$U\!N\!IV$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1041
  \draw (-0.3,-1.1) node {\begin{tabular}{l}set of all\\[-1mm] strings\end{tabular}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1042
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1043
  \end{textblock}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1044
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1045
  \only<2->{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1046
  \begin{textblock}{5}(9.1,7.2)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1047
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1048
  \node at (0,0) [shape border rotate=180,single arrow, fill=red,text=white, minimum height=2cm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1049
  {@{text "\<lbrakk>x\<rbrakk>"}$_{\approx_{A}}$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1050
  \draw (0.9,-1.1) node {\begin{tabular}{l}an equivalence class\end{tabular}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1051
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1052
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1053
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1054
  \only<3->{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1055
  \begin{textblock}{11.9}(1.7,3)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1056
  \begin{block}{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1057
  \begin{minipage}{11.4cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1058
  Two directions:\medskip\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1059
  \begin{tabular}{@ {}ll}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1060
  1.)\;finite $\Rightarrow$ regular\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1061
  \;\;\;\smath{\text{finite}\,(U\!N\!IV /\!/ \approx_A) \Rightarrow \exists r.\;A = {\cal L}(r)}\\[3mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1062
  2.)\;regular $\Rightarrow$ finite\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1063
  \;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{{\cal L}(r)})}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1064
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1065
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1066
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1067
  \end{block}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1068
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1069
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1070
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1071
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1072
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1073
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1074
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1075
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1076
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1077
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1078
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1079
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1080
  \begin{frame}<-1>[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1081
  \frametitle{\begin{tabular}{@ {}l}\LARGE% 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1082
  Transitions between Eq-Classes\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1083
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1084
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1085
  \begin{tikzpicture}[scale=3]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1086
  \draw[very thick] (0.5,0.5) circle (.6cm);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1087
  \clip[draw] (0.5,0.5) circle (.6cm);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1088
  \draw[step=2mm, very thick] (-1.4,-1.4) grid (1.4,1.4);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1089
  \draw[blue, fill] (0.0, 0.6) rectangle (0.2, 0.8);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1090
  \draw[blue, fill] (0.8, 0.4) rectangle (1.0, 0.6);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1091
  \draw[white] (0.1,0.7) node (X) {$X$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1092
  \draw[white] (0.9,0.5) node (Y) {$Y$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1093
  \draw[blue, ->, line width = 2mm, bend left=45] (X) -- (Y);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1094
  \node [inner sep=1pt,label=above:\textcolor{blue}{$c$}] at ($ (X)!.5!(Y) $) {};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1095
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1096
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1097
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1098
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1099
  \smath{X \stackrel{c}{\longrightarrow} Y \;\dn\; X ; c \subseteq Y}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1100
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1101
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1102
  \onslide<8>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1103
  \begin{tabular}{c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1104
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1105
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1106
  \node[state,initial] (q_0) {$R_1$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1107
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1108
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1109
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1110
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1111
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1112
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1113
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1114
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1115
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1116
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1117
  \begin{frame}[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1118
  \frametitle{\LARGE The Other Direction}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1119
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1120
  One has to prove
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1121
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1122
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1123
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{{\cal L}(r)})}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1124
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1125
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1126
  by induction on \smath{r}. Not trivial, but after a bit 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1127
  of thinking, one can find a \alert{refined} relation:\bigskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1128
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1129
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1130
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1131
  \mbox{\begin{tabular}{c@ {\hspace{7mm}}c@ {\hspace{7mm}}c}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1132
  \begin{tikzpicture}[scale=1.1]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1133
  %Circle
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1134
  \draw[thick] (0,0) circle (1.1);    
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1135
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1136
  &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1137
  \begin{tikzpicture}[scale=1.1]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1138
  %Circle
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1139
  \draw[thick] (0,0) circle (1.1);    
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1140
  %Main rays
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1141
  \foreach \a in {0, 90,...,359}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1142
    \draw[very thick] (0, 0) -- (\a:1.1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1143
  \foreach \a / \l in {45/1, 135/2, 225/3, 315/4}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1144
      \draw (\a: 0.65) node {\small$a_\l$};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1145
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1146
  &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1147
  \begin{tikzpicture}[scale=1.1]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1148
  %Circle
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1149
  \draw[red, thick] (0,0) circle (1.1);    
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1150
  %Main rays
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1151
  \foreach \a in {0, 45,...,359}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1152
     \draw[red, very thick] (0, 0) -- (\a:1.1);
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1153
  \foreach \a / \l in {22.5/1.1, 67.5/1.2, 112.5/2.1, 157.5/2.2, 202.4/3.1, 247.5/3.2, 292.5/4.1, 337.5/4.2}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1154
      \draw (\a: 0.77) node {\textcolor{red}{\footnotesize$a_{\l}$}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1155
  \end{tikzpicture}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1156
  \small\smath{U\!N\!IV} & 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1157
  \small\smath{U\!N\!IV /\!/ \approx_{{\cal L}(r)}} &
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1158
  \small\smath{U\!N\!IV /\!/ \alert{R}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1159
  \end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1160
  \end{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1161
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1162
  \begin{textblock}{5}(9.8,2.6)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1163
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1164
  \node at (0,0) [shape border rotate=270,single arrow, fill=red,text=white, minimum height=0cm]{\textcolor{red}{a}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1165
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1166
  \end{textblock}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1167
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1168
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1169
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1170
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1171
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1172
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1173
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1174
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1175
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1176
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1177
  \frametitle{\LARGE\begin{tabular}{c}Derivatives of RExps\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1178
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1179
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1180
  \item introduced by Brozowski~'64
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1181
  \item a regular expressions after a character has been parsed\\[-18mm]\mbox{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1182
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1183
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1184
  \only<1>{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1185
  \textcolor{blue}{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1186
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1187
  \begin{tabular}{@ {}lc@ {\hspace{3mm}}l@ {}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1188
  der c $\varnothing$     & $\dn$ & $\varnothing$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1189
  der c []                & $\dn$ & $\varnothing$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1190
  der c d                 & $\dn$ & if c $=$ d then [] else $\varnothing$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1191
  der c ($r_1 + r_2$)     & $\dn$ & (der c $r_1$) $+$ (der c $r_2$)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1192
  der c ($r^\star$)       & $\dn$ & (der c $r$) $\cdot$ $r^\star$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1193
  der c ($r_1 \cdot r_2$) & $\dn$ & if nullable $r_1$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1194
                          &       & then (der c $r_1$) $\cdot$ $r_2$ $+$ (der c $r_2$)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1195
                          &       & else (der c $r_1$) $\cdot$ $r_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1196
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1197
  \end{center}}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1198
  \only<2>{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1199
  \textcolor{blue}{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1200
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1201
  \begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}l@ {}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1202
  pder c $\varnothing$     & $\dn$ & \alert{$\{\}$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1203
  pder c []                & $\dn$ & \alert{$\{\}$}\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1204
  pder c d                 & $\dn$ & if c $=$ d then $\{$[]$\}$ else $\{\}$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1205
  pder c ($r_1 + r_2$)     & $\dn$ & (pder c $r_1$) \alert{$\cup$} (der c $r_2$)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1206
  pder c ($r^\star$)       & $\dn$ & (pder c $r$) $\cdot$ $r^\star$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1207
  pder c ($r_1 \cdot r_2$) & $\dn$ & if nullable $r_1$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1208
                          &       & then (pder c $r_1$) $\cdot$ $r_2$ \alert{$\cup$} (pder c $r_2$)\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1209
                          &       & else (pder c $r_1$) $\cdot$ $r_2$\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1210
  \end{tabular}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1211
  \end{center}}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1212
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1213
  \only<2>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1214
  \begin{textblock}{6}(8.5,4.7)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1215
  \begin{block}{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1216
  \begin{quote}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1217
  \begin{minipage}{6cm}\raggedright
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1218
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1219
  \item partial derivatives
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1220
  \item by Antimirov~'95
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1221
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1222
  \end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1223
  \end{quote}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1224
  \end{block}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1225
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1226
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1227
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1228
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1229
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1230
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1231
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1232
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1233
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1234
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1235
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1236
  \frametitle{\LARGE Partial Derivatives}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1237
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1238
  \mbox{}\\[0mm]\mbox{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1239
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1240
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1241
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1242
  \item \alt<1>{\smath{\text{pders $x$ $r$ \mbox{$=$} pders $y$ $r$}}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1243
            {\smath{\underbrace{\text{pders $x$ $r$ \mbox{$=$} pders $y$ $r$}}_{R}}} 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1244
        refines \textcolor{blue}{$x$ $\approx_{{\cal L}(r)}$ $y$}\\[16mm]\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1245
  \item \smath{\text{finite} (U\!N\!IV /\!/ R)} \bigskip\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1246
  \item Therefore \smath{\text{finite} (U\!N\!IV /\!/ \approx_{{\cal L}(r)})}. Qed.
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1247
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1248
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1249
  \only<2->{%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1250
  \begin{textblock}{5}(3.9,7.2)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1251
  \begin{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1252
  \node at (0,0) [shape border rotate=270,single arrow, fill=red,text=white, minimum height=0cm]{\textcolor{red}{a}};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1253
  \draw (2.2,0) node {Antimirov '95};
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1254
  \end{tikzpicture}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1255
  \end{textblock}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1256
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1257
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1258
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1259
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1260
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1261
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1262
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1263
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1264
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1265
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1266
  \begin{frame}[t]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1267
  \frametitle{\LARGE What Have We Achieved?}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1268
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1269
  \begin{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1270
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_A) \;\Leftrightarrow\; A\; \text{is regular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1271
  \medskip\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1272
  \item regular languages are closed under complementation; this is now easy
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1273
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1274
  \smath{U\!N\!IV /\!/ \approx_A \;\;=\;\; U\!N\!IV /\!/ \approx_{\overline{A}}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1275
  \end{center}\pause\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1276
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1277
  \item non-regularity (\smath{a^nb^n})\medskip\pause\pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1278
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1279
  \item take \alert{\bf any} language; build the language of substrings\\
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1280
  \pause
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1281
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1282
  then this language \alert{\bf is} regular\;\; (\smath{a^nb^n} $\Rightarrow$ \smath{a^\star{}b^\star})
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1283
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1284
  \end{itemize}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1285
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1286
\only<2>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1287
\begin{textblock}{10}(4,14)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1288
\small
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1289
\smath{x \approx_{A} y \,\dn\, \forall z.\; x @ z \in A \Leftrightarrow y @ z \in A}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1290
\end{textblock}} 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1291
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1292
\only<4>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1293
\begin{textblock}{5}(2,8.6)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1294
\begin{minipage}{8.8cm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1295
\begin{block}{}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1296
\begin{minipage}{8.6cm}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1297
If there exists a sufficiently large set \smath{B} (for example infinitely large), 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1298
such that
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1299
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1300
\begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1301
\smath{\forall x,y \in B.\; x \not= y \;\Rightarrow\; x \not\approx_{A} y}. 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1302
\end{center}  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1303
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1304
then \smath{A} is not regular.\hspace{1.3cm}\small(\smath{B \dn \bigcup_n a^n})
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1305
\end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1306
\end{block}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1307
\end{minipage}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1308
\end{textblock}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1309
}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1310
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1311
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1312
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1313
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1314
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1315
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1316
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1317
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1318
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1319
  \begin{frame}[b]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1320
  \frametitle{\mbox{}\\[2cm]\textcolor{red}{Thank you!\\[5mm]Questions?}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1321
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1322
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1323
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1324
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1325
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1326
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1327
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1328
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1329
text_raw {*
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1330
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1331
  \mode<presentation>{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1332
  \begin{frame}<1-2>[c]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1333
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1334
  \mbox{}\\[-6mm]
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1335
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1336
  \textcolor{blue}{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1337
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1338
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, a \rightarrow b)$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1339
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, b \rightarrow a)$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1340
  \end{center}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1341
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1342
  \textcolor{blue}{
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1343
  \begin{center}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1344
  $(\{a,b\}, (a \rightarrow b, a \rightarrow b))$\\ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1345
  \hspace{17mm}$\not\approx_\alpha (\{a, b\}, (a \rightarrow b, b \rightarrow a))$
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1346
  \end{center}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1347
  
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1348
  \onslide<2->
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1349
  {1.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$, 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1350
   \isacommand{bind (set)} as \isacommand{in} $\tau_2$\medskip
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1351
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1352
   2.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$ $\tau_2$ 
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1353
  }
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1354
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1355
  \end{frame}}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1356
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1357
*}
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1358
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1359
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1360
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1361
(*<*)
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1362
end
41ec301eb062 slides for talk in Leicester
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1363
(*>*)