X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Funiverse.ml;h=c4e439efe34ca8ffa579b4e94a95e7ebd0066a70;hb=5b265471ff8da58400656f4899e8a2f398e8a2ad;hp=99041ed1ba33a8e1e526d1e96656f7c13a612046;hpb=56da33f7a668f84dd0edb335bce9f6fef9a985aa;p=helm.git diff --git a/helm/software/components/tactics/universe.ml b/helm/software/components/tactics/universe.ml index 99041ed1b..c4e439efe 100644 --- a/helm/software/components/tactics/universe.ml +++ b/helm/software/components/tactics/universe.ml @@ -85,10 +85,11 @@ let rec dummies_of_coercions = let s' = dummies_of_coercions s in let t' = dummies_of_coercions t in Cic.Prod (n,s',t') - | Cic.LetIn(n,s,t) -> + | Cic.LetIn(n,s,ty,t) -> let s' = dummies_of_coercions s in + let ty' = dummies_of_coercions ty in let t' = dummies_of_coercions t in - Cic.LetIn (n,s',t') + Cic.LetIn (n,s',ty',t') | Cic.MutCase _ -> Cic.Meta (-1,[]) | t -> t ;; @@ -119,7 +120,7 @@ let keys context ty = [head true ty; head true (unfold context ty)] with ProofEngineTypes.Fail _ -> [head true ty] -let key term = head false term +let key term = head false term;; let index_term_and_unfolded_term univ context t ty = let key = head true ty in