]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicRefiner.mli
we rebuilt the dependences
[helm.git] / helm / software / components / ng_refiner / nCicRefiner.mli
index 2df108697cc2fcf6518d2e2f22d362b31519e1ad..d43a09f207a39b77aefedff4f2a0a814826c1e9d 100644 (file)
@@ -31,3 +31,16 @@ val typeof :
     NCic.metasenv * NCic.substitution * NCic.term * NCic.term
     (*  menv, subst,refined term, type *)
 
+val typeof_obj :
+ NCicUnifHint.db ->
+ ?localise:(NCic.term -> Stdpp.location) ->
+ look_for_coercion:(
+    NCic.metasenv -> NCic.substitution -> NCic.context -> 
+    (* inferred type, expected type *)
+    NCic.term -> NCic.term -> 
+      (* enriched metasenv, new term, its type, metavriable to
+       * be unified with the old term *)
+      (NCic.metasenv * NCic.term * NCic.term * NCic.term) list
+  ) ->
+  NCic.obj -> NCic.obj
+