test-suite/bugs/bug_3088.v
raw| 1 | Inductive R {A} : A -> A -> Type := c : forall x y, R x y. |
| 2 | |
| 3 | Goal forall A (x y : A) P (e : R x y) (f : forall x y, P x y (c x y)), |
| 4 | let g := match e in R x y return P x y e with c x y => f x y end in |
| 5 | True. |
| 6 | Proof. |
| 7 | intros A x y P e f g. |
| 8 | let t := eval red in g in |
| 9 | match t with |
| 10 | (match ?E as e in R x y return @?P x y e with c X Y => @?f X Y end) => idtac P f |
| 11 | end. |
| 12 | Abort. |