added ex_someI
authornipkow
Fri, 21 Jul 2000 18:11:54 +0200
changeset 9404 99476cf93dad
parent 9403 aad13b59b8d9
child 9405 3235873fdd90
added ex_someI
src/HOL/HOL_lemmas.ML
--- a/src/HOL/HOL_lemmas.ML	Fri Jul 21 18:01:36 2000 +0200
+++ b/src/HOL/HOL_lemmas.ML	Fri Jul 21 18:11:54 2000 +0200
@@ -355,6 +355,12 @@
 (** Select: Hilbert's Epsilon-operator **)
 section "@";
 
+(*Easier to apply than selectI if witness ?a comes from an EX-formula*)
+Goal "EX a. P a ==> P (SOME x. P x)";
+by (etac exE 1);
+by (etac selectI 1);
+qed "ex_someI";
+
 (*Easier to apply than selectI: conclusion has only one occurrence of P*)
 val prems = Goal
     "[| P a;  !!x. P x ==> Q x |] ==> Q (@x. P x)";