doc-src/TutorialI/Misc/fakenat.thy
author huffman
Tue, 12 Oct 2010 05:48:15 -0700
changeset 40004 9f6ed6840e8d
parent 16417 9bc16273c2d4
permissions -rw-r--r--
reformulate lemma cont2cont_lub and move to Cont.thy

(*<*)
theory fakenat imports Main begin;
(*>*)

text{*\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:
*}

datatype nat = 0 | Suc nat
(*<*)
end
(*>*)