author | paulson |
Fri, 04 Feb 2000 11:36:11 +0100 | |
changeset 8187 | 535d6253f930 |
parent 8186 | 61ec7bedc717 |
child 8188 | 7a4445000fc2 |
--- a/src/HOL/ex/Primes.ML Wed Feb 02 20:19:25 2000 +0100 +++ b/src/HOL/ex/Primes.ML Fri Feb 04 11:36:11 2000 +0100 @@ -181,6 +181,12 @@ by (asm_simp_tac (simpset() addsimps [add_commute, gcd_add]) 1); qed "gcd_add2"; +Goal "gcd(m, k*m+n) = gcd(m,n)"; +by (induct_tac "k" 1); +by (asm_simp_tac (simpset() addsimps [gcd_add, add_assoc]) 2); +by (Simp_tac 1); +qed "gcd_add_mult"; + (** More multiplication laws **)