doc-src/TutorialI/Misc/fakenat.thy
author blanchet
Sun, 01 May 2011 18:37:25 +0200
changeset 42578 1eaf4d437d4c
parent 16417 9bc16273c2d4
permissions -rw-r--r--
define type system in ATP module so that ATPs can suggest a type system

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