diff options
author | Jason Gross <jgross@mit.edu> | 2014-05-09 10:13:32 -0400 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-05-10 15:39:39 +0200 |
commit | c7284415e4bdd3315c84c7d15d140d3fee000bc5 (patch) | |
tree | cc8ded3feba7e1da0dd4f7d17b7e5f974de752c3 /test-suite/bugs/closed/HoTT_coq_045.v | |
parent | 3f64bd23a343bcd7be0ef07afa7d9e3249df24ec (diff) |
Move opened bugs to bugs/opened
Diffstat (limited to 'test-suite/bugs/closed/HoTT_coq_045.v')
-rw-r--r-- | test-suite/bugs/closed/HoTT_coq_045.v | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/test-suite/bugs/closed/HoTT_coq_045.v b/test-suite/bugs/closed/HoTT_coq_045.v deleted file mode 100644 index 590bdd157..000000000 --- a/test-suite/bugs/closed/HoTT_coq_045.v +++ /dev/null @@ -1,50 +0,0 @@ -Set Implicit Arguments. -Set Universe Polymorphism. -Generalizable All Variables. - -Record SpecializedCategory (obj : Type) := - { - Object :> _ := obj - }. - -Record > Category := - { - CObject : Type; - UnderlyingCategory :> @SpecializedCategory CObject - }. - -Record SpecializedFunctor `(C : @SpecializedCategory objC) `(D : @SpecializedCategory objD) := - { - ObjectOf :> objC -> objD - }. - -Definition Functor (C D : Category) := SpecializedFunctor C D. - -Parameter TerminalCategory : SpecializedCategory unit. - -Definition focus A (_ : A) := True. - -Definition CommaCategory_Object (A : Category) (S : Functor TerminalCategory A) : Type. - assert (Hf : focus ((S tt) = (S tt))) by constructor. - progress change CObject with (fun C => @Object (CObject C) C) in *. - simpl in *. - let V := match type of Hf with - | focus ?V => constr:(V) - end - in exact V. -(* Toplevel input, characters 89-96: -Error: Illegal application: -The term "ObjectOf" of type - "forall (objC : Set) (C : SpecializedCategory objC) - (objD : Type) (D : SpecializedCategory objD), - SpecializedFunctor C D -> objC -> objD" -cannot be applied to the terms - "Object TerminalCategory" : "Type" - "TerminalCategory" : "SpecializedCategory unit" - "Object A" : "Type" - "UnderlyingCategory A" : "SpecializedCategory (CObject A)" - "S" : "Functor TerminalCategory A" - "tt" : "unit" -The 1st term has type "Type" which should be coercible to -"Set". *) -Defined. |