less_Suc0;
authorwenzelm
Wed, 23 Jan 2002 17:01:53 +0100
changeset 12841 c8ec6803d1cd
parent 12840 c7066d8b684f
child 12842 32c9c881dec8
less_Suc0;
src/HOL/NatDef.ML
--- a/src/HOL/NatDef.ML	Wed Jan 23 16:58:45 2002 +0100
+++ b/src/HOL/NatDef.ML	Wed Jan 23 17:01:53 2002 +0100
@@ -196,6 +196,11 @@
 qed "less_one";
 AddIffs [less_one];
 
+Goal "(n < Suc 0) = (n = 0)";
+by (simp_tac (simpset() addsimps [less_Suc_eq]) 1);
+qed "less_Suc0";
+AddIffs [less_Suc0];
+
 Goal "m<n ==> Suc(m) < Suc(n)";
 by (etac rev_mp 1);
 by (nat_ind_tac "n" 1);