Slides/Slides5.thy
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Mar 2011 23:52:14 +0200
changeset 2748 6f38e357b337
child 2750 43283267737c
permissions -rw-r--r--
rearranged directories and updated to new Isabelle
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 {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
  %%\renewcommand{\slidecaption}{Cambridge, 8.~June 2010}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
  %%\renewcommand{\slidecaption}{Uppsala, 3.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
  \renewcommand{\slidecaption}{Saarbrücken, 31.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  \begin{frame}<1>[t]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  \frametitle{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  \begin{tabular}{@ {\hspace{-3mm}}c@ {}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  \huge General Bindings and Alpha-Equivalence in Nominal Isabelle\\[-2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  \large Or, Nominal 2\\[-5mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
  \end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  Christian Urban
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
  joint work with {\bf Cezary Kaliszyk}\\[0mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
  \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
    42
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
  \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
    46
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
  Lam [a].(Var a)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  \end{center}\bigskip
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
  \item<2-> but representing 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
  $\forall\{a_1,\ldots,a_n\}.\; T$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  \end{center}\medskip
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
  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
    58
  take my word for it!
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  \end{itemize}
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
  \only<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
  \begin{textblock}{6}(1.5,11)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
  \small
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
  for example\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  \begin{tabular}{l@ {\hspace{2mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
   & a $\fresh$ Lam [a]. t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
   & 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
    68
   & Barendregt-style reasoning about bound variables\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
*}
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
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
  \begin{frame}<1-4>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
  \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
    81
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
  \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
    85
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
  $\forall\{x, y\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{y, x\}.\, y \rightarrow x$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
  \bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  \onslide<2->{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
  $\forall\{x, y\}.\, x \rightarrow y \;\;\not\approx_\alpha\;\; \forall\{z\}.\, z \rightarrow z$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
  }\bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
  \onslide<3->{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
  $\forall\{x\}.\, x \rightarrow y \;\;\approx_\alpha\;\; \forall\{x, \alert{z}\}.\, x \rightarrow y$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  }\medskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  \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
    99
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
  \begin{textblock}{8}(2,14.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  \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
   105
  \end{textblock}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  \only<4>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
  \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
   111
  {\normalsize\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  \begin{minipage}{8cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  For type-schemes the order of bound names does not matter, and
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
  alpha-equivalence is preserved under \alert{vacuous} binders.
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
  \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
   127
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
  \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
   131
  wanted:\bigskip\bigskip\normalsize
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{tabular}{@ {\hspace{-8mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
  $\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
   135
  \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
   136
   \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
   137
    \;z = \text{loop}}}\;\text{in}\;x - y\;\text{end}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
  \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
   152
  \mbox{}\\[-3mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
  \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
   156
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
  \begin{tabular}{@ {\hspace{-8mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
  $\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
   160
  $\;\;\;\not\approx_\alpha
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
   \text{let}\;(y, x) = (3, 2)\;\text{in}\;x - y\;\text{end}$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  \end{itemize}
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
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  \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
   177
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
  \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
   181
  vacuous binders \textcolor{gray}{(restriction)}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  \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
   184
  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
   185
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
  \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
   187
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
  \isacommand{bind (set+)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
  \isacommand{bind (set)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
  \isacommand{bind}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
  \end{center}}
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
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
  \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
   205
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
  \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
   213
  & \onslide<2->{\isacommand{bind} x \isacommand{in} t}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
  \hspace{5mm}$|$ Let \only<2->{as::}assn \only<2->{t::}trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
  & \onslide<2->{\isacommand{bind} bn(as) \isacommand{in} t}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assn}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
  \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
   220
  \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
   221
  \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
   222
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
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
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
  \begin{frame}<1-5>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
  \frametitle{\begin{tabular}{c}Inspiration from Ott\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
  \item this way of specifying binding is inspired by 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
  {\bf Ott}\onslide<2->{, \alert{\bf but} we made some adjustments:}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
  \item Ott allows specifications like\smallskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
  $t ::= t\;t\; |\;\lambda x.t$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
  \only<3-4>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
  \item whether something is bound can depend in Ott on other bound things\smallskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
  \node (A) at (-0.5,1) {Foo $(\lambda y. \lambda x. t)$};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
  \node (B) at ( 1.1,1) {$s$};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  \onslide<4>{\node (C) at (0.5,0) {$\{y, x\}$};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
  \onslide<4>{\draw[->,red,line width=1mm] (A) -- (C);}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
  \onslide<4>{\draw[->,red,line width=1mm] (C) -- (B);}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
  \onslide<4>{this might make sense for ``raw'' terms, but not at all 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
  for $\alpha$-equated terms}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
  \only<5>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
  \item we allow multiple ``binders'' and ``bodies''\smallskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
  \isacommand{bind} a b c \ldots \isacommand{in} x y z \ldots\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
  \isacommand{bind (set)} a b c \ldots \isacommand{in} x y z \ldots\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
  \isacommand{bind (set+)} a b c \ldots \isacommand{in} x y z \ldots
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
  \end{center}\bigskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
  the reason is that with our definition of $\alpha$-equivalence\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
  \isacommand{bind (set+)} as \isacommand{in} x y $\not\Leftrightarrow$\\ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
  \hspace{8mm}\isacommand{bind (set+)} as \isacommand{in} x, \isacommand{bind (set+)} as \isacommand{in} y
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
  same with \isacommand{bind (set)}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
  \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
   298
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
  \item in the old Nominal Isabelle, we represented single binders as partial functions:\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
  Lam [$a$].\,$t$ $\;{^\text{``}}\!\dn{}\!^{\text{''}}$\\[2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
  \;\;\;\;$\lambda b.$\;$\text{if}\;a = b\;\text{then}\;t\;\text{else}$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
  \phantom{\;\;\;\;$\lambda b.$\;\;\;\;\;\;}$\text{if}\;b \fresh t\;
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
  \text{then}\;(a\;b)\act t\;\text{else}\;\text{error}$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
  \begin{textblock}{10}(2,14)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
  \footnotesize $^*$ alpha-equality coincides with equality on functions
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
  \end{textblock}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
  \end{frame}}
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
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
  \frametitle{\begin{tabular}{c}New Design\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
  \mbox{}\\[4mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
  {\draw (0,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
  (A) {\begin{minipage}{1.1cm}bind.\\spec.\end{minipage}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
  {\draw (3,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  (B) {\begin{minipage}{1.1cm}raw\\terms\end{minipage}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
  \alt<2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
  {\draw (6,0) node[inner sep=3mm, ultra thick, draw=red, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
  (C) {\textcolor{red}{\begin{minipage}{1.1cm}$\alpha$-\\equiv.\end{minipage}}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
  {\draw (6,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
  (C) {\begin{minipage}{1.1cm}$\alpha$-\\equiv.\end{minipage}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  {\draw (0,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
  (D) {\begin{minipage}{1.1cm}quot.\\type\end{minipage}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
  {\draw (3,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
  (E) {\begin{minipage}{1.1cm}lift\\thms\end{minipage}};}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
  {\draw (6,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
  (F) {\begin{minipage}{1.1cm}add.\\thms\end{minipage}};}
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
  \draw[->,fg!50,line width=1mm] (A) -- (B);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
  \draw[->,fg!50,line width=1mm] (B) -- (C);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
  \draw[->,fg!50,line width=1mm, line join=round, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
  (C) -- (8,0) -- (8,-1.5) -- (-2,-1.5) -- (-2,-3) -- (D);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
  \draw[->,fg!50,line width=1mm] (D) -- (E);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
  \draw[->,fg!50,line width=1mm] (E) -- (F);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
*}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
  \begin{frame}<1-8>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
  \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
   370
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
  \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
   374
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
  \begin{tabular}{@ {\hspace{1cm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
  $(as, x) \onslide<2->{\approx\!}\makebox[0mm][l]{\only<2-6>{${}_{\text{set}}$}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
           \only<7>{${}_{\text{\alert{list}}}$}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
           \only<8>{${}_{\text{\alert{set+}}}$}}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
           \onslide<3->{^{R,\text{fv}}}\,\onslide<2->{(bs,y)}$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
  \end{tabular}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
  \only<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
  \begin{textblock}{8}(3,8.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
  \begin{tabular}{l@ {\hspace{2mm}}p{8cm}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
   & $as$ is a set of names\ldots the binders\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
   & $x$ is the body (might be a tuple)\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
   & $\approx_{\text{set}}$ is where the cardinality 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
  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
   390
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  \only<4->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
  \begin{textblock}{12}(5,8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
  \begin{tabular}{ll@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
  $\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
   397
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$\text{fv}(x) - as \fresh^* \pi$}\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$(\pi \act x)\;R\;y$}\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
        & \onslide<6-7>{$\;\;\;\wedge$} & \onslide<6-7>{$\pi \act as = bs$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  \end{textblock}}
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
  \only<7>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
  \begin{textblock}{7}(3,13.8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
  \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
   406
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
  \item lets look at ``type-schemes'':\medskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
  $(as, x) \approx\!\makebox[0mm][l]{${}_{\text{set}}$}\only<1>{{}^{R,\text{fv}}}\only<2->{{}^{\alert{=},\alert{\text{fv}}}} (bs, y)$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
  $\text{fv}(x) = \{x\}$\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
  $\text{fv}(T_1 \rightarrow T_2) = \text{fv}(T_1) \cup \text{fv}(T_2)$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
  \end{center}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
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
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
  \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
   439
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
  $\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
   444
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
  \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
   455
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
  $\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
   460
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
  \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
   471
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
  $\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
   476
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
  \only<1>{$(\{x, y\}, x \rightarrow y) \approx_? (\{x, y\}, y \rightarrow x)$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
  \only<2>{$([x, y], x \rightarrow y) \approx_? ([x, y], y \rightarrow x)$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
  \item $\approx_{\text{set+}}$, $\approx_{\text{set}}$% 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
  \only<2>{, \alert{$\not\approx_{\text{list}}$}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
  \end{itemize}
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
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   506
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
  \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
   510
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
  $\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
   515
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   516
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   518
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
  \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
   526
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
  $\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
   531
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   535
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
  \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
   542
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   546
  $\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
   547
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   551
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
  \end{frame}}
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
*}
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
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   562
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
  \only<1>{$(\{x\}, x) \approx_? (\{x, y\}, x)$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
  \item $\approx_{\text{set+}}$, $\not\approx_{\text{set}}$,
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
        $\not\approx_{\text{list}}$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   574
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   575
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   577
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   579
  \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
   580
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   581
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   582
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   583
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   584
  $\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
   585
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   586
  $\wedge$ & $\pi \cdot x = y$\\
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
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   589
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   590
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   591
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   592
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   593
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   594
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   595
  \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
   596
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   597
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   598
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   599
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   600
  $\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
   601
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   602
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   603
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   604
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   605
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   606
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   607
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   608
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   609
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   610
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   611
  \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
   612
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   613
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   614
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   615
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   616
  $\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
   617
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   618
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   619
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   620
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   621
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   622
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   623
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   624
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   625
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   626
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   627
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   628
  \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
   629
  {\normalsize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   630
  \begin{minipage}{8cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   631
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   632
  \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
   633
  abstracted
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   634
  \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
   635
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   636
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   637
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   638
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   639
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   640
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   641
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   642
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   643
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   644
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   645
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   646
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   647
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   648
  \frametitle{\begin{tabular}{c}General Abstractions\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   649
  \mbox{}\\[-7mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   650
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   651
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   652
  \item we take $(as, x) \approx\!\makebox[0mm][l]{${}_{{}*{}}$}^{=,\text{supp}} (bs, y)$\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   653
  \item they are equivalence relations\medskip  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   654
  \item we can therefore use the quotient package to introduce the 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   655
  types $\beta\;\text{abs}_*$\bigskip 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   656
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   657
  \only<1>{$[as].\,x$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   658
  \only<2>{$\text{supp}([as].x) = \text{supp}(x) - as$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   659
  \only<3>{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   660
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   661
  \multicolumn{2}{@ {\hspace{-7mm}}l}{$[as]. x \alert{=}  [bs].y\;\;\;\text{if\!f}$}\\[2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   662
  $\exists \pi.$ & $\text{supp}(x) - as = \text{supp}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   663
  $\wedge$       & $\text{supp}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   664
  $\wedge$       & $\pi \act x = y $\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   665
  $(\wedge$       & $\pi \act as = bs)\;^*$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   666
  \end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   667
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   668
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   669
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   670
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   671
  \begin{textblock}{8}(12,3.8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   672
  \footnotesize $^*$ set, set+, list
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   673
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   674
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   675
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   676
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   677
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   678
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   679
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   680
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   681
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   682
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   683
  \frametitle{\begin{tabular}{c}A Problem\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   684
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   685
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   686
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   687
  $\text{let}\;x_1=t_1 \ldots x_n=t_n\;\text{in}\;s$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   688
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   689
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   690
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   691
  \item we cannot represent this as\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   692
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   693
  $\text{let}\;[x_1,\ldots,x_n]\alert{.}s\;\;[t_1,\ldots,t_n]$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   694
  \end{center}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   695
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   696
  because\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   697
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   698
  $\text{let}\;[x].s\;\;[t_1,t_2]$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   699
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   700
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   701
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
  \end{frame}}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   707
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   708
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   709
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   710
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   711
  \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
   712
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   713
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   714
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   715
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   716
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   717
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   718
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   719
  \hspace{5mm}$|$ Lam x::name t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   720
  & \isacommand{bind} x \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   721
  \hspace{5mm}$|$ Let as::assn t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   722
  & \isacommand{bind} bn(as) \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   723
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   724
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   725
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assn}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   726
  \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
   727
  \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
   728
  \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
   729
  \end{tabular}
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
  \end{frame}}
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
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   736
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   737
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   738
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   739
  \frametitle{\begin{tabular}{c}``Raw'' Definitions\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   740
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   741
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   742
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   743
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   744
  \multicolumn{2}{l}{\isacommand{datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   745
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   746
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   747
  \hspace{5mm}$|$ Lam name trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   748
  \hspace{5mm}$|$ Let assn trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   749
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   750
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   751
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assn}\\[5mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   752
  \multicolumn{2}{l}{\isacommand{function} bn \isacommand{where}}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   753
  \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
   754
  \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
   755
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   756
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   757
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   758
  \begin{textblock}{5}(10,5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   759
  $+$ \begin{tabular}{l}automatically\\ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   760
  generate fv's\end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   761
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   762
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   763
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   764
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   765
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   766
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   767
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   768
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   769
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   770
  \frametitle{\begin{tabular}{c}\LARGE``Raw'' Alpha-Equivalence\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   771
  \mbox{}\\[6mm]
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
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   774
  Lam x::name t::trm \hspace{10mm}\isacommand{bind} x \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   775
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   776
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
  \infer[\text{Lam-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   780
  {\text{Lam}\;x\;t \approx_\alpha \text{Lam}\;x'\;t'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   781
  {([x], t) \approx\!\makebox[0mm][l]{${}_{\text{list}}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   782
    ^{\approx_\alpha,\text{fv}} ([x'], t')}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   783
  \]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   784
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   785
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   786
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   787
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   788
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   789
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   790
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   791
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   792
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   793
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   794
  \frametitle{\begin{tabular}{c}\LARGE``Raw'' Alpha-Equivalence\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   795
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   796
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   797
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   798
  Lam x::name y::name t::trm s::trm \hspace{5mm}\isacommand{bind} x y \isacommand{in} t s\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   799
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   800
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   801
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   802
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   803
  \infer[\text{Lam-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   804
  {\text{Lam}\;x\;y\;t\;s \approx_\alpha \text{Lam}\;x'\;y'\;t'\;s'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   805
  {([x, y], (t, s)) \approx\!\makebox[0mm][l]{${}_{\text{list}}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   806
    ^{R, fv} ([x', y'], (t', s'))}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   807
  \]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   808
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   809
  \footnotesize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   810
  where $R =\;\approx_\alpha\times\approx_\alpha$ and $fv = \text{fv}\cup\text{fv}$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   811
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   812
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   813
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   814
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   815
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   816
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   817
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   818
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   819
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   820
  \frametitle{\begin{tabular}{c}\LARGE``Raw'' Alpha-Equivalence\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   821
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   822
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   823
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   824
  Let as::assn t::trm \hspace{10mm}\isacommand{bind} bn(as) \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   825
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   826
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   827
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   828
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   829
  \infer[\text{Let-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   830
  {\text{Let}\;as\;t \approx_\alpha \text{Let}\;as'\;t'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   831
  {(\text{bn}(as), t) \approx\!\makebox[0mm][l]{${}_{\text{list}}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   832
    ^{\approx_\alpha,\text{fv}} (\text{bn}(as'), t') &
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   833
   \onslide<2->{as \approx_\alpha^{\text{bn}} as'}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   834
  \]\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   835
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   836
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   837
  \onslide<1->{\small{}bn-function $\Rightarrow$ \alert{deep binders}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   838
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   839
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   840
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   841
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   842
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   843
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   844
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   845
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   846
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   847
  \frametitle{\begin{tabular}{c}\LARGE{}$\alpha$ for Binding Functions\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   848
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   849
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   850
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   851
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   852
  \ldots\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   853
  \isacommand{binder} bn \isacommand{where}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   854
  \phantom{$|$} bn(ANil) $=$ $[]$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   855
  $|$ 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
   856
  \end{tabular}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   857
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   858
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   859
  \mbox{\infer{\text{ANil} \approx_\alpha^{\text{bn}} \text{ANil}}{}}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   860
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   861
  \mbox{\infer{\text{ACons}\;a\;t\;as \approx_\alpha^{\text{bn}} \text{ACons}\;a'\;t'\;as'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   862
  {t \approx_\alpha t' & as \approx_\alpha^{bn} as'}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   863
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   864
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   865
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   866
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   867
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   868
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   869
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   870
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   871
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   872
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   873
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   874
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   875
  \frametitle{\begin{tabular}{c}\LARGE``Raw'' Alpha-Equivalence\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   876
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   877
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   878
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   879
  LetRec as::assn t::trm \hspace{10mm}\isacommand{bind} bn(as) \isacommand{in} t \alert{as}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   880
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   881
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   882
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   883
  \[\mbox{}\hspace{-4mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   884
  \infer[\text{LetRec-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   885
  {\text{LetRec}\;as\;t \approx_\alpha \text{LetRec}\;as'\;t'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   886
  {(\text{bn}(as), (t, as)) \approx\!\makebox[0mm][l]{${}_{\text{list}}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   887
    ^{R,\text{fv}} (\text{bn}(as'), (t', as'))} 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   888
  \]\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   889
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   890
  \onslide<1->{\alert{deep recursive binders}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   891
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   892
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   893
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   894
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   895
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   896
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   897
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   898
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   899
  \frametitle{\begin{tabular}{c}Restrictions\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   900
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   901
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   902
  Our restrictions on binding specifications:
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   903
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   904
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   905
  \item a body can only occur once in a list of binding clauses\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   906
  \item you can only have one binding function for a deep binder\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   907
  \item binding functions can return: the empty set, singletons, unions (similarly for lists)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   908
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   909
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   910
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   911
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   912
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   913
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   914
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   915
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   916
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   917
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   918
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   919
  \frametitle{\begin{tabular}{c}Automatic Proofs\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   920
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   921
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   922
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   923
  \item we can show that $\alpha$'s are equivalence relations\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   924
  \item as a result we can use our quotient package to introduce the type(s)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   925
  of $\alpha$-equated terms
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   926
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   927
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   928
  \infer
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   929
  {\text{Lam}\;x\;t \alert{=} \text{Lam}\;x'\;t'}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   930
  {\only<1>{([x], t) \approx\!\makebox[0mm][l]{${}_{\text{list}}$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   931
    ^{=,\text{supp}} ([x'], t')}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   932
   \only<2>{[x].t = [x'].t'}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   933
  \]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   934
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   935
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   936
  \item the properties for support are implied by the properties of $[\_].\_$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   937
  \item we can derive strong induction principles
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   938
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   939
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   940
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   941
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   942
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   943
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   944
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   945
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   946
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   947
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   948
  \begin{frame}<1>[t]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   949
  \frametitle{\begin{tabular}{c}Runtime is Acceptable\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   950
  \mbox{}\\[-7mm]\mbox{}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   951
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   952
  \footnotesize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   953
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   954
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   955
  \draw (0,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   956
  (A) {\begin{minipage}{0.8cm}bind.\\spec.\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   957
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   958
  \draw (2,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   959
  (B) {\begin{minipage}{0.8cm}raw\\terms\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   960
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   961
  \draw (4,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   962
  (C) {\begin{minipage}{0.8cm}$\alpha$-\\equiv.\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   963
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   964
  \draw (0,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   965
  (D) {\begin{minipage}{0.8cm}quot.\\type\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   966
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   967
  \draw (2,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   968
  (E) {\begin{minipage}{0.8cm}lift\\thms\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   969
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   970
  \draw (4,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   971
  (F) {\begin{minipage}{0.8cm}add.\\thms\end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   972
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   973
  \draw[->,fg!50,line width=1mm] (A) -- (B);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   974
  \draw[->,fg!50,line width=1mm] (B) -- (C);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   975
  \draw[->,fg!50,line width=1mm, line join=round, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   976
  (C) -- (5,0) -- (5,-1) -- (-1,-1) -- (-1,-2) -- (D);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   977
  \draw[->,fg!50,line width=1mm] (D) -- (E);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   978
  \draw[->,fg!50,line width=1mm] (E) -- (F);
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   979
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   980
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   981
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   982
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   983
  \item Core Haskell: 11 types, 49 term-constructors, 7 binding functions
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   984
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   985
  $\sim$ 2 mins
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   986
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   987
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   988
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   989
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   990
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   991
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   992
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   993
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   994
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   995
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   996
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   997
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   998
  \frametitle{\begin{tabular}{c}Interesting Phenomenon\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   999
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1000
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1001
  \small
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1002
  \mbox{}\hspace{20mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1003
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1004
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1005
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1006
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1007
  \hspace{5mm}$|$ Lam x::name t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1008
  & \isacommand{bind} x \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1009
  \hspace{5mm}$|$ Let as::assn t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1010
  & \isacommand{bind} bn(as) \isacommand{in} t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1011
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1012
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1013
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assn}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1014
  \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
  1015
  \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
  1016
  \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
  1017
  \end{tabular}\bigskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1018
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1019
  we cannot quotient assn: ACons a \ldots $\not\approx_\alpha$ ACons b \ldots
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1020
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1021
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1022
  \begin{textblock}{8}(0.2,7.3)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1023
  \alert{\begin{tabular}{p{2.6cm}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1024
  \raggedright\footnotesize{}Should a ``naked'' assn be quotient?
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1025
  \end{tabular}\hspace{-3mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1026
  $\begin{cases}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1027
  \mbox{} \\ \mbox{}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1028
  \end{cases}$} 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1029
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1030
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1031
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1032
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1033
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1034
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1035
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1036
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1037
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1038
  \frametitle{\begin{tabular}{c}Conclusion\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1039
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1040
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1041
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1042
  \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
  1043
  \only<1>{\begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1044
  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
  1045
  \end{center}\bigskip}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1046
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1047
  \item<2-> we have not yet done function definitions (will come soon and
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1048
  we hope to make improvements over the old way there too)\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1049
  \item<3-> it took quite some time to get here, but it seems worthwhile 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1050
  (Barendregt's variable convention is unsound in general, 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1051
  found bugs in two paper proofs, quotient package, POPL 2011 tutorial)\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1052
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1053
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1054
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1055
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1056
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1057
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1058
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1059
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1060
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1061
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1062
  \begin{frame}<1->[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1063
  \frametitle{\begin{tabular}{c}Future Work\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1064
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1065
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1066
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1067
  \item Function definitions 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1068
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1069
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1070
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1071
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1072
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1073
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1074
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1075
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1076
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1077
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1078
  \begin{frame}<1->[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1079
  \frametitle{\begin{tabular}{c}Questions?\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1080
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1081
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1082
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1083
  \alert{\huge{Thanks!}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1084
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1085
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1086
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1087
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1088
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1089
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1090
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1091
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1092
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1093
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1094
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1095
  \begin{frame}<1-2>[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1096
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1097
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1098
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1099
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1100
  $(\{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
  1101
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, b \rightarrow a)$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1102
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1103
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1104
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1105
  $(\{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
  1106
  \hspace{17mm}$\not\approx_\alpha (\{a, b\}, (a \rightarrow b, b \rightarrow a))$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1107
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1108
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1109
  \onslide<2->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1110
  {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
  1111
   \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
  1112
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1113
   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
  1114
  }
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1115
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1116
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1117
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1118
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1119
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1120
(*<*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1121
end
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1122
(*>*)