Debian Codegraph @

test-suite/bugs/HoTT_coq_083.v

raw
1 Set Primitive Projections.
2 Set Implicit Arguments.
3 Set Universe Polymorphism.
4
5 Record category :=
6 { ob : Type }.
7
8 Goal forall C, ob C -> ob C.
9 intros.
10 generalize dependent (ob C).
11 (* 1 subgoals, subgoal 1 (ID 7)
12
13 C : category
14 ============================
15 forall T : Type, T -> T
16 (dependent evars:) *)
17 intros T t.
18 Undo 2.
19 generalize dependent (@ob C).
20 (* 1 subgoals, subgoal 1 (ID 6)
21
22 C : category
23 X : ob C
24 ============================
25 Type -> ob C
26 (dependent evars:) *)
27 intros T t.
28 (* Toplevel input, characters 9-10:
29 Error: No product even after head-reduction. *)
30 Abort.