Debian Codegraph @

test-suite/bugs/bug_5245.v

raw
1 Set Primitive Projections.
2
3 Record foo := Foo {
4 foo_car : Type;
5 foo_rel : foo_car -> foo_car -> Prop
6 }.
7 Arguments foo_rel : simpl never.
8
9 Definition foo_fun {A B} := Foo (A -> B) (fun f g => forall x, f x = g x).
10
11 Goal @foo_rel foo_fun (fun x : nat => x) (fun x => x).
12 Proof.
13 intros x; exact eq_refl.
14 Undo.
15 progress hnf; intros; exact eq_refl.
16 Undo.
17 unfold foo_rel. intros x. exact eq_refl.
18 Qed.