X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2FnCicParamod.ml;h=16ae66e5da45f76259420625ebd2311247899987;hb=2e729ae1dbbe53e34df5d2d5dc3122a6825be925;hp=0fff20b4f262badef61d0af0404b5069a83fece1;hpb=8c678be0b7ee11a60f21b002553cc414f1d18267;p=helm.git diff --git a/helm/software/components/ng_paramodulation/nCicParamod.ml b/helm/software/components/ng_paramodulation/nCicParamod.ml index 0fff20b4f..16ae66e5d 100644 --- a/helm/software/components/ng_paramodulation/nCicParamod.ml +++ b/helm/software/components/ng_paramodulation/nCicParamod.ml @@ -115,6 +115,9 @@ let index_obj s uri = debug (lazy ("indexing : " ^ (NUri.string_of_uri uri))); debug (lazy ("no : " ^ (string_of_int (fst (Obj.magic uri))))); match obj with + | (_,_,[],[],NCic.Constant(_,_,None,ty,_)) -> + let nref = NReference.reference_of_spec uri NReference.Decl in + forward_infer_step s (NCic.Const nref) ty | (_,d,[],[],NCic.Constant(_,_,Some(_),ty,_)) -> let nref = NReference.reference_of_spec uri (NReference.Def d) in forward_infer_step s (NCic.Const nref) ty