]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_proof_checking/cicUnivUtils.ml
positivity check fixed, a MutInd not applied (but with an exp-named-subst)
[helm.git] / helm / software / components / cic_proof_checking / cicUnivUtils.ml
index cd1aeba32a79c83d8f3018c5129f882e46dadd74..d61545ff66bea18a4dd2d997c1f67d2d2010d973 100644 (file)
@@ -85,7 +85,7 @@ let universes_of_obj uri t =
     | C.Cast (v,t) -> C.Cast (aux v, aux t)
     | C.Prod (b,s,t) -> C.Prod (b,aux s, aux t)
     | C.Lambda (b,s,t) ->  C.Lambda (b,aux s, aux t)
-    | C.LetIn (b,s,t) -> C.LetIn (b,aux s, aux t)
+    | C.LetIn (b,s,ty,t) -> C.LetIn (b,aux s, aux ty, aux t)
     | C.Appl li -> C.Appl (List.map aux li)
     | C.MutCase (uri,n1,ty,te,patterns) ->
         C.MutCase (uri,n1,aux ty,aux te, List.map aux patterns)
@@ -132,8 +132,6 @@ let rec list_uniq = function
 let list_uniq l = 
   list_uniq (List.fast_sort CicUniv.compare l)
   
-let profiler = (HExtlib.profile "clean_and_fill").HExtlib.profile
-  
 let clean_and_fill uri obj ugraph =
   (* universes of obj fills the universes of the obj with the right uri *)
   let list_of_universes, obj = universes_of_obj uri obj in
@@ -148,6 +146,8 @@ let clean_and_fill uri obj ugraph =
   in
   ugraph, list_of_universes, obj
 
+(*
+let profiler = (HExtlib.profile "clean_and_fill").HExtlib.profile
 let clean_and_fill u o g =
   profiler (clean_and_fill u o) g
-  
+*)