doc-src/Tutorial/Misc/NatSum.ML
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
Goal "sum n + sum n = n*(Suc n)";
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     2
by(induct_tac "n" 1);
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     3
by(Auto_tac);