summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/HoTT_coq_079.v
blob: e70de9ca9958e6ef68d026e6da1d678e504de920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Set Primitive Projections.
Set Implicit Arguments.
Set Universe Polymorphism.

Inductive paths A (x : A) : A -> Type := idpath : paths x x.

Notation "x = y :> A" := (@paths A x y).
Notation "x = y" := (x = y :> _).

Record foo := { x : Type; H : x = x }.

Create HintDb bar discriminated.
Hint Resolve H : bar.
Goal forall y : foo, @x y = @x y.
intro y.
progress auto with bar. (* failed to progress *)