doc-src/TutorialI/Misc/fakenat.thy
author chaieb
Tue, 12 Jun 2007 10:15:32 +0200
changeset 23332 b91295432e6d
parent 16417 9bc16273c2d4
permissions -rw-r--r--
algebra_tac moved to file Tools/Groebner_Basis/groebner.ML; Method now takes theorems to be added or deleted from a simpset for simplificatio *before* the core method starts

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