author | paulson |
Wed, 19 Aug 1998 10:37:07 +0200 | |
changeset 5341 | eb105c6931a4 |
parent 5340 | d75c03cf77b5 |
child 5342 | 3be51e9b33c8 |
src/ZF/Arith.ML | file | annotate | diff | comparison | revisions |
--- a/src/ZF/Arith.ML Wed Aug 19 10:34:31 1998 +0200 +++ b/src/ZF/Arith.ML Wed Aug 19 10:37:07 1998 +0200 @@ -272,6 +272,13 @@ by (ALLGOALS Asm_simp_tac); qed "diff_succ"; +Goal "[| m: nat; n: nat |] ==> 0 < n #- m <-> m<n"; +by (res_inst_tac [("m","m"),("n","n")] diff_induct 1); +by (ALLGOALS Asm_simp_tac); +qed "zero_less_diff"; +Addsimps [zero_less_diff]; + + (** Subtraction is the inverse of addition. **) val [mnat,nnat] = goal Arith.thy