Slides/Slides1.thy
author Christian Urban <urbanc@in.tum.de>
Tue, 22 Jun 2010 18:07:53 +0100
changeset 2322 24de7e548094
parent 2313 25d2cdf7d7e4
child 2348 09b476c20fe1
permissions -rw-r--r--
proved eqvip theorems for alphas
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
  \\
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
    21
  \huge Nominal Isabelle 2\\[-2mm] 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
    22
  \large Or, How to Reason Conveniently\\[-5mm]
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
    23
  \large with General Bindings\\[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
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   185
  \item the order does matter \textcolor{gray}{(iterated single binders)}
2304
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}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   269
  \begin{tabular}{l}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   270
  \isacommand{bind} a b c \ldots \isacommand{in} x y z \ldots\\
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   271
  \isacommand{bind\_set} a b c \ldots \isacommand{in} x y z \ldots\\
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   272
  \isacommand{bind\_res} a b c \ldots \isacommand{in} x y z \ldots
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   273
  \end{tabular}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   274
  \end{center}\bigskip\medskip
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   275
  the reason is that with our definition of $\alpha$-equivalence\medskip
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   276
  \begin{center}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   277
  \begin{tabular}{l}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   278
  \isacommand{bind\_res} as \isacommand{in} x y $\not\Leftrightarrow$\\ 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   279
  \hspace{8mm}\isacommand{bind\_res} as \isacommand{in} x, \isacommand{bind\_res} as \isacommand{in} y
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   280
  \end{tabular}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   281
  \end{center}\medskip
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   282
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   283
  same with \isacommand{bind\_set}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   284
  \end{itemize}}
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   285
  \end{itemize}
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
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   288
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   289
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   290
*}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   291
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   292
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   293
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   294
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   295
  \begin{frame}<1>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   296
  \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
   297
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   298
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   299
  \begin{itemize}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   300
  \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
   301
  
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   302
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   303
  \begin{tabular}{l}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   304
  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
   305
  \;\;\;\;$\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
   306
  \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
   307
  \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
   308
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   309
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   310
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   311
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   312
  \begin{textblock}{10}(2,14)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   313
  \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
   314
  \end{textblock}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   315
  \end{frame}}
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
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   319
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   320
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   321
  \mode<presentation>{
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   322
  \begin{frame}<1->
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   323
  \frametitle{\begin{tabular}{c}New Design\end{tabular}}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   324
  \mbox{}\\[4mm]
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   325
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   326
  \begin{center}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   327
  \begin{tikzpicture}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   328
  {\draw (0,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   329
  (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
   330
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   331
  {\draw (3,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   332
  (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
   333
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   334
  \alt<2>
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   335
  {\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
   336
  (C) {\textcolor{red}{\begin{minipage}{1.1cm}$\alpha$-\\equiv.\end{minipage}}};}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   337
  {\draw (6,0) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   338
  (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
   339
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   340
  {\draw (0,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   341
  (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
   342
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   343
  {\draw (3,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   344
  (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
   345
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   346
  {\draw (6,-3) node[inner sep=3mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   347
  (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
   348
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   349
  \draw[->,fg!50,line width=1mm] (A) -- (B);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   350
  \draw[->,fg!50,line width=1mm] (B) -- (C);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   351
  \draw[->,fg!50,line width=1mm, line join=round, rounded corners=2mm] 
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   352
  (C) -- (8,0) -- (8,-1.5) -- (-2,-1.5) -- (-2,-3) -- (D);
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   353
  \draw[->,fg!50,line width=1mm] (D) -- (E);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   354
  \draw[->,fg!50,line width=1mm] (E) -- (F);
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   355
  \end{tikzpicture}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   356
  \end{center}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   357
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   358
  \end{frame}}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   359
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   360
*}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   361
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
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   364
text_raw {*
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   365
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   366
  \mode<presentation>{
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   367
  \begin{frame}<1-8>
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   368
  \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
   369
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   370
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   371
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   372
  \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
   373
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   374
  \begin{tabular}{@ {\hspace{1cm}}l}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   375
  $(as, x) \onslide<2->{\approx\!}\makebox[0mm][l]{\only<2-6>{${}_{\text{set}}$}%
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   376
           \only<7>{${}_{\text{\alert{list}}}$}%
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   377
           \only<8>{${}_{\text{\alert{res}}}$}}%
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   378
           \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
   379
  \end{tabular}\bigskip
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   380
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   381
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   382
  \only<1>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   383
  \begin{textblock}{8}(3,8.5)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   384
  \begin{tabular}{l@ {\hspace{2mm}}p{8cm}}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   385
  \pgfuseshading{smallspherered} & $as$ is a set of names\ldots the binders\\
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   386
  \pgfuseshading{smallspherered} & $x$ is the body (might be a tuple)\\
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   387
  \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
   388
  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
   389
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   390
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   391
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   392
  \only<4->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   393
  \begin{textblock}{12}(5,8)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   394
  \begin{tabular}{ll@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   395
  $\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
   396
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$\text{fv}(x) - as \fresh^* \pi$}\\[1mm]
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   397
        & \onslide<5->{$\;\;\;\wedge$} & \onslide<5->{$(\pi \act x)\;R\;y$}\\[1mm]
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   398
        & \onslide<6-7>{$\;\;\;\wedge$} & \onslide<6-7>{$\pi \act as = bs$}\\
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   399
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   400
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   401
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   402
  \only<7>{
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   403
  \begin{textblock}{7}(3,13.8)
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   404
  \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
   405
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   406
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   407
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   408
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   409
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   410
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   411
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   412
  \mode<presentation>{
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   413
  \begin{frame}<1-3>
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   414
  \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
   415
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   416
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   417
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   418
  \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
   419
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   420
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   421
  $(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
   422
  \end{center}\medskip
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
  \onslide<2->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   425
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   426
  \begin{tabular}{l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   427
  $\text{fv}(x) = \{x\}$\\[1mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   428
  $\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
   429
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   430
  \end{center}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   431
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   432
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   433
  
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   434
  \only<3->{
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   435
  \begin{textblock}{4}(0.3,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   436
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   437
  \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
   438
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   439
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   440
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   441
  \multicolumn{2}{@ {}l}{res:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   442
  $\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
   443
  $\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
   444
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   445
  \\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   446
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   447
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   448
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   449
  \end{textblock}}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   450
  \only<3->{
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   451
  \begin{textblock}{4}(5.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   452
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   453
  \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
   454
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   455
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   456
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   457
  \multicolumn{2}{@ {}l}{set:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   458
  $\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
   459
  $\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
   460
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   461
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   462
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   463
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   464
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   465
  \end{textblock}}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   466
  \only<3->{
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   467
  \begin{textblock}{4}(10.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   468
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   469
  \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
   470
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   471
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   472
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   473
  \multicolumn{2}{@ {}l}{list:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   474
  $\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
   475
  $\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
   476
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   477
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   478
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   479
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   480
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   481
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   482
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   483
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   484
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   485
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   486
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   487
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   488
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   489
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   490
  \begin{frame}<1-2>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   491
  \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
   492
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   493
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   494
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   495
  \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
   496
  \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
   497
  \end{center}
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
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   500
  \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
   501
  \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
   502
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   503
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   504
  
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   505
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   506
  \begin{textblock}{4}(0.3,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   507
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   508
  \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
   509
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   510
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   511
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   512
  \multicolumn{2}{@ {}l}{res:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   513
  $\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
   514
  $\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
   515
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   516
  \\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   517
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   518
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   519
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   520
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   521
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   522
  \begin{textblock}{4}(5.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   523
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   524
  \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
   525
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   526
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   527
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   528
  \multicolumn{2}{@ {}l}{set:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   529
  $\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
   530
  $\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
   531
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   532
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   533
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   534
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   535
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   536
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   537
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   538
  \begin{textblock}{4}(10.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   539
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   540
  \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
   541
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   542
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   543
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   544
  \multicolumn{2}{@ {}l}{list:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   545
  $\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
   546
  $\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
   547
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   548
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   549
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   550
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   551
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   552
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   553
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   554
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   555
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   556
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   557
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   558
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   559
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   560
  \mode<presentation>{
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   561
  \begin{frame}<1-2>
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   562
  \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
   563
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   564
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   565
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   566
  \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
   567
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   568
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   569
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   570
  \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
   571
        $\not\approx_{\text{list}}$
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   572
  \end{itemize}
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
  
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   575
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   576
  \begin{textblock}{4}(0.3,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   577
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   578
  \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
   579
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   580
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   581
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   582
  \multicolumn{2}{@ {}l}{res:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   583
  $\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
   584
  $\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
   585
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   586
  \\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   587
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   588
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   589
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   590
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   591
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   592
  \begin{textblock}{4}(5.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   593
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   594
  \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
   595
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   596
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   597
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   598
  \multicolumn{2}{@ {}l}{set:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   599
  $\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
   600
  $\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
   601
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   602
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   603
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   604
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   605
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   606
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   607
  \only<1->{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   608
  \begin{textblock}{4}(10.2,12)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   609
  \begin{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   610
  \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
   611
  {\tiny\color{darkgray}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   612
  \begin{minipage}{3.4cm}\raggedright
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   613
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   614
  \multicolumn{2}{@ {}l}{list:}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   615
  $\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
   616
  $\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
   617
  $\wedge$ & $\pi \cdot x = y$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   618
  $\wedge$ & $\pi \cdot as = bs$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   619
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   620
  \end{minipage}};
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   621
  \end{tikzpicture}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   622
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   623
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   624
  \only<2>{
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   625
  \begin{textblock}{6}(2.5,4)
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   626
  \begin{tikzpicture}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   627
  \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
   628
  {\normalsize
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   629
  \begin{minipage}{8cm}\raggedright
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   630
  \begin{itemize}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   631
  \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
   632
  abstracted
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   633
  \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
   634
  \end{itemize}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   635
  \end{minipage}};
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   636
  \end{tikzpicture}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   637
  \end{textblock}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   638
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   639
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   640
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   641
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   642
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   643
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   644
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   645
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   646
  \begin{frame}<1-3>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   647
  \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
   648
  \mbox{}\\[-7mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   649
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   650
  \begin{itemize}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   651
  \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
   652
  \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
   653
  \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
   654
  types $\beta\;\text{abs}_*$\bigskip 
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   655
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   656
  \only<1>{$[as].\,x$}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   657
  \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
   658
  \only<3>{%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   659
  \begin{tabular}{r@ {\hspace{1mm}}l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   660
  \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
   661
  $\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
   662
  $\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
   663
  $\wedge$       & $\pi \act x = y $\\
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   664
  $(\wedge$       & $\pi \act as = bs)\;^*$\\
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   665
  \end{tabular}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   666
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   667
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   668
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   669
  \only<1->{
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   670
  \begin{textblock}{8}(12,3.8)
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   671
  \footnotesize $^*$ set, res, list
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   672
  \end{textblock}}
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   673
  
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   674
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   675
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   676
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   677
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   678
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   679
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   680
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   681
  \begin{frame}<1>
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   682
  \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
   683
  \mbox{}\\[-3mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   684
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   685
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   686
  $\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
   687
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   688
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   689
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   690
  \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
   691
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   692
  $\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
   693
  \end{center}\bigskip
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   694
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   695
  because\medskip
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   696
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   697
  $\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
   698
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   699
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   700
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   701
  
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   702
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   703
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   704
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   705
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   706
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   707
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   708
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   709
  \begin{frame}<1->
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   710
  \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
   711
  \mbox{}\\[-6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   712
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   713
  \mbox{}\hspace{10mm}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   714
  \begin{tabular}{ll}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   715
  \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
   716
  \hspace{5mm}\phantom{$|$} Var name\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   717
  \hspace{5mm}$|$ App trm trm\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   718
  \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
   719
  & \isacommand{bind} x \isacommand{in} t\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   720
  \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
   721
  & \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
   722
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   723
  \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
   724
  \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
   725
  \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
   726
  \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
   727
  \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
   728
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   729
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   730
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   731
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   732
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   733
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   734
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   735
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   736
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   737
  \begin{frame}<1-2>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   738
  \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
   739
  \mbox{}\\[-6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   740
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   741
  \mbox{}\hspace{10mm}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   742
  \begin{tabular}{ll}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   743
  \multicolumn{2}{l}{\isacommand{datatype} trm $=$}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   744
  \hspace{5mm}\phantom{$|$} Var name\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   745
  \hspace{5mm}$|$ App trm trm\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   746
  \hspace{5mm}$|$ Lam name trm\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   747
  \hspace{5mm}$|$ Let assn trm\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   748
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   749
  \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
   750
  \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
   751
  \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
   752
  \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
   753
  \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
   754
  \end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   755
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   756
  \only<2>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   757
  \begin{textblock}{5}(10,5)
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   758
  $+$ \begin{tabular}{l}automatically\\ 
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   759
  generate fv's\end{tabular}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   760
  \end{textblock}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   761
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   762
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   763
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   764
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   765
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   766
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   767
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   768
  \begin{frame}<1>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   769
  \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
   770
  \mbox{}\\[6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   771
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   772
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   773
  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
   774
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   775
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
  \infer[\text{Lam-}\!\approx_\alpha]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   779
  {\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
   780
  {([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
   781
    ^{\approx_\alpha,\text{fv}} ([x'], t')}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   782
  \]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   783
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   784
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   785
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   786
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   787
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   788
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   789
text_raw {*
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
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   792
  \begin{frame}<1>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   793
  \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
   794
  \mbox{}\\[6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   795
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   796
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   797
  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
   798
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   799
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
  \infer[\text{Lam-}\!\approx_\alpha]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   803
  {\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
   804
  {([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
   805
    ^{R, fv} ([x', y'], (t', s'))}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   806
  \]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   807
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   808
  \footnotesize
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   809
  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
   810
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   811
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   812
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   816
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   817
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   818
  \begin{frame}<1-2>
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   819
  \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
   820
  \mbox{}\\[6mm]
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
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   823
  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
   824
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   825
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
  \infer[\text{Let-}\!\approx_\alpha]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   829
  {\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
   830
  {(\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
   831
    ^{\approx_\alpha,\text{fv}} (\text{bn}(as'), t') &
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   832
   \onslide<2->{as \approx_\alpha^{\text{bn}} as'}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   833
  \]\bigskip
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   834
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   835
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   836
  \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
   837
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   838
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   841
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   842
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   843
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   844
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   845
  \begin{frame}<1->
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   846
  \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
   847
  \mbox{}\\[-6mm]
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
  \mbox{}\hspace{10mm}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   850
  \begin{tabular}{l}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   851
  \ldots\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   852
  \isacommand{binder} bn \isacommand{where}\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   853
  \phantom{$|$} bn(ANil) $=$ $[]$\\
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   854
  $|$ 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
   855
  \end{tabular}\bigskip
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   856
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   857
  \begin{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   858
  \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
   859
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   860
  \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
   861
  {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
   862
  \end{center}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   863
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   864
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   865
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   866
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   867
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   868
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   869
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   870
text_raw {*
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   871
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   872
  \mode<presentation>{
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   873
  \begin{frame}<1>
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   874
  \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
   875
  \mbox{}\\[6mm]
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   876
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   877
  \begin{center}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   878
  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
   879
  \end{center}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   880
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   881
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   882
  \[\mbox{}\hspace{-4mm}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   883
  \infer[\text{LetRec-}\!\approx_\alpha]
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   884
  {\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
   885
  {(\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
   886
    ^{R,fv} (\text{bn}(as'), (t', as'))} 
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   887
  \]\bigskip
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   888
  
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   889
  \onslide<1->{\alert{deep recursive binders}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   890
  \end{frame}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   891
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   892
*}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   893
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   894
text_raw {*
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
  \mode<presentation>{
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   897
  \begin{frame}<1->
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   898
  \frametitle{\begin{tabular}{c}Restrictions\end{tabular}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   899
  \mbox{}\\[-6mm]
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   900
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   901
  Our restrictions on binding specifications:
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
  \begin{itemize}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   904
  \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
   905
  \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
   906
  \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
   907
  \end{itemize}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   908
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
  \end{frame}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   911
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   912
*}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   913
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   914
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   915
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   916
  \mode<presentation>{
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   917
  \begin{frame}<1->
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   918
  \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
   919
  \mbox{}\\[-6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   920
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   921
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   922
  \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
   923
  \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
   924
  of $\alpha$-equated terms
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   925
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   926
  \[
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   927
  \infer
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   928
  {\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
   929
  {\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
   930
    ^{=,\text{supp}} ([x'], t')}%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   931
   \only<2>{[x].t = [x'].t'}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   932
  \]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   933
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
  \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
   936
  \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
   937
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   938
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
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   941
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   942
*}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   943
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   944
text_raw {*
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   945
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
   946
  \mode<presentation>{
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   947
  \begin{frame}<1>[t]
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   948
  \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
   949
  \mbox{}\\[-7mm]\mbox{}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   950
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   951
  \footnotesize
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   952
  \begin{center}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   953
  \begin{tikzpicture}
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   954
  \draw (0,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   955
  (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
   956
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   957
  \draw (2,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   958
  (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
   959
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   960
  \draw (4,0) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   961
  (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
   962
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   963
  \draw (0,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   964
  (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
   965
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   966
  \draw (2,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   967
  (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
   968
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   969
  \draw (4,-2) node[inner sep=2mm, ultra thick, draw=fg, rounded corners=2mm]
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   970
  (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
   971
  
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   972
  \draw[->,fg!50,line width=1mm] (A) -- (B);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   973
  \draw[->,fg!50,line width=1mm] (B) -- (C);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   974
  \draw[->,fg!50,line width=1mm, line join=round, rounded corners=2mm] 
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   975
  (C) -- (5,0) -- (5,-1) -- (-1,-1) -- (-1,-2) -- (D);
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   976
  \draw[->,fg!50,line width=1mm] (D) -- (E);
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
   977
  \draw[->,fg!50,line width=1mm] (E) -- (F);
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   978
  \end{tikzpicture}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   979
  \end{center}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   980
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   981
  \begin{itemize}
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   982
  \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
   983
  \begin{center}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   984
  $\sim$ 1 min
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
   985
  \end{center}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   986
  \end{itemize}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   987
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   988
  \end{frame}}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   989
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   990
*}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   991
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   992
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   993
text_raw {*
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
  \mode<presentation>{
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   996
  \begin{frame}<1->
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   997
  \frametitle{\begin{tabular}{c}Interesting Phenomenon\end{tabular}}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   998
  \mbox{}\\[-6mm]
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
   999
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1000
  \small
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1001
  \mbox{}\hspace{20mm}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1002
  \begin{tabular}{ll}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1003
  \multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1004
  \hspace{5mm}\phantom{$|$} Var name\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1005
  \hspace{5mm}$|$ App trm trm\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1006
  \hspace{5mm}$|$ Lam x::name t::trm
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1007
  & \isacommand{bind} x \isacommand{in} t\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1008
  \hspace{5mm}$|$ Let as::assn t::trm
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1009
  & \isacommand{bind} bn(as) \isacommand{in} t\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1010
  \multicolumn{2}{l}{\isacommand{and} assn $=$}\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1011
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1012
  \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
  1013
  \multicolumn{2}{l}{\isacommand{binder} bn \isacommand{where}}\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1014
  \multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ $[]$}\\
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1015
  \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
  1016
  \end{tabular}\bigskip\medskip
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1017
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1018
  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
  1019
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1020
  \only<1->{
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1021
  \begin{textblock}{8}(0.2,7.3)
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1022
  \alert{\begin{tabular}{p{2.6cm}}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1023
  \raggedright\footnotesize{}Should a ``naked'' assn be quotient?
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1024
  \end{tabular}\hspace{-3mm}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1025
  $\begin{cases}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1026
  \mbox{} \\ \mbox{}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1027
  \end{cases}$} 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1028
  \end{textblock}}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1029
  \end{frame}}
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1030
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1033
text_raw {*
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1034
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1035
  \mode<presentation>{
2304
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1036
  \begin{frame}<1->
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1037
  \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
  1038
  \mbox{}\\[-6mm]
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1039
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1040
  \begin{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1041
  \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
  1042
  \only<1>{\begin{center}
2309
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1043
  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
  1044
  \end{center}\bigskip}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1045
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1046
  \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
  1047
  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
  1048
  \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
  1049
  (Barendregt's variable convention is unsound in general, 
13f20fe02ff3 fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents: 2304
diff changeset
  1050
  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
  1051
  \end{itemize}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1052
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1053
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1054
  \end{frame}}
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1055
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8a98171ba1fc all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents: 2302
diff changeset
  1056
*}
2299
09bbed4f21d6 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1057
2311
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1058
text_raw {*
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1059
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1060
  \mode<presentation>{
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1061
  \begin{frame}<1->[c]
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1062
  \frametitle{\begin{tabular}{c}Questions?\end{tabular}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1063
  \mbox{}\\[-6mm]
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
  \begin{center}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1066
  \alert{\huge{Thanks!}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1067
  \end{center}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1068
  
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1069
  \end{frame}}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1070
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1071
*}
4da5c5c29009 work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents: 2309
diff changeset
  1072
2313
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1073
text_raw {*
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1074
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1075
  \mode<presentation>{
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1076
  \begin{frame}<1-2>[c]
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1077
  \frametitle{\begin{tabular}{c}Examples\end{tabular}}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1078
  \mbox{}\\[-6mm]
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1079
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1080
  \begin{center}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1081
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, a \rightarrow b)$
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1082
  $(\{a,b\}, a \rightarrow b) \approx_\alpha (\{a, b\}, b \rightarrow a)$
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1083
  \end{center}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1084
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1085
  \begin{center}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1086
  $(\{a,b\}, (a \rightarrow b, a \rightarrow b))$\\ 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1087
  \hspace{17mm}$\not\approx_\alpha (\{a, b\}, (a \rightarrow b, b \rightarrow a))$
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1088
  \end{center}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1089
  
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1090
  \onslide<2->
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1091
  {1.) \hspace{3mm}\isacommand{bind\_set} as \isacommand{in} $\tau_1$, 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1092
   \isacommand{bind\_set} as \isacommand{in} $\tau_2$\medskip
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1093
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1094
   2.) \hspace{3mm}\isacommand{bind\_set} as \isacommand{in} $\tau_1$ $\tau_2$ 
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1095
  }
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1096
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1097
  \end{frame}}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1098
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1099
*}
25d2cdf7d7e4 transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents: 2311
diff changeset
  1100
2299
09bbed4f21d6 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1101
(*<*)
09bbed4f21d6 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1102
end
09bbed4f21d6 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1103
(*>*)