9722
|
1 |
%
|
|
2 |
\begin{isabellebody}%
|
9924
|
3 |
\def\isabellecontext{fakenat}%
|
17056
|
4 |
%
|
|
5 |
\isadelimtheory
|
|
6 |
%
|
|
7 |
\endisadelimtheory
|
|
8 |
%
|
|
9 |
\isatagtheory
|
|
10 |
%
|
|
11 |
\endisatagtheory
|
|
12 |
{\isafoldtheory}%
|
|
13 |
%
|
|
14 |
\isadelimtheory
|
|
15 |
%
|
|
16 |
\endisadelimtheory
|
|
17 |
\isamarkuptrue%
|
8749
|
18 |
%
|
|
19 |
\begin{isamarkuptext}%
|
|
20 |
\noindent
|
11418
|
21 |
The type \tydx{nat} of natural
|
|
22 |
numbers is predefined to have the constructors \cdx{0} and~\cdx{Suc}. It behaves as if it were declared like this:%
|
8749
|
23 |
\end{isamarkuptext}%
|
11866
|
24 |
\isamarkupfalse%
|
17056
|
25 |
\isacommand{datatype}\ nat\ {\isacharequal}\ {\isadigit{0}}\ {\isacharbar}\ Suc\ nat%
|
|
26 |
\isadelimtheory
|
|
27 |
%
|
|
28 |
\endisadelimtheory
|
|
29 |
%
|
|
30 |
\isatagtheory
|
|
31 |
%
|
|
32 |
\endisatagtheory
|
|
33 |
{\isafoldtheory}%
|
|
34 |
%
|
|
35 |
\isadelimtheory
|
|
36 |
%
|
|
37 |
\endisadelimtheory
|
11866
|
38 |
\end{isabellebody}%
|
9145
|
39 |
%%% Local Variables:
|
|
40 |
%%% mode: latex
|
|
41 |
%%% TeX-master: "root"
|
|
42 |
%%% End:
|