]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_proof_checking/freshNamesGenerator.ml
added oblivion_universe and used it in paxck_coercions
[helm.git] / helm / software / components / cic_proof_checking / freshNamesGenerator.ml
index 1edb35b0420656b16f728623aadfd9f4d7e29098..4838623c257bed1ad15eec199c5c66a2524c64fb 100755 (executable)
@@ -83,7 +83,8 @@ let mk_fresh_name ~subst metasenv context name ~typ =
        (try
         let ty,_ = 
           CicTypeChecker.type_of_aux' ~subst metasenv context typ 
-            CicUniv.empty_ugraph in 
+            CicUniv.oblivion_ugraph 
+        in 
          (match ty with
              C.Sort C.Prop
            | C.Sort C.CProp -> "H"