Debian Codegraph @

test-suite/bugs/bug_4634.v

raw
1 Set Primitive Projections.
2
3 Polymorphic Record pair {A B : Type} : Type :=
4 prod { pr1 : A; pr2 : B }.
5
6 Notation " ( x ; y ) " := (@prod _ _ x y).
7 Notation " x .1 " := (pr1 x).
8 Notation " x .2 " := (pr2 x).
9
10 Goal ((0; 1); 2).1.2 = 1.
11 Proof.
12 cbv.
13 match goal with
14 | |- ?t = ?t => exact (eq_refl t)
15 end.
16 Qed.