Slides/Slides5.thy
author Christian Urban <urbanc@in.tum.de>
Tue, 31 May 2011 12:22:28 +0100
changeset 2796 3e341af86bbd
parent 2751 3b8232f56941
child 3224 cf451e182bf0
permissions -rw-r--r--
fixed the problem with cps-like functions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
(*<*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
theory Slides5
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
imports "~~/src/HOL/Library/LaTeXsugar" "Nominal"
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
begin
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
notation (latex output)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  set ("_") and
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
(*>*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
text_raw {*
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    14
  %% shallow, deep, and recursive binders
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    15
  %%
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
  %%\renewcommand{\slidecaption}{Cambridge, 8.~June 2010}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
  %%\renewcommand{\slidecaption}{Uppsala, 3.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  \renewcommand{\slidecaption}{Saarbrücken, 31.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  \begin{frame}<1>[t]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  \frametitle{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  \begin{tabular}{@ {\hspace{-3mm}}c@ {}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  \\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    25
  \LARGE General Bindings and\\ 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    26
  \LARGE Alpha-Equivalence\\ 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    27
  \LARGE in Nominal Isabelle\\[3mm] 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    28
  \Large Or, Nominal Isabelle 2\\[-5mm]
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  Christian Urban
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  joint work with {\bf Cezary Kaliszyk}\\[0mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
  \frametitle{\begin{tabular}{c}Binding in Old Nominal\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  \item the old Nominal Isabelle provided a reasoning infrastructure for single binders\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  Lam [a].(Var a)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  \end{center}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  \item<2-> but representing 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
  $\forall\{a_1,\ldots,a_n\}.\; T$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
  with single binders and reasoning about it is a \alert{\bf major} pain; 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
  take my word for it!
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  \only<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
  \begin{textblock}{6}(1.5,11)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
  \small
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  for example\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  \begin{tabular}{l@ {\hspace{2mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
   & a $\fresh$ Lam [a]. t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
   & Lam [a]. (Var a) \alert{$=$} Lam [b]. (Var b)\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
   & Barendregt-style reasoning about bound variables\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    80
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    81
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    82
text_raw {*
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    83
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    84
  \mode<presentation>{
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    85
  \begin{frame}<1-6>
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    86
  \frametitle{New Types in HOL}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    87
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    88
   \begin{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    89
  \begin{tikzpicture}[scale=1.5]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    90
  %%%\draw[step=2mm] (-4,-1) grid (4,1);
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    91
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    92
  \onslide<2-4,6>{\draw[very thick] (0.7,0.4) circle (4.25mm);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    93
  \onslide<1-4,6>{\draw[rounded corners=1mm, very thick] ( 0.0,-0.8) rectangle ( 1.8, 0.9);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    94
  \onslide<3-5,6>{\draw[rounded corners=1mm, very thick] (-1.95,0.85) rectangle (-2.85,-0.05);}
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    95
  
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    96
  \onslide<3-4,6>{\draw (-2.0, 0.845) --  (0.7,0.845);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    97
  \onslide<3-4,6>{\draw (-2.0,-0.045)  -- (0.7,-0.045);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    98
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
    99
  \onslide<4-4,6>{\alert{\draw ( 0.7, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-\\[-1mm]classes\end{tabular}};}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   100
  \onslide<4-5,6>{\alert{\draw (-2.4, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-eq.\\[-1mm]terms\end{tabular}};}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   101
  \onslide<1-4,6>{\draw (1.8, 0.48) node[right=-0.1mm]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   102
    {\footnotesize\begin{tabular}{@ {}l@ {}}existing\\[-1mm] type\\ \onslide<4-4,6>{\alert{(sets of raw terms)}}\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   103
  \onslide<2-4,6>{\draw (0.9, -0.35) node {\footnotesize\begin{tabular}{@ {}l@ {}}non-empty\\[-1mm]subset\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   104
  \onslide<3-5,6>{\draw (-3.25, 0.55) node {\footnotesize\begin{tabular}{@ {}l@ {}}new\\[-1mm]type\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   105
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   106
  \onslide<3-4,6>{\draw[<->, very thick] (-1.8, 0.3) -- (-0.1,0.3);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   107
  \onslide<3-4,6>{\draw (-0.95, 0.3) node[above=0mm] {\footnotesize{}isomorphism};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   108
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   109
  \onslide<6>{\draw[->, line width=2mm, red] (-1.0,-0.4) -- (0.35,0.16);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   110
  \end{tikzpicture}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   111
  \end{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   112
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   113
  \begin{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   114
  \textcolor{red}{\large\bf\onslide<6>{define $\alpha$-equivalence}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   115
  \end{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   116
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   117
  \end{frame}}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   118
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   119
*}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   120
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   121
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   122
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
  \begin{frame}<1-4>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
  \frametitle{\begin{tabular}{c}Binding Sets of Names\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
  \item binding sets of names has some interesting properties:\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
  \begin{tabular}{l}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   135
  \textcolor{blue}{$\forall\{x, y\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{y, x\}.\, y \rightarrow x$}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
  \bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
  \onslide<2->{%
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   139
  \textcolor{blue}{$\forall\{x, y\}.\, x \rightarrow y \;\;\not\approx_\alpha\;\; \forall\{z\}.\, z \rightarrow z$}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
  }\bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
  \onslide<3->{%
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   143
  \textcolor{blue}{$\forall\{x\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{x, \alert{z}\}.\, x \rightarrow y$}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
  }\medskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
  \onslide<3->{\hspace{4cm}\small provided $z$ is fresh for the type}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  \begin{textblock}{8}(2,14.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
  \footnotesize $^*$ $x$, $y$, $z$ are assumed to be distinct
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
  \end{textblock}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
  \only<4>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \draw (0,0) node[inner sep=3mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
  {\normalsize\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
  \begin{minipage}{8cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
  For type-schemes the order of bound names does not matter, and
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   161
  $\alpha$-equivalence is preserved under \alert{vacuous} binders.
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
  \frametitle{\begin{tabular}{c}Other Binding Modes\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
  \item alpha-equivalence being preserved under vacuous binders is \underline{not} always
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
  wanted:\bigskip\bigskip\normalsize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
  
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   180
  \textcolor{blue}{\begin{tabular}{@ {\hspace{-8mm}}l}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
  $\text{let}\;x = 3\;\text{and}\;y = 2\;\text{in}\;x - y\;\text{end}$\medskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
  \onslide<2->{$\;\;\;\only<2>{\approx_\alpha}\only<3>{\alert{\not\approx_\alpha}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
   \text{let}\;y = 2\;\text{and}\;x = 3\only<3->{\alert{\;\text{and}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
    \;z = \text{loop}}}\;\text{in}\;x - y\;\text{end}$}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   185
  \end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
  \frametitle{\begin{tabular}{c}\LARGE{}Even Another Binding Mode\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
  \item sometimes one wants to abstract more than one name, but the order \underline{does} matter\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   205
  \textcolor{blue}{\begin{tabular}{@ {\hspace{-8mm}}l}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
  $\text{let}\;(x, y) = (3, 2)\;\text{in}\;x - y\;\text{end}$\medskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
  $\;\;\;\not\approx_\alpha
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
   \text{let}\;(y, x) = (3, 2)\;\text{in}\;x - y\;\text{end}$
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   209
  \end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
  \frametitle{\begin{tabular}{c}\LARGE{}Three Binding Modes\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  \item the order does not matter and alpha-equivelence is preserved under
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
  vacuous binders \textcolor{gray}{(restriction)}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  \item the order does not matter, but the cardinality of the binders 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
  must be the same \textcolor{gray}{(abstraction)}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
  \item the order does matter \textcolor{gray}{(iterated single binders)}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
  \isacommand{bind (set+)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
  \isacommand{bind (set)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
  \isacommand{bind}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
  \end{center}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  \frametitle{\begin{tabular}{c}Specification of Binding\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
  \hspace{5mm}$|$ Lam \only<2->{x::}name \only<2->{t::}trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
  & \onslide<2->{\isacommand{bind} x \isacommand{in} t}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   261
  \hspace{5mm}$|$ Let \only<2->{as::}assns \only<2->{t::}trm
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
  & \onslide<2->{\isacommand{bind} bn(as) \isacommand{in} t}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   263
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   265
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
  \multicolumn{2}{l}{\onslide<3->{\isacommand{binder} bn \isacommand{where}}}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
  \multicolumn{2}{l}{\onslide<3->{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ []}}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
  \multicolumn{2}{l}{\onslide<3->{\hspace{5mm}$|$ bn(ACons a t as) $=$ [a] @ bn(as)}}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
  \begin{frame}<1-8>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
  \frametitle{\begin{tabular}{c}Alpha-Equivalence\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
  \item lets first look at pairs\bigskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   288
  \textcolor{blue}{\begin{tabular}{@ {\hspace{1cm}}l}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   289
  $(as, x) \onslide<2->{\approx\!}\makebox[5mm][l]{\only<2-6>{${}_{\text{set}}$}%
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
           \only<7>{${}_{\text{\alert{list}}}$}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
           \only<8>{${}_{\text{\alert{set+}}}$}}%
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   292
           \,\onslide<2->{(bs,y)}$
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   293
  \end{tabular}}\bigskip
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
  \only<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
  \begin{textblock}{8}(3,8.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
  \begin{tabular}{l@ {\hspace{2mm}}p{8cm}}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   299
   & \textcolor{blue}{$as$} is a set of names\ldots the binders\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   300
   & \textcolor{blue}{$x$} is the body (might be a tuple)\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   301
   & \textcolor{blue}{$\approx_{\text{set}}$} is where the cardinality 
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
  of the binders has to be the same\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
  \only<4->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
  \begin{textblock}{12}(5,8)
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   308
  \textcolor{blue}{
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
  \begin{tabular}{ll@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
  $\dn$ & \onslide<5->{$\exists \pi.\,$} & $\text{fv}(x) - as = \text{fv}(y) - bs$\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$\text{fv}(x) - as \fresh^* \pi$}\\[1mm]
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   312
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$(\pi \act x) = y$}\\[1mm]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   313
        & \only<6-7>{$\;\;\;\wedge$}\only<8>{\textcolor{gray}{\xout{$\;\;\;\wedge$}}} & 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   314
          \only<6-7>{$\pi \act as = bs$}\only<8>{\textcolor{gray}{\xout{$\pi \act as = bs$}}}\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   315
  \end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
  \only<7>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
  \begin{textblock}{7}(3,13.8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
  \footnotesize $^*$ $as$ and $bs$ are \alert{lists} of names 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  \begin{itemize}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   334
  \item lets look at type-schemes:\medskip\medskip
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   337
  \textcolor{blue}{$(as, x) \approx\!\makebox[5mm][l]{${}_{\text{set}}$} (bs, y)$}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   342
  \textcolor{blue}{
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
  $\text{fv}(x) = \{x\}$\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
  $\text{fv}(T_1 \rightarrow T_2) = \text{fv}(T_1) \cup \text{fv}(T_2)$\\
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   346
  \end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
  \end{center}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   412
  \textcolor{blue}{
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
  \only<1>{$(\{x, y\}, x \rightarrow y) \approx_? (\{x, y\}, y \rightarrow x)$}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   414
  \only<2>{$([x, y], x \rightarrow y) \approx_? ([x, y], y \rightarrow x)$}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
  \begin{itemize}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   418
  \item \textcolor{blue}{$\approx_{\text{set+}}$, $\approx_{\text{set}}$% 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   419
  \only<2>{, \alert{$\not\approx_{\text{list}}$}}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   484
  \textcolor{blue}{\only<1>{$(\{x\}, x) \approx_? (\{x, y\}, x)$}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
  \begin{itemize}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   488
  \item \textcolor{blue}{$\approx_{\text{set+}}$, $\not\approx_{\text{set}}$,
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   489
        $\not\approx_{\text{list}}$}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   504
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   505
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   506
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   510
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   516
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   518
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   526
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   535
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   542
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
  \draw (0,0) node[inner sep=5mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   546
  {\normalsize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   547
  \begin{minipage}{8cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
  \item \color{darkgray}$\alpha$-equivalences coincide when a single name is
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
  abstracted
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   551
  \item \color{darkgray}in that case they are equivalent to ``old-fashioned'' definitions of $\alpha$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   556
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   557
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   558
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   559
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   560
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   561
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   562
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
  \frametitle{\begin{tabular}{c}Our Specifications\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
  \hspace{5mm}$|$ Lam x::name t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   574
  & \isacommand{bind} x \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   575
  \hspace{5mm}$|$ Let as::assns t::trm
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
  & \isacommand{bind} bn(as) \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   577
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   579
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   580
  \multicolumn{2}{l}{\isacommand{binder} bn \isacommand{where}}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   581
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ $[]$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   582
  \multicolumn{2}{l}{\hspace{5mm}$|$ bn(ACons a t as) $=$ $[$a$]$ @ bn(as)}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   583
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   584
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   585
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   586
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   587
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   588
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   589
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   590
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   591
  \mode<presentation>{
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   592
  \begin{frame}<1>[c]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   593
  \frametitle{\begin{tabular}{c}Binding Functions\end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   594
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   595
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   596
  \begin{tikzpicture}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   597
  \node (A) at (-0.5,1) {Foo $(\lambda y. \lambda x. t)$};
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   598
  \node (B) at ( 1.5,1) {$s$};
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   599
  \onslide<1>{\node (C) at (0.5,-0.5) {$\{y, x\}$};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   600
  \onslide<1>{\draw[->,red,line width=1mm] (A) -- (C);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   601
  \onslide<1>{\draw[->,red,line width=1mm] (C) -- (B);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   602
  \end{tikzpicture}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   603
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   604
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   605
  
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   606
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   607
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   608
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   609
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   610
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   611
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   612
  \mode<presentation>{
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   613
  \begin{frame}<1->[t]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   614
  \frametitle{\begin{tabular}{c}Binder Clauses\end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   615
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   616
  \begin{itemize}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   617
  \item We need for a bound variable to have a `clear scope', and bound
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   618
  variables should not be free and bound at the same time.\bigskip
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   619
  \end{itemize}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   620
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   621
  \begin{center}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   622
  \only<1>{
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   623
  \begin{tabular}{@ {\hspace{-5mm}}l}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   624
  \alert{\bf shallow binders}\\ 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   625
  \hspace{4mm}Lam x::name t::trm\hspace{4mm} \isacommand{bind} x \isacommand{in} t\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   626
  \hspace{4mm}All xs::name set T::ty\hspace{4mm} \isacommand{bind} xs \isacommand{in} T\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   627
  \hspace{4mm}Foo x::name t$_1$::trm t$_2$::trm\hspace{4mm} 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   628
     \isacommand{bind} x \isacommand{in} t$_1$, \isacommand{bind} x \isacommand{in} t$_2$\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   629
  \hspace{4mm}Bar x::name t$_1$::trm t$_2$::trm\hspace{4mm} 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   630
     \isacommand{bind} x \isacommand{in} t$_1$ t$_2$\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   631
  \end{tabular}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   632
  \only<2>{
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   633
  \begin{tabular}{@ {\hspace{-5mm}}l}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   634
  \alert{\bf deep binders} \\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   635
  \hspace{4mm}Let as::assns t::trm\hspace{4mm} \isacommand{bind} bn(as) \isacommand{in} t\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   636
  \hspace{4mm}Foo as::assns t$_1$::trm t$_2$::trm\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   637
  \hspace{20mm}\isacommand{bind} bn(as) \isacommand{in} t$_1$, \isacommand{bind} bn(as) \isacommand{in} t$_2$\\[4mm]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   638
  \makebox[0mm][l]{\alert{$\times$}}\hspace{4mm}Bar as::assns t$_1$::trm t$_2$::trm\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   639
  \hspace{20mm}\isacommand{bind} bn$_1$(as) \isacommand{in} t$_1$, \isacommand{bind} bn$_2$(as) \isacommand{in} t$_2$\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   640
  \end{tabular}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   641
  \only<3>{
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   642
  \begin{tabular}{@ {\hspace{-5mm}}l}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   643
  {\bf deep \alert{recursive} binders} \\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   644
  \hspace{4mm}Let\_rec as::assns t::trm\hspace{4mm} \isacommand{bind} bn(as) \isacommand{in} t as\\[4mm]
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   645
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   646
  \makebox[0mm][l]{\alert{$\times$}}\hspace{4mm}Foo\_rec as::assns t$_1$::trm t$_2$::trm\hspace{4mm}\\ 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   647
  \hspace{20mm}\isacommand{bind} bn(as) \isacommand{in} t$_1$ as, \isacommand{bind} bn(as) \isacommand{in} t$_2$\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   648
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   649
  \end{tabular}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   650
  \end{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   651
  
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   652
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   653
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   654
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   655
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   656
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   657
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   658
  \mode<presentation>{
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   659
  \begin{frame}<2-5>
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   660
  \frametitle{\begin{tabular}{c}Our Work\end{tabular}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   661
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   662
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   663
    \begin{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   664
  \begin{tikzpicture}[scale=1.5]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   665
  %%%\draw[step=2mm] (-4,-1) grid (4,1);
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   666
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   667
  \onslide<1>{\draw[very thick] (0.7,0.4) circle (4.25mm);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   668
  \onslide<1>{\draw[rounded corners=1mm, very thick] ( 0.0,-0.8) rectangle ( 1.8, 0.9);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   669
  \onslide<1->{\draw[rounded corners=1mm, very thick] (-1.95,0.85) rectangle (-2.85,-0.05);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   670
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   671
  \onslide<1>{\draw (-2.0, 0.845) --  (0.7,0.845);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   672
  \onslide<1>{\draw (-2.0,-0.045)  -- (0.7,-0.045);}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   673
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   674
  \onslide<1>{\alert{\draw ( 0.7, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-\\[-1mm]classes\end{tabular}};}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   675
  \onslide<1->{\alert{\draw (-2.4, 0.4) node {\footnotesize\begin{tabular}{@ {}c@ {}}$\alpha$-eq.\\[-1mm]terms\end{tabular}};}}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   676
  \onslide<1>{\draw (1.8, 0.48) node[right=-0.1mm]
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   677
    {\footnotesize\begin{tabular}{@ {}l@ {}}existing\\[-1mm] type\\ \onslide<1>{\alert{(sets of raw terms)}}\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   678
  \onslide<1>{\draw (0.9, -0.35) node {\footnotesize\begin{tabular}{@ {}l@ {}}non-empty\\[-1mm]subset\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   679
  \onslide<1->{\draw (-3.25, 0.55) node {\footnotesize\begin{tabular}{@ {}l@ {}}new\\[-1mm]type\end{tabular}};}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   680
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   681
  \onslide<1>{\draw[<->, very thick] (-1.8, 0.3) -- (-0.1,0.3);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   682
  \onslide<1>{\draw (-0.95, 0.3) node[above=0mm] {\footnotesize{}isomorphism};}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   683
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   684
  \onslide<1>{\draw[->, line width=2mm, red] (-1.0,-0.4) -- (0.35,0.16);}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   685
  \end{tikzpicture}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   686
  \end{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   687
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   688
  \begin{textblock}{9.5}(6,3.5)
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   689
  \begin{itemize}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   690
  \item<1-> defined fv and $\alpha$
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   691
  \item<3-> derived a reasoning infrastructure ($\fresh$, distinctness, injectivity, cases,\ldots) 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   692
  \item<4-> a (weak) induction principle
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   693
  \item<5-> derive a {\bf stronger} induction principle (Barendregt variable convention built in)\\
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   694
  \begin{center}
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   695
  \textcolor{blue}{Foo ($\lambda x. \lambda y. t$) ($\lambda u. \lambda v. s$)} 
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   696
  \end{center}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   697
  \end{itemize}
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   698
  \end{textblock}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   699
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   700
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   701
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   702
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   703
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   704
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   705
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   706
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   707
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   708
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   709
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   710
  \frametitle{\begin{tabular}{c}Conclusion\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   711
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   712
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   713
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   714
  \item the user does not see anything of the raw level\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   715
  \only<1>{\begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   716
  Lam a (Var a) \alert{$=$} Lam b (Var b)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   717
  \end{center}\bigskip}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   718
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   719
  \item<2-> it took quite some time to get here, but it seems worthwhile 
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   720
  (Barendregt's variable convention is unsound in general, 
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   721
  found bugs in two paper proofs)\bigskip\medskip
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   722
  
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   723
  \item<3-> \textcolor{blue}{http://isabelle.in.tum.de/nominal/}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   724
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   725
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   726
  
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   727
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   728
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   729
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   730
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   731
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   732
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   733
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   734
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   735
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   736
  \begin{frame}<1->[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   737
  \frametitle{\begin{tabular}{c}Questions?\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   738
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   739
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   740
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   741
  \alert{\huge{Thanks!}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   742
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   743
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   744
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   745
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   746
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   747
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   749
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   750
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   751
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   752
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   753
  \begin{frame}<1-2>[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   754
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   755
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   756
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   757
  \textcolor{blue}{
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   758
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   759
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, a \rightarrow b)$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   760
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, b \rightarrow a)$
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   761
  \end{center}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   762
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   763
  \textcolor{blue}{
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   764
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   765
  $(\{a,b\}, (a \rightarrow b, a \rightarrow b))$\\ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   766
  \hspace{17mm}$\not\approx_\alpha (\{a, b\}, (a \rightarrow b, b \rightarrow a))$
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   767
  \end{center}}
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   768
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   769
  \onslide<2->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   770
  {1.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$, 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   771
   \isacommand{bind (set)} as \isacommand{in} $\tau_2$\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   772
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   773
   2.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$ $\tau_2$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   774
  }
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   775
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   776
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   777
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   778
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   779
2751
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   780
3b8232f56941 final version of slides
Christian Urban <urbanc@in.tum.de>
parents: 2750
diff changeset
   781
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   782
(*<*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   783
end
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   784
(*>*)