]> matita.cs.unibo.it Git - helm.git/commitdiff
Removed a silly type check
authorAndrea Asperti <andrea.asperti@unibo.it>
Wed, 20 May 2009 15:35:12 +0000 (15:35 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Wed, 20 May 2009 15:35:12 +0000 (15:35 +0000)
helm/software/components/tactics/paramodulation/indexing.ml

index cf4bcd5555918968446f8d193de4550aa5198060..7ff0dfd2cc6560dd0b7cfefbb8d088122875283c 100644 (file)
@@ -723,10 +723,11 @@ let rec demodulation_equality bag ?from eq_uri env table target =
     let pos, equality = eq_found in
     let (_, proof', 
         (ty, what, other, _), menv',id') = Equality.open_equality equality in
+    (*
     let ty =
-      try fst (CicTypeChecker.type_of_aux' metasenv context what ugraph)
-      with CicUtil.Meta_not_found _ -> ty
-    in
+      try fst (CicTypeChecker.type_of_aux' menv' context what ugraph)
+      with CicUtil.Meta_not_found _ -> ty 
+    in *)
     let ty, eq_ty = apply_subst subst ty, apply_subst subst eq_ty in
     let what, other = if pos = Utils.Left then what, other else other, what in
     let newterm, newproof =