| 1 |
Lemma test_bug : forall (R:nat->nat->Prop) n m m' (P: Prop), |
| 2 |
P -> |
| 3 |
(P -> R n m) -> |
| 4 |
(P -> R n m') -> |
| 5 |
(forall u, R n u -> u = u -> True) -> |
| 6 |
True. |
| 7 |
Proof. |
| 8 |
intros * HP H1 H2 H3. eapply H3. |
| 9 |
eauto. (* H1 is used, but H2 should be used since it is the last hypothesis *) |
| 10 |
auto. |
| 11 |
Qed. |