From: Enrico Tassi Date: Wed, 26 Apr 2006 09:16:01 +0000 (+0000) Subject: added a whd (nodelta) in the carr function used by the refiner (in the eat_prods... X-Git-Tag: 0.4.95@7852~1498 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=2454012bf7a44cd604ee49dc8fba2c24b49e43aa;p=helm.git added a whd (nodelta) in the carr function used by the refiner (in the eat_prods case) to get the carrier of a coercion. this is useful in case of terms generated by paramodulation (and we want to refine the proof letting the refiner add symmetry steps) where we have ((\lambda x:A.P(x)) t) === P'(t) and P/P' is M=N/N=M --- diff --git a/components/cic_unification/cicRefine.ml b/components/cic_unification/cicRefine.ml index 3443c9b6e..1f92a5fa8 100644 --- a/components/cic_unification/cicRefine.ml +++ b/components/cic_unification/cicRefine.ml @@ -1182,7 +1182,8 @@ and type_of_aux' ?(localization_tbl = Cic.CicHash.create 1) metasenv context t (* we search a coercion from hety to s *) let coer, tgt_carr = let carr t subst context = - CicMetaSubst.apply_subst subst t + CicReduction.whd ~delta:false + context (CicMetaSubst.apply_subst subst t ) in let c_hety = carr hety subst context in let c_s = carr s subst context in