Slides/Slides5.thy
author Christian Urban <urbanc@in.tum.de>
Wed, 30 Mar 2011 22:27:26 +0200
changeset 2750 43283267737c
parent 2748 6f38e357b337
child 2751 3b8232f56941
permissions -rw-r--r--
more on the slides
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
(*<*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
theory Slides5
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
imports "~~/src/HOL/Library/LaTeXsugar" "Nominal"
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
begin
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
notation (latex output)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  set ("_") and
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
(*>*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
text_raw {*
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    14
  %% shallow, deep, and recursive binders
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    15
  %%
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
  %%\renewcommand{\slidecaption}{Cambridge, 8.~June 2010}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
  %%\renewcommand{\slidecaption}{Uppsala, 3.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  \renewcommand{\slidecaption}{Saarbrücken, 31.~March 2011}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  \begin{frame}<1>[t]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  \frametitle{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  \begin{tabular}{@ {\hspace{-3mm}}c@ {}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  \\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    25
  \LARGE General Bindings and\\ 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    26
  \LARGE Alpha-Equivalence\\ 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    27
  \LARGE in Nominal Isabelle\\[3mm] 
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    28
  \Large Or, Nominal Isabelle 2\\[-5mm]
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  Christian Urban
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  joint work with {\bf Cezary Kaliszyk}\\[0mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
  \frametitle{\begin{tabular}{c}Binding in Old Nominal\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  \item the old Nominal Isabelle provided a reasoning infrastructure for single binders\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  Lam [a].(Var a)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  \end{center}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  \item<2-> but representing 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
  $\forall\{a_1,\ldots,a_n\}.\; T$ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
  with single binders and reasoning about it is a \alert{\bf major} pain; 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
  take my word for it!
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  \only<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
  \begin{textblock}{6}(1.5,11)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
  \small
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
  for example\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
  \begin{tabular}{l@ {\hspace{2mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
   & a $\fresh$ Lam [a]. t\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
   & Lam [a]. (Var a) \alert{$=$} Lam [b]. (Var b)\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
   & Barendregt-style reasoning about bound variables\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    80
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    81
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    82
text_raw {*
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    83
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    84
  \mode<presentation>{
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    85
  \begin{frame}<1-2>
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    86
  \frametitle{New Types in HOL}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    87
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    88
  picture
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    89
  
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    90
  \end{frame}}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    91
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    92
*}
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    93
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    94
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
    95
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
  \begin{frame}<1-4>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  \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
   101
  \mbox{}\\[-3mm]
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{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  \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
   105
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
  $\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
   109
  \bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
  \onslide<2->{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  $\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
   113
  }\bigskip\smallskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  \onslide<3->{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
  $\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
   117
  }\medskip\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \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
   119
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  \begin{textblock}{8}(2,14.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  \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
   125
  \end{textblock}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
  \only<4>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
  \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
   131
  {\normalsize\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
  \begin{minipage}{8cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
  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
   134
  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
   135
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
  \end{frame}}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
  \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
   147
  \mbox{}\\[-3mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  \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
   151
  wanted:\bigskip\bigskip\normalsize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
  \begin{tabular}{@ {\hspace{-8mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
  $\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
   155
  \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
   156
   \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
   157
    \;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
   158
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  \end{frame}}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
  \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
   172
  \mbox{}\\[-3mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
  \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
   176
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
  \begin{tabular}{@ {\hspace{-8mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
  $\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
   180
  $\;\;\;\not\approx_\alpha
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
   \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
   182
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
  
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
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
  \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
   197
  \mbox{}\\[-3mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
  \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
   201
  vacuous binders \textcolor{gray}{(restriction)}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
  \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
   204
  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
   205
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
  \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
   207
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
  \isacommand{bind (set+)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
  \isacommand{bind (set)}\hspace{6mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
  \isacommand{bind}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
  \end{center}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
  \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
   225
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
  \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
   233
  & \onslide<2->{\isacommand{bind} x \isacommand{in} t}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   234
  \hspace{5mm}$|$ Let \only<2->{as::}assns \only<2->{t::}trm
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
  & \onslide<2->{\isacommand{bind} bn(as) \isacommand{in} t}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   236
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   238
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
  \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
   240
  \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
   241
  \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
   242
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
  \begin{frame}<1-5>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
  \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
   255
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
  \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
   259
  {\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
   260
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
  \item Ott allows specifications like\smallskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
  $t ::= t\;t\; |\;\lambda x.t$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
  \only<3-4>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
  \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
   273
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
  \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
   276
  \node (B) at ( 1.1,1) {$s$};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
  \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
   278
  \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
   279
  \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
   280
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
  \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
   283
  for $\alpha$-equated terms}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
  \only<5>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
  \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
   289
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
  \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
   292
  \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
   293
  \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
   294
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
  \end{center}\bigskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
  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
   297
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
  \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
   300
  \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
   301
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
  same with \isacommand{bind (set)}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
  \end{itemize}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
  \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
   318
  \mbox{}\\[-3mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
  \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
   322
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
  Lam [$a$].\,$t$ $\;{^\text{``}}\!\dn{}\!^{\text{''}}$\\[2mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
  \;\;\;\;$\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
   327
  \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
   328
  \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
   329
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  \begin{textblock}{10}(2,14)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
  \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
   335
  \end{textblock}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
  \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
   345
  \mbox{}\\[4mm]
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
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
  {\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
   350
  (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
   351
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
  {\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
   353
  (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
   354
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
  \alt<2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
  {\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
   357
  (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
   358
  {\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
   359
  (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
   360
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
  {\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
   362
  (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
   363
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
  {\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
   365
  (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
   366
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
  {\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
   368
  (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
   369
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
  \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
   371
  \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
   372
  \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
   373
  (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
   374
  \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
   375
  \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
   376
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
*}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
  \begin{frame}<1-8>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
  \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
   390
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  \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
   394
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
  \begin{tabular}{@ {\hspace{1cm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
  $(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
   397
           \only<7>{${}_{\text{\alert{list}}}$}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
           \only<8>{${}_{\text{\alert{set+}}}$}}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
           \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
   400
  \end{tabular}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  \end{itemize}
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<1>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
  \begin{textblock}{8}(3,8.5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
  \begin{tabular}{l@ {\hspace{2mm}}p{8cm}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
   & $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
   407
   & $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
   408
   & $\approx_{\text{set}}$ is where the cardinality 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
  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
   410
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
  \end{textblock}}
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
  \only<4->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
  \begin{textblock}{12}(5,8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
  \begin{tabular}{ll@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
  $\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
   417
        & \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
   418
        & \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
   419
        & \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
   420
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
  \only<7>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
  \begin{textblock}{7}(3,13.8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
  \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
   426
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
  \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
   440
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
  $(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
   443
  \end{center}\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
  \onslide<2->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
  $\text{fv}(x) = \{x\}$\\[1mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
  $\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
   450
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
  \end{center}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
  $\exists\pi.$ & $\text{fv}(x) - as = \text{fv}(y) - bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
  \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
   475
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
  $\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
   480
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
  \only<3->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
  \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
   491
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
  $\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
   496
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   504
  \end{frame}}
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
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   510
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   516
  \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
   517
  \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
   518
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  \item $\approx_{\text{set+}}$, $\approx_{\text{set}}$% 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
  \only<2>{, \alert{$\not\approx_{\text{list}}$}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   526
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
  $\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
   535
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   542
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
  \draw (0,0) node[inner sep=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
   546
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   547
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
  $\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
   551
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   556
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   557
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   558
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   559
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   560
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   561
  \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
   562
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  $\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
   567
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
  \end{textblock}}
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
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   577
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   579
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   580
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   581
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   582
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   583
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   584
  \mbox{}\\[-3mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   585
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   586
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   587
  \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
   588
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   589
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   590
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   591
  \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
   592
        $\not\approx_{\text{list}}$
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   593
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   594
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   595
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   596
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   597
  \begin{textblock}{4}(0.3,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   598
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   599
  \draw (0,0) node[inner sep=1mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   600
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   601
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   602
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   603
  \multicolumn{2}{@ {}l}{set+:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   604
  $\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
   605
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   606
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   607
  \\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   608
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   609
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   610
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   611
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   612
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   613
  \begin{textblock}{4}(5.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   614
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   615
  \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
   616
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   617
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   618
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   619
  \multicolumn{2}{@ {}l}{set:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   620
  $\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
   621
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   622
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   623
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   624
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   625
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   626
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   627
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   628
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   629
  \begin{textblock}{4}(10.2,12)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   630
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   631
  \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
   632
  {\tiny\color{darkgray}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   633
  \begin{minipage}{3.4cm}\raggedright
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   634
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   635
  \multicolumn{2}{@ {}l}{list:}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   636
  $\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
   637
  $\wedge$ & $\text{fv}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   638
  $\wedge$ & $\pi \cdot x = y$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   639
  $\wedge$ & $\pi \cdot as = bs$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   640
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   641
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   642
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   643
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   644
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   645
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   646
  \begin{textblock}{6}(2.5,4)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   647
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   648
  \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
   649
  {\normalsize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   650
  \begin{minipage}{8cm}\raggedright
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 \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
   653
  abstracted
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   654
  \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
   655
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   656
  \end{minipage}};
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   657
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   658
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   659
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   660
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   661
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   662
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   663
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   664
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   665
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   666
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   667
  \begin{frame}<1-3>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   668
  \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
   669
  \mbox{}\\[-7mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   670
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   671
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   672
  \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
   673
  \item they are equivalence relations\medskip  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   674
  \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
   675
  types $\beta\;\text{abs}_*$\bigskip 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   676
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   677
  \only<1>{$[as].\,x$}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   678
  \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
   679
  \only<3>{%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   680
  \begin{tabular}{r@ {\hspace{1mm}}l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   681
  \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
   682
  $\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
   683
  $\wedge$       & $\text{supp}(x) - as \fresh^* \pi$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   684
  $\wedge$       & $\pi \act x = y $\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   685
  $(\wedge$       & $\pi \act as = bs)\;^*$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   686
  \end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   687
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   688
  \end{itemize}
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
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   691
  \begin{textblock}{8}(12,3.8)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   692
  \footnotesize $^*$ set, set+, list
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   693
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   694
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   695
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   696
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   697
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   698
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   699
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   700
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   701
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   702
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   703
  \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
   704
  \mbox{}\\[-3mm]
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
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   707
  $\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
   708
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   709
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   710
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   711
  \item we cannot represent this as\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   712
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   713
  $\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
   714
  \end{center}\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   715
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   716
  because\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   717
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   718
  $\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
   719
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   720
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   721
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   722
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   723
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   724
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   725
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   726
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   727
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   728
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   729
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   730
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   731
  \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
   732
  \mbox{}\\[-6mm]
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
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   735
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   736
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   737
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   738
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   739
  \hspace{5mm}$|$ Lam x::name t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   740
  & \isacommand{bind} x \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   741
  \hspace{5mm}$|$ Let as::assns t::trm
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   742
  & \isacommand{bind} bn(as) \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   743
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   744
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   745
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   746
  \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
   747
  \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
   748
  \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
   749
  \end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   750
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   751
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   752
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   753
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   754
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   755
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   758
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   759
  \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
   760
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   761
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   762
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   763
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   764
  \multicolumn{2}{l}{\isacommand{datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   765
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   766
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   767
  \hspace{5mm}$|$ Lam name trm\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   768
  \hspace{5mm}$|$ Let assns trm\\
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   769
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   770
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   771
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\[5mm]
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   772
  \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
   773
  \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
   774
  \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
   775
  \end{tabular}
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
  \only<2>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   778
  \begin{textblock}{5}(10,5)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   779
  $+$ \begin{tabular}{l}automatically\\ 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   780
  generate fv's\end{tabular}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   781
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   782
  \end{frame}}
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
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   789
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   790
  \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
   791
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   792
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   793
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   794
  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
   795
  \end{center}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   798
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   799
  \infer[\text{Lam-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   800
  {\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
   801
  {([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
   802
    ^{\approx_\alpha,\text{fv}} ([x'], t')}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   803
  \]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   804
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   805
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   806
  \end{frame}}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   810
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   813
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   814
  \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
   815
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   816
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   817
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   818
  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
   819
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   820
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   821
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
  \infer[\text{Lam-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   824
  {\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
   825
  {([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
   826
    ^{R, fv} ([x', y'], (t', s'))}
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
  \footnotesize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   830
  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
   831
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   832
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   833
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   834
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   837
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   838
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   839
  \begin{frame}<1-2>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   840
  \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
   841
  \mbox{}\\[6mm]
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
  \begin{center}
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   844
  Let as::assns t::trm \hspace{10mm}\isacommand{bind} bn(as) \isacommand{in} t\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   845
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   846
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   847
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   848
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   849
  \infer[\text{Let-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   850
  {\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
   851
  {(\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
   852
    ^{\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
   853
   \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
   854
  \]\bigskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   855
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   856
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   857
  \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
   858
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   859
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   862
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   863
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   866
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   867
  \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
   868
  \mbox{}\\[-6mm]
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
  \mbox{}\hspace{10mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   871
  \begin{tabular}{l}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   872
  \ldots\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   873
  \isacommand{binder} bn \isacommand{where}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   874
  \phantom{$|$} bn(ANil) $=$ $[]$\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   875
  $|$ 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
   876
  \end{tabular}\bigskip
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
  \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
   880
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   881
  \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
   882
  {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
   883
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   884
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   885
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   886
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   887
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   888
*}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   891
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   894
  \begin{frame}<1>
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   895
  \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
   896
  \mbox{}\\[6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   897
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   898
  \begin{center}
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
   899
  LetRec as::assns t::trm \hspace{10mm}\isacommand{bind} bn(as) \isacommand{in} t \alert{as}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   900
  \end{center}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   903
  \[\mbox{}\hspace{-4mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   904
  \infer[\text{LetRec-}\!\approx_\alpha]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   905
  {\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
   906
  {(\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
   907
    ^{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
   908
  \]\bigskip
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
  \onslide<1->{\alert{deep recursive binders}}
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}Restrictions\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
  Our restrictions on binding specifications:
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   923
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   924
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   925
  \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
   926
  \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
   927
  \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
   928
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   929
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   930
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   931
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   932
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   936
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   937
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   938
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   939
  \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
   940
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   941
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   942
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   943
  \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
   944
  \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
   945
  of $\alpha$-equated terms
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
  \[
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   948
  \infer
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   949
  {\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
   950
  {\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
   951
    ^{=,\text{supp}} ([x'], t')}%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   952
   \only<2>{[x].t = [x'].t'}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   953
  \]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   954
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   955
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   956
  \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
   957
  \item we can derive strong induction principles
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   958
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   959
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
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   962
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   965
text_raw {*
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
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   968
  \begin{frame}<1>[t]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   969
  \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
   970
  \mbox{}\\[-7mm]\mbox{}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   971
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   972
  \footnotesize
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   973
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   974
  \begin{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   975
  \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
   976
  (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
   977
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   978
  \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
   979
  (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
   980
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   981
  \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
   982
  (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
   983
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   984
  \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
   985
  (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
   986
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   987
  \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
   988
  (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
   989
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   990
  \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
   991
  (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
   992
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   993
  \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
   994
  \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
   995
  \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
   996
  (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
   997
  \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
   998
  \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
   999
  \end{tikzpicture}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1000
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1001
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1002
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1003
  \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
  1004
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1005
  $\sim$ 2 mins
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1006
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1007
  \end{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1008
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1009
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1010
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1011
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1012
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1013
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1014
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1015
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1016
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1017
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1018
  \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
  1019
  \mbox{}\\[-6mm]
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
  \small
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1022
  \mbox{}\hspace{20mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1023
  \begin{tabular}{ll}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1024
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1025
  \hspace{5mm}\phantom{$|$} Var name\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1026
  \hspace{5mm}$|$ App trm trm\\
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1027
  \hspace{5mm}$|$ Lam x::name t::trm
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1028
  & \isacommand{bind} x \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
  1029
  \hspace{5mm}$|$ Let as::assns t::trm
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1030
  & \isacommand{bind} bn(as) \isacommand{in} t\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
  1031
  \multicolumn{2}{l}{\isacommand{and} assns $=$}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1032
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
  1033
  \multicolumn{2}{l}{\hspace{5mm}$|$ ACons name trm assns}\\
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1034
  \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
  1035
  \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
  1036
  \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
  1037
  \end{tabular}\bigskip\medskip
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1038
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
  1039
  we cannot quotient assns: ACons a \ldots $\not\approx_\alpha$ ACons b \ldots
2748
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
  \only<1->{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1042
  \begin{textblock}{8}(0.2,7.3)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1043
  \alert{\begin{tabular}{p{2.6cm}}
2750
43283267737c more on the slides
Christian Urban <urbanc@in.tum.de>
parents: 2748
diff changeset
  1044
  \raggedright\footnotesize{}Should a ``naked'' assns be quotient?
2748
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1045
  \end{tabular}\hspace{-3mm}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1046
  $\begin{cases}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1047
  \mbox{} \\ \mbox{}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1048
  \end{cases}$} 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1049
  \end{textblock}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1050
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1051
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1052
*}
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
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1055
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1056
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1057
  \begin{frame}<1->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1058
  \frametitle{\begin{tabular}{c}Conclusion\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1059
  \mbox{}\\[-6mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1062
  \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
  1063
  \only<1>{\begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1064
  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
  1065
  \end{center}\bigskip}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1066
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1067
  \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
  1068
  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
  1069
  \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
  1070
  (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
  1071
  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
  1072
  \end{itemize}
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
  \end{frame}}
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
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1078
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1079
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1080
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1081
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1082
  \begin{frame}<1->[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1083
  \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
  1084
  \mbox{}\\[-6mm]
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
  \begin{itemize}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1087
  \item Function definitions 
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1088
  \end{itemize}
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
  \end{frame}}
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
*}
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1095
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1096
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1097
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1098
  \begin{frame}<1->[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1099
  \frametitle{\begin{tabular}{c}Questions?\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1100
  \mbox{}\\[-6mm]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1101
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1102
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1103
  \alert{\huge{Thanks!}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1104
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1105
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1106
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1107
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1110
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1111
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1112
text_raw {*
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1113
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1114
  \mode<presentation>{
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1115
  \begin{frame}<1-2>[c]
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1116
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1117
  \mbox{}\\[-6mm]
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
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1120
  $(\{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
  1121
  $(\{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
  1122
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1123
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1124
  \begin{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1125
  $(\{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
  1126
  \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
  1127
  \end{center}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1128
  
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1129
  \onslide<2->
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1130
  {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
  1131
   \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
  1132
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1133
   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
  1134
  }
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1135
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1136
  \end{frame}}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1137
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1138
*}
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1139
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1140
(*<*)
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1141
end
6f38e357b337 rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1142
(*>*)