Debian Codegraph @

test-suite/bugs/bug_3665.v

raw
1 (* File reduced by coq-bug-finder from original input, then from 5449 lines to 44 lines *)
2 (* coqc version trunk (September 2014) compiled on Sep 25 2014 2:53:46 with OCaml 4.01.0
3 coqtop version trunk (September 2014) *)
4 Set Primitive Projections.
5
6 Axiom IsHSet : Type -> Type.
7 Record hSet := BuildhSet {setT:> Type; iss :> IsHSet setT}.
8
9 Module withdefault.
10 Canonical Structure default_HSet := fun T P => (@BuildhSet T P).
11 Goal forall (z : hSet) (T0 : Type -> Type),
12 (forall (A : Type) (P : T0 A -> Type) (aa : T0 A), P aa) ->
13 forall x0 : setT z, Set.
14 clear; intros z T H.
15 Set Debug Unification.
16 Fail refine (H _ _). (* Timeout! *)
17 Abort.
18 End withdefault.
19
20 Module withnondefault.
21 Parameter T0 : Type -> Type.
22 Parameter T0hset: forall A, IsHSet (T0 A).
23
24 Canonical Structure nondefault_HSet := fun A =>(@BuildhSet (T0 A) (T0hset A)).
25 Canonical Structure default_HSet := fun A P =>(@BuildhSet A P).
26 Goal forall (z : hSet) (T0 : Type -> Type),
27 (forall (A : Type) (P : T0 A -> Type) (aa : T0 A), P aa) ->
28 forall x0 : setT z, Set.
29 clear; intros z T H.
30 Set Debug Unification.
31 Fail refine (H _ _). (* Timeout! *)
32 Abort.
33 End withnondefault.