Debian Codegraph @

test-suite/bugs/bug_3667.v

raw
1
2 Set Primitive Projections.
3 Axiom ap10 : forall {A B} {f g:A->B} (h:f=g) x, f x = g x.
4 Axiom IsHSet : Type -> Type.
5 Record hSet := BuildhSet {setT:> Type; iss :> IsHSet setT}.
6 Canonical Structure default_HSet:= fun T P => (@BuildhSet T P).
7 Record PreCategory := { object :> Type ; morphism : object -> object -> Type }.
8 Record Functor (C D : PreCategory) :=
9 { object_of :> C -> D;
10 morphism_of : forall s d, morphism C s d
11 -> morphism D (object_of s) (object_of d) }.
12 Set Implicit Arguments.
13 Record NaturalTransformation C D (F G : Functor C D) :=
14 { components_of :> forall c, morphism D (F c) (G c);
15 commutes : forall s d (m : morphism C s d), components_of s = components_of s }.
16 Definition set_cat : PreCategory.
17 exact ((@Build_PreCategory hSet
18 (fun x y => x -> y))).
19 Defined.
20 Goal forall (A : PreCategory) (F : Functor A set_cat)
21 (a : A) (x : F a) (nt :NaturalTransformation F F), x = x.
22 intros.
23 pose (fun c d m => ap10 (commutes nt c d m)).
24 Abort.