Debian Codegraph @

test-suite/bugs/bug_3900.v

raw
1 Global Set Primitive Projections.
2 Set Implicit Arguments.
3 Record sigT {A} (P : A -> Type) := existT { projT1 : A ; projT2 : P projT1 }.
4 Record PreCategory := { object :> Type ; morphism : object -> object -> Type }.
5 Parameter A : PreCategory.
6 Parameter Pobj : A -> Type.
7 Local Notation obj := (sigT Pobj).
8 Parameter Pmor : forall s d : obj, morphism A (projT1 s) (projT1 d) -> Type.
9 Class Foo (x : Type) := { _ : forall y, y }.
10 Local Instance ishset_pmor {s d m} : Foo (Pmor s d m).
11 Proof.
12 Search ((forall _ _, _) -> Foo _).
13 Abort.