754
|
1 |
(*<*)
|
|
2 |
theory Paper
|
1506
|
3 |
imports "../Nominal/Test" "LaTeXsugar"
|
754
|
4 |
begin
|
1493
|
5 |
|
|
6 |
notation (latex output)
|
|
7 |
swap ("'(_ _')" [1000, 1000] 1000) and
|
|
8 |
fresh ("_ # _" [51, 51] 50) and
|
1506
|
9 |
fresh_star ("_ #* _" [51, 51] 50) and
|
1493
|
10 |
supp ("supp _" [78] 73) and
|
|
11 |
uminus ("-_" [78] 73) and
|
|
12 |
If ("if _ then _ else _" 10)
|
754
|
13 |
(*>*)
|
|
14 |
|
|
15 |
section {* Introduction *}
|
|
16 |
|
|
17 |
text {*
|
1524
|
18 |
So far, Nominal Isabelle provides a mechanism for constructing
|
1535
|
19 |
alpha-equated terms such as
|
1485
|
20 |
|
1520
|
21 |
\begin{center}
|
|
22 |
$t ::= x \mid t\;t \mid \lambda x. t$
|
|
23 |
\end{center}
|
|
24 |
|
|
25 |
\noindent
|
1535
|
26 |
where free and bound variables have names.
|
|
27 |
For such terms Nominal Isabelle derives automatically a reasoning
|
1524
|
28 |
infrastructure, which has been used in formalisations of an equivalence
|
1520
|
29 |
checking algorithm for LF \cite{UrbanCheneyBerghofer08}, Typed
|
|
30 |
Scheme~\cite{TobinHochstadtFelleisen08}, several calculi for concurrency
|
|
31 |
\cite{BengtsonParrow07,BengtsonParow09} and a strong normalisation result
|
|
32 |
for cut-elimination in classical logic \cite{UrbanZhu08}. It has also been
|
|
33 |
used by Pollack for formalisations in the locally-nameless approach to
|
|
34 |
binding \cite{SatoPollack10}.
|
|
35 |
|
1535
|
36 |
However, Nominal Isabelle has fared less well in a formalisation of
|
1524
|
37 |
the algorithm W \cite{UrbanNipkow09}, where types and type-schemes
|
|
38 |
are of the form
|
1520
|
39 |
|
|
40 |
\begin{center}
|
|
41 |
\begin{tabular}{l}
|
|
42 |
$T ::= x \mid T \rightarrow T$ \hspace{5mm} $S ::= \forall \{x_1,\ldots, x_n\}. T$
|
|
43 |
\end{tabular}
|
|
44 |
\end{center}
|
|
45 |
|
|
46 |
\noindent
|
1535
|
47 |
and the quantification binds a finite (possibly empty) set of type-variables.
|
1524
|
48 |
While it is possible to formalise such abstractions by iterating single bindings,
|
1535
|
49 |
this leads to a rather clumsy formalisation of W. This need of iterating single binders
|
|
50 |
in order to representing multiple binders is also one reason why Nominal Isabelle and other
|
1524
|
51 |
theorem provers have not fared extremely well with the more advanced tasks
|
1535
|
52 |
in the POPLmark challenge \cite{challenge05}, because also there one would like
|
|
53 |
to bind multiple variables at once.
|
1520
|
54 |
|
1535
|
55 |
Binding multiple variables in a single abstraction has interesting properties that are not
|
|
56 |
captured by iterating single binders. First,
|
|
57 |
in the case of type-schemes, we do not like to make a distinction
|
1524
|
58 |
about the order of the bound variables. Therefore we would like to regard the following two
|
|
59 |
type-schemes as alpha-equivalent
|
1520
|
60 |
|
|
61 |
\begin{center}
|
|
62 |
$\forall \{x, y\}. x \rightarrow y \;\approx_\alpha\; \forall \{y, x\}. y \rightarrow x$
|
|
63 |
\end{center}
|
|
64 |
|
|
65 |
\noindent
|
1524
|
66 |
but the following two should \emph{not} be alpha-equivalent
|
1520
|
67 |
|
|
68 |
\begin{center}
|
|
69 |
$\forall \{x, y\}. x \rightarrow y \;\not\approx_\alpha\; \forall \{z\}. z \rightarrow z$
|
|
70 |
\end{center}
|
|
71 |
|
|
72 |
\noindent
|
1524
|
73 |
assuming that $x$, $y$ and $z$ are distinct. Moreover, we like to regard type-schemes as
|
|
74 |
alpha-equivalent, if they differ only on \emph{vacuous} binders, such as
|
1520
|
75 |
|
|
76 |
\begin{center}
|
|
77 |
$\forall \{x\}. x \rightarrow y \;\approx_\alpha\; \forall \{x, z\}. x \rightarrow y$
|
|
78 |
\end{center}
|
1485
|
79 |
|
1520
|
80 |
\noindent
|
1535
|
81 |
where $z$ does not occur freely in the type.
|
1524
|
82 |
In this paper we will give a general abstraction mechanism and associated
|
|
83 |
notion of alpha-equivalence that can be used to faithfully represent
|
|
84 |
type-schemes in Nominal Isabelle. The difficulty of finding the right notion
|
|
85 |
for alpha-equivalence in this case can be appreciated by considering that the
|
|
86 |
definition given by Leroy in \cite{Leroy92} is incorrect (it omits a side-condition).
|
|
87 |
|
|
88 |
|
1520
|
89 |
|
|
90 |
However, the notion of alpha-equivalence that is preserved by vacuous binders is not
|
1524
|
91 |
alway wanted. For example in terms like
|
1520
|
92 |
|
1535
|
93 |
\begin{equation}\label{one}
|
|
94 |
\LET x = 3 \AND y = 2 \IN x\,\backslash\,y \END
|
|
95 |
\end{equation}
|
1520
|
96 |
|
|
97 |
\noindent
|
1524
|
98 |
we might not care in which order the assignments $x = 3$ and $y = 2$ are
|
1535
|
99 |
given, but it would be unusual to regard \eqref{one} as alpha-equivalent
|
1524
|
100 |
with
|
1520
|
101 |
|
|
102 |
\begin{center}
|
1524
|
103 |
$\LET x = 3 \AND y = 2 \AND z = loop \IN x\,\backslash\,y \END$
|
1520
|
104 |
\end{center}
|
|
105 |
|
|
106 |
\noindent
|
1524
|
107 |
Therefore we will also provide a separate abstraction mechanism for cases
|
|
108 |
in which the order of binders does not matter, but the ``cardinality'' of the
|
1535
|
109 |
binders has to agree.
|
1520
|
110 |
|
1524
|
111 |
However, we found that this is still not sufficient for covering language
|
|
112 |
constructs frequently occuring in programming language research. For example
|
|
113 |
in $\mathtt{let}$s involving patterns
|
1485
|
114 |
|
1535
|
115 |
\begin{equation}\label{two}
|
|
116 |
\LET (x, y) = (3, 2) \IN x\,\backslash\,y \END
|
|
117 |
\end{equation}
|
1520
|
118 |
|
|
119 |
\noindent
|
1535
|
120 |
we want to bind all variables from the pattern inside the body of the
|
|
121 |
$\mathtt{let}$, but we also care about the order of these variables, since
|
|
122 |
we do not want to identify \eqref{two} with
|
1520
|
123 |
|
|
124 |
\begin{center}
|
1524
|
125 |
$\LET (y, x) = (3, 2) \IN x\,\backslash y\,\END$
|
1520
|
126 |
\end{center}
|
|
127 |
|
|
128 |
\noindent
|
1535
|
129 |
As a result, we provide three general abstraction mechanisms for binding multiple
|
|
130 |
variables and allow the user to chose which one is intended when formalising a
|
1524
|
131 |
programming language calculus.
|
1485
|
132 |
|
1524
|
133 |
By providing these general abstraction mechanisms, however, we have to work around
|
|
134 |
a problem that has been pointed out by Pottier in \cite{Pottier06}: in
|
|
135 |
$\mathtt{let}$-constructs of the form
|
1520
|
136 |
|
|
137 |
\begin{center}
|
|
138 |
$\LET x_1 = t_1 \AND \ldots \AND x_n = t_n \IN s \END$
|
|
139 |
\end{center}
|
|
140 |
|
|
141 |
\noindent
|
1524
|
142 |
which bind all the $x_i$ in $s$, we might not care about the order in
|
1520
|
143 |
which the $x_i = t_i$ are given, but we do care about the information that there are
|
1524
|
144 |
as many $x_i$ as there are $t_i$. We lose this information if we represent the
|
1523
|
145 |
$\mathtt{let}$-constructor as something like
|
|
146 |
|
|
147 |
\begin{center}
|
1524
|
148 |
$\LET [x_1,\ldots,x_n].s\;\; [t_1,\ldots,t_n]$
|
1523
|
149 |
\end{center}
|
1520
|
150 |
|
1523
|
151 |
\noindent
|
1535
|
152 |
where the notation $[\_\!\_].\_\!\_$ indicates that a set of variables becomes
|
|
153 |
bound in $s$. In this representation we need additional predicates about terms
|
|
154 |
to ensure that the two lists are of equal length. This can result into very
|
1524
|
155 |
unintelligible reasoning (see for example~\cite{BengtsonParow09}).
|
1528
|
156 |
To avoid this, we will allow for example specifications of $\mathtt{let}$s
|
|
157 |
as follows
|
|
158 |
|
|
159 |
\begin{center}
|
|
160 |
\begin{tabular}{r@ {\hspace{2mm}}r@ {\hspace{2mm}}l}
|
|
161 |
$trm$ & $::=$ & \ldots\\
|
|
162 |
& $\mid$ & $\mathtt{let}\;a\!::\!assn\;\;t\!::\!trm\quad\mathtt{bind}\;bn\,(a) \IN t$\\[1mm]
|
|
163 |
$assn$ & $::=$ & $\mathtt{anil}$\\
|
|
164 |
& $\mid$ & $\mathtt{acons}\;\;name\;\;trm\;\;assn$
|
|
165 |
\end{tabular}
|
|
166 |
\end{center}
|
|
167 |
|
|
168 |
\noindent
|
|
169 |
where $assn$ is an auxiliary type representing a list of assignments
|
|
170 |
and $bn$ an auxilary function identifying the variables to be bound by
|
1535
|
171 |
the $\mathtt{let}$. This function can be defined as
|
1528
|
172 |
|
|
173 |
\begin{center}
|
|
174 |
$bn\,(\mathtt{anil}) = \varnothing \qquad bn\,(\mathtt{acons}\;x\;t\;as) = \{x\} \cup bn\,(as)$
|
|
175 |
\end{center}
|
1523
|
176 |
|
1528
|
177 |
\noindent
|
1535
|
178 |
This style of specifying terms and bindings is heavily
|
|
179 |
inspired by the syntax of the Ott-tool \cite{ott-jfp}.
|
1528
|
180 |
|
1535
|
181 |
However, we will not be able to deal with all specifications that are allowed by
|
1528
|
182 |
Ott. One reason is that we establish the reasoning infrastructure for
|
|
183 |
alpha-\emph{equated} terms. In contrast, Ott produces for a subset of its
|
1535
|
184 |
specifiactions a reasoning infrastructure for terms that have names for
|
|
185 |
bound variables, but these terms are concrete, \emph{non}-alpha-equated terms. To see
|
|
186 |
the difference, note that working
|
1528
|
187 |
with alpha-equated terms means that the two type-schemes with $x$, $y$ and
|
|
188 |
$z$ being distinct
|
|
189 |
|
|
190 |
\begin{center}
|
|
191 |
$\forall \{x\}. x \rightarrow y \;=\; \forall \{x, z\}. x \rightarrow y$
|
|
192 |
\end{center}
|
|
193 |
|
|
194 |
\noindent
|
1535
|
195 |
are not just alpha-equal, but actually equal. Our insistence on reasoning
|
|
196 |
with alpha-equated terms comes from the wealth of experience we gained with
|
|
197 |
the older version of Nominal Isabelle: for non-trivial properties, reasoning
|
|
198 |
about alpha-equated terms is much easier than reasoning with concrete
|
|
199 |
terms. The fundamental reason for this is that the HOL-logic underlying
|
|
200 |
Nominal Isabelle allows us to replace ``equals-by-equals''. In contrast,
|
|
201 |
replacing ``alpha-equals-by-alpha-equals'' requires a lot of extra work.
|
|
202 |
|
1528
|
203 |
|
1535
|
204 |
Although in informal settings a reasoning infrastructure for alpha-equated
|
|
205 |
terms that have names is nearly always taken for granted, establishing
|
1528
|
206 |
it automatically in a theorem prover is a rather non-trivial task.
|
1535
|
207 |
For every specification we will need to construct a type containing as
|
|
208 |
elements exactly those sets containing alpha-equal terms. To do so we use
|
|
209 |
the standard HOL-technique of defining a new type by
|
|
210 |
identifying a non-empty subset of an existing type. In our
|
|
211 |
we take as the starting point the type of sets of concrete
|
1528
|
212 |
terms (the latter being defined as datatypes). Then quotient these
|
|
213 |
sets according to our alpha-equivalence relation and then identifying
|
|
214 |
the new type as these alpha-equivalence classes. The construction we
|
|
215 |
can perform in HOL is illustrated by the following picture:
|
|
216 |
|
1520
|
217 |
|
|
218 |
|
1485
|
219 |
Contributions: We provide definitions for when terms
|
|
220 |
involving general bindings are alpha-equivelent.
|
1506
|
221 |
|
1528
|
222 |
\begin{center}
|
|
223 |
figure
|
1506
|
224 |
%\begin{pspicture}(0.5,0.0)(8,2.5)
|
|
225 |
%%\showgrid
|
|
226 |
%\psframe[linewidth=0.4mm,framearc=0.2](5,0.0)(7.7,2.5)
|
|
227 |
%\pscircle[linewidth=0.3mm,dimen=middle](6,1.5){0.6}
|
|
228 |
%\psframe[linewidth=0.4mm,framearc=0.2,dimen=middle](1.1,2.1)(2.3,0.9)
|
|
229 |
|
|
230 |
%\pcline[linewidth=0.4mm]{->}(2.6,1.5)(4.8,1.5)
|
|
231 |
|
|
232 |
%\pcline[linewidth=0.2mm](2.2,2.1)(6,2.1)
|
|
233 |
%\pcline[linewidth=0.2mm](2.2,0.9)(6,0.9)
|
|
234 |
|
|
235 |
%\rput(7.3,2.2){$\mathtt{phi}$}
|
|
236 |
%\rput(6,1.5){$\lama$}
|
|
237 |
%\rput[l](7.6,2.05){\begin{tabular}{l}existing\\[-1.6mm]type\end{tabular}}
|
|
238 |
%\rput[r](1.2,1.5){\begin{tabular}{l}new\\[-1.6mm]type\end{tabular}}
|
|
239 |
%\rput(6.1,0.5){\begin{tabular}{l}non-empty\\[-1.6mm]subset\end{tabular}}
|
|
240 |
%\rput[c](1.7,1.5){$\lama$}
|
|
241 |
%\rput(3.7,1.75){isomorphism}
|
|
242 |
%\end{pspicture}
|
1528
|
243 |
\end{center}
|
|
244 |
|
|
245 |
\noindent
|
|
246 |
To ``lift'' the reasoning from the underlying type to the new type
|
|
247 |
is usually a tricky task. To ease this task we reimplemented in Isabelle/HOL
|
|
248 |
the quotient package described by Homeier in \cite{Homeier05}. This
|
|
249 |
re-implementation will automate the proofs we require for our
|
|
250 |
reasoning infrastructure over alpha-equated terms.\medskip
|
1506
|
251 |
|
1528
|
252 |
\noindent
|
|
253 |
{\bf Contributions:} We provide new definitions for when terms
|
|
254 |
involving multiple binders are alpha-equivalent. These definitions are
|
|
255 |
inspired by earlier work of Pitts \cite{}. By means of automatic
|
|
256 |
proofs, we establish a reasoning infrastructure for alpha-equated
|
|
257 |
terms, including properties about support, freshness and equality
|
|
258 |
conditions for alpha-equated terms. We will also derive for these
|
|
259 |
terms a strong induction principle that has the variable convention
|
|
260 |
already built in.
|
1485
|
261 |
*}
|
|
262 |
|
1493
|
263 |
section {* A Short Review of the Nominal Logic Work *}
|
|
264 |
|
|
265 |
text {*
|
|
266 |
At its core, Nominal Isabelle is based on the nominal logic work by Pitts
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
267 |
\cite{Pitts03}. The implementation of this work are described in
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
268 |
\cite{HuffmanUrban10}, which we review here briefly to aid the description
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
269 |
of what follows in the next sections. Two central notions in the nominal
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
270 |
logic work are sorted atoms and permutations of atoms. The sorted atoms
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
271 |
represent different kinds of variables, such as term- and type-variables in
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
272 |
Core-Haskell, and it is assumed that there is an infinite supply of atoms
|
1535
|
273 |
for each sort. However, in order to simplify the description, we
|
|
274 |
shall assume in what follows that there is only a single sort of atoms.
|
1493
|
275 |
|
|
276 |
Permutations are bijective functions from atoms to atoms that are
|
|
277 |
the identity everywhere except on a finite number of atoms. There is a
|
|
278 |
two-place permutation operation written
|
|
279 |
|
1506
|
280 |
@{text[display,indent=5] "_ \<bullet> _ :: (\<alpha> \<times> \<alpha>) list \<Rightarrow> \<beta> \<Rightarrow> \<beta>"}
|
1493
|
281 |
|
|
282 |
\noindent
|
|
283 |
with a generic type in which @{text "\<alpha>"} stands for the type of atoms
|
|
284 |
and @{text "\<beta>"} for the type of the objects on which the permutation
|
|
285 |
acts. In Nominal Isabelle the identity permutation is written as @{term "0::perm"},
|
|
286 |
the composition of two permutations @{term p} and @{term q} as \mbox{@{term "p + q"}}
|
|
287 |
and the inverse permutation @{term p} as @{text "- p"}. The permutation
|
|
288 |
operation is defined for products, lists, sets, functions, booleans etc
|
|
289 |
(see \cite{HuffmanUrban10}).
|
|
290 |
|
|
291 |
The most original aspect of the nominal logic work of Pitts et al is a general
|
|
292 |
definition for ``the set of free variables of an object @{text "x"}''. This
|
|
293 |
definition is general in the sense that it applies not only to lambda-terms,
|
|
294 |
but also to lists, products, sets and even functions. The definition depends
|
|
295 |
only on the permutation operation and on the notion of equality defined for
|
|
296 |
the type of @{text x}, namely:
|
|
297 |
|
1506
|
298 |
@{thm[display,indent=5] supp_def[no_vars, THEN eq_reflection]}
|
1493
|
299 |
|
|
300 |
\noindent
|
|
301 |
There is also the derived notion for when an atom @{text a} is \emph{fresh}
|
|
302 |
for an @{text x}, defined as
|
|
303 |
|
1506
|
304 |
@{thm[display,indent=5] fresh_def[no_vars]}
|
1493
|
305 |
|
|
306 |
\noindent
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
307 |
We also use for sets of atoms the abbreviation
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
308 |
@{thm (lhs) fresh_star_def[no_vars]} defined as
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
309 |
@{thm (rhs) fresh_star_def[no_vars]}.
|
1493
|
310 |
A striking consequence of these definitions is that we can prove
|
|
311 |
without knowing anything about the structure of @{term x} that
|
|
312 |
swapping two fresh atoms, say @{text a} and @{text b}, leave
|
1506
|
313 |
@{text x} unchanged.
|
|
314 |
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
315 |
\begin{property}
|
1506
|
316 |
@{thm[mode=IfThen] swap_fresh_fresh[no_vars]}
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
317 |
\end{property}
|
1506
|
318 |
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
319 |
\noindent
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
320 |
For a proof see \cite{HuffmanUrban10}.
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
321 |
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
322 |
\begin{property}
|
1506
|
323 |
@{thm[mode=IfThen] at_set_avoiding[no_vars]}
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
324 |
\end{property}
|
1493
|
325 |
|
|
326 |
*}
|
|
327 |
|
1485
|
328 |
|
1491
|
329 |
section {* Abstractions *}
|
1485
|
330 |
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
331 |
text {*
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
332 |
General notion of alpha-equivalence (depends on a free-variable
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
333 |
function and a relation).
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
334 |
*}
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
335 |
|
1491
|
336 |
section {* Alpha-Equivalence and Free Variables *}
|
|
337 |
|
1520
|
338 |
text {*
|
|
339 |
Restrictions
|
|
340 |
|
|
341 |
\begin{itemize}
|
|
342 |
\item non-emptyness
|
|
343 |
\item positive datatype definitions
|
|
344 |
\item finitely supported abstractions
|
|
345 |
\item respectfulness of the bn-functions\bigskip
|
|
346 |
\item binders can only have a ``single scope''
|
|
347 |
\end{itemize}
|
|
348 |
*}
|
|
349 |
|
1493
|
350 |
section {* Examples *}
|
1485
|
351 |
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
352 |
section {* Adequacy *}
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
353 |
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
354 |
section {* Related Work *}
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
355 |
|
1493
|
356 |
section {* Conclusion *}
|
1485
|
357 |
|
|
358 |
text {*
|
1520
|
359 |
Complication when the single scopedness restriction is lifted (two
|
|
360 |
overlapping permutations)
|
|
361 |
*}
|
|
362 |
|
|
363 |
text {*
|
1493
|
364 |
|
1517
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
365 |
TODO: function definitions:
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
366 |
\medskip
|
62d6f7acc110
corrected the strong induction principle in the lambda-calculus case; gave a second (oartial) version that is more elegant
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
367 |
|
1493
|
368 |
\noindent
|
1528
|
369 |
{\bf Acknowledgements:} We are very grateful to Andrew Pitts for
|
1506
|
370 |
many discussions about Nominal Isabelle. We thank Peter Sewell for
|
|
371 |
making the informal notes \cite{SewellBestiary} available to us and
|
1528
|
372 |
also for explaining some of the finer points about the abstract
|
|
373 |
definitions and about the implmentation of the Ott-tool.
|
1485
|
374 |
|
754
|
375 |
|
|
376 |
*}
|
|
377 |
|
1484
|
378 |
|
|
379 |
|
754
|
380 |
(*<*)
|
|
381 |
end
|
|
382 |
(*>*) |