X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_acic%2Fcic2acic.ml;h=79d9bd0da960bb21916897b44b89a080885bbb9a;hb=50cd60bf5151b7c118ec4d592a374757bdf3158f;hp=1943616226aa19005b0031cf4f86a8c649b72b8f;hpb=86241d46558e3a4979fc786e47ce78f90eb9190c;p=helm.git diff --git a/helm/ocaml/cic_acic/cic2acic.ml b/helm/ocaml/cic_acic/cic2acic.ml index 194361622..79d9bd0da 100644 --- a/helm/ocaml/cic_acic/cic2acic.ml +++ b/helm/ocaml/cic_acic/cic2acic.ml @@ -400,10 +400,14 @@ let aconjecture_of_conjecture seed ids_to_terms ids_to_father_ids match binding with Some (n,Cic.Def (t,_)) -> let acic = acic_of_cic_context ~computeinnertypes context idrefs t None in + Hashtbl.replace ids_to_father_ids (CicUtil.id_of_annterm acic) + (Some hid); (binding::context), ((hid,Some (n,Cic.ADef acic))::acontext),(hid::idrefs) | Some (n,Cic.Decl t) -> let acic = acic_of_cic_context ~computeinnertypes context idrefs t None in + Hashtbl.replace ids_to_father_ids (CicUtil.id_of_annterm acic) + (Some hid); (binding::context), ((hid,Some (n,Cic.ADecl acic))::acontext),(hid::idrefs) | None ->