test-suite/bugs/bug_14131.v
raw| 1 | Set Implicit Arguments. |
| 2 | Unset Elimination Schemes. |
| 3 | |
| 4 | Inductive JMeq (A:Type) (x:A) : forall B:Type, B -> Prop := |
| 5 | JMeq_refl : JMeq x x. |
| 6 | |
| 7 | Set Elimination Schemes. |
| 8 | |
| 9 | Register JMeq as core.JMeq.type. |
| 10 | |
| 11 | Scheme Rewriting for JMeq. |
| 12 | |
| 13 | Lemma JMeq_ind_r : forall (A:Type) (x:A) (P:A -> Prop), |
| 14 | P x -> forall y, JMeq y x -> P y. |
| 15 | Proof. intros. try rewrite H0. |
| 16 | Abort. |