doc-src/TutorialI/Misc/fakenat.thy
author paulson
Wed, 02 Aug 2000 16:07:32 +0200
changeset 9496 07e33cac5d9c
parent 9494 44fefb6e9994
child 9541 d17c0b34d5c8
permissions -rw-r--r--
coercion "intify" to remove type constraints from integer algebraic laws

(*<*)
theory fakenat = Main:;
(*>*)

text{*\noindent
The type \isaindexbold{nat}\index{*0|bold}\index{*Suc|bold} of natural
numbers is predefined and behaves like
*}

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