| 1 |
Require Import TestSuite.admit. |
| 2 |
(* File reduced by coq-bug-finder from 64 lines to 30 lines. *) |
| 3 |
Set Implicit Arguments. |
| 4 |
Set Universe Polymorphism. |
| 5 |
Generalizable All Variables. |
| 6 |
Record SpecializedCategory (obj : Type) := { Object :> _ := obj }. |
| 7 |
|
| 8 |
Record > Category := |
| 9 |
{ CObject : Type; |
| 10 |
UnderlyingCategory :> @SpecializedCategory CObject }. |
| 11 |
|
| 12 |
Record SpecializedFunctor `(C : @SpecializedCategory objC) `(D : @SpecializedCategory objD) := |
| 13 |
{ ObjectOf :> objC -> objD }. |
| 14 |
|
| 15 |
Definition Functor (C D : Category) := SpecializedFunctor C D. |
| 16 |
|
| 17 |
Parameter TerminalCategory : SpecializedCategory unit. |
| 18 |
|
| 19 |
Definition focus A (_ : A) := True. |
| 20 |
|
| 21 |
Definition CommaCategory_Object (A : Category) (S : Functor TerminalCategory A) : Type. |
| 22 |
assert (Hf : focus ((S tt) = (S tt))) by constructor. |
| 23 |
let C1 := constr:(CObject) in |
| 24 |
let C2 := constr:(fun C => @Object (CObject C) C) in |
| 25 |
let check := constr:(eq_refl : C1 = C2) in |
| 26 |
unify C1 C2. |
| 27 |
progress change CObject with (fun C => @Object (CObject C) C) in *. |
| 28 |
(* not convertible *) |
| 29 |
admit. |
| 30 |
Defined. |