9722
|
1 |
%
|
|
2 |
\begin{isabellebody}%
|
10267
|
3 |
\def\isabellecontext{Nested{\isadigit{1}}}%
|
10186
|
4 |
%
|
9698
|
5 |
\begin{isamarkuptext}%
|
|
6 |
\noindent
|
11277
|
7 |
Although the definition of \isa{trev} below is quite natural, we will have
|
10878
|
8 |
to overcome a minor difficulty in convincing Isabelle of its termination.
|
9754
|
9 |
It is precisely this difficulty that is the \textit{raison d'\^etre} of
|
9698
|
10 |
this subsection.
|
|
11 |
|
|
12 |
Defining \isa{trev} by \isacommand{recdef} rather than \isacommand{primrec}
|
|
13 |
simplifies matters because we are now free to use the recursion equation
|
|
14 |
suggested at the end of \S\ref{sec:nested-datatype}:%
|
|
15 |
\end{isamarkuptext}%
|
11627
|
16 |
\isacommand{recdef}\ \end{isabellebody}%
|
9698
|
17 |
%%% Local Variables:
|
|
18 |
%%% mode: latex
|
|
19 |
%%% TeX-master: "root"
|
|
20 |
%%% End:
|