doc-src/Tutorial/Recdef/gcd
author berghofe
Wed, 10 Jul 2002 18:39:15 +0200
changeset 13342 915d4d004643
parent 9255 2ceb11a2e190
permissions -rw-r--r--
expand_proof now also takes an optional term describing the proposition of the theorem to be expanded (to avoid problems with different theorems having the same names).

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))"