Debian Codegraph @

test-suite/bugs/bug_3387.v

raw
1 Unset Strict Universe Declaration.
2 Set Universe Polymorphism.
3 Set Printing Universes.
4 Record Cat := { Obj :> Type }.
5 Definition set_cat := {| Obj := Type |}.
6 Goal Type@{i} = Type@{j}.
7 Proof.
8 (* 1 subgoals
9 , subgoal 1 (ID 3)
10
11 ============================
12 Type@{Top.368} = Type@{Top.370}
13 (dependent evars:) *)
14 let x := constr:(Type) in
15 let y := constr:(Obj set_cat) in
16 unify x y. (* success *)
17 let x := constr:(Type) in
18 let y := constr:(Obj set_cat) in
19 first [ unify x y | fail 2 "no unify" ];
20 change x with y at -1. (* Error: Not convertible. *)
21 reflexivity.
22 Defined.