X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicUnifHint.ml;h=0f0708d638f58cef8fac17303492c6f7111a68b6;hb=fa6d1f3df955464343b365114be1071fc0b0cd18;hp=313fbbd0d13470354a71d607468df38114fd001a;hpb=7288b45eacf9f7dcd118b3b89b81ff19ae9d6ce5;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicUnifHint.ml b/helm/software/components/ng_refiner/nCicUnifHint.ml index 313fbbd0d..0f0708d63 100644 --- a/helm/software/components/ng_refiner/nCicUnifHint.ml +++ b/helm/software/components/ng_refiner/nCicUnifHint.ml @@ -212,7 +212,8 @@ let saturate ?(delta=0) metasenv subst context ty goal_arity = | NCic.Prod (name,s,t) as ty -> let metasenv1, _, arg,_ = NCicMetaSubst.mk_meta ~attrs:[`Name name] metasenv context - (`WithType s) in + ~with_type:s `IsTerm + in let t, metasenv1, args, pno = aux metasenv1 (NCicSubstitution.subst arg t) in @@ -284,7 +285,8 @@ let look_for_hint hdb metasenv subst context t1 t2 = | NCic.LetIn (name,ty,bo,t) -> let m,_,i,_= NCicMetaSubst.mk_meta ~attrs:[`Name name] m context - (`WithType ty)in + ~with_type:ty `IsTerm + in let t = NCicSubstitution.subst i t in aux () (m, (i,bo)::l) t | t -> NCicUntrusted.map_term_fold_a (fun _ () -> ()) () aux acc t