doc-src/TutorialI/Misc/fakenat.thy
author paulson
Mon, 05 Mar 2001 15:25:11 +0100
changeset 11193 851c90b23a9e
parent 9541 d17c0b34d5c8
child 11418 53a402c10ba9
permissions -rw-r--r--
reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp

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