X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_disambiguation%2Flogic_notation.ml;h=885cc214058e43be72c58595497b6f35e8780022;hb=b3bfd6b249600b15552c890306a635aee30c2a74;hp=fdbc75bf18ddf990326a18893f27bcf3bc9d5610;hpb=ba2709d8c270e7f6ffbdb8bd3a192bc071407f03;p=helm.git diff --git a/helm/ocaml/cic_disambiguation/logic_notation.ml b/helm/ocaml/cic_disambiguation/logic_notation.ml index fdbc75bf1..885cc2140 100644 --- a/helm/ocaml/cic_disambiguation/logic_notation.ml +++ b/helm/ocaml/cic_disambiguation/logic_notation.ml @@ -51,9 +51,8 @@ END let _ = (* TODO cut-and-pasted code: here, in arit_notation.ml and * disambiguateChoices.ml *) - let uri s = UriManager.uri_of_string s in - let const s = Cic.Const (uri s, []) in - let mutind s = Cic.MutInd (uri s, 0, []) in + let const s = Cic.Const (s, []) in + let mutind s = Cic.MutInd (s, 0, []) in DisambiguateChoices.add_symbol_choice "eq" ("leibnitz's equality", (fun interp _ args -> @@ -79,9 +78,9 @@ let _ = Cic.Implicit (Some `Type); t1; t2 ])); DisambiguateChoices.add_binary_op "and" "logical and" - (mutind "cic:/Coq/Init/Logic/and.ind"); + (mutind HelmLibraryObjects.Logic.and_URI); DisambiguateChoices.add_binary_op "or" "logical or" - (mutind "cic:/Coq/Init/Logic/or.ind"); + (mutind HelmLibraryObjects.Logic.or_URI); DisambiguateChoices.add_unary_op "not" "logical not" - (const "cic:/Coq/Init/Logic/not.con"); + (const HelmLibraryObjects.Logic.not_URI);