doc-src/TutorialI/Misc/fakenat.thy
author chaieb
Wed, 27 Feb 2008 14:39:48 +0100
changeset 26154 894f3860ebfd
parent 16417 9bc16273c2d4
permissions -rw-r--r--
Installation of Quantifier elimination for ordered fields moved to Library/Dense_Linear_Order.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
(*>*)