]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnification.mli
Very serious bug fixed in unification, but the fix is very ugly.
[helm.git] / helm / software / components / ng_refiner / nCicUnification.mli
index d5a7422796aced717380c94ec2ab225a9758c7b6..47a59d4f2a88021c83e8c960de893aa71efbdafb 100644 (file)
 
 (* $Id$ *)
 
+exception UnificationFailure of string Lazy.t;;
+exception Uncertain of string Lazy.t;;
+exception AssertFailure of string Lazy.t;;
+
+val set_refiner_typeof:
+ (NRstatus.status ->
+   ?localise:(NCic.term -> Stdpp.location) ->
+   NCic.metasenv -> NCic.substitution -> NCic.context ->
+   NCic.term -> NCic.term option -> (* term, expected type *)
+     NCic.metasenv * NCic.substitution * NCic.term * NCic.term) -> unit
+
+val unify :
+  #NRstatus.status ->
+  ?test_eq_only:bool -> (* default: false *)
+  NCic.metasenv -> NCic.substitution -> NCic.context -> 
+  NCic.term -> NCic.term ->
+   NCic.metasenv * NCic.substitution
+
 (* 
 exception UnificationFailure of string Lazy.t;;
 exception Uncertain of string Lazy.t;;