File: bug_3088.v

package info (click to toggle)
coq 8.20.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 44,116 kB
  • sloc: ml: 234,160; sh: 4,301; python: 3,270; ansic: 2,644; makefile: 882; lisp: 172; javascript: 63; xml: 24; sed: 2
file content (12 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
Inductive R {A} : A -> A -> Type := c : forall x y, R x y.

Goal forall A (x y : A) P (e : R x y) (f : forall x y, P x y (c x y)),
  let g := match e in R x y return P x y e with c x y => f x y end in
  True.
Proof.
intros A x y P e f g.
let t := eval red in g in
match t with
  (match ?E as e in R x y return @?P x y e with c X Y => @?f X Y end) => idtac P f
end.
Abort.