X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2FmetadataTypes.mli;h=f86ff84f566b4c4f31c1ba01b72ae5ca01d6e234;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=86f0df6ece47411f9e57d0d6502549384030641d;hpb=4c4d129e76feb5a393d4fed36a55300f7ef13534;p=helm.git diff --git a/helm/ocaml/metadata/metadataTypes.mli b/helm/ocaml/metadata/metadataTypes.mli index 86f0df6ec..f86ff84f5 100644 --- a/helm/ocaml/metadata/metadataTypes.mli +++ b/helm/ocaml/metadata/metadataTypes.mli @@ -29,9 +29,16 @@ val mainhyp_pos : string val inhyp_pos : string val inbody_pos : string +type relation = + | Eq of int + | Le of int + | Lt of int + | Ge of int + | Gt of int + type main_position = - [ `MainConclusion of int option (* Pi depth *) - | `MainHypothesis of int option (* Pi depth *) + [ `MainConclusion of relation option (* Pi depth *) + | `MainHypothesis of relation option (* Pi depth *) ] type position = @@ -46,13 +53,13 @@ type pi_depth = int type metadata = [ `Sort of Cic.sort * main_position | `Rel of main_position - | `Obj of string * position + | `Obj of UriManager.uri * position ] type constr = [ `Sort of Cic.sort * main_position list | `Rel of main_position list - | `Obj of string * position list + | `Obj of UriManager.uri * position list ] val constr_of_metadata: metadata -> constr @@ -60,11 +67,18 @@ val constr_of_metadata: metadata -> constr (** invoke this function to set the current owner. Afterwards the functions * below will return the name of the table of the set owner *) val ownerize_tables : string -> unit +val are_tables_ownerized : unit -> bool val sort_tbl: unit -> string val rel_tbl: unit -> string val obj_tbl: unit -> string -val conclno_tbl: unit -> string -val conclno_hyp_tbl: unit -> string val name_tbl: unit -> string +val count_tbl: unit -> string + +val library_sort_tbl: string +val library_rel_tbl: string +val library_obj_tbl: string +val library_name_tbl: string +val library_count_tbl: string +val library_hits_tbl: string