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