aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/HoTT_coq_007.v (renamed from test-suite/bugs/opened/HoTT_coq_007.v)15
1 files changed, 6 insertions, 9 deletions
diff --git a/test-suite/bugs/opened/HoTT_coq_007.v b/test-suite/bugs/closed/HoTT_coq_007.v
index f609aff5d7..8592c729d0 100644
--- a/test-suite/bugs/opened/HoTT_coq_007.v
+++ b/test-suite/bugs/closed/HoTT_coq_007.v
@@ -25,7 +25,7 @@ Module Comment1.
intros; autorewrite with functor; reflexivity.
Defined.
- Definition Cat0 : Category Empty_set.
+ Definition Cat0 : Category@{i j} Empty_set.
refine {|
Morphism := fun s d : Empty_set => s = d;
Identity := fun o : Empty_set => eq_refl
@@ -36,14 +36,11 @@ Module Comment1.
Set Printing All.
Set Printing Universes.
- Fail Lemma foo objC (C : @Category objC) (C0 : Category (Functor Cat0 C)) (x : Functor Cat0 Cat0) : forall (y : Functor C0 Cat0) z, (ComposeFunctors y z = x). (** ??? The term "y" has type
- "@Functor (* Top.448 Top.449 Top.450 Top.451 *)
- (@Functor (* Set Top.441 Top.442 Top.336 *) Empty_set Cat0 objC C) C0
- Empty_set Cat0" while it is expected to have type
- "@Functor (* Top.295 Top.296 Top.295 Top.296 *) ?46 ?47 ?48 ?49"
-(Universe inconsistency: Cannot enforce Set = Top.295)). *)
- Fail intro. (* Illegal application (Type Error) *)
- Fail Abort.
+ Lemma foo objC (C : @Category objC) (C0 : Category (Functor Cat0 C)) (x : Functor Cat0 Cat0)
+ : forall (y : Functor C0 Cat0) z, (ComposeFunctors y z = x).
+ intro. intro.
+ unfold ComposeFunctors.
+ Abort.
End Comment1.
Module Comment2.