doc-src/TutorialI/Misc/document/fakenat.tex
author wenzelm
Thu, 21 Feb 2002 18:19:34 +0100
changeset 12916 4ac388e02b74
parent 11866 fbd097aec213
child 13758 ee898d32de21
permissions -rw-r--r--
updated title;

%
\begin{isabellebody}%
\def\isabellecontext{fakenat}%
\isamarkupfalse%
%
\begin{isamarkuptext}%
\noindent
The type \tydx{nat} of natural
numbers is predefined to have the constructors \cdx{0} and~\cdx{Suc}.  It  behaves as if it were declared like this:%
\end{isamarkuptext}%
\isamarkuptrue%
\isacommand{datatype}\ nat\ {\isacharequal}\ {\isadigit{0}}\ {\isacharbar}\ Suc\ nat\isamarkupfalse%
\isamarkupfalse%
\end{isabellebody}%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "root"
%%% End: