Debian Codegraph @

test-suite/bugs/HoTT_coq_079.v

raw
1 Set Primitive Projections.
2 Set Implicit Arguments.
3 Set Universe Polymorphism.
4
5 Inductive paths A (x : A) : A -> Type := idpath : paths x x.
6
7 Notation "x = y :> A" := (@paths A x y).
8 Notation "x = y" := (x = y :> _).
9
10 Record foo := { x : Type; H : x = x }.
11
12 Create HintDb bar discriminated.
13 #[export] Hint Resolve H : bar.
14 Goal forall y : foo, @x y = @x y.
15 intro y.
16 progress auto with bar. (* failed to progress *)
17 Abort.