]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Sat, 19 Apr 2008 16:32:53 +0000 (16:32 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sat, 19 Apr 2008 16:32:53 +0000 (16:32 +0000)
helm/software/components/ng_kernel/oCic2NCic.ml

index 320df7c9f201b2aaa0445ca39400e6e9416b755b..4aaeb414c4d8330e70b6dc4cd3d224981b254f66 100644 (file)
@@ -497,7 +497,7 @@ let convert_term uri t =
     | Cic.Sort Cic.Prop -> NCic.Sort NCic.Prop,[]
     | Cic.Sort Cic.CProp -> NCic.Sort NCic.CProp,[]
     | Cic.Sort (Cic.Type u) -> 
-          NCic.Sort (NCic.Type (CicUniv.get_rank u+1)),[] 
+          NCic.Sort (NCic.Type (CicUniv.get_rank u)),[] 
     | Cic.Sort Cic.Set -> NCic.Sort (NCic.Type 0),[] 
        (* calculate depth in the univ_graph*)
     | Cic.Appl l ->