]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_omdoc/cic2content.ml
Added method AndInd.
[helm.git] / helm / ocaml / cic_omdoc / cic2content.ml
index 0933dbc4b88a573f09a30f1060e3bc14dadc1859..0295daac326659968bb6d8637ad9956583e90afa 100644 (file)
@@ -699,8 +699,9 @@ and inductive seed name id li ~ids_to_inner_types ~ids_to_inner_sorts =
       if n<0 then raise NotApplicable
       else 
         let method_name =
-          if uri_str = "cic:/Coq/Init/Logic_Type/exT_ind.con" then
-            "Exists"
+          if (uri_str = "cic:/Coq/Init/Logic_Type/exT_ind.con" or
+              uri_str = "cic:/Coq/Init/Logic/ex_ind.con") then "Exists"
+          else if uri_str = "cic:/Coq/Init/Logic/and_ind.con" then "AndInd"
           else "ByInduction" in
         let prefix = String.sub uri_str 0 n in
         let ind_str = (prefix ^ ".ind") in