test-suite/bugs/bug_1939.v
raw| 1 | Require Import Setoid Program.Basics. |
| 2 | |
| 3 | Parameter P : nat -> Prop. |
| 4 | Parameter R : nat -> nat -> Prop. |
| 5 | |
| 6 | Add Parametric Morphism : P |
| 7 | with signature R ++> impl as PM1. |
| 8 | Admitted. |
| 9 | |
| 10 | Add Parametric Morphism : P |
| 11 | with signature R --> impl as PM2. |
| 12 | Admitted. |
| 13 | |
| 14 | Goal forall x y, R x y -> P y -> P x. |
| 15 | Proof. |
| 16 | intros x y H1 H2. |
| 17 | rewrite H1. |
| 18 | auto. |
| 19 | Qed. |