]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/metadataTypes.ml
snapshot (first version in which some extensions work, e.g. infix +)
[helm.git] / helm / ocaml / metadata / metadataTypes.ml
index 51f79c8288c9e9c6cecddb310f434df4618fd264..3345530833da879e46b45713f81cae3b390451b1 100644 (file)
@@ -32,9 +32,16 @@ let mainhyp_pos = position_prefix ^ "MainHypothesis"
 let inhyp_pos = position_prefix ^ "InHypothesis"
 let inbody_pos = position_prefix ^ "InBody"
 
+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 =
@@ -69,6 +76,7 @@ let rel_tbl_original = "refRel"
 let obj_tbl_original = "refObj"
 let name_tbl_original = "objectName"
 let count_tbl_original = "count"
+let hits_tbl_original = "hits"
 
   (** the names currently used *)
 let sort_tbl_real = ref sort_tbl_original
@@ -98,6 +106,7 @@ let library_rel_tbl = rel_tbl_original
 let library_obj_tbl = obj_tbl_original
 let library_name_tbl = name_tbl_original
 let library_count_tbl = count_tbl_original
+let library_hits_tbl = hits_tbl_original
 
 let are_tables_ownerized () =
   sort_tbl () <> library_sort_tbl