]> matita.cs.unibo.it Git - helm.git/commitdiff
The file bug_universi.ma shows a strage case where the ranked universe
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 17 May 2008 15:26:44 +0000 (15:26 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 17 May 2008 15:26:44 +0000 (15:26 +0000)
graph does not contain any universe for one object that does contain a
user-provided universe. In turns, this make check.ml fail (since no constraint
is defined between Type0, which occurs in the object, and Type1).

helm/software/components/ng_kernel/TEST
helm/software/components/ng_kernel/bug_universi.ma [new file with mode: 0644]

index cefa809139e582b1ca3bdfd3a85e049c0fb82231..63db76ef4cd96f763c7643fd5ee424b8e856222e 100644 (file)
@@ -23,6 +23,8 @@ Utrecht       0.82  0.92
 
 ++++++++++++++++
 
+file bug_universi.ma: sbaglia a fare il ranking!
+
 [CoRN: calcolo grafi da caricare troppo lento]
 [Coq: calcolo grafi da caricare troppo lento]
 [Sophia-Antipolis: calcolo grafi da caricare troppo lento]
diff --git a/helm/software/components/ng_kernel/bug_universi.ma b/helm/software/components/ng_kernel/bug_universi.ma
new file mode 100644 (file)
index 0000000..5711cfb
--- /dev/null
@@ -0,0 +1,21 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+definition Type3 := Type.
+definition Type2 : Type3 := Type.
+definition Type1 : Type2 := Type.
+
+inductive t: Type2 ≝
+ k: Type3 -> t.
+