summaryrefslogtreecommitdiff
path: root/tactics/contradiction.ml
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <smimram@debian.org>2008-07-25 15:12:53 +0200
committerGravatar Samuel Mimram <smimram@debian.org>2008-07-25 15:12:53 +0200
commita0cfa4f118023d35b767a999d5a2ac4b082857b4 (patch)
treedabcac548e299fee1da464c93b3dba98484f45b1 /tactics/contradiction.ml
parent2281410e38ef99d025ea77194585a9bc019fdaa9 (diff)
Imported Upstream version 8.2~beta3+dfsgupstream/8.2.beta3+dfsg
Diffstat (limited to 'tactics/contradiction.ml')
-rw-r--r--tactics/contradiction.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tactics/contradiction.ml b/tactics/contradiction.ml
index eca16066..a2c840a1 100644
--- a/tactics/contradiction.ml
+++ b/tactics/contradiction.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: contradiction.ml 9269 2006-10-24 13:01:55Z herbelin $ *)
+(* $Id: contradiction.ml 10169 2007-10-03 12:31:45Z herbelin $ *)
open Util
open Term
@@ -24,7 +24,7 @@ open Rawterm
let absurd c gls =
let env = pf_env gls and sigma = project gls in
let _,j = Coercion.Default.inh_coerce_to_sort dummy_loc env
- (Evd.create_evar_defs sigma) (Retyping.get_judgment_of env sigma c) in
+ (Evd.create_goal_evar_defs sigma) (Retyping.get_judgment_of env sigma c) in
let c = j.Environ.utj_val in
(tclTHENS
(tclTHEN (elim_type (build_coq_False ())) (cut c))
@@ -77,7 +77,7 @@ let contradiction_term (c,lbind as cl) gl =
let typ = pf_type_of gl c in
let _, ccl = splay_prod env sigma typ in
if is_empty_type ccl then
- tclTHEN (elim cl None) (tclTRY assumption) gl
+ tclTHEN (elim false cl None) (tclTRY assumption) gl
else
try
if lbind = NoBindings then