author | Christian Urban <urbanc@in.tum.de> |
Wed, 29 Jun 2011 16:44:54 +0100 | |
changeset 2924 | 06bf338e3215 |
parent 2748 | 6f38e357b337 |
child 3224 | cf451e182bf0 |
permissions | -rw-r--r-- |
2299 | 1 |
(*<*) |
2 |
theory Slides1 |
|
2748
6f38e357b337
rearranged directories and updated to new Isabelle
Christian Urban <urbanc@in.tum.de>
parents:
2740
diff
changeset
|
3 |
imports "~~/src/HOL/Library/LaTeXsugar" "Nominal" |
2299 | 4 |
begin |
5 |
||
6 |
notation (latex output) |
|
7 |
set ("_") and |
|
8 |
Cons ("_::/_" [66,65] 65) |
|
9 |
||
10 |
(*>*) |
|
11 |
||
12 |
||
13 |
text_raw {* |
|
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
14 |
%%\renewcommand{\slidecaption}{Cambridge, 8.~June 2010} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
15 |
\renewcommand{\slidecaption}{Uppsala, 3.~March 2011} |
2299 | 16 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
17 |
\mode<presentation>{ |
|
18 |
\begin{frame}<1>[t] |
|
19 |
\frametitle{% |
|
20 |
\begin{tabular}{@ {\hspace{-3mm}}c@ {}} |
|
21 |
\\ |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
22 |
\huge Nominal Isabelle 2\\[-2mm] |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
23 |
\large Or, How to Reason Conveniently\\[-5mm] |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
24 |
\large with General Bindings\\[5mm] |
2299 | 25 |
\end{tabular}} |
26 |
\begin{center} |
|
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
27 |
Christian Urban |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
28 |
\end{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
29 |
\begin{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
30 |
joint work with {\bf Cezary Kaliszyk}\\[0mm] |
2299 | 31 |
\end{center} |
32 |
\end{frame}} |
|
33 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
34 |
||
35 |
*} |
|
36 |
||
37 |
text_raw {* |
|
38 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
39 |
\mode<presentation>{ |
|
2300
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
40 |
\begin{frame}<1-2> |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
41 |
\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
|
42 |
\mbox{}\\[-6mm] |
2302 | 43 |
|
44 |
\begin{itemize} |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
45 |
\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
|
46 |
|
2302 | 47 |
\begin{center} |
48 |
Lam [a].(Var a) |
|
49 |
\end{center}\bigskip |
|
50 |
||
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
51 |
\item<2-> but representing |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
52 |
|
2302 | 53 |
\begin{center} |
54 |
$\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
|
55 |
\end{center}\medskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
56 |
|
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
57 |
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
|
58 |
take my word for it! |
2302 | 59 |
\end{itemize} |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
60 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
61 |
\only<1>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
62 |
\begin{textblock}{6}(1.5,11) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
63 |
\small |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
64 |
for example\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
65 |
\begin{tabular}{l@ {\hspace{2mm}}l} |
2348 | 66 |
& a $\fresh$ Lam [a]. t\\ |
67 |
& Lam [a]. (Var a) \alert{$=$} Lam [b]. (Var b)\\ |
|
68 |
& 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
|
69 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
70 |
\end{textblock}} |
2299 | 71 |
|
72 |
\end{frame}} |
|
73 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
74 |
*} |
|
75 |
||
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
76 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
77 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
78 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
79 |
\begin{frame}<1-4> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
80 |
\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
|
81 |
\mbox{}\\[-3mm] |
2299 | 82 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
83 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
84 |
\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
|
85 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
86 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
87 |
\begin{tabular}{l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
88 |
$\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
|
89 |
\bigskip\smallskip\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
90 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
91 |
\onslide<2->{% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
92 |
$\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
|
93 |
}\bigskip\smallskip\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
94 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
95 |
\onslide<3->{% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
96 |
$\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
|
97 |
}\medskip\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
98 |
\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
|
99 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
100 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
101 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
102 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
103 |
\begin{textblock}{8}(2,14.5) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
104 |
\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
|
105 |
\end{textblock} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
106 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
107 |
\only<4>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
108 |
\begin{textblock}{6}(2.5,4) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
109 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
110 |
\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
|
111 |
{\normalsize\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
112 |
\begin{minipage}{8cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
113 |
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
|
114 |
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
|
115 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
116 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
117 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
118 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
122 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
123 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
124 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
125 |
\begin{frame}<1-3> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
126 |
\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
|
127 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
128 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
129 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
130 |
\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
|
131 |
wanted:\bigskip\bigskip\normalsize |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
132 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
133 |
\begin{tabular}{@ {\hspace{-8mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
134 |
$\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
|
135 |
\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
|
136 |
\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
|
137 |
\;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
|
138 |
\end{tabular} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
141 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
142 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
143 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
147 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
148 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
149 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
150 |
\begin{frame}<1> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
151 |
\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
|
152 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
153 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
154 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
155 |
\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
|
156 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
157 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
158 |
\begin{tabular}{@ {\hspace{-8mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
159 |
$\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
|
160 |
$\;\;\;\not\approx_\alpha |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
161 |
\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
|
162 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
163 |
\end{center} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
166 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
167 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
168 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
172 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
173 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
174 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
175 |
\begin{frame}<1-2> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
176 |
\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
|
177 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
178 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
179 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
180 |
\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
|
181 |
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
|
182 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
183 |
\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
|
184 |
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
|
185 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
186 |
\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
|
187 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
188 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
189 |
\onslide<2->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
190 |
\begin{center} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
191 |
\isacommand{bind (set+)}\hspace{6mm} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
192 |
\isacommand{bind (set)}\hspace{6mm} |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
193 |
\isacommand{bind} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
194 |
\end{center}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
195 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
196 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
200 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
201 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
202 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
203 |
\begin{frame}<1-3> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
204 |
\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
|
205 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
206 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
207 |
\mbox{}\hspace{10mm} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
208 |
\begin{tabular}{ll} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
209 |
\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
|
210 |
\hspace{5mm}\phantom{$|$} Var name\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
211 |
\hspace{5mm}$|$ App trm trm\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
212 |
\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
|
213 |
& \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
|
214 |
\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
|
215 |
& \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
|
216 |
\multicolumn{2}{l}{\isacommand{and} assn $=$}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
217 |
\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
|
218 |
\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
|
219 |
\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
|
220 |
\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
|
221 |
\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
|
222 |
\end{tabular} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
226 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
230 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
231 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
232 |
\mode<presentation>{ |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
233 |
\begin{frame}<1-5> |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
234 |
\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
|
235 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
236 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
237 |
\begin{itemize} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
238 |
\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
|
239 |
{\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
|
240 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
241 |
|
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
242 |
\only<2>{ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
243 |
\begin{itemize} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
244 |
\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
|
245 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
246 |
$t ::= t\;t\; |\;\lambda x.t$ |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
247 |
\end{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
248 |
\end{itemize}} |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
249 |
|
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
250 |
\only<3-4>{ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
251 |
\begin{itemize} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
252 |
\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
|
253 |
\begin{center} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
254 |
\begin{tikzpicture} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
255 |
\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
|
256 |
\node (B) at ( 1.1,1) {$s$}; |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
257 |
\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
|
258 |
\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
|
259 |
\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
|
260 |
\end{tikzpicture} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
261 |
\end{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
262 |
\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
|
263 |
for $\alpha$-equated terms} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
264 |
\end{itemize}} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
265 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
266 |
\only<5>{ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
267 |
\begin{itemize} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
268 |
\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
|
269 |
\begin{center} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
270 |
\begin{tabular}{l} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
271 |
\isacommand{bind} a b c \ldots \isacommand{in} x y z \ldots\\ |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
272 |
\isacommand{bind (set)} a b c \ldots \isacommand{in} x y z \ldots\\ |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
273 |
\isacommand{bind (set+)} a b c \ldots \isacommand{in} x y z \ldots |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
274 |
\end{tabular} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
275 |
\end{center}\bigskip\medskip |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
276 |
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
|
277 |
\begin{center} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
278 |
\begin{tabular}{l} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
279 |
\isacommand{bind (set+)} as \isacommand{in} x y $\not\Leftrightarrow$\\ |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
280 |
\hspace{8mm}\isacommand{bind (set+)} as \isacommand{in} x, \isacommand{bind (set+)} as \isacommand{in} y |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
281 |
\end{tabular} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
282 |
\end{center}\medskip |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
283 |
|
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
284 |
same with \isacommand{bind (set)} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
285 |
\end{itemize}} |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
286 |
\end{itemize} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
289 |
\end{frame}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
290 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
291 |
*} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
292 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
293 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
294 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
295 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
296 |
\begin{frame}<1> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
297 |
\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
|
298 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
299 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
300 |
\begin{itemize} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
301 |
\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
|
302 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
303 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
304 |
\begin{tabular}{l} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
305 |
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
|
306 |
\;\;\;\;$\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
|
307 |
\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
|
308 |
\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
|
309 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
310 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
311 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
312 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
313 |
\begin{textblock}{10}(2,14) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
314 |
\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
|
315 |
\end{textblock} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
316 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
320 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
321 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
322 |
\mode<presentation>{ |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
323 |
\begin{frame}<1-> |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
324 |
\frametitle{\begin{tabular}{c}New Design\end{tabular}} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
325 |
\mbox{}\\[4mm] |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
326 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
327 |
\begin{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
328 |
\begin{tikzpicture} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
329 |
{\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
|
330 |
(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
|
331 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
332 |
{\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
|
333 |
(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
|
334 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
335 |
\alt<2> |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
336 |
{\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
|
337 |
(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
|
338 |
{\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
|
339 |
(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
|
340 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
341 |
{\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
|
342 |
(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
|
343 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
344 |
{\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
|
345 |
(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
|
346 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
347 |
{\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
|
348 |
(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
|
349 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
350 |
\draw[->,fg!50,line width=1mm] (A) -- (B); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
351 |
\draw[->,fg!50,line width=1mm] (B) -- (C); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
352 |
\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
|
353 |
(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
|
354 |
\draw[->,fg!50,line width=1mm] (D) -- (E); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
355 |
\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
|
356 |
\end{tikzpicture} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
357 |
\end{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
358 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
359 |
\end{frame}} |
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 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
365 |
text_raw {* |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
366 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
367 |
\mode<presentation>{ |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
368 |
\begin{frame}<1-8> |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
369 |
\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
|
370 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
371 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
372 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
373 |
\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
|
374 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
375 |
\begin{tabular}{@ {\hspace{1cm}}l} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
376 |
$(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
|
377 |
\only<7>{${}_{\text{\alert{list}}}$}% |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
378 |
\only<8>{${}_{\text{\alert{set+}}}$}}% |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
379 |
\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
|
380 |
\end{tabular}\bigskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
381 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
382 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
383 |
\only<1>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
384 |
\begin{textblock}{8}(3,8.5) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
385 |
\begin{tabular}{l@ {\hspace{2mm}}p{8cm}} |
2348 | 386 |
& $as$ is a set of names\ldots the binders\\ |
387 |
& $x$ is the body (might be a tuple)\\ |
|
388 |
& $\approx_{\text{set}}$ is where the cardinality |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
389 |
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
|
390 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
391 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
392 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
393 |
\only<4->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
394 |
\begin{textblock}{12}(5,8) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
395 |
\begin{tabular}{ll@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
396 |
$\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
|
397 |
& \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
|
398 |
& \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
|
399 |
& \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
|
400 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
401 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
402 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
403 |
\only<7>{ |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
404 |
\begin{textblock}{7}(3,13.8) |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
405 |
\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
|
406 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
407 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
411 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
412 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
413 |
\mode<presentation>{ |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
414 |
\begin{frame}<1-3> |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
415 |
\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
|
416 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
417 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
418 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
419 |
\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
|
420 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
421 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
422 |
$(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
|
423 |
\end{center}\medskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
424 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
425 |
\onslide<2->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
426 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
427 |
\begin{tabular}{l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
428 |
$\text{fv}(x) = \{x\}$\\[1mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
429 |
$\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
|
430 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
431 |
\end{center}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
432 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
433 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
434 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
435 |
\only<3->{ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
436 |
\begin{textblock}{4}(0.3,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
437 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
438 |
\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
|
439 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
440 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
441 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
442 |
\multicolumn{2}{@ {}l}{set+:}\\ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
443 |
$\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
|
444 |
$\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
|
445 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
446 |
\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
447 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
448 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
449 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
450 |
\end{textblock}} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
451 |
\only<3->{ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
452 |
\begin{textblock}{4}(5.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
453 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
454 |
\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
|
455 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
456 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
457 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
458 |
\multicolumn{2}{@ {}l}{set:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
459 |
$\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
|
460 |
$\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
|
461 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
462 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
463 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
464 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
465 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
466 |
\end{textblock}} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
467 |
\only<3->{ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
468 |
\begin{textblock}{4}(10.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
469 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
470 |
\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
|
471 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
472 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
473 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
474 |
\multicolumn{2}{@ {}l}{list:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
475 |
$\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
|
476 |
$\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
|
477 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
478 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
479 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
480 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
481 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
482 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
483 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
484 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
488 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
489 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
490 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
491 |
\begin{frame}<1-2> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
492 |
\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
|
493 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
494 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
495 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
496 |
\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
|
497 |
\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
|
498 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
499 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
500 |
\begin{itemize} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
501 |
\item $\approx_{\text{set+}}$, $\approx_{\text{set}}$% |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
502 |
\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
|
503 |
\end{itemize} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
506 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
507 |
\begin{textblock}{4}(0.3,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
508 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
509 |
\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
|
510 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
511 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
512 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
513 |
\multicolumn{2}{@ {}l}{set+:}\\ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
514 |
$\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
|
515 |
$\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
|
516 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
517 |
\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
518 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
519 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
520 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
521 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
522 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
523 |
\begin{textblock}{4}(5.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
524 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
525 |
\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
|
526 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
527 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
528 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
529 |
\multicolumn{2}{@ {}l}{set:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
530 |
$\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
|
531 |
$\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
|
532 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
533 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
534 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
535 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
536 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
537 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
538 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
539 |
\begin{textblock}{4}(10.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
540 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
541 |
\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
|
542 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
543 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
544 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
545 |
\multicolumn{2}{@ {}l}{list:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
546 |
$\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
|
547 |
$\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
|
548 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
549 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
550 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
551 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
552 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
553 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
554 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
555 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
559 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
560 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
561 |
\mode<presentation>{ |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
562 |
\begin{frame}<1-2> |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
563 |
\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
|
564 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
565 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
566 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
567 |
\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
|
568 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
569 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
570 |
\begin{itemize} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
571 |
\item $\approx_{\text{set+}}$, $\not\approx_{\text{set}}$, |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
572 |
$\not\approx_{\text{list}}$ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
573 |
\end{itemize} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
576 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
577 |
\begin{textblock}{4}(0.3,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
578 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
579 |
\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
|
580 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
581 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
582 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
583 |
\multicolumn{2}{@ {}l}{set+:}\\ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
584 |
$\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
|
585 |
$\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
|
586 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
587 |
\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
588 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
589 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
590 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
591 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
592 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
593 |
\begin{textblock}{4}(5.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
594 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
595 |
\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
|
596 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
597 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
598 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
599 |
\multicolumn{2}{@ {}l}{set:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
600 |
$\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
|
601 |
$\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
|
602 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
603 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
604 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
605 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
606 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
607 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
608 |
\only<1->{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
609 |
\begin{textblock}{4}(10.2,12) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
610 |
\begin{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
611 |
\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
|
612 |
{\tiny\color{darkgray} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
613 |
\begin{minipage}{3.4cm}\raggedright |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
614 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
615 |
\multicolumn{2}{@ {}l}{list:}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
616 |
$\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
|
617 |
$\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
|
618 |
$\wedge$ & $\pi \cdot x = y$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
619 |
$\wedge$ & $\pi \cdot as = bs$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
620 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
621 |
\end{minipage}}; |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
622 |
\end{tikzpicture} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
623 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
624 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
625 |
\only<2>{ |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
626 |
\begin{textblock}{6}(2.5,4) |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
627 |
\begin{tikzpicture} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
628 |
\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
|
629 |
{\normalsize |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
630 |
\begin{minipage}{8cm}\raggedright |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
631 |
\begin{itemize} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
632 |
\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
|
633 |
abstracted |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
634 |
\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
|
635 |
\end{itemize} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
636 |
\end{minipage}}; |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
637 |
\end{tikzpicture} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
638 |
\end{textblock}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
639 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
640 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
644 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
645 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
646 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
647 |
\begin{frame}<1-3> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
648 |
\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
|
649 |
\mbox{}\\[-7mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
650 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
651 |
\begin{itemize} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
652 |
\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
|
653 |
\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
|
654 |
\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
|
655 |
types $\beta\;\text{abs}_*$\bigskip |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
656 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
657 |
\only<1>{$[as].\,x$} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
658 |
\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
|
659 |
\only<3>{% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
660 |
\begin{tabular}{r@ {\hspace{1mm}}l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
661 |
\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
|
662 |
$\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
|
663 |
$\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
|
664 |
$\wedge$ & $\pi \act x = y $\\ |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
665 |
$(\wedge$ & $\pi \act as = bs)\;^*$\\ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
666 |
\end{tabular}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
667 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
668 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
669 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
670 |
\only<1->{ |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
671 |
\begin{textblock}{8}(12,3.8) |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
672 |
\footnotesize $^*$ set, set+, list |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
673 |
\end{textblock}} |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
674 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
675 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
679 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
680 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
681 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
682 |
\begin{frame}<1> |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
683 |
\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
|
684 |
\mbox{}\\[-3mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
685 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
686 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
687 |
$\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
|
688 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
689 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
690 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
691 |
\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
|
692 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
693 |
$\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
|
694 |
\end{center}\bigskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
695 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
696 |
because\medskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
697 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
698 |
$\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
|
699 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
700 |
\end{itemize} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
703 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
707 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
708 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
709 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
710 |
\begin{frame}<1-> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
711 |
\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
|
712 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
713 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
714 |
\mbox{}\hspace{10mm} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
715 |
\begin{tabular}{ll} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
716 |
\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
|
717 |
\hspace{5mm}\phantom{$|$} Var name\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
718 |
\hspace{5mm}$|$ App trm trm\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
719 |
\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
|
720 |
& \isacommand{bind} x \isacommand{in} t\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
721 |
\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
|
722 |
& \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
|
723 |
\multicolumn{2}{l}{\isacommand{and} assn $=$}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
724 |
\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
|
725 |
\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
|
726 |
\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
|
727 |
\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
|
728 |
\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
|
729 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
730 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
731 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
735 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
736 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
737 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
738 |
\begin{frame}<1-2> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
739 |
\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
|
740 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
741 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
742 |
\mbox{}\hspace{10mm} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
743 |
\begin{tabular}{ll} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
744 |
\multicolumn{2}{l}{\isacommand{datatype} trm $=$}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
745 |
\hspace{5mm}\phantom{$|$} Var name\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
746 |
\hspace{5mm}$|$ App trm trm\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
747 |
\hspace{5mm}$|$ Lam name trm\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
748 |
\hspace{5mm}$|$ Let assn trm\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
749 |
\multicolumn{2}{l}{\isacommand{and} assn $=$}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
750 |
\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
|
751 |
\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
|
752 |
\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
|
753 |
\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
|
754 |
\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
|
755 |
\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
756 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
757 |
\only<2>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
758 |
\begin{textblock}{5}(10,5) |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
759 |
$+$ \begin{tabular}{l}automatically\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
760 |
generate fv's\end{tabular} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
761 |
\end{textblock}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
762 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
766 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
767 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
768 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
769 |
\begin{frame}<1> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
770 |
\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
|
771 |
\mbox{}\\[6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
772 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
773 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
774 |
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
|
775 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
776 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
777 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
778 |
\[ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
779 |
\infer[\text{Lam-}\!\approx_\alpha] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
780 |
{\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
|
781 |
{([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
|
782 |
^{\approx_\alpha,\text{fv}} ([x'], t')} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
786 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
790 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
791 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
792 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
793 |
\begin{frame}<1> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
794 |
\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
|
795 |
\mbox{}\\[6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
796 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
797 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
798 |
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
|
799 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
800 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
801 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
802 |
\[ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
803 |
\infer[\text{Lam-}\!\approx_\alpha] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
804 |
{\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
|
805 |
{([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
|
806 |
^{R, fv} ([x', y'], (t', s'))} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
809 |
\footnotesize |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
810 |
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
|
811 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
812 |
\end{frame}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
813 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
814 |
*} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
815 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
816 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
817 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
818 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
819 |
\begin{frame}<1-2> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
820 |
\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
|
821 |
\mbox{}\\[6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
822 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
823 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
824 |
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
|
825 |
\end{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
826 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
827 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
828 |
\[ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
829 |
\infer[\text{Let-}\!\approx_\alpha] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
830 |
{\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
|
831 |
{(\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
|
832 |
^{\approx_\alpha,\text{fv}} (\text{bn}(as'), t') & |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
833 |
\onslide<2->{as \approx_\alpha^{\text{bn}} as'}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
834 |
\]\bigskip |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
835 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
836 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
837 |
\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
|
838 |
\end{frame}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
839 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
840 |
*} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
841 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
842 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
843 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
844 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
845 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
846 |
\begin{frame}<1-> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
847 |
\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
|
848 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
849 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
850 |
\mbox{}\hspace{10mm} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
851 |
\begin{tabular}{l} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
852 |
\ldots\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
853 |
\isacommand{binder} bn \isacommand{where}\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
854 |
\phantom{$|$} bn(ANil) $=$ $[]$\\ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
855 |
$|$ 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
|
856 |
\end{tabular}\bigskip |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
857 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
858 |
\begin{center} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
859 |
\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
|
860 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
861 |
\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
|
862 |
{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
|
863 |
\end{center} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
866 |
\end{frame}} |
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 |
*} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
869 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
870 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
871 |
text_raw {* |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
872 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
873 |
\mode<presentation>{ |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
874 |
\begin{frame}<1> |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
875 |
\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
|
876 |
\mbox{}\\[6mm] |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
877 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
878 |
\begin{center} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
879 |
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
|
880 |
\end{center} |
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 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
883 |
\[\mbox{}\hspace{-4mm} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
884 |
\infer[\text{LetRec-}\!\approx_\alpha] |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
885 |
{\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
|
886 |
{(\text{bn}(as), (t, as)) \approx\!\makebox[0mm][l]{${}_{\text{list}}$} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
887 |
^{R,\text{fv}} (\text{bn}(as'), (t', as'))} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
888 |
\]\bigskip |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
889 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
890 |
\onslide<1->{\alert{deep recursive binders}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
891 |
\end{frame}} |
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 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
895 |
text_raw {* |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
896 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
897 |
\mode<presentation>{ |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
898 |
\begin{frame}<1-> |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
899 |
\frametitle{\begin{tabular}{c}Restrictions\end{tabular}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
900 |
\mbox{}\\[-6mm] |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
901 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
902 |
Our restrictions on binding specifications: |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
903 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
904 |
\begin{itemize} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
905 |
\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
|
906 |
\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
|
907 |
\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
|
908 |
\end{itemize} |
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 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
911 |
\end{frame}} |
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 |
*} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
914 |
|
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
915 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
916 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
917 |
\mode<presentation>{ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
918 |
\begin{frame}<1-> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
919 |
\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
|
920 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
921 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
922 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
923 |
\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
|
924 |
\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
|
925 |
of $\alpha$-equated terms |
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 |
\[ |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
928 |
\infer |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
929 |
{\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
|
930 |
{\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
|
931 |
^{=,\text{supp}} ([x'], t')}% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
932 |
\only<2>{[x].t = [x'].t'}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
936 |
\item the properties for support are implied by the properties of $[\_].\_$ |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
937 |
\item we can derive strong induction principles |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
938 |
\end{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
939 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
940 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
941 |
\end{frame}} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
945 |
text_raw {* |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
946 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
947 |
\mode<presentation>{ |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
948 |
\begin{frame}<1>[t] |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
949 |
\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
|
950 |
\mbox{}\\[-7mm]\mbox{} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
951 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
952 |
\footnotesize |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
953 |
\begin{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
954 |
\begin{tikzpicture} |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
955 |
\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
|
956 |
(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
|
957 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
958 |
\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
|
959 |
(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
|
960 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
961 |
\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
|
962 |
(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
|
963 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
964 |
\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
|
965 |
(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
|
966 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
967 |
\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
|
968 |
(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
|
969 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
970 |
\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
|
971 |
(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
|
972 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
973 |
\draw[->,fg!50,line width=1mm] (A) -- (B); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
974 |
\draw[->,fg!50,line width=1mm] (B) -- (C); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
975 |
\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
|
976 |
(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
|
977 |
\draw[->,fg!50,line width=1mm] (D) -- (E); |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
978 |
\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
|
979 |
\end{tikzpicture} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
980 |
\end{center} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
981 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
982 |
\begin{itemize} |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
983 |
\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
|
984 |
\begin{center} |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
985 |
$\sim$ 2 mins |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
986 |
\end{center} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
987 |
\end{itemize} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
988 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
989 |
\end{frame}} |
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 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
994 |
text_raw {* |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
995 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
996 |
\mode<presentation>{ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
997 |
\begin{frame}<1-> |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
998 |
\frametitle{\begin{tabular}{c}Interesting Phenomenon\end{tabular}} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
999 |
\mbox{}\\[-6mm] |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1000 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1001 |
\small |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1002 |
\mbox{}\hspace{20mm} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1003 |
\begin{tabular}{ll} |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1004 |
\multicolumn{2}{l}{\isacommand{nominal\_datatype} trm $=$}\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1005 |
\hspace{5mm}\phantom{$|$} Var name\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1006 |
\hspace{5mm}$|$ App trm trm\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1007 |
\hspace{5mm}$|$ Lam x::name t::trm |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1008 |
& \isacommand{bind} x \isacommand{in} t\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1009 |
\hspace{5mm}$|$ Let as::assn t::trm |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1010 |
& \isacommand{bind} bn(as) \isacommand{in} t\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1011 |
\multicolumn{2}{l}{\isacommand{and} assn $=$}\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1012 |
\multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} ANil}\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1013 |
\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
|
1014 |
\multicolumn{2}{l}{\isacommand{binder} bn \isacommand{where}}\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1015 |
\multicolumn{2}{l}{\hspace{5mm}\phantom{$|$} bn(ANil) $=$ $[]$}\\ |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1016 |
\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
|
1017 |
\end{tabular}\bigskip\medskip |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1018 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1019 |
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
|
1020 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1021 |
\only<1->{ |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1022 |
\begin{textblock}{8}(0.2,7.3) |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1023 |
\alert{\begin{tabular}{p{2.6cm}} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1024 |
\raggedright\footnotesize{}Should a ``naked'' assn be quotient? |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1025 |
\end{tabular}\hspace{-3mm} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1026 |
$\begin{cases} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1027 |
\mbox{} \\ \mbox{} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1028 |
\end{cases}$} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1029 |
\end{textblock}} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1030 |
\end{frame}} |
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 |
|
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1034 |
text_raw {* |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1035 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1036 |
\mode<presentation>{ |
2304
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1037 |
\begin{frame}<1-> |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1038 |
\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
|
1039 |
\mbox{}\\[-6mm] |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1040 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1041 |
\begin{itemize} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1042 |
\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
|
1043 |
\only<1>{\begin{center} |
2309
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1044 |
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
|
1045 |
\end{center}\bigskip} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1046 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1047 |
\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
|
1048 |
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
|
1049 |
\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
|
1050 |
(Barendregt's variable convention is unsound in general, |
13f20fe02ff3
fixed problem with eqvt proofs
Christian Urban <urbanc@in.tum.de>
parents:
2304
diff
changeset
|
1051 |
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
|
1052 |
\end{itemize} |
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 |
|
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1055 |
\end{frame}} |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1056 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8a98171ba1fc
all raw definitions are defined using function
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1057 |
*} |
2299 | 1058 |
|
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1059 |
text_raw {* |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1060 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1061 |
\mode<presentation>{ |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1062 |
\begin{frame}<1->[c] |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1063 |
\frametitle{\begin{tabular}{c}Future Work\end{tabular}} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1064 |
\mbox{}\\[-6mm] |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1065 |
|
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1066 |
\begin{itemize} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1067 |
\item Function definitions |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1068 |
\end{itemize} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1069 |
|
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1070 |
\end{frame}} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1071 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1072 |
*} |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1073 |
|
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1074 |
|
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1075 |
text_raw {* |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1076 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1077 |
\mode<presentation>{ |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1078 |
\begin{frame}<1->[c] |
2311
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1079 |
\frametitle{\begin{tabular}{c}Questions?\end{tabular}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1080 |
\mbox{}\\[-6mm] |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1081 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1082 |
\begin{center} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1083 |
\alert{\huge{Thanks!}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1084 |
\end{center} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1085 |
|
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1086 |
\end{frame}} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1087 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1088 |
*} |
4da5c5c29009
work on transitivity proof
Christian Urban <urbanc@in.tum.de>
parents:
2309
diff
changeset
|
1089 |
|
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1090 |
|
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1091 |
|
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1092 |
text_raw {* |
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 |
\mode<presentation>{ |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1095 |
\begin{frame}<1-2>[c] |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1096 |
\frametitle{\begin{tabular}{c}Examples\end{tabular}} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1097 |
\mbox{}\\[-6mm] |
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 |
\begin{center} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1100 |
$(\{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
|
1101 |
$(\{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
|
1102 |
\end{center} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1103 |
|
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1104 |
\begin{center} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1105 |
$(\{a,b\}, (a \rightarrow b, a \rightarrow b))$\\ |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1106 |
\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
|
1107 |
\end{center} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1108 |
|
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1109 |
\onslide<2-> |
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1110 |
{1.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$, |
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1111 |
\isacommand{bind (set)} as \isacommand{in} $\tau_2$\medskip |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1112 |
|
2740
a9e63abf3feb
more on the pearl paper
Christian Urban <urbanc@in.tum.de>
parents:
2348
diff
changeset
|
1113 |
2.) \hspace{3mm}\isacommand{bind (set)} as \isacommand{in} $\tau_1$ $\tau_2$ |
2313
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1114 |
} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1115 |
|
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1116 |
\end{frame}} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1117 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1118 |
*} |
25d2cdf7d7e4
transitivity proofs done
Christian Urban <urbanc@in.tum.de>
parents:
2311
diff
changeset
|
1119 |
|
2299 | 1120 |
(*<*) |
1121 |
end |
|
1122 |
(*>*) |