doc-src/TutorialI/Misc/fakenat.thy
author huffman
Mon, 11 Jun 2007 05:20:05 +0200
changeset 23307 2fe3345035c7
parent 16417 9bc16273c2d4
permissions -rw-r--r--
modify proofs to avoid referring to int::nat=>int

(*<*)
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
(*>*)