doc-src/TutorialI/Misc/fakenat.thy
author wenzelm
Sat, 20 Aug 2011 19:21:03 +0200
changeset 44333 cc53ce50f738
parent 16417 9bc16273c2d4
permissions -rw-r--r--
reverted to join_bodies/join_proofs based on fold_body_thms to regain performance (escpecially of HOL-Proofs) -- see also aa9c1e9ef2ce and 4e2abb045eac;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8745
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     1
(*<*)
16417
9bc16273c2d4 migrated theory headers to new format
haftmann
parents: 11418
diff changeset
     2
theory fakenat imports Main begin;
8745
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     3
(*>*)
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     4
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     5
text{*\noindent
11418
53a402c10ba9 indexing tweaks
paulson
parents: 9541
diff changeset
     6
The type \tydx{nat} of natural
53a402c10ba9 indexing tweaks
paulson
parents: 9541
diff changeset
     7
numbers is predefined to have the constructors \cdx{0} and~\cdx{Suc}.  It  behaves as if it were declared like this:
8745
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     8
*}
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
     9
9541
d17c0b34d5c8 *** empty log message ***
nipkow
parents: 9494
diff changeset
    10
datatype nat = 0 | Suc nat
8745
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
    11
(*<*)
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
    12
end
13b32661dde4 I wonder which files i forgot.
nipkow
parents:
diff changeset
    13
(*>*)