X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2FmetadataConstraints.mli;h=72f808efbc80ea7396a407704ee11e30696428f6;hb=6e986001aac7cc63b0e7d13447caae3729e0f833;hp=3de99469c51cef9e31f6866ad305406dcf1ecf41;hpb=5549be611f33cb52e4725e65b7f9603de22de863;p=helm.git diff --git a/helm/ocaml/metadata/metadataConstraints.mli b/helm/ocaml/metadata/metadataConstraints.mli index 3de99469c..72f808efb 100644 --- a/helm/ocaml/metadata/metadataConstraints.mli +++ b/helm/ocaml/metadata/metadataConstraints.mli @@ -35,18 +35,20 @@ type term_signature = (string * string list) option * StringSet.t (** @return sorted list of theorem URIs, first URIs in the least have higher * relevance *) -val cmatch: dbd:Mysql.dbd -> Cic.term -> string list +val cmatch: dbd:Mysql.dbd -> ?facts:bool -> Cic.term -> string list (** as cmatch, but returned list is not sorted but rather tagged with * relevance information: higher the tag, higher the relevance *) -val cmatch': dbd:Mysql.dbd -> Cic.term -> (int * string) list +val cmatch': dbd:Mysql.dbd -> ?facts:bool -> Cic.term -> (int * string) list type where = [ `Conclusion | `Statement ] (** signature matching extent *) (** @param where defaults to `Conclusion *) val sigmatch: dbd:Mysql.dbd -> - ?where:where -> term_signature -> + ?facts:bool -> + ?where:where -> + term_signature -> (int * string) list (** {2 Constraint engine} *)