doc-src/TutorialI/Misc/fakenat.thy
author avigad
Wed, 03 Aug 2005 14:48:42 +0200
changeset 17013 74bc935273ea
parent 16417 9bc16273c2d4
permissions -rw-r--r--
renamed exp_ge_add_one_self2 to exp_ge_add_one_self

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