Debian Codegraph @

test-suite/bugs/bug_5697.v

raw
1 Set Primitive Projections.
2
3 Record foo : Type := Foo { foo_car: nat }.
4
5 Goal forall x y : nat, x <> y -> Foo x <> Foo y.
6 Proof.
7 intros.
8 intros H'.
9 congruence.
10 Qed.
11
12 Record bar (A : Type) : Type := Bar { bar_car: A }.
13
14 Goal forall x y : nat, x <> y -> Bar nat x <> Bar nat y.
15 Proof.
16 intros.
17 intros H'.
18 congruence.
19 Qed.