]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/paramodulation/inference.ml
Added a parameter (empty list) to load_notation.
[helm.git] / helm / ocaml / paramodulation / inference.ml
index 5633599d20636d44ae0a25625c0ed0f0fb33a8d1..5a2fd042d8f2b470d7a69c15a0565171283355b7 100644 (file)
@@ -23,6 +23,8 @@
  * http://cs.unibo.it/helm/.
  *)
 
+(* $Id$ *)
+
 open Utils;;
 
 
@@ -917,10 +919,12 @@ type environment = Cic.metasenv * Cic.context * CicUniv.universe_graph;;
 
 let is_identity ((metasenv, context, ugraph) as env) = function
   | ((_, _, (ty, left, right, _), menv, _) as equality) ->
-      (left = right ||
+      (prerr_endline ("left = "^(CicPp.ppterm left));
+       prerr_endline ("right = "^(CicPp.ppterm right));
+       (left = right ||
           (* (meta_convertibility left right) || *)
           (fst (CicReduction.are_convertible 
-                 ~metasenv:(metasenv @ menv) context left right ugraph)))
+                 ~metasenv:(metasenv @ menv) context left right ugraph))))
 ;;