doc-src/TutorialI/Misc/fakenat.thy
author blanchet
Tue, 26 Oct 2010 12:17:19 +0200
changeset 40178 00152d17855b
parent 16417 9bc16273c2d4
permissions -rw-r--r--
reverted e7a80c6752c9 -- there's not much point in putting a diagnosis tool (as opposed to a proof method) in Plain, but more importantly Sledgehammer must be in Main to use SMT solvers

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