doc-src/TutorialI/Misc/document/Tree.tex
changeset 8749 2665170f104a
child 9145 9f7b8de5bfaf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc-src/TutorialI/Misc/document/Tree.tex	Wed Apr 19 12:59:38 2000 +0200
@@ -0,0 +1,13 @@
+\begin{isabelle}%
+%
+\begin{isamarkuptext}%
+\noindent
+Define the datatype of binary trees%
+\end{isamarkuptext}%
+\isacommand{datatype}~'a~tree~=~Tip~|~Node~{"}'a~tree{"}~'a~{"}'a~tree{"}%
+\begin{isamarkuptext}%
+\noindent
+and a function \isa{mirror} that mirrors a binary tree
+by swapping subtrees (recursively). Prove%
+\end{isamarkuptext}%
+\isacommand{lemma}~mirror\_mirror:~{"}mirror(mirror~t)~=~t{"}\end{isabelle}%