aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/HoTT_coq_083.v
blob: 02c4b22a4d5763ca7e39f1d3cc63fc7ba27c1a5d (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
30
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. *)
Abort.