doc-src/Tutorial/Misc/Tree.thy
author paulson
Wed, 22 Oct 2003 10:52:36 +0200
changeset 14244 f58598341d30
parent 5377 efb799c5ed3c
permissions -rw-r--r--
InductiveInvariant_examples illustrates advanced recursive function definitions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5377
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     1
Tree = Main +
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     2
datatype 'a tree = Tip | Node ('a tree) 'a ('a tree)
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     3
end