summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/HoTT_coq_083.v
blob: 494b25c7b1a8181afe994ec1ec4c35eb9c52a08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Set Primitive Projections.
Set Implicit Arguments.
Set Universe Polymorphism.

Record category :=
  { ob : Type }.

Goal forall C, ob C -> ob C.
intros.
generalize dependent (ob C).
(* 1 subgoals, subgoal 1 (ID 7)

  C : category
  ============================
   forall T : Type, T -> T
(dependent evars:) *)
intros T t.
Undo 2.
generalize dependent (@ob C).
(* 1 subgoals, subgoal 1 (ID 6)

  C : category
  X : ob C
  ============================
   Type -> ob C
(dependent evars:) *)
intros T t.
(* Toplevel input, characters 9-10:
Error: No product even after head-reduction. *)