author | paulson |
Mon, 19 Aug 1996 11:51:39 +0200 | |
changeset 1920 | df683ce7aad8 |
parent 1919 | d94c12235878 |
child 1921 | 56a77911efe4 |
src/HOL/Set.ML | file | annotate | diff | comparison | revisions |
--- a/src/HOL/Set.ML Mon Aug 19 11:49:31 1996 +0200 +++ b/src/HOL/Set.ML Mon Aug 19 11:51:39 1996 +0200 @@ -115,6 +115,9 @@ qed_goal "rev_subsetD" Set.thy "[| c:A; A <= B |] ==> c:B" (fn prems=> [ (REPEAT (resolve_tac (prems@[subsetD]) 1)) ]); +(*Converts A<=B to x:A ==> x:B*) +fun impOfSubs th = th RSN (2, rev_subsetD); + qed_goal "contra_subsetD" Set.thy "!!c. [| A <= B; c ~: B |] ==> c ~: A" (fn prems=> [ (REPEAT (eresolve_tac [asm_rl, contrapos, subsetD] 1)) ]);