Debian Codegraph @

test-suite/bugs/bug_9375.v

raw
1 Set Primitive Projections.
2
3 Record toto : Type := Toto {
4 toto1 : Type;
5 toto2 : toto1 -> Type
6 }.
7
8 Record tata := Tata {
9 tata1 : Type
10 }.
11
12 Canonical Structure tata_toto (x : toto) X :=
13 Tata (toto2 x X).
14
15 Check fun (T : toto) (t : toto1 T) =>
16 (eq_refl _ : @tata1 _ = @toto2 _ t).