
diff -r 60b31a24f1a6 -r efb799c5ed3c doc-src/Tutorial/Misc/GCD.thy
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc-src/Tutorial/Misc/GCD.thy	Wed Aug 26 17:27:27 1998 +0200
@@ -0,0 +1,6 @@
+GCD = WF_Rel +
+consts gcd :: "nat*nat => nat"
+recdef gcd "measure ((%(m,n).n))"
+  simpset "simpset() addsimps [mod_less_divisor]"
+    "gcd (m, n) = (if n=0 then m else gcd(n, m mod n))"
+end




